Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove docs scripts #65

Merged
merged 2 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": "[email protected]",
"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
Loading