@alexaegis/ts 0.16.0 → 0.17.0

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/base.json CHANGED
@@ -3,10 +3,10 @@
3
3
  "compileOnSave": false,
4
4
  "compilerOptions": {
5
5
  "composite": false,
6
- "target": "ES2022",
6
+ "target": "ES2025",
7
7
  "module": "nodenext",
8
8
  "moduleResolution": "nodenext",
9
- "lib": ["ES2022"],
9
+ "lib": ["ES2025"],
10
10
  "sourceMap": true,
11
11
  "declaration": true,
12
12
  "declarationMap": true,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alexaegis/ts",
3
3
  "description": "My typescript configurations",
4
- "version": "0.16.0",
4
+ "version": "0.17.0",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "archetype": {
@@ -31,7 +31,7 @@
31
31
  "web.json"
32
32
  ],
33
33
  "engines": {
34
- "node": ">=22.6.0"
34
+ "node": ">=24.0.0"
35
35
  },
36
36
  "exports": {
37
37
  ".": {
@@ -48,25 +48,29 @@
48
48
  "./web": "./web.json"
49
49
  },
50
50
  "dependencies": {
51
- "@types/node": "^26.6.5",
51
+ "@types/node": "^24.19.2",
52
52
  "ts-node": "^10.9.2",
53
53
  "typescript": "^6.0.3",
54
54
  "vite": "^8.3.5"
55
55
  },
56
56
  "devDependencies": {
57
- "@alexaegis/eslint-config-vitest": "^0.16.0",
58
- "@alexaegis/vite": "^0.16.0",
59
- "@alexaegis/vitest": "^0.16.0",
57
+ "@alexaegis/eslint-config-vitest": "^0.17.0",
58
+ "@alexaegis/vite": "^0.17.0",
59
+ "@alexaegis/vitest": "^0.17.0",
60
60
  "publint": "^0.3.25",
61
61
  "vite": "^8.3.5",
62
62
  "vite-plugin-dts": "^5.1.2",
63
63
  "vitest": "^5.0.5"
64
64
  },
65
65
  "scripts": {
66
+ "build": "turbo run build-lib_ --concurrency 16 --filter @alexaegis/ts",
67
+ "build-lib_": "vite build",
66
68
  "lint:depcheck": "turbo run lint:depcheck_ --concurrency 16 --filter @alexaegis/ts",
67
69
  "lint:depcheck_": "depcheck",
68
70
  "lint:es": "turbo run lint:es_ --concurrency 16 --filter @alexaegis/ts",
69
- "lint:es_": "eslint --max-warnings=0 --fix --no-error-on-unmatched-pattern .",
71
+ "lint:es_": "eslint --max-warnings=0 --no-error-on-unmatched-pattern .",
72
+ "lint:es:fix": "turbo run lint:es:fix_ --concurrency 16 --filter @alexaegis/ts",
73
+ "lint:es:fix_": "eslint --fix --no-error-on-unmatched-pattern .",
70
74
  "lint:format": "turbo run lint:format_ --concurrency 16 --filter @alexaegis/ts",
71
75
  "lint:format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --check .",
72
76
  "lint:md": "turbo run lint:md_ --concurrency 16 --filter @alexaegis/ts",
@@ -79,8 +83,6 @@
79
83
  "test_": "vitest --passWithNoTests --coverage --run",
80
84
  "test:watch": "vitest --passWithNoTests --coverage",
81
85
  "all": "BUILD_REASON='publish' turbo run all_ --concurrency 16 --filter @alexaegis/ts",
82
- "build": "turbo run build-lib_ --concurrency 16 --filter @alexaegis/ts",
83
- "build-lib_": "vite build",
84
86
  "format": "turbo run format_ --concurrency 16 --filter @alexaegis/ts",
85
87
  "format_": "prettier --cache-location .cache/prettier --plugin prettier-plugin-svelte --plugin prettier-plugin-tailwindcss --write ."
86
88
  }
package/readme.md CHANGED
@@ -23,16 +23,15 @@ resulting in a runtime error.
23
23
 
24
24
  TODO: Explore `"moduleResolution": "bundler",`
25
25
 
26
- ### `"target": "es2020",`
26
+ ### `"target": "ES2025",`
27
27
 
28
28
  In vite projects this is not used, make sure that the vite config uses the
29
29
  target that you want
30
30
 
31
- ### No `include` or `files` field
31
+ ### `"include": []`
32
32
 
33
- When both of these options are missing typescript will just import everything it
34
- can within its folder except what you're excluding. And that's exactly what we
35
- need.
33
+ The base config includes no files, so a tsconfig that extends it lists its own
34
+ files with `include` or `files`. Without them, `tsc` fails with TS18003.
36
35
 
37
36
  ## Development Troubleshooting
38
37
 
package/web.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "compilerOptions": {
5
5
  "module": "nodenext",
6
6
  "moduleResolution": "nodenext",
7
- "lib": ["es2022", "esnext", "DOM", "DOM.Iterable"]
7
+ "lib": ["es2025", "esnext", "DOM", "DOM.Iterable"]
8
8
  }
9
9
  }