@adaas/a-concept 0.2.11 → 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.
- package/package.json +6 -4
- 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.
|
|
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",
|
|
@@ -10,12 +10,14 @@
|
|
|
10
10
|
".": {
|
|
11
11
|
"browser": "./dist/browser/index.mjs",
|
|
12
12
|
"import": "./dist/node/index.mjs",
|
|
13
|
-
"require": "./dist/node/index.cjs"
|
|
13
|
+
"require": "./dist/node/index.cjs",
|
|
14
|
+
"types": "./dist/node/index.d.ts"
|
|
14
15
|
},
|
|
15
16
|
"./env": {
|
|
16
17
|
"browser": "./dist/browser/env.mjs",
|
|
17
18
|
"import": "./dist/node/env.mjs",
|
|
18
|
-
"require": "./dist/node/env.cjs"
|
|
19
|
+
"require": "./dist/node/env.cjs",
|
|
20
|
+
"types": "./dist/node/env.d.ts"
|
|
19
21
|
}
|
|
20
22
|
},
|
|
21
23
|
"author": {
|
|
@@ -65,7 +67,7 @@
|
|
|
65
67
|
},
|
|
66
68
|
"devDependencies": {
|
|
67
69
|
"@types/chai": "^4.3.14",
|
|
68
|
-
"@types/jest": "^29.5.
|
|
70
|
+
"@types/jest": "^29.5.14",
|
|
69
71
|
"@types/mocha": "^10.0.6",
|
|
70
72
|
"@types/node": "^24.9.1",
|
|
71
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
54
|
+
|
|
55
|
+
/* ===============================
|
|
56
|
+
Decorators (if used)
|
|
57
|
+
=============================== */
|
|
27
58
|
"experimentalDecorators": true,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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/
|
|
40
|
-
|
|
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
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"
|
|
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
|
}
|