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
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@

The official command-line interface for Polymorfa.

The package is under active development. `@polymorfa/cli` is not published to
npm yet. When a development prerelease is available, install it explicitly with
`npm install --global @polymorfa/cli@dev`. Until then, install from the private
source repository, which requires repository access.
The package is under active development and is published to npm as
development prereleases on the `dev` tag:

```shell
npm install --global @polymorfa/cli@dev
polymorfa version
```

## Requirements

Expand All @@ -15,7 +18,8 @@ source repository, which requires repository access.

## Development installation

Install the current private development branch globally:
With access to the private source repository, install the current development
branch globally:

```shell
npm install --global github:polymorfa/cli#dev
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@modelcontextprotocol/server": "2.0.0",
"@napi-rs/keyring": "1.3.0",
"@oclif/core": "^4.13.5",
"@polymorfa/sdk": "0.1.0-dev.20261001215108",
"@polymorfa/sdk": "0.1.0-dev.20261002023214",
"jq-wasm": "3.0.0-jq-1.8.2",
"zod": "4.2.0"
},
Expand Down
7 changes: 6 additions & 1 deletion test/release/check-prerelease.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ import {afterEach, describe, expect, test} from 'vitest'

const root = fileURLToPath(new URL('../../', import.meta.url))
const tempDirectories: string[] = []
const pinnedSdk = (
JSON.parse(readFileSync(join(root, 'package.json'), 'utf8')) as {
dependencies: Record<string, string>
}
).dependencies['@polymorfa/sdk']
type TestManifest = {
version: string
dependencies: Record<string, string>
Expand Down Expand Up @@ -56,7 +61,7 @@ describe('npm prerelease guard', () => {
test('accepts the reviewed manifest and lockfile', () => {
const result = runWith()
expect(result.status).toBe(0)
expect(result.stdout).toContain('@polymorfa/sdk@0.1.0-dev.20261001215108')
expect(result.stdout).toContain(`@polymorfa/sdk@${pinnedSdk}`)
})

test('rejects the default latest tag', () => {
Expand Down