chore: update check and build scripts
This commit is contained in:
parent
d407f0e379
commit
6b96cd1e34
14 changed files with 40 additions and 20 deletions
2
.github/workflows/build-and-test.yml
vendored
2
.github/workflows/build-and-test.yml
vendored
|
@ -26,6 +26,6 @@ jobs:
|
|||
node-version: ${{ matrix.node-version }}
|
||||
cache: "npm"
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- run: npm run check
|
||||
- run: npm run test
|
||||
- run: npm run lint
|
||||
|
|
|
@ -8,14 +8,15 @@
|
|||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
"build": "astro check && astro build",
|
||||
"check": "astro check && tsc --noEmit && astro build",
|
||||
"build": "astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astro-reactive/form": "file:packages/form",
|
||||
"@astro-reactive/validator": "file:packages/validator",
|
||||
"astro": "^1.5.0"
|
||||
"astro": "^1.6.5"
|
||||
},
|
||||
"main": "index.js",
|
||||
"repository": {
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
{
|
||||
"extends": "astro/tsconfigs/strictest"
|
||||
"extends": "astro/tsconfigs/strictest",
|
||||
"compilerOptions": {
|
||||
"skipLibCheck": true
|
||||
}
|
||||
}
|
|
@ -7,8 +7,8 @@
|
|||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
"docs": "astro dev",
|
||||
"check": "astro check && tsc",
|
||||
"build": "astro check && astro build",
|
||||
"check": "astro check && tsc --noEmit && astro build",
|
||||
"build": "astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro"
|
||||
},
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
"landing-page": "astro dev",
|
||||
"build": "astro check && astro build",
|
||||
"check": "astro check && tsc --noEmit && astro build",
|
||||
"build": "astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro",
|
||||
"format": "prettier --write .",
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"~/*": ["src/*"]
|
||||
}
|
||||
},
|
||||
"skipLibCheck": true
|
||||
}
|
||||
}
|
||||
|
|
16
package-lock.json
generated
16
package-lock.json
generated
|
@ -27,7 +27,7 @@
|
|||
"dependencies": {
|
||||
"@astro-reactive/form": "file:packages/form",
|
||||
"@astro-reactive/validator": "file:packages/validator",
|
||||
"astro": "^1.5.0"
|
||||
"astro": "^1.6.5"
|
||||
}
|
||||
},
|
||||
"apps/demo/node_modules/@astro-reactive/form": {
|
||||
|
@ -1753,9 +1753,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/astro": {
|
||||
"version": "1.6.2",
|
||||
"resolved": "https://registry.npmjs.org/astro/-/astro-1.6.2.tgz",
|
||||
"integrity": "sha512-UHbzQ3Q7iU2a0XBY6Dzh/Hksoa7svmkWZ3ABRGgSOT765GXIGZkErgeNAsjsBW7RsTUKVLqVxD2LK3NzZL5EKA==",
|
||||
"version": "1.6.5",
|
||||
"resolved": "https://registry.npmjs.org/astro/-/astro-1.6.5.tgz",
|
||||
"integrity": "sha512-PBjtMJeCRTkvG2ExMpfDUEc7FbwpJ/pxixe7Kt1Z9dfggofGLXnNa5JxzvacuotI1u35wb9nwQ7aI4Uyk5Ellg==",
|
||||
"dependencies": {
|
||||
"@astrojs/compiler": "^0.29.5",
|
||||
"@astrojs/language-server": "^0.26.2",
|
||||
|
@ -9324,7 +9324,7 @@
|
|||
"requires": {
|
||||
"@astro-reactive/form": "file:packages/form",
|
||||
"@astro-reactive/validator": "file:packages/validator",
|
||||
"astro": "^1.5.0"
|
||||
"astro": "^1.6.5"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astro-reactive/form": {
|
||||
|
@ -10550,9 +10550,9 @@
|
|||
}
|
||||
},
|
||||
"astro": {
|
||||
"version": "1.6.2",
|
||||
"resolved": "https://registry.npmjs.org/astro/-/astro-1.6.2.tgz",
|
||||
"integrity": "sha512-UHbzQ3Q7iU2a0XBY6Dzh/Hksoa7svmkWZ3ABRGgSOT765GXIGZkErgeNAsjsBW7RsTUKVLqVxD2LK3NzZL5EKA==",
|
||||
"version": "1.6.5",
|
||||
"resolved": "https://registry.npmjs.org/astro/-/astro-1.6.5.tgz",
|
||||
"integrity": "sha512-PBjtMJeCRTkvG2ExMpfDUEc7FbwpJ/pxixe7Kt1Z9dfggofGLXnNa5JxzvacuotI1u35wb9nwQ7aI4Uyk5Ellg==",
|
||||
"requires": {
|
||||
"@astrojs/compiler": "^0.29.5",
|
||||
"@astrojs/language-server": "^0.26.2",
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
"lint": "npm run lint --workspaces --if-present",
|
||||
"lint:fix": "npm run lint:fix --workspaces --if-present",
|
||||
"build": "npm run build --workspaces --if-present",
|
||||
"check": "npm run check --workspaces --if-present",
|
||||
"test:watch": "npm run test:watch --workspaces --if-present",
|
||||
"patch": "npm version patch -w",
|
||||
"minor": "npm version minor -w",
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
"exports": {
|
||||
".": "./index.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"check": "tsc --noEmit"
|
||||
},
|
||||
"files": [
|
||||
"types/",
|
||||
"index.ts"
|
||||
|
@ -20,6 +23,5 @@
|
|||
"bugs": {
|
||||
"url": "https://github.com/ayoayco/astro-reactive-library/issues"
|
||||
},
|
||||
"homepage": "https://github.com/ayoayco/astro-reactive-library#readme",
|
||||
"scripts": {}
|
||||
"homepage": "https://github.com/ayoayco/astro-reactive-library#readme"
|
||||
}
|
||||
|
|
5
packages/common/tsconfig.json
Normal file
5
packages/common/tsconfig.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"skipLibCheck": true
|
||||
}
|
||||
}
|
|
@ -29,7 +29,7 @@
|
|||
"format": "prettier -w .",
|
||||
"lint": "eslint . --ext .ts,.js",
|
||||
"lint:fix": "eslint --fix . --ext .ts,.js",
|
||||
"build": "astro check && tsc --noEmit"
|
||||
"check": "astro check && tsc --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/chai": "^4.3.3",
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
{
|
||||
"extends": "astro/tsconfigs/strictest",
|
||||
"compilerOptions": {
|
||||
"skipLibCheck": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
"format": "prettier -w .",
|
||||
"lint": "eslint . --ext .ts,.js",
|
||||
"lint:fix": "eslint --fix . --ext .ts,.js",
|
||||
"build": "astro check && tsc --noEmit"
|
||||
"check": "astro check && tsc --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/chai": "^4.3.3",
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
{
|
||||
"extends": "astro/tsconfigs/strictest",
|
||||
"compilerOptions": {
|
||||
"skipLibCheck": true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue