@shopify/create-app 1.0.0 → 1.0.1

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/dist/index.js CHANGED
@@ -38716,7 +38716,7 @@ packageJson$1.exports.PackageNotFoundError = PackageNotFoundError;
38716
38716
  packageJson$1.exports.VersionNotFoundError = VersionNotFoundError;
38717
38717
 
38718
38718
  var name = "@shopify/cli-kit";
38719
- var version$2 = "1.0.0";
38719
+ var version$2 = "1.0.1";
38720
38720
  var description$1 = "A set of utilities, interfaces, and models that are common across all the platform features";
38721
38721
  var keywords = [
38722
38722
  "shopify",
@@ -38816,9 +38816,9 @@ var cliKitPackageJson = {
38816
38816
  devDependencies: devDependencies
38817
38817
  };
38818
38818
 
38819
- var version$1 = "1.0.0";
38819
+ var version$1 = "1.0.1";
38820
38820
 
38821
- var version = "1.0.0";
38821
+ var version = "1.0.1";
38822
38822
 
38823
38823
  const constants = {
38824
38824
  environmentVariables: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/create-app",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "description": "A CLI tool to create a new Shopify app.",
6
6
  "type": "module",
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "devDependencies": {
55
55
  "vitest": "0.7.9",
56
- "@shopify/cli-kit": "1.0.0"
56
+ "@shopify/cli-kit": "1.0.1"
57
57
  },
58
58
  "engine-strict": true,
59
59
  "engines": {
@@ -1 +0,0 @@
1
- console.log('build success!')
@@ -1,6 +0,0 @@
1
- console.log('hello from node')
2
-
3
- let i = 0
4
- setInterval(() => {
5
- console.log(`hello from node ${i++}`)
6
- }, 5000)
@@ -1,3 +0,0 @@
1
- [commands]
2
- build = "node build.js"
3
- dev = "node server.js"
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
4
- $SCRIPT_DIR/../node_modules/.bin/vite build --config $SCRIPT_DIR/../vite.config.js
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
4
- $SCRIPT_DIR/../node_modules/.bin/vite --config $SCRIPT_DIR/../vite.config.js
@@ -1,9 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
4
- echo $SCRIPT_DIR
5
- cd $SCRIPT_DIR
6
- {{dependency_manager}} install
7
-
8
- # exit 1
9
- exit 0
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- echo "Hello post 2"
4
-
5
- exit 0
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- echo "Hello pre 1"
4
-
5
- exit 0
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- echo "bye pre 2"
4
-
5
- exit 0
6
- # exit 1
@@ -1,13 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>{{name}}</title>
8
- </head>
9
- <body>
10
- <div id="root"></div>
11
- <script type="module" src="/src/main.jsx"></script>
12
- </body>
13
- </html>
@@ -1,16 +0,0 @@
1
- {
2
- "name": "{{name}}-frontend",
3
- "version": "1.0.0",
4
- "description": "",
5
- "main": "dist/main.js",
6
- "author": "{{author}}",
7
- "license": "UNLICENSED",
8
- "dependencies": {
9
- "react": "^17.0.2",
10
- "react-dom": "^17.0.2"
11
- },
12
- "devDependencies": {
13
- "@vitejs/plugin-react": "^1.0.7",
14
- "vite": "^2.7.2"
15
- }
16
- }
@@ -1,10 +0,0 @@
1
- [[prompts]]
2
- id = "hotdog"
3
- message = "Is a hot dog a sandwich?"
4
- type = "select"
5
- choices = ["Yes", "No", "Actually, it's a taco"]
6
-
7
- [[prompts]]
8
- id = "fruits"
9
- message = "What's your favorite fruit"
10
- type = "input"
@@ -1,3 +0,0 @@
1
- [commands]
2
- build = "bin/build"
3
- dev = "bin/dev"
@@ -1,7 +0,0 @@
1
- export default function App() {
2
- return (
3
- <div>
4
- Hello World
5
- </div>
6
- );
7
- }
@@ -1,10 +0,0 @@
1
- import React from 'react'
2
- import ReactDOM from 'react-dom'
3
- import App from './App'
4
-
5
- ReactDOM.render(
6
- <React.StrictMode>
7
- <App />
8
- </React.StrictMode>,
9
- document.getElementById('root'),
10
- )
@@ -1 +0,0 @@
1
- /// <reference types="vite/client" />
@@ -1,20 +0,0 @@
1
- import {defineConfig} from 'vite'
2
- import react from '@vitejs/plugin-react'
3
- import path from 'path'
4
-
5
- // https://vitejs.dev/config/
6
- export default defineConfig({
7
- build: {
8
- outDir: 'dist/app',
9
- emptyOutDir: false,
10
- sourcemap: true,
11
- watch: process.env.DEV ? {} : undefined,
12
- minify: process.env.DEV ? false : 'esbuild',
13
- },
14
- plugins: [react()],
15
- resolve: {
16
- alias: {
17
- app: path.resolve(__dirname, './src'),
18
- },
19
- },
20
- })