Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bud v5.1.0 #885

Merged
merged 94 commits into from
Jan 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
38c44f0
chore(deps): bump esbuild to v0.14.6 (#862)
renovate[bot] Dec 20, 2021
1714288
improve: docs (#863)
kellymears Dec 20, 2021
6209cb3
fix(deps): pin docusaurus-lunr-search to 2.1.15
renovate-bot Dec 21, 2021
749b27a
chore(deps): bump @types/node to v16.11.15
renovate-bot Dec 21, 2021
c65ce16
fix: font rule (#860)
kellymears Dec 21, 2021
1a8adab
chore(deps): bump docusaurus monorepo to v2.0.0-beta.14
renovate-bot Dec 22, 2021
6c456b5
chore(deps): bump esbuild to v0.14.7
renovate-bot Dec 22, 2021
58ad75d
fix(deps): bump image-minimizer-webpack-plugin to v3 (#867)
kellymears Dec 22, 2021
7329359
improve: dev (#864)
kellymears Dec 22, 2021
990354c
chore(deps): bump @types/node to v16.11.16 (#871)
renovate[bot] Dec 23, 2021
d249629
chore(deps): bump esbuild to v0.14.8 (#872)
renovate[bot] Dec 23, 2021
cbcecfc
chore(deps): bump @types/node to v16.11.17
renovate-bot Dec 23, 2021
798de69
chore(deps): bump @types/react to v17.0.38
renovate-bot Dec 23, 2021
348275e
fix(deps): bump css-minimizer-webpack-plugin to v3.3.1 (#879)
renovate[bot] Dec 23, 2021
e7a8ffe
chore(deps): bump sass to v1.45.1 (#877)
renovate[bot] Dec 23, 2021
f0320b9
chore(deps): bump postcss-preset-env to v7.1.0 (#873)
renovate[bot] Dec 23, 2021
14bbe61
chore(deps): bump typescript-eslint monorepo to v5.8.0 (#874)
renovate[bot] Dec 23, 2021
cdd304a
chore(deps): bump eslint to v8 (#881)
renovate[bot] Dec 23, 2021
d510a21
chore(deps): bump eslint-plugin-react to v7.28.0 (#880)
renovate[bot] Dec 23, 2021
1389296
fix(deps): bump @pmmmwh/react-refresh-webpack-plugin to v0.5.4 (#878)
renovate[bot] Dec 23, 2021
0aa08a1
chore(deps): bump @types/react-helmet to v6.1.5
renovate-bot Dec 24, 2021
37062ee
chore(deps): bump @types/signale to v1.4.3 (#883)
renovate[bot] Dec 24, 2021
a3f0343
improve issue/pr templates
kellymears Dec 24, 2021
d6b50b7
chore(deps): bump typescript-eslint monorepo to v5.8.1 (#890)
renovate[bot] Dec 27, 2021
e229e46
chore(deps): bump @microsoft/api-extractor to v7.19.3 (#889)
renovate[bot] Dec 27, 2021
f8b201b
fix: node-api example (#887)
kellymears Dec 27, 2021
6e55ab2
chore(deps): bump @microsoft/api-documenter to v7.13.78
renovate-bot Dec 28, 2021
4945a5e
chore(deps): bump esbuild to v0.14.9
renovate-bot Dec 29, 2021
bd3fd36
chore(deps): bump tailwindcss to v3.0.8 (#895)
renovate[bot] Dec 29, 2021
89e48ee
fix(@roots/bud-eslint) use @babel/eslint-parser (#892)
kellymears Dec 29, 2021
ad4474f
improve(framework) typecheck bud.store (#896)
kellymears Dec 29, 2021
9421027
feature(entrypoints-webpack-plugin): options to emit as html (#893)
kellymears Dec 29, 2021
3ba86b2
fix(deps): bump yarnpkg monorepo
renovate-bot Dec 30, 2021
598ece2
refactor(@roots/bud-build) build.rules api (#891)
kellymears Dec 31, 2021
0a0b8b6
chore(deps): bump babel monorepo to v7.16.7
renovate-bot Dec 31, 2021
d41d755
improve(eslint) modularize eslint configs (#899)
kellymears Dec 31, 2021
b68524c
chore(deps): bump sass to v1.45.2 (#903)
renovate[bot] Dec 31, 2021
6947b78
fix(server) proxy middleware publicPath
kellymears Dec 31, 2021
7041e29
fix(sage) set full url as publicpath in dev
kellymears Dec 31, 2021
0d57083
fix(examples) update sage example
kellymears Dec 31, 2021
3b5ab98
fix(bud-build) directory for emitted assets (#900)
kellymears Jan 1, 2022
271d3d7
fix(sage) public path (#904)
kellymears Jan 1, 2022
26c3168
fix(api) bind extension api entries as facades (#906)
kellymears Jan 1, 2022
de0c5e3
chore(deps): bump esbuild to v0.14.10 (#908)
renovate[bot] Jan 1, 2022
baba633
chore(deps): bump @types/babel__core to v7.1.18 (#907)
renovate[bot] Jan 1, 2022
008adbb
fix(purgecss) (#905)
kellymears Jan 2, 2022
46b93c8
chore(deps): bump eslint to v8.6.0 (#911)
renovate[bot] Jan 2, 2022
c78a50e
chore(deps): bump @types/jest to v27.4.0 (#910)
renovate[bot] Jan 2, 2022
b24fc16
improve(server) always treat server/proxy url as node URL (#909)
kellymears Jan 2, 2022
d88960d
fix(api) bud.assets: do not emit to assets dir (#912)
kellymears Jan 2, 2022
663a619
chore(deps): bump @types/node to v16.11.18
renovate-bot Jan 3, 2022
a9ef51e
chore(deps): bump eslint-plugin-import to v2.25.4
renovate-bot Jan 3, 2022
947849c
fix(bud) module import/registration order (#922)
kellymears Jan 4, 2022
54a5d45
improve(api) fixes & coverage (#923)
kellymears Jan 4, 2022
6c0d9a7
fix(deps): bump @oclif/plugin-commands to v2.0.2
renovate-bot Jan 4, 2022
0d96618
mergefix
kellymears Jan 4, 2022
7ed5e89
fix(assets) nested directories (#925)
kellymears Jan 4, 2022
41f935e
Merge branch 'next' into 5.1.0
kellymears Jan 4, 2022
9b479ae
improve(sage) push most deps onto roots/sage (#924)
kellymears Jan 4, 2022
1b3fcb9
Merge branch 'next' into 5.1.0
kellymears Jan 4, 2022
d3370f4
feat(bud-build) support webp (#901)
kellymears Jan 4, 2022
5336049
Merge branch 'next' into 5.1.0
kellymears Jan 4, 2022
eb19256
chore(deps): bump @types/node to v16.11.19
renovate-bot Jan 5, 2022
45c78c2
chore(deps): bump jest monorepo
renovate-bot Jan 5, 2022
2c3bdac
fix(server) https protocol check always returns false (#942)
kellymears Jan 6, 2022
21a1cda
chore(deps): bump @microsoft/api-extractor to v7.19.4
renovate-bot Jan 6, 2022
b78e2a5
fix(examples) react env (#940)
kellymears Jan 6, 2022
6574261
improve(example) multi-compiler (#939)
kellymears Jan 6, 2022
a605b1d
fix(server) fix sourcemap warning (#938)
kellymears Jan 6, 2022
cbe4758
test(bud) fix numerous disabled tests (#930)
kellymears Jan 6, 2022
cf6b7b1
fix(server) fix inject util for zero entry compilers (#937)
kellymears Jan 6, 2022
09592d6
fix(sage) remove unnecessary URL wrap in hmr.json (#945)
kellymears Jan 6, 2022
f4ec368
fix(deps): bump yarnpkg monorepo
renovate-bot Jan 6, 2022
e7b5d19
chore(deps): bump @types/eslint to v8.2.2
renovate-bot Jan 7, 2022
18f2967
fix(deps): bump @oclif/plugin-update to v2.1.5
renovate-bot Jan 7, 2022
4726a02
chore(deps): bump @microsoft/api-documenter to v7.14.1
renovate-bot Jan 8, 2022
a0a9b4a
chore(deps): bump globby to v11.1.0
renovate-bot Jan 8, 2022
17a46ac
chore(deps): bump @types/svgo to v2.6.1
renovate-bot Jan 9, 2022
7cd8966
chore(deps): bump esbuild to v0.14.11
renovate-bot Jan 9, 2022
e5bcb06
fix(deps): bump postcss-scss to v4.0.3
renovate-bot Jan 10, 2022
eca36ff
chore(deps): bump @svgr/webpack to v6.2.0
renovate-bot Jan 10, 2022
f6faff4
chore(deps): bump node.js to v16.13.2
renovate-bot Jan 11, 2022
73349b5
fix(deps): bump clipanion to v3.2.0-rc.5
renovate-bot Jan 11, 2022
6c622b3
chore(deps): bump @types/prettier to v2.4.3
renovate-bot Jan 12, 2022
638d028
chore(deps): bump @types/signale to v1.4.4
renovate-bot Jan 12, 2022
3d6d84c
chore(deps): bump nanoid to v3.1.32
renovate-bot Jan 13, 2022
acb3731
chore(deps): bump solid-js to v1.3.3
renovate-bot Jan 14, 2022
daf707f
chore(deps): bump ts-jest to v27.1.3
renovate-bot Jan 15, 2022
1455ef3
chore(deps): bump type-fest to v2.9.0
renovate-bot Jan 15, 2022
d9248f1
chore(deps): bump typescript-eslint monorepo to v5.9.1
renovate-bot Jan 16, 2022
d47cbb7
dev(repo) automate dev releases (#948)
kellymears Jan 17, 2022
24ff686
mergefix
kellymears Jan 17, 2022
440e40b
lint
kellymears Jan 17, 2022
3984b61
improve: docker-compose ci friendliness
kellymears Jan 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
49 changes: 49 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"name": "bud",
"codespaces": {},
"dockerComposeFile": ["../docker-compose.yml", "docker-compose.yml"],
"extensions": [
"arcanis.vscode-zipfs",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"ms-vscode-remote.remote-containers"
],
"forwardPorts": [4873],
"postCreateCommand": "cd /roots/bud && yarn && yarn @bud build",
"remoteUser": "root",
"service": "bud",
"settings": {
"eslint.nodePath": "bud/dev/yarn/sdks/eslint",
"eslint.validate": ["javascript", "typescript"],
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/node_modules": false
},
"prettier.configPath": "bud/config/prettier.config.js",
"prettier.ignorePath": "bud/config/.prettierignore",
"prettier.prettierPath": "bud/dev/yarn/sdks/prettier/index.js",
"search.exclude": {
"bin": true,
"dev/yarn": true,
"coverage": true,
"verdaccio": true,
"**/pnp.*": true,
"**/node_modules": true,
"**/.budfiles/**/*": true
},
"typescript.tsdk": "bud/node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"files.associations": {
"*.ts": "typescript",
"*.tsx": "typescriptreact",
"*.mdx": "mdx",
"bud.config.json": "json5"
},
},
"workspaceFolder": "/roots"
}
5 changes: 5 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version: '3.8'
services:
bud:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
7 changes: 6 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
node_modules
cache/yarn
**/node_modules
sources/@roots/*/types
sources/@roots/*/lib
sources/@roots/*/node_modules/**/*
**/.budfiles
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# ./dev/site/contributors.ts
GH_ACCESS_TOKEN=
11 changes: 0 additions & 11 deletions .eslintignore

This file was deleted.

135 changes: 135 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
name: Bug Report
title: '[bug] <title>'
description: Report a bug. Please provide enough information so that we can reproduce the problem.
labels: [bug]

body:
- type: markdown
attributes:
value: |
This form is for reporting technical issues.
If you have a general question or you're looking for support, please visit [Roots Discourse](https://discourse.roots.io/).

Please attempt the following before filing an issue:
- Run bud using the `--no-cache` flag to force modules to recompile from scratch.
- Run `bud clean` to remove any stale `.budfiles`.
- Run `yarn build` again (even if your problem is not related to the `build` command). This will ensure any submitted files are pertitent to your issue.
- If, at this point, `.budfiles/bud/profile.json` or `.budfiles/bud/webpack.config.js` have been emitted, please include them in your issue.

- type: checkboxes
id: terms
attributes:
label: Agreement
options:
- label: This is not a duplicate of an existing issue
required: true
- label: I have read the [guidelines for Contributing to Roots Projects](https://github.com/roots/.github/blob/master/CONTRIBUTING.md)
required: true
- label: This is not a personal support request that should be posted on the [Roots Discourse](https://discourse.roots.io/) community
required: true

- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
placeholder: What did you expect to happen?
validations:
required: true

- type: textarea
id: actual-behavior
attributes:
label: Actual Behavior
placeholder: What actually happens?
validations:
required: true

- type: textarea
id: steps-to-reproduce
attributes:
label: Steps To Reproduce
description: |
Non-reproducible issues may be immediately closed as not actionable.
Please provide reproduction steps as detailed as possible.
value: |
1.
1.
1.
validations:
required: true

- type: input
id: version
attributes:
label: version
description: Please provide the output of `bud --version`
placeholder: '@roots/bud/5.0.0 darwin-arm64 node-v16.13.1'
validations:
required: true

- type: dropdown
id: package-manager
attributes:
label: What package manager are you using?
options:
- yarn classic
- yarn berry
- npm
validations:
required: true

- type: input
id: package-manager-version
attributes:
label: version
description: What version are you using? (`yarn -v` or `npm -v`)
placeholder: '3.1.1'

- type: checkboxes
id: pnpm
attributes:
label: Are you using pnpm?
options:
- label: 'yes'
required: false
- label: 'no'
required: false

- type: textarea
id: logs
attributes:
label: Logs
description: |
Copy/paste any logging output. If applicable, run the command with `--no-dashboard` and `--log.level vvvv` flags for better reporting.
Review what you are submitting to ensure it doesn't contain any sensitive information. It is okay to redact information as necessary
render: shell
validations:
required: false

- type: textarea
id: configs
attributes:
label: Configuration
description: |
Please attach your bud configuration file(s).
Review what you are submitting to ensure it doesn't contain any sensitive information. It is okay to redact information as necessary.
render: shell
validations:
required: false

- type: textarea
attributes:
label: Relevant .budfiles
description: |
If they were emitted, please attach:
- `.budfiles/bud/profile.json`, and;
- `.budfiles/bud/webpack.config.js`

Review what you are submitting to ensure it doesn't contain any sensitive information. It is okay to redact information as necessary.
validations:
required: false

- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
64 changes: 56 additions & 8 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,68 @@
## Overview

This is a stub PR for a proposed change. Details forthcoming.

<!--
Short description of the problem being addressed or the reason for the proposed feature.

If there is not an associated issue please consider creating one
-->

refers: none
closes: none

## Type of change

- NONE: does not change the API

<!--
- MAJOR: Potentially breaking change to the API
- MINOR: Backwards compatible feature
- PATCH: Backwards compatible buf fix
- NONE: does not change the API
-->

This PR includes breaking changes to the following core packages:

- none

This PR includes breaking changes to the follow extensions:

- none

## Proposed changes

<!--
- MAJOR: breaking change
- MINOR: feature
- PATCH: bugfix
- fix(package): description of the fix
- feat(package): description of the feature
- docs(package): description of the documentation change
- style(package): description of the style change
- refactor(package): description of the refactoring
- test(package): description of the test change
- chore(package): description of the chore change
-->

## Dependencies added
- forthcoming

## Dependency changes

- none

<!--
- [dependency](https://npmjs.com/roots/bud)
- ...
- [@roots/bud] adds [package]@[version]
- [@roots/sage] removes [package]@[version]
- [@roots/bud-babel] updates [package]@[version] to [package]@[version]
-->

## Details
## Todo

<!--
Describe your changes in as much detail as possible
These items are not required to submit the PR.

Please don't go out of your way to meet these criteria
if you have not spoken to maintainers about your PR.
-->

- [ ] covered by unit and/or integration tests
- [ ] include documentation updates
- [ ] featured in the changelog
42 changes: 35 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:

name: test node@${{matrix.node}}/${{matrix.platform}}
runs-on: ${{matrix.platform}}

steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -45,14 +46,41 @@ jobs:
restore-keys: |
${{ runner.os }}-yarn-

- name: Install
run: yarn install --immutable
- name: Start
run: 'docker compose up -d'

- name: Setup
run: 'docker compose run bud yarn'

- name: Lint packages
run: 'docker compose run bud yarn @bud lint --skypack'

- name: Proxy publish packages
run: 'docker compose run bud yarn @bud release proxy --tag latest'

- name: 'babel integration: yarn install'
run: 'docker compose run bud yarn @bud example install babel --with yarn'

- name: 'babel integration: yarn build'
run: 'docker compose run bud yarn @bud example build babel --with yarn'

- name: 'babel integration: npm install'
run: 'docker compose run bud yarn @bud example install babel --with npm'

- name: 'babel integration: npm build'
run: 'docker compose run bud yarn @bud example build babel --with npm'

- name: 'sage integration: yarn install'
run: 'docker compose run bud yarn @bud example install sage --with yarn'

- name: 'sage integration: yarn build'
run: 'docker compose run bud yarn @bud example build sage --with yarn'

- name: Build
run: yarn @bud build
- name: 'sage integration: npm install'
run: 'docker compose run bud yarn @bud example install sage --with npm'

- name: Lint
run: yarn @bud lint
- name: 'sage integration: npm build'
run: 'docker compose run bud yarn @bud example build sage --with npm'

- name: Test
run: yarn @bud test
run: 'docker compose run bud yarn @bud test --coverage --maxWorkers=50%'
49 changes: 49 additions & 0 deletions .github/workflows/release-next.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Release

on:
push:
branches:
- next
workflow_dispatch:

jobs:
build:
strategy:
matrix:
platform:
- ubuntu-latest
node:
- 16.x

name: test node@${{matrix.node}}/${{matrix.platform}}
runs-on: ${{matrix.platform}}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup
uses: actions/setup-node@v2
with:
node-version: ${{matrix.node}}

- name: Cache
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"

- name: Restore
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: Install
run: yarn install --immutable

- name: Release
run: >
yarn @bud release --tag next
Loading