@pineforge/codegen-pyodide
v0.7.6
Published
Gate-validated Pyodide payload for the PineScript v6 -> C++ transpiler: archive (run in Pyodide), unpacked source, introspected tables, and release metadata.
Maintainers
Readme
@pineforge/codegen-pyodide
Gate-validated Pyodide payload for the PineScript v6 → C++ transpiler. Built and
published from pineforge-codegen-oss by .github/workflows/publish-pyodide.yml.
Contents
pineforge_codegen-<version>.tar.gz— the gate-validated archive (unpack into Pyodide).pineforge_codegen/— unpacked Python source (put onPYTHONPATHfor Node oracle/grammar tooling).tables.json— introspected codegen tables (the app renderstables.generated.tsfrom this).release.json—{ codegen, pyodide, python, emscripten, sha256 }.index.mjs—release,tables,archivePath,codegenSourceDir.
One-time bootstrap (maintainer, manual)
This is a NEW package; npm OIDC Trusted Publishing can only be configured after the package exists:
- Build locally:
npm run gate:full && node scripts/build-npm-package.mjs. - From
npm/, do the first publish with a granular npm token:npm publish --access=public(one time). - On npmjs.com, configure the package's Trusted Publisher: GitHub Actions,
repo
pineforge-4pass/pineforge-codegen-oss, workflowpublish-pyodide.yml. - Thereafter releases publish via OIDC (no token): run
publish-pyodide.ymlvia workflow_dispatch withdry_run=false. NOTE: tag pushes currently run a DRY-RUN only (a safe validation) — the sole real-publish path is dispatch +dry_run=false. To switch to tag-driven releases later, change the publish condition in the workflow.
