Update to Node 18 (#550)
* update to Node 18 (latest LTS) and add .nvmrc for CLI instructions * update vite to latest minor * update github workflows to Node 18.x --------- Co-authored-by: Mads Rasmussen <madsr@hey.com>
This commit is contained in:
@@ -22,7 +22,7 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [16.x]
|
node-version: [18.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '16.x'
|
node-version: '18.x'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|||||||
1
src/Umbraco.Web.UI.Client/.nvmrc
Normal file
1
src/Umbraco.Web.UI.Client/.nvmrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
18.14
|
||||||
52719
src/Umbraco.Web.UI.Client/package-lock.json
generated
52719
src/Umbraco.Web.UI.Client/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,129 +1,129 @@
|
|||||||
{
|
{
|
||||||
"name": "umbraco-cms-backoffice",
|
"name": "umbraco-cms-backoffice",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/main.js",
|
"main": "dist/main.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./dist/main.js"
|
".": "./dist/main.js"
|
||||||
},
|
},
|
||||||
"types": "types/src/app.d.ts",
|
"types": "types/src/app.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
"types"
|
"types"
|
||||||
],
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
"url": "https://github.com/umbraco/Umbraco.CMS.Backoffice",
|
"url": "https://github.com/umbraco/Umbraco.CMS.Backoffice",
|
||||||
"type": "git"
|
"type": "git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/umbraco/Umbraco.CMS.Backoffice/issues"
|
"url": "https://github.com/umbraco/Umbraco.CMS.Backoffice/issues"
|
||||||
},
|
},
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Umbraco A/S",
|
"name": "Umbraco A/S",
|
||||||
"email": "backoffice@umbraco.com",
|
"email": "backoffice@umbraco.com",
|
||||||
"url": "https://umbraco.com"
|
"url": "https://umbraco.com"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "tsc && vite build --mode staging",
|
"build": "tsc && vite build --mode staging",
|
||||||
"build:for:static": "tsc && vite build",
|
"build:for:static": "tsc && vite build",
|
||||||
"build:for:cms": "tsc && vite build -c vite.cms.config.ts",
|
"build:for:cms": "tsc && vite build -c vite.cms.config.ts",
|
||||||
"build:for:cms:watch": "npm run build:for:cms -- --watch",
|
"build:for:cms:watch": "npm run build:for:cms -- --watch",
|
||||||
"preview": "vite preview --open",
|
"preview": "vite preview --open",
|
||||||
"test": "web-test-runner --coverage",
|
"test": "web-test-runner --coverage",
|
||||||
"test:watch": "web-test-runner --watch",
|
"test:watch": "web-test-runner --watch",
|
||||||
"auth:test:e2e": "npx playwright test --config apps/auth/",
|
"auth:test:e2e": "npx playwright test --config apps/auth/",
|
||||||
"backoffice:test:e2e": "npx playwright test",
|
"backoffice:test:e2e": "npx playwright test",
|
||||||
"test:e2e": "npm run auth:test:e2e && npm run backoffice:test:e2e",
|
"test:e2e": "npm run auth:test:e2e && npm run backoffice:test:e2e",
|
||||||
"lint": "eslint src apps libs e2e",
|
"lint": "eslint src apps libs e2e",
|
||||||
"lint:fix": "npm run lint -- --fix",
|
"lint:fix": "npm run lint -- --fix",
|
||||||
"format": "prettier 'src/**/*.ts'",
|
"format": "prettier 'src/**/*.ts'",
|
||||||
"format:fix": "npm run format -- --write",
|
"format:fix": "npm run format -- --write",
|
||||||
"generate:api": "openapi --input https://raw.githubusercontent.com/umbraco/Umbraco-CMS/v13/dev/src/Umbraco.Cms.Api.Management/OpenApi.json --output libs/backend-api/src --postfix Resource --useOptions",
|
"generate:api": "openapi --input https://raw.githubusercontent.com/umbraco/Umbraco-CMS/v13/dev/src/Umbraco.Cms.Api.Management/OpenApi.json --output libs/backend-api/src --postfix Resource --useOptions",
|
||||||
"generate:api-dev": "openapi --input http://localhost:11000/umbraco/swagger/v1/swagger.json --output libs/backend-api/src --postfix Resource --useOptions",
|
"generate:api-dev": "openapi --input http://localhost:11000/umbraco/swagger/v1/swagger.json --output libs/backend-api/src --postfix Resource --useOptions",
|
||||||
"storybook": "npm run wc-analyze && storybook dev -p 6006",
|
"storybook": "npm run wc-analyze && storybook dev -p 6006",
|
||||||
"storybook:build": "npm run wc-analyze && storybook build",
|
"storybook:build": "npm run wc-analyze && storybook build",
|
||||||
"build-storybook": "npm run wc-analyze && storybook build",
|
"build-storybook": "npm run wc-analyze && storybook build",
|
||||||
"generate:icons": "node ./devops/icons/index.js",
|
"generate:icons": "node ./devops/icons/index.js",
|
||||||
"wc-analyze": "wca **/*.element.ts --outFile custom-elements.json",
|
"wc-analyze": "wca **/*.element.ts --outFile custom-elements.json",
|
||||||
"new-extension": "plop --plopfile ./devops/plop/plop.js",
|
"new-extension": "plop --plopfile ./devops/plop/plop.js",
|
||||||
"compile": "tsc",
|
"compile": "tsc",
|
||||||
"check": "npm run lint && npm run compile && npm run build-storybook"
|
"check": "npm run lint && npm run compile && npm run build-storybook"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.0.0 <17",
|
"node": ">=18.14.2 <19",
|
||||||
"npm": ">=8.0.0 < 9"
|
"npm": ">=9.5.0 < 10"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@umbraco-ui/uui": "^1.2.0-rc.0",
|
"@umbraco-ui/uui": "^1.2.0-rc.0",
|
||||||
"@umbraco-ui/uui-css": "^1.2.0-rc.0",
|
"@umbraco-ui/uui-css": "^1.2.0-rc.0",
|
||||||
"@umbraco-ui/uui-modal": "file:umbraco-ui-uui-modal-0.0.0.tgz",
|
"@umbraco-ui/uui-modal": "file:umbraco-ui-uui-modal-0.0.0.tgz",
|
||||||
"@umbraco-ui/uui-modal-container": "file:umbraco-ui-uui-modal-container-0.0.0.tgz",
|
"@umbraco-ui/uui-modal-container": "file:umbraco-ui-uui-modal-container-0.0.0.tgz",
|
||||||
"@umbraco-ui/uui-modal-dialog": "file:umbraco-ui-uui-modal-dialog-0.0.0.tgz",
|
"@umbraco-ui/uui-modal-dialog": "file:umbraco-ui-uui-modal-dialog-0.0.0.tgz",
|
||||||
"@umbraco-ui/uui-modal-sidebar": "file:umbraco-ui-uui-modal-sidebar-0.0.0.tgz",
|
"@umbraco-ui/uui-modal-sidebar": "file:umbraco-ui-uui-modal-sidebar-0.0.0.tgz",
|
||||||
"element-internals-polyfill": "^1.1.19",
|
"element-internals-polyfill": "^1.1.19",
|
||||||
"lit": "^2.6.1",
|
"lit": "^2.6.1",
|
||||||
"lodash-es": "4.17.21",
|
"lodash-es": "4.17.21",
|
||||||
"router-slot": "^1.5.5",
|
"router-slot": "^1.5.5",
|
||||||
"rxjs": "^7.8.0",
|
"rxjs": "^7.8.0",
|
||||||
"uuid": "^9.0.0"
|
"uuid": "^9.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.20.12",
|
"@babel/core": "^7.20.12",
|
||||||
"@mdx-js/react": "^2.2.1",
|
"@mdx-js/react": "^2.2.1",
|
||||||
"@open-wc/testing": "^3.1.7",
|
"@open-wc/testing": "^3.1.7",
|
||||||
"@playwright/test": "^1.30.0",
|
"@playwright/test": "^1.30.0",
|
||||||
"@storybook/addon-a11y": "^7.0.0-beta.53",
|
"@storybook/addon-a11y": "^7.0.0-beta.53",
|
||||||
"@storybook/addon-actions": "^7.0.0-beta.53",
|
"@storybook/addon-actions": "^7.0.0-beta.53",
|
||||||
"@storybook/addon-essentials": "^7.0.0-beta.53",
|
"@storybook/addon-essentials": "^7.0.0-beta.53",
|
||||||
"@storybook/addon-links": "^7.0.0-beta.53",
|
"@storybook/addon-links": "^7.0.0-beta.53",
|
||||||
"@storybook/mdx2-csf": "^1.0.0-next.5",
|
"@storybook/mdx2-csf": "^1.0.0-next.5",
|
||||||
"@storybook/web-components": "^7.0.0-beta.53",
|
"@storybook/web-components": "^7.0.0-beta.53",
|
||||||
"@storybook/web-components-vite": "^7.0.0-beta.53",
|
"@storybook/web-components-vite": "^7.0.0-beta.53",
|
||||||
"@types/chai": "^4.3.4",
|
"@types/chai": "^4.3.4",
|
||||||
"@types/lodash-es": "^4.17.6",
|
"@types/lodash-es": "^4.17.6",
|
||||||
"@types/mocha": "^10.0.0",
|
"@types/mocha": "^10.0.0",
|
||||||
"@types/uuid": "^9.0.0",
|
"@types/uuid": "^9.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.50.0",
|
"@typescript-eslint/eslint-plugin": "^5.50.0",
|
||||||
"@typescript-eslint/parser": "^5.50.0",
|
"@typescript-eslint/parser": "^5.50.0",
|
||||||
"@web/dev-server-esbuild": "^0.3.3",
|
"@web/dev-server-esbuild": "^0.3.3",
|
||||||
"@web/dev-server-import-maps": "^0.0.7",
|
"@web/dev-server-import-maps": "^0.0.7",
|
||||||
"@web/dev-server-rollup": "^0.3.21",
|
"@web/dev-server-rollup": "^0.3.21",
|
||||||
"@web/test-runner": "^0.15.0",
|
"@web/test-runner": "^0.15.0",
|
||||||
"@web/test-runner-playwright": "^0.9.0",
|
"@web/test-runner-playwright": "^0.9.0",
|
||||||
"babel-loader": "^9.1.2",
|
"babel-loader": "^9.1.2",
|
||||||
"eslint": "^8.32.0",
|
"eslint": "^8.32.0",
|
||||||
"eslint-config-prettier": "^8.6.0",
|
"eslint-config-prettier": "^8.6.0",
|
||||||
"eslint-import-resolver-typescript": "^3.5.3",
|
"eslint-import-resolver-typescript": "^3.5.3",
|
||||||
"eslint-plugin-import": "^2.27.4",
|
"eslint-plugin-import": "^2.27.4",
|
||||||
"eslint-plugin-lit": "^1.8.2",
|
"eslint-plugin-lit": "^1.8.2",
|
||||||
"eslint-plugin-lit-a11y": "^2.3.0",
|
"eslint-plugin-lit-a11y": "^2.3.0",
|
||||||
"eslint-plugin-local-rules": "^1.3.2",
|
"eslint-plugin-local-rules": "^1.3.2",
|
||||||
"eslint-plugin-storybook": "^0.6.11",
|
"eslint-plugin-storybook": "^0.6.11",
|
||||||
"eslint-plugin-wc": "^1.4.0",
|
"eslint-plugin-wc": "^1.4.0",
|
||||||
"lit-html": "^2.6.1",
|
"lit-html": "^2.6.1",
|
||||||
"msw": "^0.49.2",
|
"msw": "^0.49.2",
|
||||||
"msw-storybook-addon": "^1.7.0",
|
"msw-storybook-addon": "^1.7.0",
|
||||||
"openapi-typescript-codegen": "^0.23.0",
|
"openapi-typescript-codegen": "^0.23.0",
|
||||||
"playwright-msw": "^2.1.0",
|
"playwright-msw": "^2.1.0",
|
||||||
"plop": "^3.1.1",
|
"plop": "^3.1.1",
|
||||||
"prettier": "2.8.3",
|
"prettier": "2.8.3",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"rollup": "^3.10.0",
|
"rollup": "^3.10.0",
|
||||||
"rollup-plugin-esbuild": "^5.0.0",
|
"rollup-plugin-esbuild": "^5.0.0",
|
||||||
"rollup-plugin-url": "^3.0.1",
|
"rollup-plugin-url": "^3.0.1",
|
||||||
"storybook": "^7.0.0-beta.53",
|
"storybook": "^7.0.0-beta.53",
|
||||||
"tiny-glob": "^0.2.9",
|
"tiny-glob": "^0.2.9",
|
||||||
"typescript": "^4.9.5",
|
"typescript": "^4.9.5",
|
||||||
"vite": "^4.0.4",
|
"vite": "^4.1.4",
|
||||||
"vite-plugin-static-copy": "^0.13.0",
|
"vite-plugin-static-copy": "^0.13.0",
|
||||||
"vite-tsconfig-paths": "^4.0.3",
|
"vite-tsconfig-paths": "^4.0.5",
|
||||||
"web-component-analyzer": "^2.0.0-next.4"
|
"web-component-analyzer": "^2.0.0-next.4"
|
||||||
},
|
},
|
||||||
"msw": {
|
"msw": {
|
||||||
"workerDirectory": "public"
|
"workerDirectory": "public"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user