nhl-api-ts 0.2.0 → 0.2.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,6 +1,6 @@
1
1
  {
2
2
  "name": "nhl-api-ts",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "TypeScript SDK and CLI for the NHL API and NHL EDGE stats.",
5
5
  "keywords": [
6
6
  "nhl",
@@ -16,7 +16,8 @@
16
16
  "license": "MIT",
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "git+https://github.com/andrewangelle/nhl-api-ts.git"
19
+ "url": "git+https://github.com/andrewangelle/nhl-api-ts.git",
20
+ "directory": "packages/nhl-api-ts"
20
21
  },
21
22
  "type": "module",
22
23
  "sideEffects": false,
@@ -24,6 +25,7 @@
24
25
  "types": "dist/index.d.mts",
25
26
  "exports": {
26
27
  ".": {
28
+ "source": "./src/index.mts",
27
29
  "types": "./dist/index.d.mts",
28
30
  "default": "./dist/index.mjs"
29
31
  },
@@ -34,8 +36,7 @@
34
36
  "source": "./src/*.mts",
35
37
  "types": "./dist/*.d.mts",
36
38
  "default": "./dist/*.mjs"
37
- },
38
- "#probe/*.mjs": "./scripts/probe/*.mts"
39
+ }
39
40
  },
40
41
  "bin": {
41
42
  "nhl-api-ts": "dist/cli.mjs"
@@ -47,42 +48,20 @@
47
48
  "dist"
48
49
  ],
49
50
  "devDependencies": {
50
- "@biomejs/biome": "^2.5.15",
51
- "@changesets/changelog-github": "^1.0.1",
52
- "@changesets/cli": "^3.0.3",
53
51
  "@microsoft/api-extractor": "^7.59.4",
54
52
  "@types/node": "^26.2.0",
55
- "husky": "^9.1.7",
56
- "lint-staged": "^17.3.0",
57
53
  "typescript": "^7.0.2"
58
54
  },
59
- "lint-staged": {
60
- "*.{ts,tsx,js,jsx,mts,mjs}": [
61
- "pnpm lint:fix",
62
- "pnpm format"
63
- ]
64
- },
65
55
  "scripts": {
66
56
  "build": "pnpm exec tsc",
67
57
  "test": "node --conditions=source --test \"test/**/*.test.mts\"",
68
58
  "test:update-snapshots": "node --conditions=source --test --test-update-snapshots \"test/**/*.test.mts\"",
69
- "lint:fix": "pnpm exec biome check . --write",
70
- "lint:check": "pnpm exec biome check .",
71
- "format": "pnpm exec biome format . --write",
72
- "pre-commit": "lint-staged",
73
- "changeset": "changeset",
74
- "version-packages": "changeset version",
75
- "release": "pnpm build && changeset publish",
76
59
  "typecheck": "pnpm exec tsc --noEmit",
60
+ "typecheck:test": "pnpm exec tsc -p test",
77
61
  "typecheck:examples": "pnpm exec tsc -p examples",
78
62
  "typecheck:types": "pnpm exec tsc -p test/types",
79
63
  "typecheck:scripts": "pnpm exec tsc -p scripts",
80
64
  "api:report": "pnpm build && mkdir -p node_modules/.api-extractor && pnpm exec api-extractor run --local && cp node_modules/.api-extractor/nhl-api-ts.api.md api-report.md",
81
- "docs:llms": "node scripts/build-llms-full.mts",
82
- "probe:fetch": "node --conditions=source scripts/probe/fetch.mts",
83
- "probe:infer": "node --conditions=source scripts/probe/infer.mts",
84
- "probe:check": "node --conditions=source scripts/probe/check.mts",
85
- "probe:fixtures": "node --conditions=source scripts/probe/fixtures.mts",
86
- "openapi:schemas": "node --conditions=source scripts/probe/openapi.mts"
65
+ "docs:llms": "node scripts/build-llms-full.mts"
87
66
  }
88
67
  }