@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 +24 -0
- package/bin/create-app-run.js +2 -15
- package/bin/dev +9 -0
- package/dist/commands/init.js +106 -68
- package/dist/index.js +126 -0
- package/package.json +2 -5
- package/bin/create-app-dev.cmd +0 -3
- package/bin/create-app-dev.js +0 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopify/create-app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A CLI tool to create a new Shopify app.",
|
|
6
6
|
"type": "module",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"scripts": {
|
|
35
35
|
"clean": "shx rm -rf dist",
|
|
36
36
|
"build": "shx rm -rf dist && rollup -c",
|
|
37
|
-
"
|
|
37
|
+
"prepack": "cross-env NODE_ENV=production yarn run build",
|
|
38
38
|
"lint": "prettier -c src/** && eslint src/**",
|
|
39
39
|
"lint:fix": "prettier src/** && eslint src/** --fix",
|
|
40
40
|
"test": "shx rm -rf dist && vitest run",
|
|
@@ -50,9 +50,6 @@
|
|
|
50
50
|
"@bugsnag/js": "^7.14.1",
|
|
51
51
|
"@oclif/core": "0.5.10"
|
|
52
52
|
},
|
|
53
|
-
"devDependency": {
|
|
54
|
-
"inquirer": "^8.2.0"
|
|
55
|
-
},
|
|
56
53
|
"engine-strict": true,
|
|
57
54
|
"engines": {
|
|
58
55
|
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
|
package/bin/create-app-dev.cmd
DELETED
package/bin/create-app-dev.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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)
|