@apps-in-toss/web-framework 3.0.0-beta.b705d2b → 3.0.0-beta.d37d458

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/dist/cli.js CHANGED
@@ -131,7 +131,7 @@ async function getWebBundleFiles(webBundleDir) {
131
131
  const filePaths = await getFilePathsInDir(webBundleDir);
132
132
  const files = [];
133
133
  for (const filePath of filePaths) {
134
- const name = filePath.replace(webBundleDir + "/", "");
134
+ const name = path2.relative(webBundleDir, filePath);
135
135
  const data = new Uint8Array(await readFile(filePath));
136
136
  files.push({ name, data });
137
137
  }
@@ -724,9 +724,6 @@ import jscodeshift from "jscodeshift";
724
724
  async function migrateWebFrameworkV3() {
725
725
  const projectRoot = getPackageRoot(process.cwd());
726
726
  p4.log.info("@apps-in-toss/web-framework V3 \uC790\uB3D9 \uB9C8\uC774\uADF8\uB808\uC774\uC158\uC744 \uC2DC\uC791\uD569\uB2C8\uB2E4.");
727
- p4.log.info(
728
- "\uC790\uB3D9 \uB9C8\uC774\uADF8\uB808\uC774\uC158\uC5D0 \uC2E4\uD328\uD560 \uACBD\uC6B0, \uCEE4\uBBA4\uB2C8\uD2F0\uC5D0\uC11C \uC218\uB3D9 \uB9C8\uC774\uADF8\uB808\uC774\uC158 \uAC00\uC774\uB4DC\uB97C \uCC38\uACE0\uD574\uC8FC\uC138\uC694.\nhttps://techchat-apps-in-toss.toss.im"
729
- );
730
727
  const { config: graniteConfig, filepath: graniteConfigPath } = await getGraniteConfig(projectRoot);
731
728
  await migrateAppsInTossConfig(
732
729
  graniteConfigPath,
package/dist/config.cjs CHANGED
@@ -41,6 +41,8 @@ function defineConfig(config) {
41
41
  navigationBar: {
42
42
  withBackButton: true,
43
43
  withHomeButton: false,
44
+ transparentBackground: false,
45
+ theme: "light",
44
46
  ...config.navigationBar
45
47
  },
46
48
  webBundleDir: config.webBundleDir ?? "dist"
package/dist/config.d.cts CHANGED
@@ -25,6 +25,8 @@ interface AppsInTossConfig {
25
25
  navigationBar?: {
26
26
  withBackButton?: boolean;
27
27
  withHomeButton?: boolean;
28
+ transparentBackground?: boolean;
29
+ theme?: "light" | "dark";
28
30
  initialAccessoryButton?: {
29
31
  id: string;
30
32
  title: string;
package/dist/config.d.ts CHANGED
@@ -25,6 +25,8 @@ interface AppsInTossConfig {
25
25
  navigationBar?: {
26
26
  withBackButton?: boolean;
27
27
  withHomeButton?: boolean;
28
+ transparentBackground?: boolean;
29
+ theme?: "light" | "dark";
28
30
  initialAccessoryButton?: {
29
31
  id: string;
30
32
  title: string;
package/dist/config.js CHANGED
@@ -17,6 +17,8 @@ function defineConfig(config) {
17
17
  navigationBar: {
18
18
  withBackButton: true,
19
19
  withHomeButton: false,
20
+ transparentBackground: false,
21
+ theme: "light",
20
22
  ...config.navigationBar
21
23
  },
22
24
  webBundleDir: config.webBundleDir ?? "dist"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@apps-in-toss/web-framework",
3
3
  "type": "module",
4
- "version": "3.0.0-beta.b705d2b",
4
+ "version": "3.0.0-beta.d37d458",
5
5
  "exports": {
6
6
  ".": {
7
7
  "import": {
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@apps-in-toss/ait-format": "^1.0.0",
39
- "@apps-in-toss/webview-bridge": "^3.0.0-beta.b705d2b",
39
+ "@apps-in-toss/webview-bridge": "^3.0.0-beta.d37d458",
40
40
  "@clack/prompts": "^1.3.0",
41
41
  "clipanion": "^4.0.0-rc.4",
42
42
  "cosmiconfig": "^9.0.1",