@voxgig/sdkgen 3.3.0 → 3.3.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voxgig/sdkgen",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "main": "dist/sdkgen.js",
5
5
  "type": "commonjs",
6
6
  "engines": {
@@ -1026,7 +1026,13 @@ ${!provider.liveApp ? '' : `
1026
1026
  echo "server did not start; live tests will skip"
1027
1027
  `}
1028
1028
  - run: npm install
1029
- - run: npm i seneca seneca-entity seneca-promisify @seneca/provider @seneca/env
1029
+
1030
+ # The Seneca host framework is a PEER dependency, so the test suite needs
1031
+ # it installed explicitly. --no-save keeps npm from rewriting the peer
1032
+ # ranges in package.json to carets on what it happened to resolve, which
1033
+ # would have the build testing a manifest the repo never authored.
1034
+ - run: npm i --no-save seneca seneca-entity seneca-promisify @seneca/provider @seneca/env
1035
+
1030
1036
  - run: npm run build --if-present
1031
1037
  - run: npm test
1032
1038
  `)
@@ -1107,7 +1113,14 @@ jobs:
1107
1113
 
1108
1114
  # The Seneca host framework is a PEER dependency, so the test suite
1109
1115
  # needs it installed explicitly.
1110
- - run: npm i seneca seneca-entity seneca-promisify @seneca/provider @seneca/env
1116
+ #
1117
+ # --no-save IS LOAD-BEARING. Without it npm rewrites the peer ranges in
1118
+ # package.json to carets on whatever it resolved, and \`npm publish\`
1119
+ # below then ships that rewritten manifest — so an authored \`>=26\`
1120
+ # reaches consumers as \`^28.1.0\` and the package refuses to install for
1121
+ # anyone on a newer major. The repo looks fine; only the artifact is
1122
+ # narrowed. Install into node_modules, leave the manifest alone.
1123
+ - run: npm i --no-save seneca seneca-entity seneca-promisify @seneca/provider @seneca/env
1111
1124
 
1112
1125
  - run: npm run build
1113
1126
  - run: npm test