diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8542592..9fcfe77 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,6 +25,8 @@ jobs: - name: Install dependencies shell: bash run: pnpm install + - name: Type check + run: tsc --noEmit - run: pnpm build - name: Create Release Pull Request or Publish id: changesets diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 94ede34..5b7491c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -26,4 +26,6 @@ jobs: - name: Install dependencies shell: bash run: pnpm install + - name: Type check + run: tsc --noEmit - run: pnpm build diff --git a/package.json b/package.json index ab01248..6443678 100644 --- a/package.json +++ b/package.json @@ -11,19 +11,17 @@ }, "packageManager": "pnpm@9.8.0", "scripts": { - "version": "changeset version && pnpm install --no-frozen-lockfile && pnpm run docs-update", + "version": "changeset version && pnpm install --no-frozen-lockfile", "release": "pnpm run build && changeset publish", "lint": "eslint . --ext .ts,.tsx", "autofix": "pnpm lint --fix", "vitest": "vitest", "coverage": "vitest run --coverage", - "test": "pnpm coverage && pnpm run docs", + "test": "pnpm coverage", "clean": "rimraf rm -rf dist/*", "build": "tsup && pnpm copy-package-json", "build:ts": "tsup", - "copy-package-json": "ts-node scripts/copy-package-json.ts", - "docs": "pnpm build && node -e \"require('./dist/bin')\"", - "docs-update": "git add --force --all docs/modules || true" + "copy-package-json": "ts-node scripts/copy-package-json.ts" }, "repository": { "type": "git", diff --git a/src/PackageContext.ts b/src/PackageContext.ts index 856e190..b132762 100644 --- a/src/PackageContext.ts +++ b/src/PackageContext.ts @@ -50,7 +50,7 @@ export class PackageJson extends Schema.Class("PackageJson")({ private: Schema.optionalWith(Schema.Boolean, { default: () => false }), publishConfig: Schema.optional(Schema.Struct({ provenance: Schema.optionalWith(Schema.Boolean, { default: () => false }), - executableFiles: Schema.optional(Schema.array(Schema.string)), + executableFiles: Schema.optional(Schema.Array(Schema.String)), })), license: Schema.String, author: Schema.optional(Schema.String),