@kpkpkg/apps-sdk
v0.1.15-rc.3
Published
This package contains shared utilities for Karpatkey apps.
Readme
@kpk/apps-sdk
This package contains shared utilities for Karpatkey apps.
Publishing
This package is used by both Deno and Node.js.
Recommended workflow
Set the same version in both package.json and jsr.json and run:
NPM_TOKEN=<token> DENO_NO_PACKAGE_JSON=1 deno run -A publish.tsThis does additional checks to ensure:
- Check that the version is the same in both
package.jsonandjsr.json - Check that the version is not already published to npm and JSR
- Ensure dependencies resolve correctly for Deno with a dry-run
Other options
To publish to npm, run:
NPM_TOKEN=<token> sh publish.shTo publish to Deno, run:
DENO_NO_PACKAGE_JSON=1 deno publish --no-check --allow-dirtyTo verify before publishing, run:
DENO_NO_PACKAGE_JSON=1 deno publish --no-check --allow-dirty --dry-runDENO_NO_PACKAGE_JSON=1 tells Deno to ignore a package.json file
