@diagonal-hq/cli 0.35.2 → 0.35.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/dist/cli.mjs +327 -212043
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -1169,7 +1169,7 @@ In the editor, a data call takes any resource string, and record data is untyped
1169
1169
 
1170
1170
  ## Build the package
1171
1171
 
1172
- `npm run build:cli-package` (`scripts/build-cli-package.mjs`) writes `dist/` and packs `scripts/dist/npm/diagonal-hq-cli-<version>.tgz`. `dist/cli.mjs` bundles every dependency, the TypeScript lib files, the workflow script compiler with the script SDK sources, and the bundled script SDK that workflow tests import, so the command needs no Diagonal checkout. The script needs the page Sdk contract and `scripts/generated/pageSdkContract.mjs`. `npm run generate-typescript` makes both and then runs the script.
1172
+ `npm run build:cli-package` (`scripts/build-cli-package.mjs`) writes `dist/` and packs `scripts/dist/npm/diagonal-hq-cli-<version>.tgz`. `dist/cli.mjs` bundles every dependency, the script SDK sources, and the bundled script SDK that workflow tests import, so the command needs no Diagonal checkout. It does not bundle TypeScript. The workflow script compiler comes from its platform package, an optional dependency of the CLI. The script needs the page Sdk contract and `scripts/generated/pageSdkContract.mjs`. `npm run generate-typescript` makes both and then runs the script.
1173
1173
 
1174
1174
  `node scripts/smoke-cli-package.mjs [tarball]` installs the packed tarball in a copy of the starter template outside the repository, with one workflow and its test added. It checks the packed file list, imports the helpers through the `exports` map, runs `tsc` against the packed declarations, and runs `diagonal check`. The `generated-assets` job of PR CI runs it.
1175
1175