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

📦 deps(major): upgrade to node v20 #2465

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
platform:
- ubuntu-latest
node:
- 18.16.1
- 20.8.0

name: format-check (node@v${{matrix.node}}/${{matrix.platform}})
runs-on: ${{matrix.platform}}
Expand Down
33 changes: 0 additions & 33 deletions .github/workflows/release-deprecate.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/release-next.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-node@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.16.1
node-version: 20.8.0
cache: yarn

- run: yarn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-node@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.16.1
node-version: 20.8.0
cache: yarn

- run: yarn
Expand Down
10 changes: 4 additions & 6 deletions .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:
- 18.16.1
- 20.8.0

name: test node@${{matrix.node}}/${{matrix.platform}}
runs-on: ${{matrix.platform}}
Expand All @@ -25,14 +25,12 @@ jobs:
with:
fetch-depth: 0

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

- name: yarn
run: yarn
- run: yarn

- name: yarn @bud test e2e
run: yarn @bud test e2e
- run: yarn @bud test e2e
10 changes: 4 additions & 6 deletions .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:
- 18.16.1
- 20.8.0

name: integration test (node@v${{matrix.node}}/${{matrix.platform}})
runs-on: ${{matrix.platform}}
Expand All @@ -25,14 +25,12 @@ jobs:
with:
fetch-depth: 0

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

- name: yarn
run: yarn
- run: yarn

- name: yarn @bud test integration
run: yarn @bud test integration
- run: yarn @bud test integration
10 changes: 4 additions & 6 deletions .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:
- 18.16.1
- 20.8.0

name: unit test (node@v${{matrix.node}}/${{matrix.platform}})
runs-on: ${{matrix.platform}}
Expand All @@ -25,14 +25,12 @@ jobs:
with:
fetch-depth: 0

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

- name: yarn
run: yarn
- run: yarn

- name: yarn @bud test unit
run: yarn @bud test unit
- run: yarn @bud test unit
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"description": "Configurable, extensible build tools for modern single and multi-page web applications",
"engines": {
"node": "18.16.1",
"node": "20.8.0",
"yarn": "1.22.19",
"npm": "8.19.2"
},
Expand All @@ -23,14 +23,14 @@
"@skypack/package-check": "0.2.2",
"@types/eslint": "8.44.3",
"@types/lodash": "4.14.199",
"@types/node": "18.17.19",
"@types/node": "18.18.1",
"@types/prettier": "3.0.0",
"@types/react": "18.2.22",
"@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "6.7.2",
"@vitest/coverage-v8": "0.34.5",
"@vitest/ui": "0.34.5",
"esbuild": "0.19.3",
"@types/react": "18.2.24",
"@typescript-eslint/eslint-plugin": "6.7.3",
"@typescript-eslint/parser": "6.7.3",
"@vitest/coverage-v8": "0.34.6",
"@vitest/ui": "0.34.6",
"esbuild": "0.19.4",
"eslint": "8.50.0",
"eslint-plugin-n": "16.1.0",
"eslint-plugin-perfectionist": "2.1.0",
Expand All @@ -53,7 +53,7 @@
"tslib": "2.6.2",
"typescript": "5.2.2",
"verdaccio": "5.26.3",
"vitest": "0.34.5",
"vitest": "0.34.6",
"vitest-github-actions-reporter": "0.10.0",
"webpack": "5.88.2"
},
Expand All @@ -70,7 +70,7 @@
]
},
"volta": {
"node": "18.16.1",
"node": "20.8.0",
"yarn": "1.22.19"
},
"resolutions": {
Expand Down
4 changes: 2 additions & 2 deletions sources/@repo/constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
}
},
"devDependencies": {
"@types/node": "18.17.19",
"vitest": "0.34.5"
"@types/node": "20.8.0",
"vitest": "0.34.6"
},
"dependencies": {
"tslib": "2.6.2"
Expand Down
8 changes: 4 additions & 4 deletions sources/@repo/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"@svgr/webpack": "8.1.0",
"@tsconfig/docusaurus": "2.0.1",
"@types/file-loader": "5.0.2",
"@types/node": "18.17.19",
"@types/react": "18.2.22",
"@types/react-dom": "18.2.7",
"@types/node": "20.8.0",
"@types/react": "18.2.24",
"@types/react-dom": "18.2.8",
"file-loader": "6.2.0",
"netlify-cli": "16.4.2",
"raw-loader": "4.0.2",
Expand All @@ -34,7 +34,7 @@
"dependencies": {
"@docusaurus/theme-classic": "2.4.3",
"@docusaurus/theme-common": "2.4.3",
"axios": "1.5.0",
"axios": "1.5.1",
"clsx": "2.0.0",
"docusaurus-lunr-search": "3.0.0",
"react": "18.2.0",
Expand Down
6 changes: 3 additions & 3 deletions sources/@repo/markdown-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
},
"devDependencies": {
"@types/lodash-es": "4.17.9",
"@types/node": "18.17.19",
"@types/node": "20.8.0",
"@types/prettier": "3.0.0",
"vitest": "0.34.5"
"vitest": "0.34.6"
},
"dependencies": {
"@octokit/core": "5.0.1",
Expand All @@ -28,7 +28,7 @@
"helpful-decorators": "2.1.0",
"json5": "2.2.3",
"lodash-es": "4.17.21",
"octokit": "3.1.0",
"octokit": "3.1.1",
"prettier": "3.0.3",
"strip-ansi": "7.1.0",
"tslib": "2.6.2",
Expand Down
4 changes: 2 additions & 2 deletions sources/@repo/notifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "@repo/notifier",
"private": true,
"devDependencies": {
"@types/node": "18.17.19",
"vitest": "0.34.5"
"@types/node": "20.8.0",
"vitest": "0.34.6"
},
"dependencies": {
"tslib": "2.6.2"
Expand Down
4 changes: 2 additions & 2 deletions sources/@repo/test-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@roots/bud": "workspace:*",
"@roots/bud-framework": "workspace:*",
"@roots/bud-support": "workspace:*",
"@types/node": "18.17.19",
"@types/node": "20.8.0",
"chalk": "5.3.0",
"execa": "8.0.1",
"fs-jetpack": "5.1.0",
Expand All @@ -39,7 +39,7 @@
"json5": "2.2.3",
"strip-ansi": "7.1.0",
"tslib": "2.6.2",
"vitest": "0.34.5"
"vitest": "0.34.6"
},
"volta": {
"extends": "../../../package.json"
Expand Down
32 changes: 16 additions & 16 deletions sources/@repo/yarn-plugin-bud/bundles/@yarnpkg/plugin-bud.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions sources/@repo/yarn-plugin-bud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
"packageManager": "[email protected]",
"main": "./sources/index.ts",
"engines": {
"node": "18.12.1"
"node": "20.8.0"
},
"devDependencies": {
"@types/lodash": "4.14.199",
"@types/node": "18.17.19",
"@types/semver": "7.5.2",
"@types/node": "20.8.0",
"@types/semver": "7.5.3",
"@yarnpkg/builder": "4.0.0-rc.51",
"typescript": "5.2.2"
},
"dependencies": {
"@repo/constants": "workspace:*",
"@yarnpkg/cli": "4.0.0-rc.51",
"@yarnpkg/core": "4.0.0-rc.51",
"@yarnpkg/shell": "4.0.0-rc.51",
"@yarnpkg/cli": "4.0.0-rc.52",
"@yarnpkg/core": "4.0.0-rc.52",
"@yarnpkg/shell": "4.0.0-rc.52",
"clipanion": "4.0.0-rc.2",
"fs-jetpack": "5.1.0",
"globby": "13.2.2",
Expand Down
21 changes: 21 additions & 0 deletions sources/@repo/yarn-plugin-bud/sources/command/browserslist.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import {CommandClass} from 'clipanion'

import {Command} from './base.command'

export class Browserslist extends Command {
public static paths: CommandClass['paths'] = [[`@bud`, `browserslist`]]

public static usage: CommandClass['usage'] = {
category: `@bud`,
description: `update browesrslist`,
examples: [[`update browesrslist`, `yarn @bud browserslist`]],
}

public async execute() {
await this.cli.run([
`dlx`,
`update-browserslist-db@latest`,
])
}
}

1 change: 1 addition & 0 deletions sources/@repo/yarn-plugin-bud/sources/command/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export {Browserslist} from './browserslist.js'
export {Docusaurus} from './_docusaurus.js'
export {Eslint} from './_eslint.js'
export {Netlify} from './_netlify.js'
Expand Down
10 changes: 5 additions & 5 deletions sources/@repo/yarn-plugin-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
"main": "./sources/index.ts",
"dependencies": {
"@types/lodash-es": "4.17.9",
"@types/node": "18.17.19",
"@types/node": "20.8.0",
"@yarnpkg/builder": "4.0.0-rc.51",
"@yarnpkg/cli": "4.0.0-rc.51",
"@yarnpkg/core": "4.0.0-rc.51",
"@yarnpkg/shell": "4.0.0-rc.51",
"@yarnpkg/cli": "4.0.0-rc.52",
"@yarnpkg/core": "4.0.0-rc.52",
"@yarnpkg/shell": "4.0.0-rc.52",
"clipanion": "4.0.0-rc.2",
"fs-jetpack": "5.1.0",
"helpful-decorators": "2.1.0",
"lodash-es": "4.17.21",
"tslib": "2.6.2",
"typescript": "5.2.2",
"vitest": "0.34.5"
"vitest": "0.34.6"
},
"scripts": {
"build": "builder build plugin"
Expand Down
Loading
Loading