@shopify/create-app 0.5.2 → 0.9.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @shopify/create-app
2
2
 
3
+ ## 0.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Fix missing readable-stream dependency
8
+
9
+ ## 0.8.0
10
+
11
+ ### Minor Changes
12
+
13
+ - b07c608: Rename @shopify/core to @shopify/cli-kit and finish up the create-app workflow
14
+
15
+ ## 0.7.0
16
+
17
+ ### Minor Changes
18
+
19
+ - Add missing template to "files"
20
+
21
+ ## 0.6.0
22
+
23
+ ### Minor Changes
24
+
25
+ - 011cd5e: Implement the create-app workflow
26
+ - 7b69661: Bundle the CLI using Rollup
27
+
3
28
  ## 0.5.2
4
29
 
5
30
  ### Patch Changes
@@ -0,0 +1,3 @@
1
+ @echo off
2
+
3
+ node "%~dp0\create-app-dev.js" %*
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { run, flush, Errors, settings } from '@oclif/core';
4
+ import { exec, execSync } from "child_process";
5
+ import path from 'path';
6
+ import { fileURLToPath } from 'url';
7
+
8
+ if (!process.argv.includes("init")) {
9
+ process.argv.push('init');
10
+ }
11
+
12
+ console.log("Bundling @shopify/create-app");
13
+ execSync("yarn build", {cwd: path.join(path.dirname(fileURLToPath(import.meta.url)), ".."), stdio: 'ignore'})
14
+
15
+ settings.debug = true;
16
+
17
+ // Start the CLI
18
+ run(void 0, import.meta.url).then(flush).catch(Errors.handle)
@@ -0,0 +1,3 @@
1
+ @echo off
2
+
3
+ node "%~dp0\create-app-run.js" %*
@@ -4,15 +4,15 @@ if (!process.argv.includes("init")) {
4
4
  process.argv.push('init');
5
5
  }
6
6
 
7
- const oclif = require('@oclif/core')
8
- const Bugsnag = require('@bugsnag/js')
7
+ import { run, flush, Errors } from '@oclif/core';
8
+ import Bugsnag from "@bugsnag/js";
9
9
 
10
10
  // Set up error tracking
11
11
  Bugsnag.start({apiKey: "9e1e6889176fd0c795d5c659225e0fae", logger: null})
12
12
 
13
13
  // Start the CLI
14
- oclif.run().then(require('@oclif/core/flush')).catch((error) => {
14
+ run(void 0, import.meta.url).then(flush).catch((error) => {
15
15
  return new Promise((resolve, reject) => {
16
16
  Bugsnag.notify(error, null, resolve);
17
- }).then(oclif.Errors.handle(error));
17
+ }).then(Errors.handle(error));
18
18
  })