Skip to content

build(deps): use the published @norbix.ai/ts and @norbix.ai/react-redux instead of ../sdks - #11

Merged
Domantas merged 4 commits into
mainfrom
ci/published-sdks
Oct 3, 2026
Merged

Domantas merged 4 commits into
mainfrom
ci/published-sdks

Conversation

@Domantas

@Domantas Domantas commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Admin main CI was red at Typecheck because the portal built against the sibling ../sdks checkouts, which CI does not have (tracker step 29b).

  • package.json: @norbix.ai/ts ^4.4.0 and @norbix.ai/react-redux ^1.4.0 from npm (the old name @norbix/react-redux was never published). Imports follow the new name.
  • No more ../sdks wiring: the source paths leave tsconfig.json / tsconfig.app.json; next.config.mjs drops transpilePackages and the .js→.ts alias; the legacy Vite config links SDK source only with NORBIX_LINK=1.
  • Docs: README.md, docs/sdk-local-development.md (how to try an unpublished SDK change with npm pack + npm install --no-save), docs/agreements.md, docs/implementation-plan.md.
  • Needed first: react-redux 1.4.0 with the AI hooks — feat(notifications): build against @norbix.ai/ts 4.4.0, drop the campaign-message hooks react-redux#34 (merged, released).

Tests, run locally in a worktree with no ../sdks next to it: npm ci, lint, format check, typecheck, test (80 passed), build, npm audit --omit=dev --audit-level=high — all green.

Task file: docs/tasks/published-sdks.md (branch ci/published-sdks).

🤖 Generated with Claude Code

Domantas and others added 4 commits October 3, 2026 11:32
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ct-redux instead of ../sdks

package.json: @norbix.ai/ts ^4.4.0, @norbix.ai/react-redux ^1.4.0 (the old name @norbix/react-redux was never on npm). Imports follow the new name. The ../sdks source paths leave both tsconfig files; next.config drops transpilePackages and the .js->.ts alias, which only existed for SDK source. vite.config links SDK source only with NORBIX_LINK=1. The lock follows in step 7, once react-redux 1.4.0 is on npm.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…DK change

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…4.4.0 from npm

The stale extraneous ../sdks/norbix-react-redux lock entry is removed. npm ci, lint, format check, typecheck, test (80), build and the production audit pass locally with no ../sdks folder next to the worktree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Domantas
Domantas merged commit c2ce2b3 into main Oct 3, 2026
2 checks passed
@Domantas
Domantas deleted the ci/published-sdks branch October 3, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant