mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
chore: enable Node 18
This commit is contained in:
parent
e3c3515409
commit
cbf75359c8
14 changed files with 31 additions and 8 deletions
2
.github/workflows/integration-test.yml
vendored
2
.github/workflows/integration-test.yml
vendored
|
@ -46,6 +46,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
node_version: [16, 18]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
|
@ -69,6 +70,7 @@ jobs:
|
|||
- name: Setup Node and pnpm
|
||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
||||
with:
|
||||
node-version: ${{ matrix.node_version }}
|
||||
run-install: false
|
||||
|
||||
# Setup integration test
|
||||
|
|
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
@ -47,11 +47,17 @@ jobs:
|
|||
main-test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node_version: [16, 18]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Node and pnpm
|
||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
||||
with:
|
||||
node-version: ${{ matrix.node_version }}
|
||||
|
||||
- name: Prepack
|
||||
run: pnpm prepack
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
]
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.15.0",
|
||||
"pnpm": ">=6"
|
||||
"node": "^16.13.0 || ^18.12.0",
|
||||
"pnpm": "^7.14.0"
|
||||
},
|
||||
"alias": {
|
||||
"html-parse-stringify": "html-parse-stringify/dist/html-parse-stringify.module.js",
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
"prepack": "pnpm build"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^16.0.0"
|
||||
"node": "^16.13.0 || ^18.12.0"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/logto-io/logto/issues"
|
||||
|
|
|
@ -84,6 +84,9 @@
|
|||
"typescript": "^4.7.4",
|
||||
"zod": "^3.19.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^16.13.0 || ^18.12.0"
|
||||
},
|
||||
"alias": {
|
||||
"@/*": "./src/$1",
|
||||
"@mdx/components/*": "./src/mdx-components/$1"
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
"typescript": "^4.7.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^16.0.0"
|
||||
"node": "^16.13.0 || ^18.12.0"
|
||||
},
|
||||
"_moduleAliases": {
|
||||
"@": "./build"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"scripts": {},
|
||||
"engines": {
|
||||
"node": "^16.0.0"
|
||||
"node": "^16.13.0 || ^18.12.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@logto/cli": "workspace:^"
|
||||
|
|
|
@ -44,6 +44,9 @@
|
|||
"stylelint": "^14.9.1",
|
||||
"typescript": "^4.7.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^16.13.0 || ^18.12.0"
|
||||
},
|
||||
"alias": {
|
||||
"@/*": "./src/$1"
|
||||
},
|
||||
|
|
|
@ -39,6 +39,9 @@
|
|||
"ts-node": "^10.9.1",
|
||||
"typescript": "^4.7.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^16.13.0 || ^18.12.0"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "@silverhand"
|
||||
},
|
||||
|
|
|
@ -44,6 +44,9 @@
|
|||
"prettier": "^2.7.1",
|
||||
"typescript": "^4.7.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^16.13.0 || ^18.12.0"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "@silverhand"
|
||||
},
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
"prepack": "pnpm build"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^16.0.0"
|
||||
"node": "^16.13.0 || ^18.12.0"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/logto-io/logto/issues"
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
"test:ci": "jest"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^16.0.0"
|
||||
"node": "^16.13.0 || ^18.12.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@silverhand/eslint-config": "1.3.0",
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
"typescript": "^4.7.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^16.0.0"
|
||||
"node": "^16.13.0 || ^18.12.0"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "@silverhand",
|
||||
|
|
|
@ -71,6 +71,9 @@
|
|||
"typescript": "^4.7.4",
|
||||
"use-debounced-loader": "^0.1.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^16.13.0 || ^18.12.0"
|
||||
},
|
||||
"alias": {
|
||||
"@/*": "./src/$1"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue