Skip to content

Commit

Permalink
chore(deps): update node to 18 (#1196)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: minimum node version required is 18.
  • Loading branch information
diegopf authored May 11, 2023
1 parent 564e008 commit e0e6b35
Show file tree
Hide file tree
Showing 24 changed files with 3,207 additions and 8,682 deletions.
2 changes: 1 addition & 1 deletion .github/actions/release-alpha/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
- name: Configure npm auth
run: |
npm config set registry="https://registry.npmjs.org/"
npm config set _authToken=${NPM_TOKEN}
npm config set //registry.npmjs.org/:_authToken=${NPM_TOKEN}
shell: bash
env:
NPM_TOKEN: ${{ inputs.npm_token }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
build:
runs-on: ubuntu-latest
container:
image: cypress/browsers:node-16.18.1-chrome-110.0.5481.96-1-ff-109.0-edge-110.0.1587.41-1
image: cypress/browsers:node-18.16.0-chrome-112.0.5615.121-1-ff-112.0.1-edge-112.0.1722.48-1
# https://github.com/cypress-io/github-action#firefox Cypress FF image needs this user permissions to be able to install dependencies
options: --user 1001

Expand Down Expand Up @@ -64,5 +64,5 @@ jobs:
!startsWith(github.event.head_commit.message, 'chore(release):') }}
uses: ./.github/actions/release-alpha
with:
npm_token: ${{ secrets.NPM_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN_GRANULAR_ACCESS }}
github_token: ${{ secrets.SUPPORT_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
prepare-release:
runs-on: ubuntu-latest
container:
image: cypress/browsers:node16.16.0-chrome105-ff104-edge
image: cypress/browsers:node-18.16.0-chrome-112.0.5615.121-1-ff-112.0.1-edge-112.0.1722.48-1
# https://github.com/cypress-io/github-action#firefox Cypress FF image needs this user permissions to be able to install dependencies
options: --user 1001

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
if: github.event.pull_request.merged == true && github.head_ref == 'release'
runs-on: ubuntu-latest
container:
image: cypress/browsers:node16.16.0-chrome105-ff104-edge
image: cypress/browsers:node-18.16.0-chrome-112.0.5615.121-1-ff-112.0.1-edge-112.0.1722.48-1
# https://github.com/cypress-io/github-action#firefox Cypress FF image needs this user permissions to be able to install dependencies
options: --user 1001

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
release-alpha:
runs-on: ubuntu-latest
container:
image: cypress/browsers:node16.16.0-chrome105-ff104-edge
image: cypress/browsers:node-18.16.0-chrome-112.0.5615.121-1-ff-112.0.1-edge-112.0.1722.48-1
# https://github.com/cypress-io/github-action#firefox Cypress FF image needs this user permissions to be able to install dependencies
options: --user 1001

Expand All @@ -27,5 +27,5 @@ jobs:
- name: execute release-alpha action
uses: ./.github/actions/release-alpha
with:
npm_token: ${{ secrets.NPM_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN_GRANULAR_ACCESS }}
github_token: ${{ secrets.SUPPORT_TOKEN }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"prettier": "~2.8.3"
},
"engines": {
"node": ">=16",
"npm": ">=7"
"node": ">=18",
"npm": ">=9"
},
"prettier": "@empathyco/eslint-plugin-x/prettier-config",
"lint-staged": {
Expand Down
2 changes: 1 addition & 1 deletion packages/deep-merge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"directory": "packages/deep-merge"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"prebuild": "pnpm run clean",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-x/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"directory": "packages/eslint-plugin-x"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"build": "pnpm pack"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"directory": "packages/jest-utils"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"build": "tsc",
Expand Down
2 changes: 1 addition & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"directory": "packages/logger"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"build": "tsc && tsc --project tsconfig.esm.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-wrapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"directory": "packages/react-wrapper"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"serve": "vite serve tests/demo",
Expand Down
2 changes: 1 addition & 1 deletion packages/storage-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"directory": "packages/storage-service"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"build": "tsc && tsc --project tsconfig.esm.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-adapter-platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"directory": "packages/x-adapter-platform"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"prebuild": "rimraf ./dist ./*.tgz",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"directory": "packages/x-adapter"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"prebuild": "rimraf ./dist ./*.tgz",
Expand Down
4 changes: 2 additions & 2 deletions packages/x-archetype-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"directory": "packages/x-archetype-utils"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"prebuild": "rimraf dist ./*.tgz",
Expand All @@ -42,7 +42,7 @@
"devDependencies": {
"@empathyco/x-utils": "^1.0.0-alpha.19",
"@types/jest": "~27.5.0",
"@types/node": "~16.18.0",
"@types/node": "~18.16.0",
"@vue/test-utils": "~1.0.3",
"jest": "~27.5.0",
"rimraf": "~3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-bus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"directory": "packages/x-bus"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"prebuild": "rimraf dist ./*.tgz",
Expand Down
6 changes: 3 additions & 3 deletions packages/x-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"directory": "packages/x-components"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"serve": "vue-cli-service serve",
Expand Down Expand Up @@ -89,7 +89,7 @@
"vuex": "^3.0.0"
},
"devDependencies": {
"@badeball/cypress-cucumber-preprocessor": "~16.0.0",
"@badeball/cypress-cucumber-preprocessor": "~17.0.0",
"@bahmutov/cypress-esbuild-preprocessor": "~2.2.0",
"@cypress/vue2": "~2.0.1",
"@empathyco/x-tailwindcss": "^1.0.0-alpha.29",
Expand All @@ -100,7 +100,7 @@
"@types/autoprefixer": "~10.2.0",
"@types/glob": "^8.0.1",
"@types/jest": "~27.5.0",
"@types/node": "~16.18.0",
"@types/node": "~18.16.0",
"@types/testing-library__jest-dom": "~5.14.5",
"@vue/cli-plugin-e2e-cypress": "~5.0.4",
"@vue/cli-plugin-typescript": "~5.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-priority-queue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"directory": "packages/x-priority-queue"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"prebuild": "rimraf dist ./*.tgz",
Expand Down
4 changes: 2 additions & 2 deletions packages/x-svg-converter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"directory": "packages/x-svg-converter"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"prebuild": "rimraf dist ./*.tgz",
Expand All @@ -32,7 +32,7 @@
},
"devDependencies": {
"@types/jest": "~27.5.0",
"@types/node": "~16.18.0",
"@types/node": "~18.16.0",
"jest": "~27.5.0",
"rimraf": "~3.0.2",
"ts-jest": "~27.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"directory": "packages/x-tailwindcss"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"dev": "vite serve demo",
Expand Down
4 changes: 2 additions & 2 deletions packages/x-translations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"directory": "packages/x-translations"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"build": "tsc",
Expand All @@ -34,7 +34,7 @@
},
"devDependencies": {
"@types/jest": "~27.5.0",
"@types/node": "~16.18.0",
"@types/node": "~18.16.0",
"jest": "~27.5.0",
"ts-jest": "~27.1.0",
"typescript": "~4.9.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/x-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"directory": "packages/x-types"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"build": "rollup -c && npm run gen:docs",
Expand Down
2 changes: 1 addition & 1 deletion packages/x-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"directory": "packages/x-utils"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"prebuild": "rimraf ./dist ./types",
Expand Down
Loading

0 comments on commit e0e6b35

Please sign in to comment.