diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 828f1c2542..b8e948b3a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,4 +49,4 @@ jobs: with: node-version: 16 cache: pnpm - - run: 'pnpm i && pnpm typecheck && pnpm check && pnpm lint' + - run: 'pnpm i && pnpm check && pnpm lint' diff --git a/package.json b/package.json index 31e6f88bae..e0f1bdcfd9 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,8 @@ "build": "pnpm -r --filter=./packages/* build", "build:sites": "pnpm -r --filter=./sites/* build", "check": "cd packages/svelte && pnpm build && cd ../../ && pnpm -r check", - "lint": "pnpm -r lint", + "lint": "cd packages/svelte && pnpm build && cd ../../ && pnpm -r lint", "format": "pnpm -r format", - "typecheck": "pnpm -r typecheck", "changeset:version": "changeset version && pnpm -r generate:version && git add --all", "changeset:publish": "changeset publish" }, diff --git a/packages/svelte/package.json b/packages/svelte/package.json index 414f7bdc59..2f9377e40a 100644 --- a/packages/svelte/package.json +++ b/packages/svelte/package.json @@ -74,7 +74,7 @@ "types": "types/index.d.ts", "scripts": { "format": "prettier . --cache --plugin-search-dir=. --write", - "check": "prettier . --cache --plugin-search-dir=. --check", + "check": "tsc --noEmit", "test": "vitest run && echo \"manually check that there are no type errors in test/types by opening the files in there\"", "build": "rollup -c && pnpm types", "generate:version": "node ./scripts/generate-version.js", @@ -82,8 +82,7 @@ "posttest": "agadoo src/internal/index.js", "prepublishOnly": "pnpm build", "types": "node ./scripts/generate-dts.js", - "typecheck": "tsc --noEmit", - "lint": "eslint \"{src,test}/**/*.{ts,js}\" --cache" + "lint": "prettier . --cache --plugin-search-dir=. --check && eslint \"{src,test}/**/*.{ts,js}\" --cache" }, "repository": { "type": "git",