easc 0.0.16 → 0.0.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easc",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "Expo App Services for Cloudflare - Deploy tool for Expo OTA updates to Cloudflare Workers",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -82,16 +82,16 @@ export const build: CommandModule = {
82
82
  logger.section(`${platformName} Build`);
83
83
 
84
84
  if (args.clearCache) {
85
- logger.startSpinner(`Running prebuild for ${platformName}...`);
85
+ logger.info(`Running prebuild for ${platformName}...`);
86
86
  runx(`expo prebuild --platform ${platform} --clean`, {
87
87
  cwd: process.cwd(),
88
- stdio: "ignore",
88
+ stdio: "inherit",
89
89
  env: { ...process.env, CI: "1" },
90
90
  });
91
- logger.succeedSpinner("Prebuild completed");
91
+ logger.success("Prebuild completed");
92
92
  }
93
93
 
94
- logger.startSpinner(`Building ${platformName} locally...`);
94
+ logger.info(`Building ${platformName} locally...`);
95
95
 
96
96
  const buildFlags = [
97
97
  `--platform ${platform}`,
@@ -109,10 +109,10 @@ export const build: CommandModule = {
109
109
  stdio: "inherit",
110
110
  });
111
111
 
112
- logger.succeedSpinner(`${platformName} build completed`);
112
+ logger.success(`${platformName} build completed`);
113
113
 
114
114
  if (args.autoSubmit) {
115
- logger.startSpinner(`Submitting ${platformName} build...`);
115
+ logger.info(`Submitting ${platformName} build...`);
116
116
 
117
117
  const artifactPath =
118
118
  platform === Platform.iOS
@@ -121,7 +121,7 @@ export const build: CommandModule = {
121
121
  findBuildArtifact("build-*.apk");
122
122
 
123
123
  if (!artifactPath) {
124
- logger.failSpinner(`No ${platformName} build artifact found`);
124
+ logger.error(`No ${platformName} build artifact found`);
125
125
  process.exit(1);
126
126
  }
127
127
 
@@ -132,7 +132,7 @@ export const build: CommandModule = {
132
132
  { cwd: process.cwd(), stdio: "inherit" }
133
133
  );
134
134
 
135
- logger.succeedSpinner(`${platformName} submitted`);
135
+ logger.success(`${platformName} submitted`);
136
136
 
137
137
  if (fs.existsSync(artifactPath)) {
138
138
  fs.unlinkSync(artifactPath);
@@ -104,16 +104,16 @@ export const update: CommandModule = {
104
104
  }
105
105
 
106
106
  if (!args.skipBuild) {
107
- logger.startSpinner("Building app bundles...");
107
+ logger.info("Building app bundles...");
108
108
 
109
109
  runx(
110
110
  args.exportDir !== "dist"
111
111
  ? `expo export --output-dir ${args.exportDir}`
112
112
  : `expo export`,
113
- { cwd: process.cwd(), stdio: "ignore" }
113
+ { cwd: process.cwd(), stdio: "inherit" }
114
114
  );
115
115
 
116
- logger.succeedSpinner("Build completed");
116
+ logger.success("Build completed");
117
117
  } else {
118
118
  logger.info(
119
119
  `Skipping build (using existing export from ${args.exportDir})`