@jabrown93/dev-config 1.0.1 → 1.1.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/README.md CHANGED
@@ -21,6 +21,9 @@ npm install --save-dev @jabrown93/dev-config
21
21
 
22
22
  ### TypeScript
23
23
 
24
+ Requires `typescript` **5.7+** — `target`/`lib: ES2024` isn't recognized before that (declared
25
+ as a `peerDependencies` floor; npm will warn on install if the consumer's `typescript` is older).
26
+
24
27
  ```json
25
28
  // tsconfig.json
26
29
  {
package/eslint.js CHANGED
@@ -38,12 +38,12 @@ export default [
38
38
  {
39
39
  languageOptions: {
40
40
  parser: tsParser,
41
- // 2022 to match the shared tsconfig's own `target`/`lib` -- the fleet's
41
+ // 2024 to match the shared tsconfig's own `target`/`lib` -- the fleet's
42
42
  // original 2018 left ES2020+ built-in globals (AggregateError, WeakRef,
43
43
  // FinalizationRegistry, ...) out of ESLint's recognized-globals set, so
44
44
  // `eslint:recommended`'s no-undef flagged valid, runtime-supported code
45
45
  // as undefined.
46
- ecmaVersion: 2022,
46
+ ecmaVersion: 2024,
47
47
  sourceType: 'module',
48
48
  // The fleet's original config never set `globals`, so flat config
49
49
  // assumed no runtime environment -- `no-undef` would flag bare
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jabrown93/dev-config",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "Shared JS/TS dev-tooling config (tsconfig, eslint, prettier, commitlint, lint-staged, semantic-release) for jabrown93 repos",
5
5
  "keywords": [
6
6
  "eslint-config",
@@ -31,6 +31,9 @@
31
31
  "engines": {
32
32
  "node": "^22.14.0 || ^24.11.0 || ^26.0.0"
33
33
  },
34
+ "peerDependencies": {
35
+ "typescript": ">=5.7.0"
36
+ },
34
37
  "files": [
35
38
  "tsconfig.base.json",
36
39
  "eslint.js",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "lib": ["ES2022"],
3
+ "lib": ["ES2024"],
4
4
  "module": "nodenext",
5
- "target": "ES2022",
5
+ "target": "ES2024",
6
6
  "moduleResolution": "nodenext",
7
7
  "strict": true,
8
8
  "declaration": true,