zentao-api 0.3.0 → 0.3.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 +38 -2
- package/dist/browser/zentao-api.global.js +2 -2
- package/dist/client/index.d.ts +14 -5
- package/dist/client/index.js +101 -36
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/misc/environment.js +25 -3
- package/dist/misc/errors.d.ts +1 -1
- package/dist/misc/errors.js +1 -1
- package/dist/modules/define.d.ts +63 -0
- package/dist/modules/define.js +119 -0
- package/dist/modules/generated.d.ts +4329 -2
- package/dist/modules/override.d.ts +60 -0
- package/dist/modules/override.js +113 -0
- package/dist/modules/query.d.ts +44 -0
- package/dist/modules/query.js +68 -0
- package/dist/modules/registry-store.d.ts +31 -0
- package/dist/modules/registry-store.js +133 -0
- package/dist/modules/registry.d.ts +4333 -83
- package/dist/modules/registry.js +16 -218
- package/dist/request/index.d.ts +104 -4
- package/dist/request/index.js +41 -21
- package/dist/types/client.d.ts +38 -0
- package/dist/types/client.js +1 -0
- package/dist/types/data.d.ts +42 -0
- package/dist/types/data.js +1 -0
- package/dist/types/index.d.ts +17 -341
- package/dist/types/index.js +17 -1
- package/dist/types/module.d.ts +124 -0
- package/dist/types/module.js +1 -0
- package/dist/types/options.d.ts +35 -0
- package/dist/types/options.js +1 -0
- package/dist/types/profile.d.ts +54 -0
- package/dist/types/profile.js +1 -0
- package/dist/types/response.d.ts +70 -0
- package/dist/types/response.js +1 -0
- package/dist/version.js +2 -2
- package/package.json +3 -2
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zentao-api",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Browser and Node.js SDK for ZenTao API",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"registry:check": "bun run scripts/update-registry.ts --check",
|
|
50
50
|
"build": "rm -rf dist && tsc -p tsconfig.json && bun run scripts/build-browser.ts",
|
|
51
51
|
"smoke:node": "node scripts/smoke-node.mjs",
|
|
52
|
+
"smoke:browser": "bun run scripts/smoke-browser-bundler.ts",
|
|
52
53
|
"smoke:package": "bun run scripts/smoke-package.ts",
|
|
53
54
|
"docs:reference": "typedoc",
|
|
54
55
|
"docs:zentao-api": "bun run scripts/generate-zentao-api-docs.ts",
|
|
@@ -56,7 +57,7 @@
|
|
|
56
57
|
"docs:dev": "bun run docs:generate && vitepress dev docs",
|
|
57
58
|
"docs:build": "bun run docs:generate && vitepress build docs",
|
|
58
59
|
"docs:preview": "bun run docs:build && vitepress preview docs",
|
|
59
|
-
"check": "bun run test:coverage && bun run typecheck && bun run typecheck:tests && bun run registry:check && bun run build && bun run smoke:node && bun run smoke:package",
|
|
60
|
+
"check": "bun run test:coverage && bun run typecheck && bun run typecheck:tests && bun run registry:check && bun run build && bun run smoke:node && bun run smoke:browser && bun run smoke:package",
|
|
60
61
|
"prepublishOnly": "bun run check"
|
|
61
62
|
},
|
|
62
63
|
"devDependencies": {
|