@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 +25 -0
- package/bin/create-app-dev.cmd +3 -0
- package/bin/create-app-dev.js +18 -0
- package/bin/create-app-run.cmd +3 -0
- package/bin/{run → create-app-run.js} +4 -4
- package/dist/commands/init.js +115 -43
- package/package.json +20 -21
- package/templates/app/.shopify.app.toml +3 -0
- package/templates/app/README.md +9 -0
- package/templates/app/db/schema.sql +2 -0
- package/templates/app/home/index.js +1 -0
- package/templates/app/package.json +17 -0
- package/bin/dev +0 -21
- package/bin/dev.cmd +0 -3
- package/bin/run.cmd +0 -3
- package/dist/commands/init.d.ts +0 -5
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -6
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,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)
|
|
@@ -4,15 +4,15 @@ if (!process.argv.includes("init")) {
|
|
|
4
4
|
process.argv.push('init');
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
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(
|
|
17
|
+
}).then(Errors.handle(error));
|
|
18
18
|
})
|