@apps-in-toss/web-framework 3.0.0-beta.16e772d → 3.0.0-beta.96984fd

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
  }
@@ -486,11 +486,6 @@ var DeployCommand = class extends Command2 {
486
486
  typeof deploymentId === "string",
487
487
  "ait \uD30C\uC77C\uC5D0 deploymentId\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4"
488
488
  );
489
- const runtimeVersion = reader.metadata?.runtimeVersion;
490
- assert(
491
- typeof runtimeVersion === "string" && runtimeVersion.length > 0,
492
- "ait \uD30C\uC77C\uC5D0 runtimeVersion\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. \uBC88\uB4E4\uC744 \uB2E4\uC2DC \uBE4C\uB4DC\uD574\uC8FC\uC138\uC694."
493
- );
494
489
  const colorAppName = this.decorate(appName, colors.cyan);
495
490
  if (this.schemeOnly) {
496
491
  await uploadArtifact({
@@ -729,9 +724,6 @@ import jscodeshift from "jscodeshift";
729
724
  async function migrateWebFrameworkV3() {
730
725
  const projectRoot = getPackageRoot(process.cwd());
731
726
  p4.log.info("@apps-in-toss/web-framework V3 \uC790\uB3D9 \uB9C8\uC774\uADF8\uB808\uC774\uC158\uC744 \uC2DC\uC791\uD569\uB2C8\uB2E4.");
732
- p4.log.info(
733
- "\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"
734
- );
735
727
  const { config: graniteConfig, filepath: graniteConfigPath } = await getGraniteConfig(projectRoot);
736
728
  await migrateAppsInTossConfig(
737
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.16e772d",
4
+ "version": "3.0.0-beta.96984fd",
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.16e772d",
39
+ "@apps-in-toss/webview-bridge": "^3.0.0-beta.96984fd",
40
40
  "@clack/prompts": "^1.3.0",
41
41
  "clipanion": "^4.0.0-rc.4",
42
42
  "cosmiconfig": "^9.0.1",