Skip to content

chore: rename js/ to pkg-js/ - #197

Open
schloerke wants to merge 1 commit into
mainfrom
schloerke/rename-pkg-js
Open

chore: rename js/ to pkg-js/#197
schloerke wants to merge 1 commit into
mainfrom
schloerke/rename-pkg-js

Conversation

@schloerke

Copy link
Copy Markdown
Collaborator

Closes #196. Refs #172.

Summary

Purely mechanical rename of js/ to pkg-js/ so the JS package sits alongside pkg-py/ and pkg-r/ in the pkg-* sibling convention, ahead of publishing it as @posit/shinyreact (decided in decisions/2026-08-17-js-distribution.md, pending on its own branch).

  • git mv js pkg-js — all files detected as 100% renames, including the committed dist/ assets.
  • Path references updated in live files only: Makefile (PATH_PKG_JS, the single source for all js-* targets), .gitignore (!pkg-js/dist/), .pre-commit-config.yaml excludes, .github/workflows/check-js.yaml trigger paths and working-directory, CLAUDE.md, README.md, docs/posit-conf-2026-goals.md, and examples/09-hmr/src/shiny-bridge.dev.ts (relative import of the vendored source).
  • Historical records under docs/superpowers/ intentionally left untouched.
  • Make target names (js-setup, js-build, …) are unchanged — only the directory moved.

Verification

  • make js-lint passes (tsc --noEmit).
  • make js-test passes (166 tests, 12 files).
  • make update-dist produces zero diffs — pkg-js/dist/, pkg-py/src/shinyreact/www/, and pkg-r/inst/lib/shiny/ remain byte-identical, so the check-js "no uncommitted changes" job will pass.
  • grep -rn 'js/(src|dist)' --exclude-dir=docs finds no remaining references outside historical docs.

- Mechanical git mv; matches the pkg-py/pkg-r sibling convention ahead
  of publishing @posit/shinyreact (decided for #172)
- Update Makefile PATH_PKG_JS, .gitignore, pre-commit excludes,
  check-js workflow paths, CLAUDE.md, README, conf-2026 goals doc, and
  the 09-hmr dev-bridge import
- Historical docs/superpowers/ plans and specs left untouched
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.

Rename js/ to pkg-js/

1 participant