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
5 changes: 5 additions & 0 deletions .changeset/curvy-houses-hang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@jrkropp/codex-js-react": patch
---

Replace the package's internal workspace dependency with a publishable semver range so npm consumers can install the React package from the registry.
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
link-workspace-packages=true
prefer-workspace-packages=true
2 changes: 1 addition & 1 deletion packages/codex-js-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"typecheck": "tsc -p tsconfig.json --pretty false"
},
"dependencies": {
"@jrkropp/codex-js": "workspace:^",
"@jrkropp/codex-js": "^0.2.0",
"@legendapp/list": "^3.0.0-beta.44",
"@lexical/react": "^0.44.0",
"class-variance-authority": "^0.7.1",
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

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

1 change: 1 addition & 0 deletions tests/package.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ describe("npm package boundaries", () => {
for (const packageJson of [corePackageJson, reactPackageJson]) {
const metadata = JSON.stringify(packageJson);
expect(metadata).not.toContain("./src/");
expect(metadata).not.toContain("workspace:");
expect(metadata).not.toContain("unstable");
expect(metadata).not.toContain("codex-rs");
expect(metadata).not.toContain("t3code");
Expand Down
Loading