@adaas/a-frame 0.0.9 → 0.0.10
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/.conf/tsconfig.base.json +91 -0
- package/.conf/tsconfig.browser.json +36 -0
- package/.conf/tsconfig.node.json +40 -0
- package/jest.config.ts +7 -7
- package/package.json +2 -2
- package/tsconfig.json +39 -58
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"rootDir": "../",
|
|
6
|
+
"useDefineForClassFields": false,
|
|
7
|
+
// "isolatedModules": true,
|
|
8
|
+
|
|
9
|
+
/* ===============================
|
|
10
|
+
Output (tsup controls formats)
|
|
11
|
+
=============================== */
|
|
12
|
+
"outDir": "dist",
|
|
13
|
+
"declaration": true,
|
|
14
|
+
"declarationMap": true,
|
|
15
|
+
"sourceMap": true,
|
|
16
|
+
"emitDeclarationOnly": false,
|
|
17
|
+
|
|
18
|
+
/* ===============================
|
|
19
|
+
Language & runtime
|
|
20
|
+
=============================== */
|
|
21
|
+
"target": "ES2022",
|
|
22
|
+
"lib": ["ES2022", "DOM"],
|
|
23
|
+
|
|
24
|
+
/* ===============================
|
|
25
|
+
Module system (CRITICAL)
|
|
26
|
+
=============================== */
|
|
27
|
+
"module": "nodenext",
|
|
28
|
+
"moduleResolution": "NodeNext",
|
|
29
|
+
|
|
30
|
+
/* ===============================
|
|
31
|
+
Interop & compatibility
|
|
32
|
+
=============================== */
|
|
33
|
+
"esModuleInterop": true,
|
|
34
|
+
"allowSyntheticDefaultImports": true,
|
|
35
|
+
"resolveJsonModule": true,
|
|
36
|
+
|
|
37
|
+
/* ===============================
|
|
38
|
+
Type checking
|
|
39
|
+
=============================== */
|
|
40
|
+
"strict": true,
|
|
41
|
+
"noImplicitAny": false,
|
|
42
|
+
"strictNullChecks": true,
|
|
43
|
+
"strictFunctionTypes": true,
|
|
44
|
+
"strictPropertyInitialization": true,
|
|
45
|
+
"noFallthroughCasesInSwitch": true,
|
|
46
|
+
|
|
47
|
+
/* ===============================
|
|
48
|
+
Developer experience
|
|
49
|
+
=============================== */
|
|
50
|
+
"skipLibCheck": true,
|
|
51
|
+
"forceConsistentCasingInFileNames": true,
|
|
52
|
+
"noErrorTruncation": true,
|
|
53
|
+
|
|
54
|
+
/* ===============================
|
|
55
|
+
Decorators (if used)
|
|
56
|
+
=============================== */
|
|
57
|
+
"experimentalDecorators": true,
|
|
58
|
+
|
|
59
|
+
/* ===============================
|
|
60
|
+
Internal path aliases ONLY
|
|
61
|
+
=============================== */
|
|
62
|
+
"baseUrl": ".",
|
|
63
|
+
"paths": {
|
|
64
|
+
"@adaas/a-utils/a-channel": ["src/lib/A-Channel"],
|
|
65
|
+
"@adaas/a-utils/a-command": ["src/lib/A-Command"],
|
|
66
|
+
"@adaas/a-utils/a-config": ["src/lib/A-Config"],
|
|
67
|
+
"@adaas/a-utils/a-execution": ["src/lib/A-Execution"],
|
|
68
|
+
"@adaas/a-utils/a-logger": ["src/lib/A-Logger"],
|
|
69
|
+
"@adaas/a-utils/a-manifest": ["src/lib/A-Manifest"],
|
|
70
|
+
"@adaas/a-utils/a-memory": ["src/lib/A-Memory"],
|
|
71
|
+
"@adaas/a-utils/a-operation": ["src/lib/A-Operation"],
|
|
72
|
+
"@adaas/a-utils/a-route": ["src/lib/A-Route"],
|
|
73
|
+
"@adaas/a-utils/a-schedule": ["src/lib/A-Schedule"],
|
|
74
|
+
"@adaas/a-utils/a-service": ["src/lib/A-Service"],
|
|
75
|
+
"@adaas/a-utils/a-signal": ["src/lib/A-Signal"],
|
|
76
|
+
"@adaas/a-utils/a-state-machine": ["src/lib/A-StateMachine"]
|
|
77
|
+
},
|
|
78
|
+
/* ===============================
|
|
79
|
+
Types
|
|
80
|
+
=============================== */
|
|
81
|
+
// "typeRoots": ["node_modules/@types"]
|
|
82
|
+
},
|
|
83
|
+
"include": [
|
|
84
|
+
"../src/**/*",
|
|
85
|
+
],
|
|
86
|
+
"exclude": [
|
|
87
|
+
"../node_modules",
|
|
88
|
+
"../dist",
|
|
89
|
+
"**/*.spec.ts"
|
|
90
|
+
]
|
|
91
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.base.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"rootDir": "../",
|
|
5
|
+
"outDir": "dist/browser",
|
|
6
|
+
"baseUrl": "../",
|
|
7
|
+
|
|
8
|
+
"paths": {
|
|
9
|
+
"@adaas/a-concept/constants/*": ["src/constants/*"],
|
|
10
|
+
"@adaas/a-concept/utils/*": ["src/utils/*"],
|
|
11
|
+
"@adaas/a-concept/helpers/*": ["src/helpers/*"],
|
|
12
|
+
"@adaas/a-concept/types": ["src/types"],
|
|
13
|
+
"@adaas/a-concept/env": ["src/env/index.browser.ts"],
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
"@adaas/a-concept/a-abstraction": ["src/lib/A-Abstraction"],
|
|
17
|
+
"@adaas/a-concept/a-caller": ["src/lib/A-Caller"],
|
|
18
|
+
"@adaas/a-concept/a-component": ["src/lib/A-Component"],
|
|
19
|
+
"@adaas/a-concept/a-concept": ["src/lib/A-Concept"],
|
|
20
|
+
"@adaas/a-concept/a-container": ["src/lib/A-Container"],
|
|
21
|
+
"@adaas/a-concept/a-context": ["src/lib/A-Context"],
|
|
22
|
+
"@adaas/a-concept/a-dependency": ["src/lib/A-Dependency"],
|
|
23
|
+
"@adaas/a-concept/a-entity": ["src/lib/A-Entity"],
|
|
24
|
+
"@adaas/a-concept/a-error": ["src/lib/A-Error"],
|
|
25
|
+
"@adaas/a-concept/a-feature": ["src/lib/A-Feature"],
|
|
26
|
+
"@adaas/a-concept/a-fragment": ["src/lib/A-Fragment"],
|
|
27
|
+
"@adaas/a-concept/a-inject": ["src/lib/A-Inject"],
|
|
28
|
+
"@adaas/a-concept/a-meta": ["src/lib/A-Meta"],
|
|
29
|
+
"@adaas/a-concept/a-scope": ["src/lib/A-Scope"],
|
|
30
|
+
"@adaas/a-concept/a-stage": ["src/lib/A-Stage"],
|
|
31
|
+
"@adaas/a-concept/a-step-manager": ["src/lib/A-StepManager"],
|
|
32
|
+
"@adaas/a-concept/aseid": ["src/lib/ASEID"],
|
|
33
|
+
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.base.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"rootDir": "../",
|
|
5
|
+
"outDir": "dist/node",
|
|
6
|
+
"baseUrl": "../",
|
|
7
|
+
|
|
8
|
+
"paths": {
|
|
9
|
+
"@adaas/a-concept/constants/*": ["src/constants/*"],
|
|
10
|
+
"@adaas/a-concept/utils/*": ["src/utils/*"],
|
|
11
|
+
"@adaas/a-concept/helpers/*": ["src/helpers/*"],
|
|
12
|
+
"@adaas/a-concept/types": ["src/types"],
|
|
13
|
+
"@adaas/a-concept/env": ["src/env/index.node.ts"],
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
"@adaas/a-concept/a-abstraction": ["src/lib/A-Abstraction"],
|
|
17
|
+
"@adaas/a-concept/a-caller": ["src/lib/A-Caller"],
|
|
18
|
+
"@adaas/a-concept/a-component": ["src/lib/A-Component"],
|
|
19
|
+
"@adaas/a-concept/a-concept": ["src/lib/A-Concept"],
|
|
20
|
+
"@adaas/a-concept/a-container": ["src/lib/A-Container"],
|
|
21
|
+
"@adaas/a-concept/a-context": ["src/lib/A-Context"],
|
|
22
|
+
"@adaas/a-concept/a-dependency": ["src/lib/A-Dependency"],
|
|
23
|
+
"@adaas/a-concept/a-entity": ["src/lib/A-Entity"],
|
|
24
|
+
"@adaas/a-concept/a-error": ["src/lib/A-Error"],
|
|
25
|
+
"@adaas/a-concept/a-feature": ["src/lib/A-Feature"],
|
|
26
|
+
"@adaas/a-concept/a-fragment": ["src/lib/A-Fragment"],
|
|
27
|
+
"@adaas/a-concept/a-inject": ["src/lib/A-Inject"],
|
|
28
|
+
"@adaas/a-concept/a-meta": ["src/lib/A-Meta"],
|
|
29
|
+
"@adaas/a-concept/a-scope": ["src/lib/A-Scope"],
|
|
30
|
+
"@adaas/a-concept/a-stage": ["src/lib/A-Stage"],
|
|
31
|
+
"@adaas/a-concept/a-step-manager": ["src/lib/A-StepManager"],
|
|
32
|
+
"@adaas/a-concept/aseid": ["src/lib/ASEID"],
|
|
33
|
+
|
|
34
|
+
},
|
|
35
|
+
|
|
36
|
+
"types": [
|
|
37
|
+
"node"
|
|
38
|
+
],
|
|
39
|
+
},
|
|
40
|
+
}
|
package/jest.config.ts
CHANGED
|
@@ -9,13 +9,13 @@ const config: Config.InitialOptions = {
|
|
|
9
9
|
'^.+\\.tsx?$': 'ts-jest'
|
|
10
10
|
},
|
|
11
11
|
moduleNameMapper: {
|
|
12
|
-
"@adaas/a-
|
|
13
|
-
"@adaas/a-
|
|
14
|
-
"@adaas/a-
|
|
15
|
-
"@adaas/a-
|
|
16
|
-
"@adaas/a-
|
|
17
|
-
"@adaas/a-
|
|
18
|
-
"@adaas/a-
|
|
12
|
+
"@adaas/a-frame/constants/(.*)": ["<rootDir>/src/constants/$1"],
|
|
13
|
+
"@adaas/a-frame/global/(.*)": ["<rootDir>/src/global/$1"],
|
|
14
|
+
"@adaas/a-frame/types/(.*)": ["<rootDir>/src/types/$1"],
|
|
15
|
+
"@adaas/a-frame/helpers/(.*)": ["<rootDir>/src/helpers/$1"],
|
|
16
|
+
"@adaas/a-frame/decorators/(.*)": ["<rootDir>/src/decorators/$1"],
|
|
17
|
+
"@adaas/a-frame/base/(.*)": ["<rootDir>/src/base/$1"],
|
|
18
|
+
"@adaas/a-frame/utils/(.*)": ["<rootDir>/src/utils/$1"]
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaas/a-frame",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "A-frame is index build engine for A-Concept ecosystem. It provides a way to build index structures for A-Concept basics",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"build": "tsup --config tsup.config.ts"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@adaas/a-concept": "^0.
|
|
64
|
+
"@adaas/a-concept": "^0.3.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@types/chai": "^4.3.14",
|
package/tsconfig.json
CHANGED
|
@@ -1,60 +1,41 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"dom",
|
|
42
|
-
"esnext.asynciterable",
|
|
43
|
-
"es2015",
|
|
44
|
-
"es2016",
|
|
45
|
-
"es2017.object"
|
|
46
|
-
]
|
|
47
|
-
},
|
|
48
|
-
"include": [
|
|
49
|
-
"src/**/*",
|
|
50
|
-
"tests/**/*",
|
|
51
|
-
"examples/**/*",
|
|
52
|
-
"src/index.ts",
|
|
53
|
-
"./index.ts"
|
|
54
|
-
],
|
|
55
|
-
"exclude": [
|
|
56
|
-
"node_modules/**/*",
|
|
57
|
-
"dist/**/*",
|
|
58
|
-
"node_modules/@types/mocha/index.d.ts"
|
|
59
|
-
]
|
|
2
|
+
"extends": "./.conf/tsconfig.base.json",
|
|
3
|
+
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"rootDir": "./",
|
|
6
|
+
"baseUrl": ".",
|
|
7
|
+
/* ===============================
|
|
8
|
+
Internal aliases (DEV ONLY)
|
|
9
|
+
=============================== */
|
|
10
|
+
"paths": {
|
|
11
|
+
"@adaas/a-frame/constants/*": ["src/constants/*"],
|
|
12
|
+
"@adaas/a-frame/utils/*": ["src/utils/*"],
|
|
13
|
+
"@adaas/a-frame/helpers/*": ["src/helpers/*"],
|
|
14
|
+
"@adaas/a-frame/types": ["src/types"],
|
|
15
|
+
|
|
16
|
+
},
|
|
17
|
+
|
|
18
|
+
/* ===============================
|
|
19
|
+
Types
|
|
20
|
+
=============================== */
|
|
21
|
+
"types": [
|
|
22
|
+
"node",
|
|
23
|
+
"jest",
|
|
24
|
+
"mocha",
|
|
25
|
+
],
|
|
26
|
+
"typeRoots": ["node_modules/@types"]
|
|
27
|
+
},
|
|
28
|
+
|
|
29
|
+
"include": [
|
|
30
|
+
"src/**/*",
|
|
31
|
+
"tests/**/*",
|
|
32
|
+
"examples/**/*.ts",
|
|
33
|
+
"src/index.ts",
|
|
34
|
+
"src/env/global.browser.d.ts"
|
|
35
|
+
],
|
|
36
|
+
|
|
37
|
+
"exclude": [
|
|
38
|
+
"node_modules",
|
|
39
|
+
"dist",
|
|
40
|
+
]
|
|
60
41
|
}
|