ts-twitch-api 0.3.0 → 0.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,41 +1,48 @@
1
1
  {
2
2
  "name": "ts-twitch-api",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Very simple TwitchApi class and TypeScript interfaces for all Twitch API endpoints",
5
- "author": "DmitryScaletta",
6
- "license": "MIT",
7
5
  "keywords": [
8
- "twitch",
9
6
  "api",
7
+ "autogenerated",
10
8
  "client",
11
- "autogenerated"
9
+ "twitch"
12
10
  ],
11
+ "bugs": {
12
+ "url": "https://github.com/DmitryScaletta/ts-twitch-api/issues"
13
+ },
14
+ "license": "MIT",
15
+ "author": "DmitryScaletta",
13
16
  "repository": {
14
17
  "type": "git",
15
18
  "url": "git+https://github.com/DmitryScaletta/ts-twitch-api.git"
16
19
  },
17
- "bugs": {
18
- "url": "https://github.com/DmitryScaletta/ts-twitch-api/issues"
19
- },
20
- "types": "dist/index.d.ts",
21
- "module": "dist/index.js",
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "type": "module",
22
24
  "main": "dist/index.cjs",
25
+ "module": "dist/index.js",
26
+ "types": "dist/index.d.ts",
23
27
  "exports": {
24
28
  "import": "./dist/index.js",
25
29
  "require": "./dist/index.cjs"
26
30
  },
27
- "files": [
28
- "dist"
29
- ],
30
- "type": "module",
31
31
  "devDependencies": {
32
- "@types/node": "^24.10.1",
33
- "tsup": "8.5.1",
34
- "typescript": "^5.9.3"
32
+ "@types/node": "^26.2.0",
33
+ "oxfmt": "^0.63.0",
34
+ "oxlint": "^1.78.0",
35
+ "tsdown": "^0.22.14",
36
+ "typescript": "^7.0.2"
35
37
  },
36
38
  "scripts": {
37
- "build": "pnpm build:src && tsup",
39
+ "build": "pnpm build:src && tsdown",
38
40
  "build:src": "node ./scripts/build.ts",
39
- "gen": "pnpx openapi-typescript@6 https://github.com/DmitryScaletta/twitch-api-swagger/raw/main/openapi.json --output twitch-api.generated.ts"
41
+ "gen": "pnpx openapi-typescript@6 https://github.com/DmitryScaletta/twitch-api-swagger/raw/main/openapi.json --output src/twitch-api.generated.ts",
42
+ "fmt": "oxfmt",
43
+ "fmt:check": "oxfmt --check",
44
+ "lint": "oxlint",
45
+ "lint:fix": "oxlint --fix --ignore-pattern src/twitch-api.ts --ignore-pattern src/twitch-api.generated.ts",
46
+ "lint:ts": "tsc --noEmit"
40
47
  }
41
48
  }