Skip to content

Commit

Permalink
remove docs scripts (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart authored Sep 2, 2024
1 parent 8af9175 commit 687dd37
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ jobs:
- name: Install dependencies
shell: bash
run: pnpm install
- name: Type check
run: tsc --noEmit
- run: pnpm build
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/PackageContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class PackageJson extends Schema.Class<PackageJson>("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),
Expand Down

0 comments on commit 687dd37

Please sign in to comment.