Skip to content
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: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,5 @@ logs
**/auto-imports.d.ts
**/components.d.ts

# Comark
packages/comark/skills
.vercel
.env*
3 changes: 2 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,8 @@ Every package in `packages/*` shares one version and one `vX.Y.Z` tag (lockstep)
2. Merging the PR tags `vX.Y.Z`, creates the GitHub release from the PR body, and
dispatches the publish run on the tag.
3. `pack` installs with `--ignore-scripts`, runs `pnpm build`, then `pnpm pack`s each
package (its `prepack` runs; `comark`'s `build` copies `docs/skills` into the package).
package (its `prepack` runs). Agent skills are served from comark.dev (`docs/skills`), not
shipped in the npm package.
4. `publish` stages every tarball with `npm stage publish` over OIDC in the `npm`
environment. Approve the staged versions on npmjs.com to make them live.

Expand Down
7 changes: 3 additions & 4 deletions packages/comark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
"url": "git+https://github.com/comarkdown/comark.git"
},
"files": [
"dist",
"skills"
"dist"
],
"type": "module",
"sideEffects": false,
Expand All @@ -64,10 +63,10 @@
},
"scripts": {
"stub": "node ../../scripts/stub.mjs",
"build": "rm -rf skills && cp -r ../../docs/skills skills && tsc --removeComments --declaration false && tsc --emitDeclarationOnly",
"build": "tsc --removeComments --declaration false && tsc --emitDeclarationOnly",
"dev": "tsc --watch",
"test": "vitest run",
"prepack": "pnpm run build"
"prepack": "tsc --removeComments --declaration false && tsc --emitDeclarationOnly"
},
"dependencies": {
"character-entities": "catalog:",
Expand Down
1 change: 0 additions & 1 deletion skills

This file was deleted.

2 changes: 1 addition & 1 deletion test/bundle.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ describe('package bundle size', { timeout: 60_000 }, () => {
"@comark/react": "42.9k (83 files)",
"@comark/svelte": "50.3k (91 files)",
"@comark/vue": "60.2k (87 files)",
"comark": "515k (176 files)",
"comark": "422k (167 files)",
}
`)
})
Expand Down
Loading