@diagonal-hq/workflows 0.10.1 → 0.10.2
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.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -91,7 +91,7 @@ The QuickJS build has no `Intl` and no locale data. `toLocaleDateString`, `toLoc
|
|
|
91
91
|
|
|
92
92
|
## Build the package
|
|
93
93
|
|
|
94
|
-
`npm run build:workflows-package` (`scripts/build-workflows-package.mjs`) writes `dist/` and packs `scripts/dist/npm/diagonal-hq-workflows-<version>.tgz`. esbuild writes one ESM file for each entry point, and the entry points share chunks, so the root entry and `/testing` use one transport slot. TypeScript writes the declarations next to them. `npm run generate-typescript` runs the script.
|
|
94
|
+
`npm run build:workflows-package` (`scripts/build-workflows-package.mjs`) writes `dist/` and packs `scripts/dist/npm/diagonal-hq-workflows-<version>.tgz`. esbuild writes one ESM file for each entry point, and the entry points share chunks, so the root entry and `/testing` use one transport slot. TypeScript writes the declarations next to them. `npm run generate-typescript` runs the script with `--declarations-only`. That mode writes only the declarations, which the Files editor and the draft editors bundle. It does not write the ESM files or the tarball. `npm run build:npm-packages` builds and packs all the packages.
|
|
95
95
|
|
|
96
96
|
`node scripts/smoke-workflows-package.mjs [tarball]` installs the packed tarball in a consumer outside the repository. It checks the packed file list and the manifest, imports each entry point in Node, runs a workflow through `/testing`, and runs `tsc` against the packed declarations. The `generated-assets` job of PR CI runs it.
|
|
97
97
|
|
package/package.json
CHANGED