Skip to content

Commit

Permalink
📦 deps: bump node to v18 lts (#1962)
Browse files Browse the repository at this point in the history
- bump node to v18 lts

blocked by: 

- GoogleChromeLabs/squoosh#1242

refers:

- #2011 

## Type of change

**PATCH: backwards compatible change**



This PR includes breaking changes to the following core packages:

- none

This PR includes breaking changes to the follow extensions:

- none

## Dependencies

### Adds

- none

### Removes

- none
  • Loading branch information
kellymears authored Jan 18, 2023
1 parent 199727b commit 6729c7a
Show file tree
Hide file tree
Showing 76 changed files with 481 additions and 465 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup
uses: actions/setup-node@v3
with:
node-version: 16.18.0
node-version: 18.12.1
cache: yarn

- name: yarn
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup
uses: actions/setup-node@v3
with:
node-version: 16.18.0
node-version: 18.12.1
cache: yarn

- name: set npmAuthToken
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
platform:
- ubuntu-latest
node:
- 16.18.0
- 18.12.1

name: test node@${{matrix.node}}/${{matrix.platform}}
runs-on: ${{matrix.platform}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
platform:
- ubuntu-latest
node:
- 16.18.0
- 18.12.1

name: format-check (node@v${{matrix.node}}/${{matrix.platform}})
runs-on: ${{matrix.platform}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
platform:
- ubuntu-latest
node:
- 16.18.0
- 18.12.1

name: integration test (node@v${{matrix.node}}/${{matrix.platform}})
runs-on: ${{matrix.platform}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
platform:
- ubuntu-latest
node:
- 16.18.0
- 18.12.1

name: unit test (node@v${{matrix.node}}/${{matrix.platform}})
runs-on: ${{matrix.platform}}
Expand Down
4 changes: 2 additions & 2 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

598 changes: 310 additions & 288 deletions .yarn/releases/yarn-3.2.4.cjs → .yarn/releases/yarn-3.3.1.cjs

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ plugins:
spec: "@yarnpkg/plugin-workspace-tools"
- sources/@repo/yarn-plugin-bud/bundles/@yarnpkg/plugin-bud.js
- sources/@repo/yarn-plugin-package/bundles/@yarnpkg/plugin-package.js
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: "@yarnpkg/plugin-typescript"

pnpDataPath: .yarn/pnp.data.json

Expand All @@ -40,4 +42,4 @@ unsafeHttpWhitelist:

virtualFolder: .yarn/__virtual__

yarnPath: .yarn/releases/yarn-3.2.4.cjs
yarnPath: .yarn/releases/yarn-3.3.1.cjs
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bud",
"packageManager": "yarn@3.2.4",
"packageManager": "yarn@3.3.1",
"private": true,
"description": "⚡️ Lightning fast frontend build tools combining the best parts of Symfony Encore and Laravel Mix",
"repository": {
Expand All @@ -9,10 +9,10 @@
},
"license": "MIT",
"engines": {
"node": "16.18.0"
"node": "18.12.1"
},
"volta": {
"node": "16.18.0",
"node": "18.12.1",
"yarn": "1.22.19",
"npm": "8.19.2"
},
Expand Down Expand Up @@ -44,7 +44,7 @@
"@types/express": "4.17.15",
"@types/fs-extra": "11.0.1",
"@types/lodash": "4.14.191",
"@types/node": "16.18.11",
"@types/node": "18.11.18",
"@types/prettier": "2.7.2",
"@typescript-eslint/eslint-plugin": "5.48.0",
"@typescript-eslint/parser": "5.48.1",
Expand Down
2 changes: 1 addition & 1 deletion sources/@repo/compile-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@repo/logger": "workspace:sources/@repo/logger",
"@types/fs-extra": "11.0.1",
"@types/lodash-es": "4.17.6",
"@types/node": "16.18.11",
"@types/node": "18.11.18",
"@vercel/ncc": "0.36.0",
"download-package-tarball": "1.0.7",
"fs-extra": "11.1.0",
Expand Down
2 changes: 1 addition & 1 deletion sources/@repo/constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
},
"devDependencies": {
"@types/node": "16.18.11",
"@types/node": "18.11.18",
"vitest": "0.27.1"
},
"volta": {
Expand Down
12 changes: 8 additions & 4 deletions sources/@repo/docs/content/guides/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ import {Card} from '@site/src/components/card'
<div className="card">
<div className="card__body">
<ul>
<li>node 16+</li>
<li>yarn 1.22 or higher</li>
<li>npm 8.3 or higher</li>
<li>
Node v18.12.1 (LTS). **bud.js** v7.x.x will drop support for Node
v16.x.x.
</li>
<li>yarn v1.22</li>
<li>npm v8.3</li>
<li>Windows users must use Windows Subsystem for Linux</li>
</ul>

</div>
</div>

Expand All @@ -36,7 +40,7 @@ npm install @roots/bud --save-dev
If your project's entrypoint is located at `./src/index.(js|css)` you can now compile it using the [bud build](./cli/build/index.mdx) command.
No configuration is required. The bundled code will be output to `./dist/main.(js|css)`.

If you need to customize the build process, see the guide on [configuration basics](configure) to get started.
For information on customizing the build for your application see the [configuration basics](configure) guide.

## Adding features

Expand Down
4 changes: 2 additions & 2 deletions sources/@repo/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@svgr/webpack": "6.5.1",
"@tsconfig/docusaurus": "1.0.6",
"@types/file-loader": "5.0.1",
"@types/node": "16.18.11",
"@types/node": "18.11.18",
"@types/react": "17.0.52",
"@types/react-dom": "17.0.18",
"file-loader": "6.2.0",
Expand All @@ -48,7 +48,7 @@
"tslib": "2.4.1"
},
"volta": {
"node": "16.18.0",
"node": "18.12.1",
"yarn": "1.22.19"
}
}
2 changes: 1 addition & 1 deletion sources/@repo/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dependencies": {
"@repo/constants": "workspace:sources/@repo/constants",
"@types/node": "16.18.11",
"@types/node": "18.11.18",
"signale": "1.4.0",
"vitest": "0.27.1"
},
Expand Down
2 changes: 1 addition & 1 deletion sources/@repo/markdown-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"devDependencies": {
"@types/fs-extra": "11.0.1",
"@types/lodash-es": "4.17.6",
"@types/node": "16.18.11",
"@types/node": "18.11.18",
"@types/prettier": "2.7.2",
"vitest": "0.27.1"
},
Expand Down
2 changes: 1 addition & 1 deletion sources/@repo/notifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@repo/notifier",
"private": true,
"devDependencies": {
"@types/node": "16.18.11",
"@types/node": "18.11.18",
"vitest": "0.27.1"
},
"volta": {
Expand Down
4 changes: 2 additions & 2 deletions sources/@repo/test-kit/.yarnrc.stub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ nodeLinker: node-modules

npmPublishAccess: public

npmPublishRegistry: 'http://0.0.0.0:4873'
npmPublishRegistry: 'http://localhost:4873'

npmRegistryServer: 'http://0.0.0.0:4873'
npmRegistryServer: 'http://localhost:4873'

unsafeHttpWhitelist:
- locahost
Expand Down
2 changes: 1 addition & 1 deletion sources/@repo/test-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@roots/bud-framework": "workspace:sources/@roots/bud-framework",
"@roots/bud-support": "workspace:sources/@roots/bud-support",
"@types/fs-extra": "11.0.1",
"@types/node": "16.18.11",
"@types/node": "18.11.18",
"chalk": "5.2.0",
"execa": "6.1.0",
"fs-extra": "11.1.0",
Expand Down
24 changes: 12 additions & 12 deletions sources/@repo/yarn-plugin-bud/bundles/@yarnpkg/plugin-bud.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions sources/@repo/yarn-plugin-bud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@types/fs-extra": "11.0.1",
"@types/js-yaml": "4.0.5",
"@types/lodash": "4.14.191",
"@types/node": "16.18.11",
"@types/node": "18.11.18",
"@types/semver": "7.3.13",
"@yarnpkg/builder": "3.2.6"
},
Expand All @@ -31,7 +31,7 @@
"verdaccio": "5.19.0"
},
"volta": {
"node": "16.18.0",
"node": "18.12.1",
"npm": "8.19.2",
"yarn": "1.22.19"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export abstract class Command extends BaseCommand {
}
return code
} catch (e) {
throw new Error(e)

}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@ export class RegistryStart extends Command {
const pm2BinaryAvailable = await realpath(
`${paths.root}/storage/node_modules/pm2/bin/pm2`,
)

if (!pm2BinaryAvailable) {
await this.tryExecuting(`yarn`, [`@bud`, `registry`, `install`])
}

await this.tryExecuting(`yarn`, [
`@bud`,
`pm2`,
Expand All @@ -60,25 +59,17 @@ export class RegistryStart extends Command {
`--`,
`--config=${paths.root}/config/verdaccio/config.yaml`,
])

await this.tryExecuting(`yarn`, [
`config`,
`set`,
`unsafeHttpWhitelist`,
`--json`,
`["0.0.0.0","localhost"]`,
])
await this.tryExecuting(`yarn`, [
`config`,
`set`,
`npmPublishRegistry`,
`http://0.0.0.0:4873`,
`http://localhost:4873`,
])
await this.tryExecuting(`yarn`, [
`config`,
`set`,
`npmRegistryServer`,
`http://0.0.0.0:4873`,
`http://localhost:4873`,
])
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export class RegistryStop extends Command {
} catch (e) {}

try {
await execute(`yarn`, [`config`, `unset`, `unsafeHttpWhitelist`])
await execute(`yarn`, [
`config`,
`set`,
Expand Down
2 changes: 1 addition & 1 deletion sources/@repo/yarn-plugin-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"@types/fs-extra": "11.0.1",
"@types/lodash-es": "4.17.6",
"@types/node": "16.18.11",
"@types/node": "18.11.18",
"@yarnpkg/builder": "3.2.6",
"@yarnpkg/cli": "3.3.1",
"@yarnpkg/core": "3.3.1",
Expand Down
2 changes: 1 addition & 1 deletion sources/@roots/bud-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"@roots/bud-extensions": "workspace:sources/@roots/bud-extensions",
"@roots/bud-terser": "workspace:sources/@roots/bud-terser",
"@skypack/package-check": "0.2.2",
"@types/node": "16.18.11"
"@types/node": "18.11.18"
},
"dependencies": {
"@roots/bud-framework": "workspace:sources/@roots/bud-framework",
Expand Down
2 changes: 1 addition & 1 deletion sources/@roots/bud-babel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@types/babel__core": "7.1.20",
"@types/babel__plugin-transform-runtime": "7.9.2",
"@types/babel__preset-env": "7.9.2",
"@types/node": "16.18.11",
"@types/node": "18.11.18",
"webpack": "5.75.0"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion sources/@roots/bud-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"@roots/bud-api": "workspace:sources/@roots/bud-api",
"@roots/bud-hooks": "workspace:sources/@roots/bud-hooks",
"@skypack/package-check": "0.2.2",
"@types/node": "16.18.11"
"@types/node": "18.11.18"
},
"dependencies": {
"@roots/bud-framework": "workspace:sources/@roots/bud-framework",
Expand Down
2 changes: 1 addition & 1 deletion sources/@roots/bud-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"devDependencies": {
"@roots/bud": "workspace:sources/@roots/bud",
"@skypack/package-check": "0.2.2",
"@types/node": "16.18.11",
"@types/node": "18.11.18",
"@types/webpack-env": "1.18.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion sources/@roots/bud-compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"devDependencies": {
"@roots/bud-api": "workspace:sources/@roots/bud-api",
"@skypack/package-check": "0.2.2",
"@types/node": "16.18.11"
"@types/node": "18.11.18"
},
"dependencies": {
"@roots/bud-framework": "workspace:sources/@roots/bud-framework",
Expand Down
2 changes: 1 addition & 1 deletion sources/@roots/bud-compress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"devDependencies": {
"@roots/bud": "workspace:sources/@roots/bud",
"@skypack/package-check": "0.2.2",
"@types/node": "16.18.11"
"@types/node": "18.11.18"
},
"dependencies": {
"@roots/bud-framework": "workspace:sources/@roots/bud-framework",
Expand Down
2 changes: 1 addition & 1 deletion sources/@roots/bud-criticalcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"devDependencies": {
"@roots/bud": "workspace:sources/@roots/bud",
"@skypack/package-check": "0.2.2",
"@types/node": "16.18.11",
"@types/node": "18.11.18",
"@types/vinyl": "2.0.7"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion sources/@roots/bud-dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
},
"devDependencies": {
"@skypack/package-check": "0.2.2",
"@types/node": "16.18.11",
"@types/node": "18.11.18",
"ink-testing-library": "2.1.0"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion sources/@roots/bud-emotion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"@roots/bud-swc": "workspace:sources/@roots/bud-swc",
"@skypack/package-check": "0.2.2",
"@types/babel__core": "7.1.20",
"@types/node": "16.18.11",
"@types/node": "18.11.18",
"@types/react": "18.0.26",
"react": "18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion sources/@roots/bud-entrypoints/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
},
"devDependencies": {
"@skypack/package-check": "0.2.2",
"@types/node": "16.18.11"
"@types/node": "18.11.18"
},
"dependencies": {
"@roots/bud-framework": "workspace:sources/@roots/bud-framework",
Expand Down
2 changes: 1 addition & 1 deletion sources/@roots/bud-esbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"@roots/bud": "workspace:sources/@roots/bud",
"@roots/bud-build": "workspace:sources/@roots/bud-build",
"@skypack/package-check": "0.2.2",
"@types/node": "16.18.11"
"@types/node": "18.11.18"
},
"dependencies": {
"@roots/bud-framework": "workspace:sources/@roots/bud-framework",
Expand Down
Loading

0 comments on commit 6729c7a

Please sign in to comment.