@nuucognition/flint-cli 0.1.0-beta.0
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/README.md +344 -0
- package/bin/flint-prod.js +7 -0
- package/bin/flint.js +19 -0
- package/dist/chunk-BVYUS7NX.js +386 -0
- package/dist/chunk-EICASOEX.js +1524 -0
- package/dist/chunk-F5Q2BJFK.js +233 -0
- package/dist/exports-Y3NVZFFT.js +14 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +11118 -0
- package/dist/mesh-config-O3UKKKAO.js +112 -0
- package/dist/registry-FUIZ2SKS.js +30 -0
- package/package.json +39 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FLINT_CONFIG_FILENAME,
|
|
3
|
+
FLINT_JSON_FILENAME,
|
|
4
|
+
FLINT_VERSION,
|
|
5
|
+
addImportToConfig,
|
|
6
|
+
addLatticeReference,
|
|
7
|
+
addModToConfig,
|
|
8
|
+
addShardToConfig,
|
|
9
|
+
addWorkspaceEntry,
|
|
10
|
+
addWorkspaceReference,
|
|
11
|
+
addWorkspaceRepository,
|
|
12
|
+
addWorkspaceSourceRepository,
|
|
13
|
+
createFlintJson,
|
|
14
|
+
createFlintToml,
|
|
15
|
+
getFlintConfigPath,
|
|
16
|
+
getFlintJsonPath,
|
|
17
|
+
getFlintJsonVersion,
|
|
18
|
+
getLatticeReference,
|
|
19
|
+
getLatticeReferences,
|
|
20
|
+
getModDeclarations,
|
|
21
|
+
getModDeclarationsFromConfig,
|
|
22
|
+
getRequiredImports,
|
|
23
|
+
getRequiredShardNames,
|
|
24
|
+
getShardDeclarations,
|
|
25
|
+
getShardDeclarationsFromConfig,
|
|
26
|
+
getWorkspaceEntries,
|
|
27
|
+
getWorkspaceEntry,
|
|
28
|
+
getWorkspaceReference,
|
|
29
|
+
getWorkspaceReferences,
|
|
30
|
+
getWorkspaceRepositories,
|
|
31
|
+
getWorkspaceRepository,
|
|
32
|
+
getWorkspaceSourceRepositories,
|
|
33
|
+
getWorkspaceSourceRepository,
|
|
34
|
+
hasFlintJson,
|
|
35
|
+
hasFlintToml,
|
|
36
|
+
hasMigration,
|
|
37
|
+
isFlint,
|
|
38
|
+
migrateModConfig,
|
|
39
|
+
migrateShardConfig,
|
|
40
|
+
readFlintJson,
|
|
41
|
+
readFlintToml,
|
|
42
|
+
recordMigration,
|
|
43
|
+
removeImportFromConfig,
|
|
44
|
+
removeLatticeReference,
|
|
45
|
+
removeModFromConfig,
|
|
46
|
+
removeShardFromConfig,
|
|
47
|
+
removeWorkspaceEntry,
|
|
48
|
+
removeWorkspaceReference,
|
|
49
|
+
removeWorkspaceRepository,
|
|
50
|
+
removeWorkspaceSourceRepository,
|
|
51
|
+
stampSynced,
|
|
52
|
+
stampVersion,
|
|
53
|
+
toKebabCase,
|
|
54
|
+
writeFlintJson,
|
|
55
|
+
writeFlintToml
|
|
56
|
+
} from "./chunk-EICASOEX.js";
|
|
57
|
+
export {
|
|
58
|
+
FLINT_CONFIG_FILENAME,
|
|
59
|
+
FLINT_JSON_FILENAME,
|
|
60
|
+
FLINT_VERSION,
|
|
61
|
+
addImportToConfig,
|
|
62
|
+
addLatticeReference,
|
|
63
|
+
addModToConfig,
|
|
64
|
+
addShardToConfig,
|
|
65
|
+
addWorkspaceEntry,
|
|
66
|
+
addWorkspaceReference,
|
|
67
|
+
addWorkspaceRepository,
|
|
68
|
+
addWorkspaceSourceRepository,
|
|
69
|
+
createFlintJson,
|
|
70
|
+
createFlintToml,
|
|
71
|
+
getFlintConfigPath,
|
|
72
|
+
getFlintJsonPath,
|
|
73
|
+
getFlintJsonVersion,
|
|
74
|
+
getLatticeReference,
|
|
75
|
+
getLatticeReferences,
|
|
76
|
+
getModDeclarations,
|
|
77
|
+
getModDeclarationsFromConfig,
|
|
78
|
+
getRequiredImports,
|
|
79
|
+
getRequiredShardNames,
|
|
80
|
+
getShardDeclarations,
|
|
81
|
+
getShardDeclarationsFromConfig,
|
|
82
|
+
getWorkspaceEntries,
|
|
83
|
+
getWorkspaceEntry,
|
|
84
|
+
getWorkspaceReference,
|
|
85
|
+
getWorkspaceReferences,
|
|
86
|
+
getWorkspaceRepositories,
|
|
87
|
+
getWorkspaceRepository,
|
|
88
|
+
getWorkspaceSourceRepositories,
|
|
89
|
+
getWorkspaceSourceRepository,
|
|
90
|
+
hasFlintJson,
|
|
91
|
+
hasFlintToml,
|
|
92
|
+
hasMigration,
|
|
93
|
+
isFlint,
|
|
94
|
+
migrateModConfig,
|
|
95
|
+
migrateShardConfig,
|
|
96
|
+
readFlintJson,
|
|
97
|
+
readFlintToml,
|
|
98
|
+
recordMigration,
|
|
99
|
+
removeImportFromConfig,
|
|
100
|
+
removeLatticeReference,
|
|
101
|
+
removeModFromConfig,
|
|
102
|
+
removeShardFromConfig,
|
|
103
|
+
removeWorkspaceEntry,
|
|
104
|
+
removeWorkspaceReference,
|
|
105
|
+
removeWorkspaceRepository,
|
|
106
|
+
removeWorkspaceSourceRepository,
|
|
107
|
+
stampSynced,
|
|
108
|
+
stampVersion,
|
|
109
|
+
toKebabCase,
|
|
110
|
+
writeFlintJson,
|
|
111
|
+
writeFlintToml
|
|
112
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cleanRegistryFile,
|
|
3
|
+
findFlintById,
|
|
4
|
+
findFlintByName,
|
|
5
|
+
findFlintByPath,
|
|
6
|
+
getFlintRegistry,
|
|
7
|
+
getFlintRegistryPath,
|
|
8
|
+
getGlobalFlintDir,
|
|
9
|
+
isPathRegistered,
|
|
10
|
+
registerFlint,
|
|
11
|
+
registerFlintByPath,
|
|
12
|
+
unregisterFlint,
|
|
13
|
+
updateFlintEntry,
|
|
14
|
+
upsertFlintEntry
|
|
15
|
+
} from "./chunk-F5Q2BJFK.js";
|
|
16
|
+
export {
|
|
17
|
+
cleanRegistryFile,
|
|
18
|
+
findFlintById,
|
|
19
|
+
findFlintByName,
|
|
20
|
+
findFlintByPath,
|
|
21
|
+
getFlintRegistry,
|
|
22
|
+
getFlintRegistryPath,
|
|
23
|
+
getGlobalFlintDir,
|
|
24
|
+
isPathRegistered,
|
|
25
|
+
registerFlint,
|
|
26
|
+
registerFlintByPath,
|
|
27
|
+
unregisterFlint,
|
|
28
|
+
updateFlintEntry,
|
|
29
|
+
upsertFlintEntry
|
|
30
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nuucognition/flint-cli",
|
|
3
|
+
"version": "0.1.0-beta.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Flint cognitive workspace CLI",
|
|
6
|
+
"license": "PROPRIETARY",
|
|
7
|
+
"bin": {
|
|
8
|
+
"flint": "./bin/flint-prod.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"bin/",
|
|
12
|
+
"dist/"
|
|
13
|
+
],
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"commander": "^12.1.0",
|
|
16
|
+
"glob": "^10.5.0",
|
|
17
|
+
"picocolors": "^1.1.1",
|
|
18
|
+
"yaml": "^2.6.0"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@types/node": "^20.19.9",
|
|
22
|
+
"eslint": "^9.32.0",
|
|
23
|
+
"tsup": "^8.3.5",
|
|
24
|
+
"tsx": "^4.19.2",
|
|
25
|
+
"typescript": "^5.9.2",
|
|
26
|
+
"@nuucognition/eslint-config": "0.0.0",
|
|
27
|
+
"@nuucognition/typescript-config": "0.0.0",
|
|
28
|
+
"@nuucognition/flint-migrations": "0.1.0",
|
|
29
|
+
"@nuucognition/flint-runtime": "0.0.1",
|
|
30
|
+
"@nuucognition/flint": "0.1.0",
|
|
31
|
+
"@nuucognition/lattice": "0.1.0"
|
|
32
|
+
},
|
|
33
|
+
"scripts": {
|
|
34
|
+
"dev": "FLINT_MODE=dev tsx src/index.ts",
|
|
35
|
+
"build": "tsup",
|
|
36
|
+
"typecheck": "tsc --noEmit",
|
|
37
|
+
"lint": "eslint ."
|
|
38
|
+
}
|
|
39
|
+
}
|