@adaas/a-concept 0.2.12 → 0.2.13

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/tsconfig.json +71 -34
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaas/a-concept",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "description": "A-Concept is a framework of the new generation that is tailored to use AI, enabling developers to create AI-powered applications with ease. It provides a structured approach to building, managing, and deploying AI-driven solutions.",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./dist/node/index.cjs",
@@ -67,7 +67,7 @@
67
67
  },
68
68
  "devDependencies": {
69
69
  "@types/chai": "^4.3.14",
70
- "@types/jest": "^29.5.12",
70
+ "@types/jest": "^29.5.14",
71
71
  "@types/mocha": "^10.0.6",
72
72
  "@types/node": "^24.9.1",
73
73
  "chai": "^5.1.0",
package/tsconfig.json CHANGED
@@ -1,62 +1,99 @@
1
1
  {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+
2
4
  "compileOnSave": false,
5
+
3
6
  "compilerOptions": {
7
+ "useDefineForClassFields": false,
8
+
9
+ /* ===============================
10
+ Output (tsup controls formats)
11
+ =============================== */
4
12
  "outDir": "dist",
13
+ "declaration": true,
14
+ "declarationMap": true,
15
+ "sourceMap": true,
16
+
17
+ /* ===============================
18
+ Language & runtime
19
+ =============================== */
20
+ "target": "ES2022",
21
+ "lib": ["ES2022", "DOM"],
22
+
23
+ /* ===============================
24
+ Module system (CRITICAL)
25
+ =============================== */
26
+ "module": "nodenext",
27
+ "moduleResolution": "NodeNext",
28
+
29
+ /* ===============================
30
+ Interop
31
+ =============================== */
32
+ "esModuleInterop": true,
33
+ "allowSyntheticDefaultImports": true,
34
+ "resolveJsonModule": true,
35
+
36
+ /* ===============================
37
+ Type safety
38
+ =============================== */
5
39
  "strict": true,
6
40
  "noImplicitAny": false,
7
- "noFallthroughCasesInSwitch": true,
8
- "downlevelIteration": true,
9
- "strictFunctionTypes": true,
10
41
  "strictNullChecks": true,
42
+ "strictFunctionTypes": true,
11
43
  "strictPropertyInitialization": true,
44
+ "noFallthroughCasesInSwitch": true,
45
+
46
+ /* ===============================
47
+ Developer experience
48
+ =============================== */
49
+ "skipLibCheck": true,
12
50
  "forceConsistentCasingInFileNames": true,
13
- "resolveJsonModule": true,
14
51
  "noErrorTruncation": true,
15
- "jsx": "react",
16
- "target": "es2015",
17
- "module": "commonjs",
18
- "moduleResolution": "node",
19
- "allowSyntheticDefaultImports": true,
20
- "esModuleInterop": true,
21
52
  "noUnusedLocals": false,
22
53
  "noUnusedParameters": false,
23
- "removeComments": false,
24
- "preserveConstEnums": true,
25
- "sourceMap": true,
26
- "baseUrl": ".",
54
+
55
+ /* ===============================
56
+ Decorators (if used)
57
+ =============================== */
27
58
  "experimentalDecorators": true,
28
- "skipLibCheck": true,
29
- "typeRoots": [
30
- "node_modules/@types"
31
- ],
59
+
60
+ /* ===============================
61
+ Internal aliases (DEV ONLY)
62
+ =============================== */
63
+ "baseUrl": ".",
32
64
  "paths": {
33
65
  "@adaas/a-concept/constants/*": ["src/constants/*"],
34
- "@adaas/a-concept/env": ["src/env/index.node.ts"],
35
66
  "@adaas/a-concept/global/*": ["src/global/*"],
36
67
  "@adaas/a-concept/types/*": ["src/types/*"],
37
68
  "@adaas/a-concept/helpers/*": ["src/helpers/*"],
38
69
  "@adaas/a-concept/decorators/*": ["src/decorators/*"],
39
- "@adaas/a-concept/base/*": ["../adaas-a-utils/src/lib/*"],
40
- "@adaas/a-concept/utils/*": ["src/utils/*"]
70
+ "@adaas/a-concept/utils/*": ["src/utils/*"],
71
+
72
+ /* DEV-only override to utils source */
73
+ "@adaas/a-concept/env": ["src/env/index.node.ts"],
41
74
  },
42
- "lib": [
43
- "dom",
44
- "esnext.asynciterable",
45
- "es2015",
46
- "es2016",
47
- "es2017.object"
48
- ]
75
+
76
+ /* ===============================
77
+ Types
78
+ =============================== */
79
+ "types": [
80
+ "node",
81
+ "jest",
82
+ "mocha",
83
+ ],
84
+ "typeRoots": ["node_modules/@types"]
49
85
  },
86
+
50
87
  "include": [
51
88
  "src/**/*",
52
- "tests/**/*",
53
- "examples/**/*",
89
+ "tests/**/*",
90
+ "examples/**/*.ts",
54
91
  "src/index.ts",
55
- "src/env/global.browser.d.ts"
92
+ "src/env/global.browser.d.ts"
56
93
  ],
94
+
57
95
  "exclude": [
58
- "node_modules/**/*",
59
- "dist/**/*",
60
- "node_modules/@types/mocha/index.d.ts"
96
+ "node_modules",
97
+ "dist",
61
98
  ]
62
99
  }