@shopify/create-app 0.9.0 → 0.13.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,29 @@
1
1
  # @shopify/create-app
2
2
 
3
+ ## 0.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Fix the app creation workflow
8
+
9
+ ## 0.12.0
10
+
11
+ ### Minor Changes
12
+
13
+ - cb12e51: Populate the author when generating a new app
14
+
15
+ ## 0.11.0
16
+
17
+ ### Minor Changes
18
+
19
+ - Print the env. variables when creating apps
20
+
21
+ ## 0.10.0
22
+
23
+ ### Minor Changes
24
+
25
+ - Fix prompts not working when bundling the code
26
+
3
27
  ## 0.9.0
4
28
 
5
29
  ### Minor Changes
@@ -1,18 +1,5 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- if (!process.argv.includes("init")) {
4
- process.argv.push('init');
5
- }
3
+ import runCreateApp from "../dist/index.js"
6
4
 
7
- import { run, flush, Errors } from '@oclif/core';
8
- import Bugsnag from "@bugsnag/js";
9
-
10
- // Set up error tracking
11
- Bugsnag.start({apiKey: "9e1e6889176fd0c795d5c659225e0fae", logger: null})
12
-
13
- // Start the CLI
14
- run(void 0, import.meta.url).then(flush).catch((error) => {
15
- return new Promise((resolve, reject) => {
16
- Bugsnag.notify(error, null, resolve);
17
- }).then(Errors.handle(error));
18
- })
5
+ runCreateApp();
package/bin/dev ADDED
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ DIRECTORY=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
5
+
6
+ echo "Building..."
7
+ yarn --cwd $DIRECTORY/.. build &> /dev/null
8
+
9
+ $DIRECTORY/create-app-run.js $@