diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index c239fad..e03dab0 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -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 diff --git a/apps/demo/package.json b/apps/demo/package.json index 17a19bf..538294c 100644 --- a/apps/demo/package.json +++ b/apps/demo/package.json @@ -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": { diff --git a/apps/demo/tsconfig.json b/apps/demo/tsconfig.json index 3fd7ae6..91f4c38 100644 --- a/apps/demo/tsconfig.json +++ b/apps/demo/tsconfig.json @@ -1,3 +1,6 @@ { - "extends": "astro/tsconfigs/strictest" + "extends": "astro/tsconfigs/strictest", + "compilerOptions": { + "skipLibCheck": true + } } \ No newline at end of file diff --git a/apps/docs/package.json b/apps/docs/package.json index c42a8c6..63fe259 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -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" }, diff --git a/apps/landing-page/package.json b/apps/landing-page/package.json index 8adb4ec..1316796 100644 --- a/apps/landing-page/package.json +++ b/apps/landing-page/package.json @@ -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 .", diff --git a/apps/landing-page/tsconfig.json b/apps/landing-page/tsconfig.json index b431497..2968b99 100644 --- a/apps/landing-page/tsconfig.json +++ b/apps/landing-page/tsconfig.json @@ -15,6 +15,7 @@ "baseUrl": ".", "paths": { "~/*": ["src/*"] - } + }, + "skipLibCheck": true } } diff --git a/package-lock.json b/package-lock.json index c907330..87dbfec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index 903c644..ba26028 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/common/package.json b/packages/common/package.json index 678fa01..9519b27 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -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" } diff --git a/packages/common/tsconfig.json b/packages/common/tsconfig.json new file mode 100644 index 0000000..8bd557b --- /dev/null +++ b/packages/common/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "skipLibCheck": true + } +} \ No newline at end of file diff --git a/packages/form/package.json b/packages/form/package.json index 37ddfcf..b2022d8 100644 --- a/packages/form/package.json +++ b/packages/form/package.json @@ -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", diff --git a/packages/form/tsconfig.json b/packages/form/tsconfig.json index a8e812c..12f7394 100644 --- a/packages/form/tsconfig.json +++ b/packages/form/tsconfig.json @@ -1,3 +1,6 @@ { "extends": "astro/tsconfigs/strictest", + "compilerOptions": { + "skipLibCheck": true + } } diff --git a/packages/validator/package.json b/packages/validator/package.json index 00276be..0410154 100644 --- a/packages/validator/package.json +++ b/packages/validator/package.json @@ -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", diff --git a/packages/validator/tsconfig.json b/packages/validator/tsconfig.json index a8e812c..12f7394 100644 --- a/packages/validator/tsconfig.json +++ b/packages/validator/tsconfig.json @@ -1,3 +1,6 @@ { "extends": "astro/tsconfigs/strictest", + "compilerOptions": { + "skipLibCheck": true + } }