@akanjs/devkit 3.3.0-rc.7 → 3.3.0-rc.9
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/CHANGELOG.md +186 -0
- package/README.ko.md +3 -2
- package/README.md +3 -3
- package/akanApp/akanApp.host.test.ts +1 -1
- package/akanConfig/akanConfig.test.ts +55 -7
- package/akanConfig/akanConfig.ts +12 -65
- package/akanConfig/dockerImage.ts +17 -0
- package/akanConfig/nativeKeys.ts +52 -0
- package/codeAgent/agent/CodeAgent.ts +36 -16
- package/codeAgent/agent/CodeAgentAllowed.ts +35 -0
- package/codeAgent/agent/CodeAgentCommandLine.ts +372 -0
- package/codeAgent/agent/CodeAgentGate.ts +23 -4
- package/codeAgent/agent/CodeAgentRpcHost.ts +1 -1
- package/codeAgent/agent/codeAgent.test.ts +62 -0
- package/codeAgent/agent/codeAgentCommandLine.test.ts +212 -0
- package/codeAgent/agent/codeAgentContract.test.ts +117 -5
- package/codeAgent/skills/akan-agent/SKILL.md +8 -1
- package/codeAgent/skills/akan-code/SKILL.md +38 -3
- package/frontendBuild/buildRouteClient.test.ts +2 -7
- package/frontendBuild/clientEntryDiscovery.ts +2 -2
- package/frontendBuild/devBarrelImports.test.ts +30 -0
- package/frontendBuild/devBarrelImports.ts +2 -2
- package/incrementalBuilder/buildBatch.proc.ts +9 -9
- package/incrementalBuilder/buildBatchProtocol.ts +1 -1
- package/incrementalBuilder/builderBoot.ts +5 -5
- package/incrementalBuilder/builderGraphPayloads.ts +4 -4
- package/incrementalBuilder/builderLanes.ts +2 -2
- package/incrementalBuilder/builderWatch.ts +8 -8
- package/incrementalBuilder/csrRegistry.ts +4 -4
- package/incrementalBuilder/incrementalBuilder.proc.ts +8 -8
- package/incrementalBuilder/ssrRegistry.ts +6 -6
- package/index.ts +1 -1
- package/integration/renderAdmissionSoak.test.ts +99 -0
- package/integration/renderAdmissionSoak.ts +609 -0
- package/mobile/nativeConfig.test.ts +79 -0
- package/mobile/nativeConfig.ts +35 -6
- package/package.json +14 -169
- package/packageExports.test.ts +38 -24
- package/transforms/barrelAnalyzer.ts +2 -2
- package/transforms/transforms.test.ts +3 -3
- package/tunnel/createTunnel.test.ts +29 -8
- package/tunnel/createTunnel.ts +18 -11
- package/util/fileEditor.ts +1 -0
- package/util/selectModel.ts +1 -0
- package/workspace/getRelatedCnsts.ts +7 -0
|
@@ -41,6 +41,7 @@ const scanModuleSpecifiers = (source: string, filePath: string, includeExports:
|
|
|
41
41
|
return importSpecifiers;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
+
/** @deprecated Nothing in akanjs uses it; removed in a later minor. */
|
|
44
45
|
export const parseTsConfig = (tsConfigPath: string = "./tsconfig.json") => {
|
|
45
46
|
const configFile = ts.readConfigFile(tsConfigPath, (path) => {
|
|
46
47
|
return ts.sys.readFile(path);
|
|
@@ -73,12 +74,15 @@ const collectFiles = (constantFilePath: string, parsedConfig: ts.ParsedCommandLi
|
|
|
73
74
|
return { allFilesToAnalyze, analyzedFiles };
|
|
74
75
|
};
|
|
75
76
|
|
|
77
|
+
/** @deprecated Nothing in akanjs uses it; removed in a later minor. */
|
|
76
78
|
export const collectImportedFiles = (constantFilePath: string, parsedConfig: ts.ParsedCommandLine) =>
|
|
77
79
|
collectFiles(constantFilePath, parsedConfig, false);
|
|
78
80
|
|
|
81
|
+
/** @deprecated Nothing in akanjs uses it; removed in a later minor. */
|
|
79
82
|
export const collectExportedFiles = (constantFilePath: string, parsedConfig: ts.ParsedCommandLine) =>
|
|
80
83
|
collectFiles(constantFilePath, parsedConfig, true);
|
|
81
84
|
|
|
85
|
+
/** @deprecated Nothing in akanjs uses it; removed in a later minor. */
|
|
82
86
|
export const createTsProgram = (filePaths: Set<string>, options: ts.CompilerOptions) => {
|
|
83
87
|
const spinner = ora("Creating TypeScript program for all files...");
|
|
84
88
|
spinner.start();
|
|
@@ -94,6 +98,7 @@ export const createTsProgram = (filePaths: Set<string>, options: ts.CompilerOpti
|
|
|
94
98
|
};
|
|
95
99
|
};
|
|
96
100
|
|
|
101
|
+
/** @deprecated Nothing in akanjs uses it; removed in a later minor. */
|
|
97
102
|
export const createSymbolCache = (checker: ts.TypeChecker) => {
|
|
98
103
|
const symbolCache = new Map<string, ts.Symbol | undefined>();
|
|
99
104
|
|
|
@@ -108,6 +113,7 @@ export const createSymbolCache = (checker: ts.TypeChecker) => {
|
|
|
108
113
|
};
|
|
109
114
|
};
|
|
110
115
|
|
|
116
|
+
/** @deprecated Nothing in akanjs uses it; removed in a later minor. */
|
|
111
117
|
export const analyzeProperties = (filesToAnalyze: Set<string>, program: ts.Program, checker: ts.TypeChecker) => {
|
|
112
118
|
const propertyMap = new Map<
|
|
113
119
|
string,
|
|
@@ -226,6 +232,7 @@ export const analyzeProperties = (filesToAnalyze: Set<string>, program: ts.Progr
|
|
|
226
232
|
return propertyMap;
|
|
227
233
|
};
|
|
228
234
|
|
|
235
|
+
/** @deprecated Nothing in akanjs uses it; removed in a later minor. */
|
|
229
236
|
export const getRelatedCnsts = (constantFilePath: string) => {
|
|
230
237
|
const parsedConfig = parseTsConfig();
|
|
231
238
|
const { allFilesToAnalyze } = collectImportedFiles(constantFilePath, parsedConfig);
|