@temir.ra/create-ts-lib 0.5.0 → 0.6.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Version 0
2
2
 
3
+ ## 0.6.0
4
+
5
+ 1. Updated documentation and configs to TypeScript 6.
6
+
3
7
  ## 0.5.0
4
8
 
5
9
  1. Changed `buildinfo.txt` generation and testing to align with [https://semver.org](https://semver.org).
package/README.md CHANGED
@@ -73,15 +73,16 @@ See the typescriptlang documentation on [tsconfig.json](https://www.typescriptla
73
73
 
74
74
  "compilerOptions": {
75
75
 
76
- // ECMAScript version of emitted output
77
- "target": "ES2022",
76
+ // ECMAScript version of emitted output; ESNext targets the latest JS version supported by the TypeScript compiler
77
+ // if the package must support older runtimes or browsers, pin to a specific year (e.g. "ES2022", "ES2024")
78
+ "target": "ESNext",
78
79
 
79
80
  // output module format; ESNext passes ES module syntax through unchanged
80
81
  "module": "ESNext",
81
82
 
82
83
  // type definitions for built-in APIs
83
84
  "lib": [
84
- "ES2022", // standard JavaScript runtime APIs
85
+ "ESNext", // standard JavaScript runtime APIs
85
86
  "DOM" // browser globals for bundled output
86
87
  ],
87
88
 
@@ -116,6 +117,9 @@ See the typescriptlang documentation on [tsconfig.json](https://www.typescriptla
116
117
  // do not type-check `.d.ts` files in `node_modules/`
117
118
  "skipLibCheck": true,
118
119
 
120
+ // TS6 defaults types to [] — @types/* packages must be listed explicitly
121
+ "types": ["bun"],
122
+
119
123
  // enforce consistent casing across import statements
120
124
  "forceConsistentCasingInFileNames": true,
121
125
 
@@ -133,7 +137,7 @@ See the typescriptlang documentation on [tsconfig.json](https://www.typescriptla
133
137
  // output directory for emitted files
134
138
  "outDir": "./dist",
135
139
 
136
- // root directory mirrored into outDir; set to project root during development, overridden to src/ in tsconfig.build.json
140
+ // root directory mirrored into outDir; set to project root during development, overridden to src/ in tsconfig.build.json (TS6 default — not set in actual config)
137
141
  "rootDir": ".",
138
142
 
139
143
  },
@@ -272,7 +276,7 @@ See npmjs documentation on [package.json](https://docs.npmjs.com/cli/v11/configu
272
276
  },
273
277
  "devDependencies": {
274
278
  "@types/bun": "latest",
275
- "typescript": "^5.9.3"
279
+ "typescript": "^6.0.2"
276
280
  }
277
281
  }
278
282
  ```
package/buildinfo.txt CHANGED
@@ -1 +1 @@
1
- 0.5.0+68f9673
1
+ 0.6.0+bf23035
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@temir.ra/create-ts-lib",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Typescript library template",
5
5
  "author": "temir.ra",
6
6
  "license": "MIT",
@@ -39,6 +39,6 @@
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/bun": "latest",
42
- "typescript": "^5.9.3"
42
+ "typescript": "^6.0.2"
43
43
  }
44
44
  }
@@ -42,6 +42,6 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/bun": "latest",
45
- "typescript": "^5.9.3"
45
+ "typescript": "^6.0.2"
46
46
  }
47
47
  }
@@ -1,37 +1,39 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2022",
4
- "module": "ESNext",
5
- "lib": [
6
- "ES2022",
7
- "DOM"
8
- ],
9
- "moduleResolution": "bundler",
10
- "strict": true,
11
- "verbatimModuleSyntax": true,
12
- "noUncheckedIndexedAccess": true,
13
- "exactOptionalPropertyTypes": true,
14
- "noImplicitOverride": true,
15
- "isolatedDeclarations": true,
16
- "esModuleInterop": true,
17
- "composite": true,
18
- "skipLibCheck": true,
19
- "forceConsistentCasingInFileNames": true,
20
- "resolveJsonModule": true,
21
- "declaration": true,
22
- "declarationMap": true,
23
- "emitDeclarationOnly": true,
24
- "outDir": "./dist",
25
- "rootDir": ".",
26
- },
27
- "include": [
28
- "src/**/*.ts",
29
- "tests/**/*.ts",
30
- "scripts/**/*.ts",
31
- "scripts/**/*.json"
32
- ],
33
- "exclude": [
34
- "node_modules",
35
- "dist"
36
- ]
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ESNext",
4
+ "module": "ESNext",
5
+ "lib": [
6
+ "ESNext",
7
+ "DOM"
8
+ ],
9
+ "moduleResolution": "bundler",
10
+ "strict": true,
11
+ "verbatimModuleSyntax": true,
12
+ "noUncheckedIndexedAccess": true,
13
+ "exactOptionalPropertyTypes": true,
14
+ "noImplicitOverride": true,
15
+ "isolatedDeclarations": true,
16
+ "esModuleInterop": true,
17
+ "composite": true,
18
+ "skipLibCheck": true,
19
+ "types": [
20
+ "bun"
21
+ ],
22
+ "forceConsistentCasingInFileNames": true,
23
+ "resolveJsonModule": true,
24
+ "declaration": true,
25
+ "declarationMap": true,
26
+ "emitDeclarationOnly": true,
27
+ "outDir": "./dist",
28
+ },
29
+ "include": [
30
+ "src/**/*.ts",
31
+ "tests/**/*.ts",
32
+ "scripts/**/*.ts",
33
+ "scripts/**/*.json"
34
+ ],
35
+ "exclude": [
36
+ "node_modules",
37
+ "dist"
38
+ ]
37
39
  }