@datapos/datapos-development 0.3.429 → 0.3.431

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.
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Vitest configuration.
3
+ */
4
+ declare const _default: import('vite').UserConfig;
5
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-development",
3
- "version": "0.3.429",
3
+ "version": "0.3.431",
4
4
  "description": "A collection of utilities for managing Data Positioning projects.",
5
5
  "license": "MIT",
6
6
  "author": "Jonathan Terrell <terrell.jm@gmail.com>",
@@ -36,6 +36,7 @@
36
36
  "LICENSE",
37
37
  "licenses/license-report-config.json",
38
38
  "tsconfig.json",
39
+ "tsconfig.vite.json",
39
40
  "vite.config.ts",
40
41
  "vitest.config.ts"
41
42
  ],
package/tsconfig.json CHANGED
@@ -1,27 +1,35 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "baseUrl": "./", // Makes relative imports like "src/..." resolve from the repo root.
4
- "declaration": true, // Emit .d.ts files so consumers get typings.
5
- "esModuleInterop": true, // Allow default-import syntax for CommonJS packages.
6
- "isolatedModules": true, // Treat each file as a separate module; keeps Vite happy.
7
- "lib": ["ESNext", "dom"], // Target the latest JavaScript libs and built-ins.
8
- "module": "ESNext", // Generate native ESM output for bundlers.
9
- "moduleResolution": "bundler", // Resolve modules like a bundler (needed for aliases and imports such as 'sonda/vite').
10
- "noUncheckedIndexedAccess": true, // Enforce checks when indexing into objects or arrays.
11
- "noImplicitAny": true, // Disallow implicit any types to keep everything typed.
12
- "outDir": "dist", // Place compiler output in dist/.
3
+ "baseUrl": "./",
4
+ "declaration": true,
5
+ "esModuleInterop": true,
6
+ "exactOptionalPropertyTypes": true,
7
+ "forceConsistentCasingInFileNames": true,
8
+ "incremental": true,
9
+ "isolatedModules": true,
10
+ "lib": ["ESNext"],
11
+ "module": "ESNext",
12
+ "moduleDetection": "force",
13
+ "moduleResolution": "bundler",
14
+ "noImplicitAny": true,
15
+ "noImplicitOverride": true,
16
+ "noPropertyAccessFromIndexSignature": true,
17
+ "noUncheckedIndexedAccess": true,
18
+ "noUnusedLocals": true,
19
+ "noUnusedParameters": true,
20
+ "outDir": "dist",
13
21
  "paths": {
14
- // Configure import aliases used across the project.
15
22
  "~/*": ["*"],
16
23
  "@/*": ["src/*"]
17
24
  },
18
- "resolveJsonModule": true, // Allow importing JSON modules directly.
19
- "skipLibCheck": true, // Skip type checking for .d.ts in node_modules to speed up builds.
20
- "sourceMap": true, // Emit source maps for better debugging.
21
- "strict": true, // Enable the full strict type-checking suite.
22
- "strictNullChecks": true, // Major strict setting: enforce null/undefined checks.
23
- "target": "ESNext", // Target latest JavaScript syntax when emitting.
24
- "useDefineForClassFields": true // Use define semantics for class fields (aligns with JS standard).
25
+ "resolveJsonModule": true,
26
+ "skipLibCheck": true,
27
+ "sourceMap": true,
28
+ "strict": true,
29
+ "strictNullChecks": true,
30
+ "target": "ESNext",
31
+ "tsBuildInfoFile": "./node_modules/.cache/tsconfig.tsbuildinfo",
32
+ "useDefineForClassFields": true
25
33
  },
26
- "include": ["vite.config.*", "src/**/*", "tests/**/*"]
34
+ "include": ["src/**/*", "vite.config.*", "vitest.config.*", "tests/**/*.ts"]
27
35
  }