feat: diverge public and unlisted JavaScript capabilities #15

Open
lksz wants to merge 4 commits from dev into main
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
docs: align release, AMO, and README with current CI
All checks were successful
Dev Build / Build & Tag (push) Successful in 46s
PR Check / Check PR Target (pull_request) Has been skipped
PR Check / Lint (pull_request) Successful in 43s
PR Check / Build Preview (pull_request) Has been skipped
9757a0b399
Co-authored-by: Cursor <cursoragent@cursor.com>
Reviewed-on: #13
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.
Merge pull request 'feat: diverge public and unlisted JavaScript capabilities' (#14) from feature/public-unlisted-feature-split into dev
All checks were successful
Dev Build / Build & Tag (push) Successful in 41s
PR Check / Check PR Target (pull_request) Successful in 2s
PR Check / Lint (pull_request) Successful in 37s
PR Check / Build Preview (pull_request) Successful in 39s
5a53874244
Reviewed-on: #14
All checks were successful
Dev Build / Build & Tag (push) Successful in 41s
PR Check / Check PR Target (pull_request) Successful in 2s
PR Check / Lint (pull_request) Successful in 37s
PR Check / Build Preview (pull_request) Successful in 39s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'dev:dev'
git switch 'dev'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'dev'
git switch 'dev'
git rebase 'main'
git switch 'main'
git merge --ff-only 'dev'
git switch 'dev'
git rebase 'main'
git switch 'main'
git merge --no-ff 'dev'
git switch 'main'
git merge --squash 'dev'
git switch 'main'
git merge --ff-only 'dev'
git switch 'main'
git merge 'dev'
git push origin 'main'
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!15
No description provided.