render-workflows-dart 0.8.3 → 0.8.4

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 (2) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/package.json +3 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.4
4
+
5
+ A packaging guard, carried over from the Rust sibling's audit.
6
+
7
+ `files` allowlists `examples/`, and npm's usual exclusion of `node_modules` does
8
+ not reach inside an allowlisted path. This package was never bitten because
9
+ `examples/.npmignore` has been there from the start — but that file is invisible
10
+ in a directory listing and nothing enforced it. The Rust package was created by
11
+ mirroring this one's `files` list without it, and shipped 111 MB carrying a
12
+ compiled binary.
13
+
14
+ `prepack` now asks npm what it *would* pack and refuses if build output is in
15
+ that list. The first version checked the working tree instead and refused a
16
+ perfectly good publish: this tree always has build output in it, because the
17
+ examples are working projects, and `.npmignore` was already excluding every one
18
+ of the 14 directories it complained about. What matters is not whether an
19
+ artifact exists but whether it would ship.
20
+
21
+ No functional change.
22
+
3
23
  ## 0.8.3
4
24
 
5
25
  Documentation only, but it needs a release: npm serves a README from the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "render-workflows-dart",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "description": "Unofficial: write Render Workflows tasks in Dart, compiled to JavaScript. Not affiliated with or endorsed by Render.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -34,7 +34,8 @@
34
34
  "dart"
35
35
  ],
36
36
  "scripts": {
37
- "test": "node --test \"test/**/*.test.js\""
37
+ "test": "node --test \"test/**/*.test.js\"",
38
+ "prepack": "node tool/prepack.js"
38
39
  },
39
40
  "peerDependencies": {
40
41
  "@renderinc/sdk": ">=0.5.0",