@temir.ra/create-ts-lib 0.7.0 → 0.7.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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Version 0
2
2
 
3
+ ## 0.7.1
4
+
5
+ 1. Updated `template/` files from `@temir.ra/workspace@0.4.1` template.
6
+
3
7
  ## 0.7.0
4
8
 
5
9
  1. Updated `.gitignore`: added `bun.lock`, `buildinfo-template.txt`, `CHANGELOG-template.md`, `README-template.md`; replaced nested `template/.gitignore` with `template/gitignore` to prevent template files from being excluded during distribution.
package/buildinfo.txt CHANGED
@@ -1 +1 @@
1
- 0.7.0+b45e7d0
1
+ 0.7.1+488a0be
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@temir.ra/create-ts-lib",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Typescript library template",
5
5
  "author": "temir.ra",
6
6
  "license": "MIT",
@@ -0,0 +1,49 @@
1
+ # Version 0
2
+
3
+ ## 0.4.1
4
+
5
+ 1. Cleaned up coding-specific aspects.
6
+ 2. Updated the description in `package.json`.
7
+
8
+ ## 0.4.0
9
+
10
+ 1. Updated `.gitignore`: added `buildinfo-template.txt`, `CHANGELOG-template.md`, `README-template.md`, `buildinfo.txt`, and `*.tsbuildinfo`; replaced nested `template/.gitignore` with `template/gitignore` to prevent template files from being excluded during distribution.
11
+ 2. Overhauled the generated `package.json`: added `keywords`, `repository`, and `devDependencies` fields; fixed recursive script execution; replaced propagating `clean` with `clean:dist` + `clean:tsbuildinfo` sub-scripts; removed `build` and workspace-propagating `tests`/`typecheck` (propagation is now opt-in, documented in the README); added `reinstall` script.
12
+ 3. Updated the generated `tsconfig.json`: removed `DOM` from `lib`; added `types: ["bun"]`.
13
+ 4. Improved CLI error message for missing package name argument.
14
+ 5. Overhauled `README.md`: rewritten intro, added `tsconfig.json` documentation section, updated `package.json` documentation, added Script Propagation section, added `create-doc` to the template family table; removed publishing section from `template/README.md`.
15
+ 6. Renamed `scripts/build-lib-bundle.ts` to `scripts/build-bundle.ts`; updated to produce both ESM and IIFE browser bundles; removed `tsconfig.build.json` and `build:lib` step; added build scripts to published `files`; set `private: false`.
16
+ 7. Updated from `@temir.ra/template@0.1.3` template.
17
+
18
+ ## 0.3.1
19
+
20
+ 1. Fixed create commands in the **Quick Start** section of the `README.md` to reflect the create-template conventions.
21
+ 2. Fixed published package contents.
22
+
23
+ ## 0.3.0
24
+
25
+ 1. Added `create-skill` template as part of the templates ecosystem.
26
+
27
+ ## 0.2.2
28
+
29
+ 1. Updated `README.md` to reflect the change in `create-hono-server@0.3.1` template.
30
+
31
+ ## 0.2.1
32
+
33
+ 1. Updated files from `ts-lib@0.6.3` template.
34
+
35
+ ## 0.2.0
36
+
37
+ 1. Removed **AI Assistant Context** section from the `README.md` files.
38
+ 2. Alligned `README.md` with the `ts-lib@0.6.2` template.
39
+ 3. Cleaned up **Publish** section in `README.md`.
40
+ 4. Rephrased the `README.md` to reflect that the generated package is workspace-aware but not necessarily a root package.
41
+ 5. Renamed the package from `create-monorepo` to `create-workspace`.
42
+
43
+ ## 0.1.1
44
+
45
+ 1. Fixed upstream repository URL in package.json.
46
+
47
+ ## 0.1.0
48
+
49
+ 1. First version of the template.
@@ -0,0 +1,453 @@
1
+ # Introduction
2
+
3
+ The base template of the family. Scaffolds a Bun package: `package.json`, TypeScript configuration, and conventions for testing, change management, and git versioning. Use it as-is, extend it into a monorepo, or choose a more specific template from the family for common upgrade paths.
4
+
5
+ For some use cases a purpose-built template already exists and reduces the amount of manual adjustment needed. Use the table to decide whether to start here or with a more specific template.
6
+
7
+ Templates in this family:
8
+
9
+ | Template | Purpose |
10
+ |---|---|
11
+ | [`create-workspace`](#packagejson) | Base Bun package; root of the template family *(this template)* |
12
+ | [`create-ts-lib`](#create-ts-lib) | TypeScript library with build pipeline, distributed via registry |
13
+ | [`create-hono-server`](#create-hono-server) | Bun+Hono web server |
14
+ | [`create-hono-spa`](#create-hono-spa) | SPA scaffold, pluggable into a Hono server as a sub-app |
15
+ | [`create-skill`](#create-skill) | LLM skill package |
16
+ | [`create-doc`](#create-doc) | Document as a collection of Markdown sections, compiled to PDF |
17
+
18
+ ## Table of Contents
19
+
20
+ 1. [Quick Start](#quick-start)
21
+ 2. [Documentation](#documentation)
22
+ 1. [`package.json`](#packagejson)
23
+ 2. [`Script `scripts/build-bundle.ts`](#script-scriptsbuild-bundlets)
24
+ 3. [`tsconfig.json`](#tsconfigjson)
25
+ 4. [Workspaces](#workspaces)
26
+ 1. [Script Propagation](#script-propagation)
27
+ 2. [Cross-workspace Dependencies](#cross-workspace-dependencies)
28
+ 3. [Scaffolding Patterns](#scaffolding-patterns)
29
+ 1. [Library](#library)
30
+ 2. [Server](#server)
31
+ 3. [Server + SPA](#server--spa)
32
+ 4. [Full-Stack with Shared Types](#full-stack-with-shared-types)
33
+ 5. [Skill](#skill)
34
+ 3. [DevOps](#devops)
35
+ 1. [Change Management](#change-management)
36
+ 2. [Publish](#publish)
37
+
38
+ # Quick Start
39
+
40
+ ```bash
41
+ # placeholder:
42
+ # <TEMPLATE_PACKAGE: @temir.ra/create-workspace
43
+ # <TEMPLATE_NAME: @temir.ra/workspace
44
+ # <NEW_PACKAGE: <NEW_PACKAGE>
45
+ # is used as:
46
+ # - the path where the package is created
47
+ # - the "name" field in the generated package.json
48
+ # <@_VERSION: <@_VERSION>
49
+
50
+ # pinned version
51
+ bun info "@temir.ra/create-workspace" version
52
+ bun create --no-install --no-git "@temir.ra/workspace<@_VERSION>" <NEW_PACKAGE>
53
+
54
+ # latest
55
+ # clear the cache to pick up the latest version
56
+ bun pm cache rm
57
+ bun create --no-install --no-git "@temir.ra/workspace" <NEW_PACKAGE>
58
+
59
+ # templates only copy files, run install and any setup scripts manually
60
+ cd <NEW_PACKAGE>
61
+ bun install
62
+ ```
63
+
64
+ # Documentation
65
+
66
+ The following sections explain the configurations and conventions baked into the generated package. Useful when adapting it to fit specific needs.
67
+
68
+ ## `package.json`
69
+
70
+ See npmjs documentation on [package.json](https://docs.npmjs.com/cli/v11/configuring-npm/package-json) for detailed explanations of all fields.
71
+
72
+ ```json
73
+ {
74
+
75
+ "name": "",
76
+ "version": "0.0.0",
77
+
78
+ "description": "",
79
+ "author": "",
80
+ "license": "",
81
+
82
+ "keywords": [],
83
+
84
+ "repository": {
85
+ "type": "git",
86
+ "url": ""
87
+ },
88
+
89
+ // controls whether the package can be published to a registry
90
+ "private": true,
91
+
92
+ "scripts": {
93
+
94
+ // deletes node_modules and the lockfile, clears the Bun cache, then reinstalls
95
+ // useful for recovering from a corrupted node_modules or lockfile
96
+ "reinstall": "rm -rf node_modules && rm -f bun.lock && bun pm cache rm && bun install && bunx tsc --version",
97
+
98
+ // type-checks the project without emitting output
99
+ "typecheck": "tsc --noEmit",
100
+
101
+ // generates buildinfo.txt (for use in lifecycle hooks and CI pipelines)
102
+ "buildinfo": "bun run scripts/buildinfo.ts"
103
+
104
+ },
105
+
106
+ "devDependencies": {
107
+ "@types/bun": "latest",
108
+ "typescript": "^6.0.2"
109
+ }
110
+
111
+ }
112
+ ```
113
+
114
+ ## Script `scripts/buildinfo.ts`
115
+
116
+ Writes `buildinfo.txt` with the package version from `package.json`, appending the git short hash as semver build metadata (`<version>+<hash>`). If the version already contains `+`, the hash is appended as `<version>+<existing>.<hash>` instead. Falls back to the bare version when git is unavailable.
117
+
118
+ ## `tsconfig.json`
119
+
120
+ See the TypeScript documentation on [tsconfig.json](https://www.typescriptlang.org/tsconfig) for detailed explanations of all options.
121
+
122
+ ```json
123
+ {
124
+
125
+ "compilerOptions": {
126
+
127
+ // ECMAScript version of emitted output; ESNext targets the latest JS version supported by the TypeScript compiler
128
+ // if the package must support older runtimes or browsers, pin to a specific year (e.g. "ES2022", "ES2024")
129
+ "target": "ESNext",
130
+
131
+ // output module format; ESNext passes ES module syntax through unchanged
132
+ // ES module syntax: import/export statements (as opposed to CommonJS require()/module.exports)
133
+ "module": "ESNext",
134
+
135
+ // type definitions for built-in APIs
136
+ "lib": [
137
+ "ESNext" // standard JavaScript runtime APIs
138
+ ],
139
+
140
+ // module resolution strategy; bundler mode allows omitting file extensions in imports
141
+ "moduleResolution": "bundler",
142
+
143
+ // enables all strict type-checking options
144
+ "strict": true,
145
+
146
+ // enforces import type for type-only imports; emitted module syntax matches source exactly
147
+ "verbatimModuleSyntax": true,
148
+
149
+ // array indexing and index signature access returns T | undefined instead of T
150
+ "noUncheckedIndexedAccess": true,
151
+
152
+ // distinguishes absent optional properties from those explicitly set to undefined
153
+ "exactOptionalPropertyTypes": true,
154
+
155
+ // requires explicit override keyword when overriding base class methods
156
+ "noImplicitOverride": true,
157
+
158
+ // requires explicit types on all exported declarations; enables parallel .d.ts generation by external tools
159
+ "isolatedDeclarations": true,
160
+
161
+ // allows default imports from CommonJS modules
162
+ "esModuleInterop": true,
163
+
164
+ // enables project references and incremental builds via *.tsbuildinfo
165
+ "composite": true,
166
+
167
+ // do not type-check `.d.ts` files in `node_modules/`
168
+ "skipLibCheck": true,
169
+
170
+ // TS6 defaults types to [] - @types/* packages must be listed explicitly
171
+ "types": ["bun"],
172
+
173
+ // enforce consistent casing across import statements
174
+ "forceConsistentCasingInFileNames": true,
175
+
176
+ // allows importing JSON files as typed modules
177
+ "resolveJsonModule": true
178
+
179
+ },
180
+
181
+ // files matched by include are type-checked and visible to the IDE (IntelliSense, go-to-definition, etc.)
182
+ "include": [
183
+ "scripts/**/*.ts"
184
+ ],
185
+ // files matched by exclude are hidden from the IDE and excluded from type-checking
186
+ "exclude": [
187
+ "node_modules"
188
+ ]
189
+
190
+ }
191
+ ```
192
+
193
+ ## Workspaces
194
+
195
+ To extend the package into a monorepo, add a `workspaces` field to `package.json` and run `bun install`:
196
+
197
+ ```json
198
+ {
199
+ "workspaces": [
200
+ "packages/*"
201
+ ]
202
+ }
203
+ ```
204
+
205
+ The execution environment installs all workspace dependencies into a single shared `node_modules/` at the root and symlinks each workspace package by its `name` field. Cross-workspace imports resolve by package name without path aliases or module mapping.
206
+
207
+ ```
208
+ <NEW_PACKAGE>/
209
+ ├── package.json ← root
210
+ └── packages/
211
+ ├── pkg-a/
212
+ │ ├── package.json
213
+ │ └── ...
214
+ └── pkg-b/
215
+ ├── package.json
216
+ └── ...
217
+ ```
218
+
219
+ ### Script Propagation
220
+
221
+ Append `&& bun run --filter './*' <script>` to any script to propagate the call to all workspace packages:
222
+
223
+ ```json
224
+ {
225
+ "scripts": {
226
+ "clean:dist": "rm -rf dist/ && bun run --filter './*' clean:dist",
227
+ "clean:tsbuildinfo": "rm -f *.tsbuildinfo && bun run --filter './*' clean:tsbuildinfo",
228
+ "tests": "bun test && bun run --filter './*' tests",
229
+ "typecheck": "bun run --filter './*' typecheck"
230
+ }
231
+ }
232
+ ```
233
+
234
+ `./*` targets all direct workspace packages. Replace with a more specific glob to limit propagation to a subset.
235
+
236
+ By default packages are run in sequence. Add `--parallel` to run them concurrently, or `--sequential` to make it explicit:
237
+
238
+ ```bash
239
+ bun run --filter './*' --parallel typecheck
240
+ bun run --filter './*' --sequential clean
241
+ ```
242
+
243
+ ### Cross-workspace Dependencies
244
+
245
+ To use one workspace package from another, declare it as a dependency using the `workspace:` protocol:
246
+
247
+ ```json
248
+ // packages/pkg-a/package.json
249
+ {
250
+ "dependencies": {
251
+
252
+ // workspace: resolves to the local package instead of fetching from a registry;
253
+ // workspace:* tracks the exact local version;
254
+ // workspace:^ is replaced by ^version on publish, tracking the semver range in the registry
255
+ "@scope/pkg-b": "workspace:*"
256
+
257
+ }
258
+ }
259
+ ```
260
+
261
+ Run `bun install` after adding the entry. The execution environment creates the symlink in `node_modules/` so imports resolve by package name at runtime and at the type level - no path alias or `paths` mapping required.
262
+
263
+ ### Scaffolding Patterns
264
+
265
+ Scaffold the package first, add `workspaces` to `package.json`, then scaffold workspace packages inside it. After scaffolding each workspace package, update its `package.json` with the correct `name`, `version`, `description`, `author`, `license`, and `repository` fields. To wire cross-workspace dependencies, add the `workspace:*` entry to the consuming package's `package.json` and run `bun install` from the root.
266
+
267
+ #### Library
268
+
269
+ ```
270
+ <NEW_PACKAGE>/
271
+ └── packages/
272
+ └── my-lib/ ← create-ts-lib
273
+ ```
274
+
275
+ ```bash
276
+ bun create --no-install --no-git "@temir.ra/create-workspace" <NEW_PACKAGE>
277
+ cd <NEW_PACKAGE>
278
+ bun create --no-install --no-git "@temir.ra/ts-lib" packages/my-lib
279
+ bun install
280
+ ```
281
+
282
+ ##### `create-ts-lib`
283
+
284
+ Starting point for any package distributed via a registry. See the full documentation at [`@temir.ra/create-ts-lib`](https://www.npmjs.com/package/@temir.ra/create-ts-lib).
285
+
286
+ - Dual `tsconfig`: `tsconfig.json` (dev, `bundler` resolution, includes `tests/` + `scripts/`) and `tsconfig.build.json` (prod, `nodenext`, `src/` only, emits JS + `.d.ts`)
287
+ - `exports` conditions: `entrypoint` (custom, source entry for the bundle script), `types`, `browser` (bundled output), `import` (compiled ESM)
288
+ - `imports` field: `#src/*.js` → `./src/*.ts` - runtime alias for `dev.ts`, `tests/`, `scripts/` only
289
+ - Build metadata: `scripts/buildinfo.ts` generates `buildinfo.txt` (version + git hash) as a `prebuild` hook
290
+ - Bundle script: `scripts/build-lib-bundle.ts` bundles via Bun; supports CDN specifier rewriting via `cdn-rewrite-map.json`
291
+ - Asset resolution contract: assets under `assets/@scope/lib-name/`, accessed via `import.meta.url` + `fetch()`
292
+ - Optional CLI entry point via `bin` field and `build:cli-bundle` script
293
+
294
+ #### Server
295
+
296
+ ```
297
+ <NEW_PACKAGE>/
298
+ └── packages/
299
+ └── server/ ← create-hono-server
300
+ ```
301
+
302
+ ```bash
303
+ bun create --no-install --no-git "@temir.ra/create-workspace" <NEW_PACKAGE>
304
+ cd <NEW_PACKAGE>
305
+ bun create --no-install --no-git "@temir.ra/hono-server" packages/server
306
+ bun install
307
+ ```
308
+
309
+ ##### `create-hono-server`
310
+
311
+ Starting point for any HTTP backend. See the full documentation at [`@temir.ra/create-hono-server`](https://www.npmjs.com/package/@temir.ra/create-hono-server).
312
+
313
+ - `createAppHost(options)` - configures and returns a `Hono<AppEnv>` instance
314
+ - Built-in middleware pipeline: `Logging`, `requestId`, `RequestLogger`, `compress`, `secureHeaders`
315
+ - Built-in endpoints: `/health`, `/buildinfo`, OpenAPI spec, Scalar UI
316
+ - `endpointGroups` - mounts additional `Hono` sub-apps; integration point for SPA packages
317
+ - `AppEnv` - exported, extensible context type; extend it to carry custom variables through the context
318
+ - `startServerHost(options)` - wraps `Bun.serve()`, graceful shutdown on `SIGINT`/`SIGTERM`
319
+
320
+ #### Server + SPA
321
+
322
+ ```
323
+ <NEW_PACKAGE>/
324
+ └── packages/
325
+ ├── server/ ← create-hono-server
326
+ └── spa/ ← create-hono-spa
327
+ ```
328
+
329
+ ```bash
330
+ bun create --no-install --no-git "@temir.ra/create-workspace" <NEW_PACKAGE>
331
+ cd <NEW_PACKAGE>
332
+ bun create --no-install --no-git "@temir.ra/hono-server" packages/server
333
+ bun create --no-install --no-git "@temir.ra/hono-spa" packages/spa
334
+ bun install
335
+ ```
336
+
337
+ Add the SPA as a dependency of the server, then reinstall:
338
+
339
+ ```json
340
+ // packages/server/package.json
341
+ {
342
+ "dependencies": {
343
+ "@scope/spa": "workspace:*"
344
+ }
345
+ }
346
+ ```
347
+
348
+ ```bash
349
+ bun install
350
+ ```
351
+
352
+ ##### `create-hono-spa`
353
+
354
+ Starting point for a frontend SPA distributed as a Hono sub-app library. See the full documentation at [`@temir.ra/create-hono-spa`](https://www.npmjs.com/package/@temir.ra/create-hono-spa).
355
+
356
+ - `createSpa(options)` - returns a `Hono` sub-app serving the SPA shell
357
+ - `/app/*` wildcard handles client-side routing; `<base href>` patched at request time from `basePath` and `path`
358
+ - Assets resolved via `import.meta.url`; no file copying or static serving config needed on the consuming server
359
+ - PWA scaffold in `assets/`: `index.html`, `favicon.svg`, `manifest.webmanifest`, screenshots
360
+ - Distributed as a library (`exports` + `dist/` + `assets/`); consumed via `workspace:*` in the server
361
+
362
+ #### Full-Stack with Shared Types
363
+
364
+ ```
365
+ <NEW_PACKAGE>/
366
+ └── packages/
367
+ ├── server/ ← create-hono-server
368
+ ├── spa/ ← create-hono-spa
369
+ └── types/ ← create-ts-lib
370
+ ```
371
+
372
+ ```bash
373
+ bun create --no-install --no-git "@temir.ra/create-workspace" <NEW_PACKAGE>
374
+ cd <NEW_PACKAGE>
375
+ bun create --no-install --no-git "@temir.ra/hono-server" packages/server
376
+ bun create --no-install --no-git "@temir.ra/hono-spa" packages/spa
377
+ bun create --no-install --no-git "@temir.ra/ts-lib" packages/types
378
+ bun install
379
+ ```
380
+
381
+ Add the types package as a dependency of both the server and the SPA, then reinstall:
382
+
383
+ ```json
384
+ // packages/server/package.json and packages/spa/package.json
385
+ {
386
+ "dependencies": {
387
+ "@scope/types": "workspace:*"
388
+ }
389
+ }
390
+ ```
391
+
392
+ ```bash
393
+ bun install
394
+ ```
395
+
396
+ #### Skill
397
+
398
+ ```
399
+ <NEW_PACKAGE>/
400
+ └── packages/
401
+ └── my-skill/ ← create-skill
402
+ ```
403
+
404
+ ```bash
405
+ bun create --no-install --no-git "@temir.ra/create-workspace" <NEW_PACKAGE>
406
+ cd <NEW_PACKAGE>
407
+ bun create --no-install --no-git "@temir.ra/skill" packages/my-skill
408
+ bun install
409
+ ```
410
+
411
+ ##### `create-skill`
412
+
413
+ Starting point for any LLM skill package. See the full documentation at [`@temir.ra/create-skill`](https://www.npmjs.com/package/@temir.ra/create-skill).
414
+
415
+ - `skill/skill.json` — the skill definition: `frontmatter` (slug, description) and `body` (name, purpose, activation conditions, instructions, examples, sections)
416
+ - `skill/` — typed schema, render helpers, and companion files (`assets/`, `references/`)
417
+ - `scripts/` — one build script per target platform; ships builders for Claude and OpenCode
418
+ - `dist/` — generated artifacts, one subdirectory per platform; deploy by copying `dist/<platform>/<slug>/` into the target AI tool's skill directory
419
+
420
+ # DevOps
421
+
422
+ ```bash
423
+ bun install
424
+
425
+ bun run clean
426
+ bun run build
427
+ bun run tests
428
+
429
+ bun run dev
430
+
431
+ # see publish section for publish instructions
432
+ ```
433
+
434
+ ## Change Management
435
+
436
+ 1. Create a new branch for the change.
437
+ 2. Make the changes and commit.
438
+ 3. Bump the version in [`package.json`](package.json).
439
+ 4. Add an entry for the new version in [`CHANGELOG.md`](CHANGELOG.md).
440
+ 5. Pull request the branch.
441
+ 6. Ensure package artifacts are current.
442
+ 7. Publish.
443
+
444
+ ## Publish
445
+
446
+ Publish to the public npm registry.
447
+
448
+ ```powershell
449
+ # authenticate
450
+ npm login
451
+ # publish
452
+ bun publish --registry https://registry.npmjs.org/ --access public
453
+ ```
@@ -0,0 +1 @@
1
+ 0.4.1+f472194
@@ -1,7 +1,7 @@
1
1
  node_modules
2
2
  buildinfo.txt
3
- *.tsbuildinfo
4
3
  buildinfo-template.txt
5
4
  CHANGELOG-template.md
6
5
  README-template.md
6
+ *.tsbuildinfo
7
7
  dist
@@ -28,18 +28,18 @@
28
28
  "scripts/buildinfo.ts",
29
29
  "scripts/build-bundle.ts",
30
30
  "scripts/cdn-rewrite-map.json",
31
- "dist",
32
31
  "CHANGELOG.md",
33
- "buildinfo.txt"
32
+ "buildinfo.txt",
33
+ "dist"
34
34
  ],
35
35
  "scripts": {
36
+ "reinstall": "rm -rf node_modules && rm -f bun.lock && bun pm cache rm && bun install && bunx tsc --version",
37
+ "typecheck": "tsc --noEmit",
38
+ "buildinfo": "bun run scripts/buildinfo.ts",
36
39
  "clean:dist": "rm -rf dist/",
37
40
  "clean:tsbuildinfo": "rm -f *.tsbuildinfo || true",
38
41
  "clean": "bun run clean:dist && bun run clean:tsbuildinfo",
39
- "buildinfo": "bun run scripts/buildinfo.ts",
40
42
  "tests": "bun test",
41
- "typecheck": "tsc --noEmit",
42
- "reinstall": "rm -rf node_modules && rm -f bun.lock && bun pm cache rm && bun install && bunx tsc --version",
43
43
  "prebuild": "bun run buildinfo",
44
44
  "build": "bun run build:bundle",
45
45
  "build:bundle": "bun run scripts/build-bundle.ts"
@@ -1,38 +1,38 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ESNext",
4
- "module": "ESNext",
5
- "lib": [
6
- "ESNext"
7
- ],
8
- "moduleResolution": "bundler",
9
- "strict": true,
10
- "verbatimModuleSyntax": true,
11
- "noUncheckedIndexedAccess": true,
12
- "exactOptionalPropertyTypes": true,
13
- "noImplicitOverride": true,
14
- "isolatedDeclarations": true,
15
- "esModuleInterop": true,
16
- "composite": true,
17
- "skipLibCheck": true,
18
- "types": [
19
- "bun"
20
- ],
21
- "forceConsistentCasingInFileNames": true,
22
- "resolveJsonModule": true,
23
- "declaration": true,
24
- "declarationMap": true,
25
- "emitDeclarationOnly": true,
26
- "outDir": "./dist"
27
- },
28
- "include": [
29
- "tests/**/*.ts",
30
- "scripts/**/*.ts",
31
- "scripts/**/*.json",
32
- "src/**/*.ts"
33
- ],
34
- "exclude": [
35
- "node_modules",
36
- "dist"
37
- ]
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ESNext",
4
+ "module": "ESNext",
5
+ "lib": [
6
+ "ESNext"
7
+ ],
8
+ "moduleResolution": "bundler",
9
+ "strict": true,
10
+ "verbatimModuleSyntax": true,
11
+ "noUncheckedIndexedAccess": true,
12
+ "exactOptionalPropertyTypes": true,
13
+ "noImplicitOverride": true,
14
+ "isolatedDeclarations": true,
15
+ "esModuleInterop": true,
16
+ "composite": true,
17
+ "skipLibCheck": true,
18
+ "types": [
19
+ "bun"
20
+ ],
21
+ "forceConsistentCasingInFileNames": true,
22
+ "resolveJsonModule": true,
23
+ "declaration": true,
24
+ "declarationMap": true,
25
+ "emitDeclarationOnly": true,
26
+ "outDir": "./dist"
27
+ },
28
+ "include": [
29
+ "scripts/**/*.ts",
30
+ "scripts/**/*.json",
31
+ "src/**/*.ts",
32
+ "tests/**/*.ts"
33
+ ],
34
+ "exclude": [
35
+ "node_modules",
36
+ "dist"
37
+ ]
38
38
  }