feat: recreate npm/Docker package files for reality-simulation-code#1777
Conversation
- Update package.json with comprehensive metadata, scripts, keywords, engines, files array - Create docker-compose.yml for multi-container deployments - Create PACKAGE.md with full package documentation - Create PUBLISHING.md with publishing guide for npm and Docker - Create RELEASE_NOTES.md with release information - Create IMPLEMENTATION_COMPLETE.md with implementation summary - Create publish-packages.sh helper script to trigger publishing workflows - Create demo.js demonstration script - Update .npmignore to exclude docker-compose.yml, publish-packages.sh, IMPLEMENTATION_COMPLETE.md Agent-Logs-Url: https://github.com/xaoex/reality-simulation-code/sessions/833d3c8a-86bb-47fa-b574-1c6685a39e39 Co-authored-by: professoroakz <6593422+professoroakz@users.noreply.github.com>
|
Looks ok, could use some more work. Make more professional and enterprise. Such as previous release and of course only runnable for me as usual. |
professoroakz
left a comment
There was a problem hiding this comment.
Read comments, and remove "demo" replace with "sandbox-alpha-s"
…nly, enterprise polish - Rename demo.js → sandbox-alpha-s.js with enterprise-style header and formatted output - Replace npm script "demo" with "sandbox-alpha-s" - Update package.json files[] array to reference sandbox-alpha-s.js - Add owner-only authorization check (professoroakz / xaoex) to publish-packages.sh - Upgrade publish-packages.sh to enterprise style with [INIT]/[AUTH]/[INFO] log prefixes - Update all "demo" references in PACKAGE.md, PUBLISHING.md, RELEASE_NOTES.md, IMPLEMENTATION_COMPLETE.md - Update .npmignore comment to reference sandbox-alpha-s.js Agent-Logs-Url: https://github.com/xaoex/reality-simulation-code/sessions/c94bdaf5-3f86-4aa3-be13-420f2631d80b Co-authored-by: professoroakz <6593422+professoroakz@users.noreply.github.com>
Done in commit
Updated in commit |
Restores the package distribution files that previously existed (from PR #828) but were no longer present in the repo, with enterprise-grade polish and owner-restricted publishing.
Changes
package.jsoncontributors,engines(Node ≥18),fileswhiteliststart,sandbox-alpha-s,docker:build,docker:run,docker:publish,packageNew files
sandbox-alpha-s.js— enterprise sandbox runtime usingindex.jsexports, with structured[INIT]/[INFO]/[STATUS]log output andv1.31337dbp ok741s releasebrandingdocker-compose.yml— named-volume, bridged-network Compose config targetingghcr.io/xaoex/reality-simulation-codePACKAGE.md— install/usage guide for npm (public + GitHub Packages) and DockerPUBLISHING.md— three publish methods: merge-to-main, release tag, manual workflow dispatchRELEASE_NOTES.md— v1.0.0 release notesIMPLEMENTATION_COMPLETE.md— package delivery summarypublish-packages.sh— owner-only publishing script (restricted toprofessoroakz/xaoexviagh api user); triggersnpm-github-packages.ymlanddockergithubpackage.ymlviagh workflow run; uses enterprise[AUTH]/[INFO]/[TRIGGER]/[OK]log prefixes and exits with[DENIED]for unauthorized operators.npmignoredocker-compose.yml,publish-packages.sh, andIMPLEMENTATION_COMPLETE.mdfrom the npm bundleExisting CI workflows (
npm-github-packages.yml,dockergithubpackage.yml,npm-publish.yml) remain unchanged and continue to trigger on push tomain/production, release events, andworkflow_dispatch.