Skip to content

Move to creative-softworks org + scoped alias package - #12

Merged
revxshafi merged 1 commit into
mainfrom
org-rename-and-scoped-alias
Aug 21, 2026
Merged

Move to creative-softworks org + scoped alias package#12
revxshafi merged 1 commit into
mainfrom
org-rename-and-scoped-alias

Conversation

@revxshafi

Copy link
Copy Markdown
Collaborator

Summary

Repo is now under the org. This wires up the naming decision (unscoped real package + scoped re-export) and repoints URLs.

  • All repo URLs now point at github.com/creative-softworks/sql-switch (package.json, CHANGELOG, CONTRIBUTING, issue template).
  • New scoped/ package: @creative-softworks/sql-switch re-exports sql-switch (named exports + default createDAL) with no build step — one source of truth, one place bugs get fixed.
  • publish.yml publishes both packages on a tag: the unscoped real code first, then the scoped alias, authenticated with NPM_TOKEN. A guard fails the tag build unless root version, scoped version, and the alias's sql-switch pin all equal the tag.
  • Version stays at the 0.0.0 placeholder (root + scoped + pin), bumped together at release.

Follow-ups (not in this PR)

  • Add an NPM_TOKEN repo/org secret (the token itself isn't in GitHub secrets yet — only DATABASE_URL is).
  • Bump the three version spots to the real release number before tagging.

🤖 Generated with Claude Code

- point every repo URL (package.json, CHANGELOG, CONTRIBUTING, issue
  template) at github.com/creative-softworks/sql-switch after the transfer
- add scoped/ => @creative-softworks/sql-switch, a re-export alias that
  forwards the unscoped sql-switch package (named exports + default) so both
  names are the same API from one source. no build step, three tiny files.
- publish.yml now ships both packages (unscoped real code, then the scoped
  alias) via NPM_TOKEN, and guards that root + scoped versions and the alias
  pin all match the tag before anything publishes
- version left at the 0.0.0 placeholder, bumped at release time
@revxshafi
revxshafi merged commit 94a5ab4 into main Aug 21, 2026
4 checks passed
@revxshafi
revxshafi deleted the org-rename-and-scoped-alias branch August 21, 2026 07:44
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