@akanjs/devkit 2.4.0-rc.2 → 2.4.0-rc.3
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.
|
@@ -265,8 +265,22 @@ describe("AkanAppConfig", () => {
|
|
|
265
265
|
`postgres@${runtimeDependencies.postgres}`,
|
|
266
266
|
`protobufjs@${runtimeDependencies.protobufjs}`,
|
|
267
267
|
]);
|
|
268
|
-
expect(config.getMobileRuntimePackages()).toEqual([
|
|
269
|
-
|
|
268
|
+
expect(config.getMobileRuntimePackages()).toEqual([
|
|
269
|
+
"firebase",
|
|
270
|
+
"@capacitor/cli",
|
|
271
|
+
"@capacitor/core",
|
|
272
|
+
"@capacitor/ios",
|
|
273
|
+
"@capacitor/android",
|
|
274
|
+
"@capacitor/assets",
|
|
275
|
+
]);
|
|
276
|
+
expect(config.getMissingMobileDependencySpecs()).toEqual([
|
|
277
|
+
`firebase@${runtimeDependencies.firebase}`,
|
|
278
|
+
`@capacitor/cli@${runtimeDependencies["@capacitor/cli"]}`,
|
|
279
|
+
`@capacitor/core@${runtimeDependencies["@capacitor/core"]}`,
|
|
280
|
+
`@capacitor/ios@${runtimeDependencies["@capacitor/ios"]}`,
|
|
281
|
+
`@capacitor/android@${runtimeDependencies["@capacitor/android"]}`,
|
|
282
|
+
`@capacitor/assets@${runtimeDependencies["@capacitor/assets"]}`,
|
|
283
|
+
]);
|
|
270
284
|
});
|
|
271
285
|
|
|
272
286
|
test("normalizes multiple mobile targets and validates base paths", () => {
|
package/akanConfig/akanConfig.ts
CHANGED
|
@@ -52,9 +52,18 @@ const WORKSPACE_BARREL_FACETS = ["ui", "webkit", "common", "client", "server"] a
|
|
|
52
52
|
const SSR_RUNTIME_PACKAGES = ["react", "react-dom", "react-server-dom-webpack"] as const;
|
|
53
53
|
const NATIVE_RUNTIME_PACKAGES = ["sharp"] as const;
|
|
54
54
|
const DEFAULT_BACKEND_RUNTIME_PACKAGES = ["croner"] as const;
|
|
55
|
-
//
|
|
56
|
-
// on demand when a mobile target is built or started
|
|
57
|
-
|
|
55
|
+
// Packages required to build/run a mobile target that are not part of the base bootstrap;
|
|
56
|
+
// installed on demand when a mobile target is built or started. Covers the firebase client
|
|
57
|
+
// (push tokens) plus the Capacitor toolchain (`npx cap` / `npx @capacitor/assets`), which is
|
|
58
|
+
// otherwise declared only as optional peers and never auto-installed on a fresh workspace.
|
|
59
|
+
const MOBILE_RUNTIME_PACKAGES = [
|
|
60
|
+
"firebase",
|
|
61
|
+
"@capacitor/cli",
|
|
62
|
+
"@capacitor/core",
|
|
63
|
+
"@capacitor/ios",
|
|
64
|
+
"@capacitor/android",
|
|
65
|
+
"@capacitor/assets",
|
|
66
|
+
] as const;
|
|
58
67
|
const DATABASE_MODE_RUNTIME_PACKAGES = {
|
|
59
68
|
single: [],
|
|
60
69
|
multiple: ["@libsql/client", "bullmq", "ioredis", "protobufjs"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akanjs/devkit",
|
|
3
|
-
"version": "2.4.0-rc.
|
|
3
|
+
"version": "2.4.0-rc.3",
|
|
4
4
|
"sourceType": "module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@langchain/openai": "^1.4.6",
|
|
33
33
|
"@tailwindcss/node": "^4.3.0",
|
|
34
34
|
"@trapezedev/project": "^7.1.4",
|
|
35
|
-
"akanjs": "2.4.0-rc.
|
|
35
|
+
"akanjs": "2.4.0-rc.3",
|
|
36
36
|
"chalk": "^5.6.2",
|
|
37
37
|
"commander": "^14.0.3",
|
|
38
38
|
"daisyui": "5.5.23",
|