@akanjs/devkit 3.3.0-rc.82 → 3.3.0-rc.83

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.
@@ -137,6 +137,7 @@ describe("NativeConfig.build", () => {
137
137
  ],
138
138
  security: { csp: policy() },
139
139
  deepLinks: { schemes: ["minimal"], domains: ["example.com"] },
140
+ ios: { debugAppIdSuffix: ".debug" },
140
141
  android: {
141
142
  debugAppIdSuffix: ".debug",
142
143
  googleServices: path.resolve("/repo/apps/minimal", "secrets/google-services.json"),
@@ -185,6 +186,7 @@ describe("NativeConfig.build", () => {
185
186
  android: { manifest: ['<queries><package android:name="com.kakao.talk" /></queries>'] },
186
187
  resources: [{ from: path.resolve("/repo/apps/portal", "assets/chime.mp3"), to: "android/res/raw/chime.mp3" }],
187
188
  },
189
+ ios: { debugAppIdSuffix: ".debug" },
188
190
  android: { debugAppIdSuffix: ".debug" },
189
191
  keyboard: { resize: "none" },
190
192
  icon: path.resolve("/repo/apps/portal", "assets/icon.png"),
@@ -503,7 +505,7 @@ describe("NativeConfig.build", () => {
503
505
  expect((await NativeApi.load(repoApp)).validateConfig(config, { appDir: root })).toEqual([]);
504
506
  });
505
507
 
506
- test("ios.hideFormAccessoryBar reaches the iOS shell, and the runtime accepts it; left out, the bar stays", async () => {
508
+ test("ios.hideFormAccessoryBar reaches the iOS shell next to the dev build's id suffix, and the runtime accepts it", async () => {
507
509
  const root = await makeTempRoot();
508
510
  const build = (ios?: { hideFormAccessoryBar?: boolean }) =>
509
511
  NativeConfig.build({
@@ -516,9 +518,9 @@ describe("NativeConfig.build", () => {
516
518
  }).config;
517
519
  const config = build({ hideFormAccessoryBar: true });
518
520
 
519
- expect(config.ios).toEqual({ hideFormAccessoryBar: true });
520
- expect(build().ios).toBeUndefined();
521
- expect(build({ hideFormAccessoryBar: false }).ios).toBeUndefined();
521
+ expect(config.ios).toEqual({ debugAppIdSuffix: ".debug", hideFormAccessoryBar: true });
522
+ expect(build().ios).toEqual({ debugAppIdSuffix: ".debug" });
523
+ expect(build({ hideFormAccessoryBar: false }).ios).toEqual({ debugAppIdSuffix: ".debug" });
522
524
  await mkdir(path.join(root, "web"), { recursive: true });
523
525
  await writeFile(path.join(root, "web/index.html"), "<html><head></head><body></body></html>");
524
526
  expect((await NativeApi.load(repoApp)).validateConfig(config, { appDir: root })).toEqual([]);
@@ -259,8 +259,8 @@ export class NativeConfig {
259
259
  }
260
260
  : {}),
261
261
  ...(target.ios?.privacy ? { privacy: target.ios.privacy } : {}),
262
- ...(target.ios?.hideFormAccessoryBar ? { ios: { hideFormAccessoryBar: true } } : {}),
263
- //? assetlinks.json vouches for `<appId>.debug` outside main, the suffix a debug build installs under.
262
+ //? A dev build installs as `<appId>.debug` next to the store app; AASA and assetlinks.json vouch for it outside main.
263
+ ios: { debugAppIdSuffix: ".debug", ...(target.ios?.hideFormAccessoryBar ? { hideFormAccessoryBar: true } : {}) },
264
264
  android: {
265
265
  debugAppIdSuffix: ".debug",
266
266
  ...(googleServices ? { googleServices: abs(googleServices) } : {}),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/devkit",
3
- "version": "3.3.0-rc.82",
3
+ "version": "3.3.0-rc.83",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -52,10 +52,10 @@
52
52
  "./workspace/getRelatedCnsts": "./workspace/getRelatedCnsts.ts"
53
53
  },
54
54
  "dependencies": {
55
- "@akanjs/language": "3.3.0-rc.82",
55
+ "@akanjs/language": "3.3.0-rc.83",
56
56
  "@inquirer/prompts": "^8.7.3",
57
57
  "@tailwindcss/node": "^4.3.3",
58
- "akanjs": "3.3.0-rc.82",
58
+ "akanjs": "3.3.0-rc.83",
59
59
  "chalk": "^6.0.1",
60
60
  "commander": "^15.0.0",
61
61
  "dayjs": "^1.11.23",