@useshortcut/client 3.2.2 → 3.2.3
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 +10 -8
- package/lib/{ShortcutClient.js → ShortcutClient.cjs} +2 -4
- package/lib/{ShortcutClient.d.ts → ShortcutClient.d.cts} +2 -2
- package/lib/ShortcutClient.mjs +1 -3
- package/lib/_virtual/{rolldown_runtime.js → _rolldown/runtime.cjs} +2 -9
- package/lib/generated/{Api.js → Api.cjs} +50 -52
- package/lib/generated/{Api.d.ts → Api.d.cts} +170 -197
- package/lib/generated/Api.d.mts +168 -195
- package/lib/generated/Api.mjs +50 -52
- package/lib/generated/{http-client.js → http-client.cjs} +9 -18
- package/lib/generated/{http-client.d.ts → http-client.d.cts} +1 -1
- package/lib/generated/http-client.d.mts +1 -1
- package/lib/generated/http-client.mjs +6 -15
- package/lib/index.cjs +7 -0
- package/lib/{index.d.ts → index.d.cts} +2 -2
- package/lib/index.mjs +1 -2
- package/package.json +30 -49
- package/lib/index.js +0 -5
- /package/lib/generated/{data-contracts.d.ts → data-contracts.d.cts} +0 -0
package/package.json
CHANGED
|
@@ -1,83 +1,64 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useshortcut/client",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.3",
|
|
4
4
|
"description": "A library for interacting with the Shortcut REST API",
|
|
5
|
-
"homepage": "https://github.com/useshortcut/shortcut-client-js",
|
|
5
|
+
"homepage": "https://github.com/useshortcut/shortcut-client-js#readme",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/useshortcut/shortcut-client-js/issues"
|
|
8
8
|
},
|
|
9
|
+
"license": "MIT",
|
|
9
10
|
"repository": {
|
|
10
11
|
"type": "git",
|
|
11
12
|
"url": "https://github.com/useshortcut/shortcut-client-js.git"
|
|
12
13
|
},
|
|
13
|
-
"
|
|
14
|
-
|
|
14
|
+
"files": [
|
|
15
|
+
"lib"
|
|
16
|
+
],
|
|
15
17
|
"type": "commonjs",
|
|
18
|
+
"sideEffects": false,
|
|
19
|
+
"main": "./lib/index.cjs",
|
|
20
|
+
"module": "./lib/index.mjs",
|
|
21
|
+
"types": "./lib/index.d.cts",
|
|
16
22
|
"exports": {
|
|
17
23
|
".": {
|
|
18
24
|
"import": "./lib/index.mjs",
|
|
19
|
-
"require": "./lib/index.
|
|
25
|
+
"require": "./lib/index.cjs"
|
|
20
26
|
}
|
|
21
27
|
},
|
|
22
|
-
"main": "./lib/index.js",
|
|
23
|
-
"module": "./lib/index.mjs",
|
|
24
|
-
"types": "./lib/index.d.ts",
|
|
25
|
-
"files": [
|
|
26
|
-
"lib"
|
|
27
|
-
],
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "yarn build:client && yarn build:add-typedoc-comments && NODE_OPTIONS=\"--no-experimental-strip-types\" tsdown",
|
|
30
30
|
"build:add-typedoc-comments": "npx jscodeshift -t scripts/add-typedoc-comments.ts --extensions=ts --parser=ts src/generated/**",
|
|
31
31
|
"build:client": "swagger-typescript-api generate --path ./schema/shortcut.swagger.json --output ./src/generated --clean-output --axios --modular --templates ./templates",
|
|
32
32
|
"build:docs": "typedoc ./src --exclude 'src/__tests__/**'",
|
|
33
33
|
"check-exports": "attw --pack .",
|
|
34
|
-
"format": "
|
|
35
|
-
"format:check": "
|
|
36
|
-
"lint": "
|
|
34
|
+
"format": "oxfmt",
|
|
35
|
+
"format:check": "oxfmt --check",
|
|
36
|
+
"lint": "oxlint src examples",
|
|
37
37
|
"prepublishOnly": "yarn build",
|
|
38
38
|
"sync:schema": "curl --silent https://developer.shortcut.com/api/rest/v3/shortcut.swagger.json --output ./schema/shortcut.swagger.json && yarn validate:schema",
|
|
39
|
-
"test": "
|
|
40
|
-
"validate:examples": "npx tsc examples
|
|
39
|
+
"test": "vitest",
|
|
40
|
+
"validate:examples": "npx tsc --project examples/tsconfig.json",
|
|
41
41
|
"validate:schema": "swagger-cli validate ./schema/shortcut.swagger.json"
|
|
42
42
|
},
|
|
43
|
-
"jest": {
|
|
44
|
-
"preset": "ts-jest",
|
|
45
|
-
"testEnvironment": "node",
|
|
46
|
-
"testPathIgnorePatterns": [
|
|
47
|
-
"<rootDir>/lib/",
|
|
48
|
-
"<rootDir>/node_modules/"
|
|
49
|
-
]
|
|
50
|
-
},
|
|
51
43
|
"dependencies": {
|
|
52
44
|
"axios": "^1.15.0"
|
|
53
45
|
},
|
|
54
46
|
"devDependencies": {
|
|
55
|
-
"@arethetypeswrong/cli": "
|
|
56
|
-
"@total-typescript/tsconfig": "
|
|
57
|
-
"@types/glob": "^8.1.0",
|
|
58
|
-
"@types/jest": "^29.5.14",
|
|
47
|
+
"@arethetypeswrong/cli": "0.18.1",
|
|
48
|
+
"@total-typescript/tsconfig": "1.0.4",
|
|
59
49
|
"@types/jscodeshift": "17.3.0",
|
|
60
|
-
"@types/node": "
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"glob": "^11.0.2",
|
|
70
|
-
"jest": "^29.7.0",
|
|
71
|
-
"jscodeshift": "^17.3.0",
|
|
72
|
-
"prettier": "^3.5.3",
|
|
73
|
-
"stream-to-blob": "^2.0.1",
|
|
74
|
-
"swagger-cli": "^4.0.4",
|
|
75
|
-
"swagger-typescript-api": "^13.2.0",
|
|
76
|
-
"ts-jest": "^29.3.4",
|
|
77
|
-
"tsdown": "^0.12.7",
|
|
78
|
-
"typedoc": "0.28.5",
|
|
50
|
+
"@types/node": "22.15.30",
|
|
51
|
+
"jscodeshift": "17.3.0",
|
|
52
|
+
"oxfmt": "0.46.0",
|
|
53
|
+
"oxlint": "1.61.0",
|
|
54
|
+
"stream-to-blob": "2.0.1",
|
|
55
|
+
"swagger-cli": "4.0.4",
|
|
56
|
+
"swagger-typescript-api": "13.6.10",
|
|
57
|
+
"tsdown": "0.21.10",
|
|
58
|
+
"typedoc": "0.28.19",
|
|
79
59
|
"typedoc-plugin-merge-modules": "7.0.0",
|
|
80
|
-
"typescript": "
|
|
60
|
+
"typescript": "6.0.3",
|
|
61
|
+
"vitest": "4.1.5"
|
|
81
62
|
},
|
|
82
|
-
"
|
|
63
|
+
"packageManager": "yarn@4.14.1+sha512.64df448055b2d37ba269d7db535a469b8da93f8ef1140c25fd7a83c00a8fbaacb214ca0e02553b92a2c54cef78bb67d0b4817fab02001df0e24fac0faccc3b42"
|
|
83
64
|
}
|
package/lib/index.js
DELETED
|
File without changes
|