@shopify/create-app 0.10.0 → 0.14.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/create-app",
3
- "version": "0.10.0",
3
+ "version": "0.14.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
- "prepublishOnly": "cross-env NODE_ENV=production yarn run build",
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",
@@ -1,9 +1,7 @@
1
1
  # {{ name }}
2
2
 
3
- {{description}}
4
-
5
3
  ## Set up
6
4
 
7
5
  1. Clone the repository.
8
- 2. Install dependencies: `yarn/npm/pnpm install`.
9
- 3. Build with `yarn/npm/pnpm build`
6
+ 2. Install dependencies: `{{dependencyManager}} install`.
7
+ 3. Build with `{{dependencyManager}} build`
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "{{name}}",
3
3
  "version": "0.1.0",
4
- "description": "{{description}}",
5
4
  "main": "home/index.js",
6
5
  "scripts": {
6
+ "shopify": "shopify",
7
7
  "build": "shopify app build",
8
8
  "dev": "shopify app dev",
9
9
  "test": "shopify app test",
@@ -1,3 +0,0 @@
1
- @echo off
2
-
3
- node "%~dp0\create-app-dev.js" %*
@@ -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)