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: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: npm run typecheck

- name: Run tests
run: npm test
run: npm run test:ci

build:
name: Build check
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/claude-code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,3 @@ jobs:
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
# or https://docs.claude.com/en/docs/claude-code/cli-reference for available options
claude_args: '--allowed-tools "Bash(gh issue view:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*)"'

1 change: 0 additions & 1 deletion .github/workflows/claude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,3 @@ jobs:
# See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md
# or https://docs.claude.com/en/docs/claude-code/cli-reference for available options
# claude_args: '--allowed-tools Bash(gh pr:*)'

4 changes: 1 addition & 3 deletions .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"semi": false,
"tabWidth": 2,
"trailingComma": "none",
"plugins": [
"@ianvs/prettier-plugin-sort-imports"
],
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
"importOrder": [
"<BUILTIN_MODULES>",
"^react",
Expand Down
1 change: 0 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,3 @@ Check out @README
- ESLint is configured to ignore unused variables/parameters prefixed with underscore
- No build step is currently configured - this is a TypeScript source project
- Tests directory exists but no test framework is currently set up

11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,17 @@ Uninstall package:
await ipm.uninstall('package-name')
```

### `publish(opts: { dryrun?: boolean; path?: string })`

Publish a package to the registry. It will use `cwd` to locate the package to publish.

- `dryrun`: If true, simulates the publish process without actually publishing. Default is `false`.
- `path`: Path to the package directory. If not provided, it uses the current working directory.

```ts
await ipm.publish({ dryrun: true, path: './my-package' })
```

### `registry.getPackageInfo(name: string): Promise<PackageInfo>`

Get a package from the registry:
Expand Down
5 changes: 1 addition & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ export default {
}
]
},
transformIgnorePatterns: [
'node_modules/(?!@inkdropapp/logger)'
],
transformIgnorePatterns: ['node_modules/(?!@inkdropapp/logger)'],
testMatch: [
'**/tests/**/*.test.ts',
// Exclude real installation test from normal runs
Expand All @@ -30,4 +28,3 @@ export default {
],
collectCoverageFrom: ['src/**/*.ts', '!src/**/*.d.ts']
}

Loading
Loading