feat: diverge public and unlisted JavaScript capabilities #14

Merged
lksz merged 1 commit from feature/public-unlisted-feature-split into dev 2026-10-30 02:35:37 +00:00
Owner

Summary

  • Public (AMO) builds only allow the reviewed Salesforce Lightning Link Grabber JS action; custom scripts, snippet cloning, ACE, and Acorn are stripped from the package.
  • Unlisted builds keep the full snippet library and editor tooling; only the extension ID changes.
  • build.sh lints the prepared public tree with --warnings-as-errors so production packages are warning-free.
  • Docs (README, AMO submission notes, project rules) describe the flavor split.

Test plan

  • ./build.sh --ci --flavor public → 0 lint warnings/errors
  • wsl bash scripts/test-build.sh (23 passed), including public restriction checks
  • Load public zip via about:debugging — Snippets shows SF Grabber only; no Clone / New snippet
  • Load unlisted zip — full snippet library + Clone still work
## Summary - Public (AMO) builds only allow the reviewed Salesforce Lightning Link Grabber JS action; custom scripts, snippet cloning, ACE, and Acorn are stripped from the package. - Unlisted builds keep the full snippet library and editor tooling; only the extension ID changes. - `build.sh` lints the prepared public tree with `--warnings-as-errors` so production packages are warning-free. - Docs (README, AMO submission notes, project rules) describe the flavor split. ## Test plan - [x] `./build.sh --ci --flavor public` → 0 lint warnings/errors - [x] `wsl bash scripts/test-build.sh` (23 passed), including public restriction checks - [ ] Load public zip via `about:debugging` — Snippets shows SF Grabber only; no Clone / New snippet - [ ] Load unlisted zip — full snippet library + Clone still work
feat: diverge public and unlisted JavaScript capabilities
All checks were successful
PR Check / Check PR Target (pull_request) Has been skipped
PR Check / Lint (pull_request) Successful in 40s
PR Check / Build Preview (pull_request) Has been skipped
44a16cfe85
Public AMO builds only ship the reviewed Salesforce Lightning Link Grabber
action and strip custom JS tooling for a warning-free package; unlisted keeps
the full snippet library, cloning, and editor.
lksz merged commit 5a53874244 into dev 2026-10-30 02:35:37 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lksz/sticky-tabsz!14
No description provided.