@nuucognition/flint-cli 0.2.0-beta.0 → 0.2.0-beta.2
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/bin/flint-prod.js +4 -2
- package/bin/flint.js +0 -0
- package/dist/{chunk-BVYUS7NX.js → chunk-K5QP4OME.js} +81 -11
- package/dist/{chunk-EICASOEX.js → chunk-RAH2IR2Z.js} +158 -83
- package/dist/chunk-V7YA5RXL.js +43 -0
- package/dist/{chunk-F5Q2BJFK.js → chunk-VEO4E5HX.js} +8 -7
- package/dist/{exports-Y3NVZFFT.js → exports-KXKBTYJ2-A3QWNDEB.js} +3 -1
- package/dist/index.js +7632 -5397
- package/dist/{mesh-config-O3UKKKAO.js → mesh-config-J6WB4RFV-G7RGPOZA.js} +13 -11
- package/dist/presets/blank/preset.toml +3 -0
- package/dist/presets/default/preset.toml +23 -0
- package/dist/{registry-FUIZ2SKS.js → registry-5PUMDGQP-YVSEVBB4.js} +3 -3
- package/dist/utils-BBA2XQZO-YU5SL3JY.js +8 -0
- package/package.json +9 -6
|
@@ -2,29 +2,28 @@ import {
|
|
|
2
2
|
FLINT_CONFIG_FILENAME,
|
|
3
3
|
FLINT_JSON_FILENAME,
|
|
4
4
|
FLINT_VERSION,
|
|
5
|
+
addExportToConfig,
|
|
5
6
|
addImportToConfig,
|
|
6
7
|
addLatticeReference,
|
|
7
8
|
addModToConfig,
|
|
8
9
|
addShardToConfig,
|
|
9
|
-
addWorkspaceEntry,
|
|
10
10
|
addWorkspaceReference,
|
|
11
11
|
addWorkspaceRepository,
|
|
12
12
|
addWorkspaceSourceRepository,
|
|
13
13
|
createFlintJson,
|
|
14
14
|
createFlintToml,
|
|
15
|
+
getExportDeclarations,
|
|
15
16
|
getFlintConfigPath,
|
|
17
|
+
getFlintImports,
|
|
16
18
|
getFlintJsonPath,
|
|
17
19
|
getFlintJsonVersion,
|
|
18
20
|
getLatticeReference,
|
|
19
21
|
getLatticeReferences,
|
|
20
22
|
getModDeclarations,
|
|
21
23
|
getModDeclarationsFromConfig,
|
|
22
|
-
getRequiredImports,
|
|
23
24
|
getRequiredShardNames,
|
|
24
25
|
getShardDeclarations,
|
|
25
26
|
getShardDeclarationsFromConfig,
|
|
26
|
-
getWorkspaceEntries,
|
|
27
|
-
getWorkspaceEntry,
|
|
28
27
|
getWorkspaceReference,
|
|
29
28
|
getWorkspaceReferences,
|
|
30
29
|
getWorkspaceRepositories,
|
|
@@ -35,52 +34,53 @@ import {
|
|
|
35
34
|
hasFlintToml,
|
|
36
35
|
hasMigration,
|
|
37
36
|
isFlint,
|
|
37
|
+
isLocalShard,
|
|
38
38
|
migrateModConfig,
|
|
39
39
|
migrateShardConfig,
|
|
40
40
|
readFlintJson,
|
|
41
41
|
readFlintToml,
|
|
42
42
|
recordMigration,
|
|
43
|
+
removeExportFromConfig,
|
|
43
44
|
removeImportFromConfig,
|
|
44
45
|
removeLatticeReference,
|
|
45
46
|
removeModFromConfig,
|
|
46
47
|
removeShardFromConfig,
|
|
47
|
-
removeWorkspaceEntry,
|
|
48
48
|
removeWorkspaceReference,
|
|
49
49
|
removeWorkspaceRepository,
|
|
50
50
|
removeWorkspaceSourceRepository,
|
|
51
|
+
resolveShardMode,
|
|
51
52
|
stampSynced,
|
|
52
53
|
stampVersion,
|
|
53
54
|
toKebabCase,
|
|
54
55
|
writeFlintJson,
|
|
55
56
|
writeFlintToml
|
|
56
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-RAH2IR2Z.js";
|
|
57
58
|
export {
|
|
58
59
|
FLINT_CONFIG_FILENAME,
|
|
59
60
|
FLINT_JSON_FILENAME,
|
|
60
61
|
FLINT_VERSION,
|
|
62
|
+
addExportToConfig,
|
|
61
63
|
addImportToConfig,
|
|
62
64
|
addLatticeReference,
|
|
63
65
|
addModToConfig,
|
|
64
66
|
addShardToConfig,
|
|
65
|
-
addWorkspaceEntry,
|
|
66
67
|
addWorkspaceReference,
|
|
67
68
|
addWorkspaceRepository,
|
|
68
69
|
addWorkspaceSourceRepository,
|
|
69
70
|
createFlintJson,
|
|
70
71
|
createFlintToml,
|
|
72
|
+
getExportDeclarations,
|
|
71
73
|
getFlintConfigPath,
|
|
74
|
+
getFlintImports,
|
|
72
75
|
getFlintJsonPath,
|
|
73
76
|
getFlintJsonVersion,
|
|
74
77
|
getLatticeReference,
|
|
75
78
|
getLatticeReferences,
|
|
76
79
|
getModDeclarations,
|
|
77
80
|
getModDeclarationsFromConfig,
|
|
78
|
-
getRequiredImports,
|
|
79
81
|
getRequiredShardNames,
|
|
80
82
|
getShardDeclarations,
|
|
81
83
|
getShardDeclarationsFromConfig,
|
|
82
|
-
getWorkspaceEntries,
|
|
83
|
-
getWorkspaceEntry,
|
|
84
84
|
getWorkspaceReference,
|
|
85
85
|
getWorkspaceReferences,
|
|
86
86
|
getWorkspaceRepositories,
|
|
@@ -91,19 +91,21 @@ export {
|
|
|
91
91
|
hasFlintToml,
|
|
92
92
|
hasMigration,
|
|
93
93
|
isFlint,
|
|
94
|
+
isLocalShard,
|
|
94
95
|
migrateModConfig,
|
|
95
96
|
migrateShardConfig,
|
|
96
97
|
readFlintJson,
|
|
97
98
|
readFlintToml,
|
|
98
99
|
recordMigration,
|
|
100
|
+
removeExportFromConfig,
|
|
99
101
|
removeImportFromConfig,
|
|
100
102
|
removeLatticeReference,
|
|
101
103
|
removeModFromConfig,
|
|
102
104
|
removeShardFromConfig,
|
|
103
|
-
removeWorkspaceEntry,
|
|
104
105
|
removeWorkspaceReference,
|
|
105
106
|
removeWorkspaceRepository,
|
|
106
107
|
removeWorkspaceSourceRepository,
|
|
108
|
+
resolveShardMode,
|
|
107
109
|
stampSynced,
|
|
108
110
|
stampVersion,
|
|
109
111
|
toKebabCase,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[preset]
|
|
2
|
+
name = "default"
|
|
3
|
+
description = "Standard flint with default shards and mods"
|
|
4
|
+
|
|
5
|
+
[shards]
|
|
6
|
+
required = [
|
|
7
|
+
"increments",
|
|
8
|
+
"plan",
|
|
9
|
+
"notepad",
|
|
10
|
+
"reports",
|
|
11
|
+
"comments",
|
|
12
|
+
"learn",
|
|
13
|
+
"flint",
|
|
14
|
+
"knap",
|
|
15
|
+
"orbcode",
|
|
16
|
+
"projects",
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
[mods]
|
|
20
|
+
required = [
|
|
21
|
+
"claude-code",
|
|
22
|
+
"agents",
|
|
23
|
+
]
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanRegistryFile,
|
|
3
|
-
findFlintById,
|
|
4
3
|
findFlintByName,
|
|
5
4
|
findFlintByPath,
|
|
6
5
|
getFlintRegistry,
|
|
7
6
|
getFlintRegistryPath,
|
|
8
7
|
getGlobalFlintDir,
|
|
8
|
+
isFlintNameTaken,
|
|
9
9
|
isPathRegistered,
|
|
10
10
|
registerFlint,
|
|
11
11
|
registerFlintByPath,
|
|
12
12
|
unregisterFlint,
|
|
13
13
|
updateFlintEntry,
|
|
14
14
|
upsertFlintEntry
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VEO4E5HX.js";
|
|
16
16
|
export {
|
|
17
17
|
cleanRegistryFile,
|
|
18
|
-
findFlintById,
|
|
19
18
|
findFlintByName,
|
|
20
19
|
findFlintByPath,
|
|
21
20
|
getFlintRegistry,
|
|
22
21
|
getFlintRegistryPath,
|
|
23
22
|
getGlobalFlintDir,
|
|
23
|
+
isFlintNameTaken,
|
|
24
24
|
isPathRegistered,
|
|
25
25
|
registerFlint,
|
|
26
26
|
registerFlintByPath,
|
package/package.json
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuucognition/flint-cli",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Flint cognitive workspace CLI",
|
|
6
6
|
"license": "PROPRIETARY",
|
|
7
7
|
"bin": {
|
|
8
|
-
"flint": "./bin/flint-prod.js"
|
|
8
|
+
"flint": "./bin/flint-prod.js",
|
|
9
|
+
"flint-dev": "./bin/flint.js"
|
|
9
10
|
},
|
|
10
11
|
"files": [
|
|
11
12
|
"bin/",
|
|
12
13
|
"dist/"
|
|
13
14
|
],
|
|
14
15
|
"dependencies": {
|
|
16
|
+
"@nuucognition/cli-core": "0.0.1-beta.5",
|
|
17
|
+
"cfonts": "^3.3.1",
|
|
15
18
|
"commander": "^12.1.0",
|
|
16
19
|
"glob": "^10.5.0",
|
|
17
20
|
"picocolors": "^1.1.1",
|
|
@@ -23,12 +26,12 @@
|
|
|
23
26
|
"tsup": "^8.3.5",
|
|
24
27
|
"tsx": "^4.19.2",
|
|
25
28
|
"typescript": "^5.9.2",
|
|
26
|
-
"@nuucognition/eslint-config": "0.0.0",
|
|
27
29
|
"@nuucognition/flint": "0.1.0",
|
|
28
|
-
"@nuucognition/typescript-config": "0.0.0",
|
|
29
|
-
"@nuucognition/flint-migrations": "0.1.0",
|
|
30
30
|
"@nuucognition/lattice": "0.1.0",
|
|
31
|
-
"@nuucognition/
|
|
31
|
+
"@nuucognition/typescript-config": "0.0.0",
|
|
32
|
+
"@nuucognition/flint-runtime": "0.0.1",
|
|
33
|
+
"@nuucognition/eslint-config": "0.0.0",
|
|
34
|
+
"@nuucognition/flint-migrations": "0.1.0"
|
|
32
35
|
},
|
|
33
36
|
"scripts": {
|
|
34
37
|
"dev": "FLINT_MODE=dev tsx src/index.ts",
|