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
23 changes: 23 additions & 0 deletions .tegami/publish-lock.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
core:changelogs:
- content: "---\npackages:\n padrone:\n type: major\n---\n\n## Externalize optional integrations to dedicated subpath entry points\n\nOptional integrations are now exported from dedicated subpath entry points so bundlers that don't tree-shake re-exports keep their dependencies out of the main bundle. Update imports as follows:\n\n- `padroneInk`, `isReactElement`, `InkOptions` → `'padrone/ink'`\n- `padroneMcp`, `WithMcp`, `PadroneMcpPreferences` → `'padrone/mcp'`\n- `padroneServe`, `WithServe` → `'padrone/serve'`\n- `padroneTracing`, `WithTracing`, `PadroneTracer`, `PadroneTracingConfig`, `OtelSpan`, `OtelTracer`, `OtelTracerProvider` → `'padrone/tracing'`\n- `padroneCompletion`, `WithCompletion` → `'padrone/completion'`\n- `padroneMan`, `WithMan` → `'padrone/man'`\n"
filename: split-optional-entry-points.md
v: 0.0.0
core:packages:
- id: npm:@padrone/root
updated: true
- id: npm:@padrone/docs
updated: true
- changelogIds:
- split-optional-entry-points.md
id: npm:padrone
updated: true
- id: npm:@padrone/tasks-example
updated: true
- id: npm:@padrone/deploy-example
updated: true
npm:packages:
- id: npm:@padrone/root
- id: npm:@padrone/docs
- id: npm:padrone
- id: npm:@padrone/tasks-example
- id: npm:@padrone/deploy-example
15 changes: 0 additions & 15 deletions .tegami/split-optional-entry-points.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@padrone/docs",
"type": "module",
"version": "1.9.0",
"version": "2.0.0",
"private": true,
"imports": {
"#*": "./*"
Expand Down
2 changes: 1 addition & 1 deletion examples/deploy-example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@padrone/deploy-example",
"version": "1.9.0",
"version": "2.0.0",
"private": true,
"type": "module",
"module": "src/cli.ts",
Expand Down
2 changes: 1 addition & 1 deletion examples/padrone-example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@padrone/tasks-example",
"version": "1.9.0",
"version": "2.0.0",
"private": true,
"type": "module",
"module": "src/tasks.ts",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@padrone/root",
"version": "1.9.0",
"version": "2.0.0",
"type": "module",
"private": true,
"description": "Create interactive CLI apps with Zod schemas",
Expand Down
13 changes: 13 additions & 0 deletions packages/padrone/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## padrone@2.0.0

### Externalize optional integrations to dedicated subpath entry points

Optional integrations are now exported from dedicated subpath entry points so bundlers that don't tree-shake re-exports keep their dependencies out of the main bundle. Update imports as follows:

- `padroneInk`, `isReactElement`, `InkOptions` → `'padrone/ink'`
- `padroneMcp`, `WithMcp`, `PadroneMcpPreferences` → `'padrone/mcp'`
- `padroneServe`, `WithServe` → `'padrone/serve'`
- `padroneTracing`, `WithTracing`, `PadroneTracer`, `PadroneTracingConfig`, `OtelSpan`, `OtelTracer`, `OtelTracerProvider` → `'padrone/tracing'`
- `padroneCompletion`, `WithCompletion` → `'padrone/completion'`
- `padroneMan`, `WithMan` → `'padrone/man'`

# padrone

## 1.9.0
Expand Down
2 changes: 1 addition & 1 deletion packages/padrone/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "padrone",
"version": "1.9.0",
"version": "2.0.0",
"description": "Create type-safe, interactive CLI apps with Zod schemas",
"license": "MIT",
"type": "module",
Expand Down
Loading