worklayer
v0.0.6
Published
Worklayer command line tools.
Readme
worklayer
Worklayer command line tools.
Local Development
pnpm -F worklayer test
pnpm -F worklayer build
node public_packages/worklayer/dist/cli.js --helpThe ChatGPT login flow is intentionally hidden from CLI help while it is in testing:
node public_packages/worklayer/dist/cli.js chatgpt loginBy default, the CLI connects to https://app.myworklayer.com. Use
--web-url for another Worklayer production or staging target:
node public_packages/worklayer/dist/cli.js chatgpt login --web-url https://staging.myworklayer.comnpm Deployment
- Confirm the package version in
public_packages/worklayer/package.json. - Run the package checks:
pnpm -F worklayer test
pnpm -F worklayer build
pnpm -F worklayer exec prettier --check "src/**/*.ts" "tests/**/*.ts"- Validate the package contents:
cd public_packages/worklayer
npm pack --dry-run- Publish to npm:
cd public_packages/worklayer
npm publish --access public- Smoke test the published package:
npx worklayer --help
npx worklayer chatgpt login