needle-cloud 2.4.5 → 2.4.6

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": "needle-cloud",
3
- "version": "2.4.5",
3
+ "version": "2.4.6",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "needle-cloud": "./bin/cli.js"
@@ -18,31 +18,32 @@
18
18
  "CHANGELOG.md",
19
19
  "package-lock.json"
20
20
  ],
21
+ "//dependencies": "Versions are pinned EXACTLY (no ^ or ~) so a fresh install can never drift — this is a published CLI and an unexpected transitive bump ships to every `npx needle-cloud` user. Bump deliberately with `npm install --save-exact <pkg>@<version>`.",
21
22
  "dependencies": {
22
- "@logto/browser": "^3.0.7",
23
- "@logto/node": "^2.5.8",
24
- "@web-std/file": "^3.0.3",
25
- "body-parser": "^1.20.3",
26
- "buffer": "^6.0.3",
23
+ "@logto/browser": "3.0.7",
24
+ "@logto/node": "2.5.8",
25
+ "@web-std/file": "3.0.3",
26
+ "body-parser": "1.20.3",
27
+ "buffer": "6.0.3",
27
28
  "commander": "14.0.1",
28
- "dotenv": "^16.4.5",
29
- "express": "^4.21.1",
30
- "minimatch": "^10.2.5",
31
- "node-fetch": "^3.3.2",
32
- "node-machine-id": "^1.1.12",
33
- "open": "^10.1.0",
34
- "ora": "^8.0.1",
35
- "uuid": "^11.1.0",
36
- "ws": "^8.18.3"
29
+ "dotenv": "16.4.5",
30
+ "express": "4.21.1",
31
+ "minimatch": "10.2.5",
32
+ "node-fetch": "3.3.2",
33
+ "node-machine-id": "1.1.12",
34
+ "open": "10.1.0",
35
+ "ora": "8.0.1",
36
+ "uuid": "11.1.0",
37
+ "ws": "8.18.3"
37
38
  },
38
39
  "devDependencies": {
39
40
  "@needle-tools/cloud-sdk": "1.0.0-alpha",
40
- "@rollup/plugin-alias": "^6.0.0",
41
- "concurrently": "^9.0.1",
42
- "microbundle": "^0.15.1",
43
- "rollup": "^4.60.3",
44
- "rollup-plugin-dts": "^6.4.1",
45
- "typescript": "~5.7"
41
+ "@rollup/plugin-alias": "6.0.0",
42
+ "concurrently": "9.0.1",
43
+ "microbundle": "0.15.1",
44
+ "rollup": "4.60.3",
45
+ "rollup-plugin-dts": "6.4.1",
46
+ "typescript": "5.7.3"
46
47
  },
47
48
  "engines": {
48
49
  "node": ">= 18"
@@ -57,7 +58,7 @@
57
58
  "dev:types": "npx --yes nodemon --watch src/web/web.types.d.ts --watch ../needle-share-sdk/types --watch dist/index.esm.js --ext js,ts,d.ts --delay 3 --exec \"npm run dist:types\"",
58
59
  "dev:web": "node tools/write-build-info.mjs && microbundle watch -i ./src/index.js -o dist/index.js --format esm --generateTypes --target web --no-compress",
59
60
  "dev:node": "node tools/write-build-info.mjs && microbundle watch -i ./src/cli.js -o dist/cli.js --format esm --target node --no-compress",
60
- "dist": "npx --yes rimraf dist && npm run dist:web && npm run dist:types && npm run dist:node",
61
+ "dist": "node tools/clean-dist.mjs && npm run dist:web && npm run dist:types && npm run dist:node",
61
62
  "dist:web": "node tools/write-build-info.mjs && microbundle -i ./src/index.js -o dist/index.js --format esm --generateTypes --target web --sourcemap false --compress true --define api_endpoint=https://cloud.needle.tools/api,cloud_base_url=https://cloud.needle.tools,logto_endpoint=https://auth.needle.tools,logto_app_id=2stnsoa6a1b0gwc7lra55,logto_app_secret=seV1T6iKBKLlttjdk25I2px43ZCEHnPJ",
62
63
  "dist:web-preview": "node tools/write-build-info.mjs && microbundle -i ./src/index.js -o dist/index.js --format esm --generateTypes --target web --sourcemap false --compress true --define api_endpoint=https://cloud-staging.needle.tools/api,cloud_base_url=https://cloud-staging.needle.tools,logto_endpoint=https://auth.needle.tools,logto_app_id=2stnsoa6a1b0gwc7lra55,logto_app_secret=seV1T6iKBKLlttjdk25I2px43ZCEHnPJ",
63
64
  "dist:types": "node tools/copy-web-types.mjs && rollup -c rollup.dts.config.mjs && node tools/clean-intermediate-dts.mjs",