needle-cloud 2.0.0 → 2.0.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/CHANGELOG.md +7 -1
- package/dist/cli.esm.js +1 -1
- package/dist/index.d.ts +186 -99
- package/dist/index.esm.js +1 -1
- package/package.json +8 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "needle-cloud",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"needle-cloud": "./bin/cli.js"
|
|
@@ -53,13 +53,14 @@
|
|
|
53
53
|
"deploy": "npm run dist & npm publish --access public",
|
|
54
54
|
"deploy:dry": "npm run deploy -- --dry-run",
|
|
55
55
|
"bump:tag:main": "npm dist-tag add needle-cloud@<version> main",
|
|
56
|
-
"dev": "concurrently --kill-others \"npm run dev:web\" \"npm run dev:node\"",
|
|
56
|
+
"dev": "concurrently --kill-others \"npm run dev:web\" \"npm run dev:node\" \"npm run dev:types\"",
|
|
57
|
+
"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\"",
|
|
57
58
|
"dev:web": "microbundle watch -i ./src/index.js -o dist/index.js --format esm --generateTypes --target web --no-compress",
|
|
58
59
|
"dev:node": "microbundle watch -i ./src/cli.js -o dist/cli.js --format esm --target node --no-compress",
|
|
59
60
|
"dist": "npx --yes rimraf dist && npm run dist:web && npm run dist:types && npm run dist:node",
|
|
60
61
|
"dist:web": "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",
|
|
61
62
|
"dist:web-preview": "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",
|
|
62
|
-
"dist:types": "cp src/web/web.types.d.ts dist/web/web.types.d.ts && rollup -c rollup.dts.config.mjs && node tools/clean-intermediate-dts.mjs",
|
|
63
|
+
"dist:types": "mkdir -p dist/web && cp src/web/web.types.d.ts dist/web/web.types.d.ts && rollup -c rollup.dts.config.mjs && node tools/clean-intermediate-dts.mjs",
|
|
63
64
|
"dist:node": "microbundle -i ./src/cli.js -o dist/cli.js --format esm --target node --generateTypes false --sourcemap false --compress --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",
|
|
64
65
|
"dist:node-preview": "microbundle -i ./src/cli.js -o dist/cli.js --format esm --target node --generateTypes false --sourcemap false --compress --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",
|
|
65
66
|
"dev:mcp": "npx --yes @modelcontextprotocol/inspector mcp-inspector http://localhost:8424/mcp"
|
|
@@ -67,5 +68,9 @@
|
|
|
67
68
|
"publishConfig": {
|
|
68
69
|
"access": "public",
|
|
69
70
|
"registry": "https://registry.npmjs.org/"
|
|
71
|
+
},
|
|
72
|
+
"repository": {
|
|
73
|
+
"type": "git",
|
|
74
|
+
"url": "https://github.com/needle-tools/needle-cloud.git"
|
|
70
75
|
}
|
|
71
76
|
}
|