@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/CHANGELOG.md +6 -0
- package/dist/commands/init.js +18 -19
- package/dist/commands/init.js.map +1 -1
- package/dist/index.js +3 -3
- package/package.json +2 -2
- package/templates/backend/node/build.js +0 -1
- package/templates/backend/node/server.js +0 -6
- package/templates/backend/node/shopify.home.toml +0 -3
- package/templates/frontend/react/bin/build +0 -4
- package/templates/frontend/react/bin/dev +0 -4
- package/templates/frontend/react/hooks/post/1_install_dependencies.sh.liquid +0 -9
- package/templates/frontend/react/hooks/post/2_other.sh +0 -5
- package/templates/frontend/react/hooks/pre/1_hello.sh +0 -5
- package/templates/frontend/react/hooks/pre/2_bye.sh +0 -6
- package/templates/frontend/react/index.html.liquid +0 -13
- package/templates/frontend/react/package.json.liquid +0 -16
- package/templates/frontend/react/shopify.home.template.toml +0 -10
- package/templates/frontend/react/shopify.home.toml +0 -3
- package/templates/frontend/react/src/App.jsx +0 -7
- package/templates/frontend/react/src/main.jsx +0 -10
- package/templates/frontend/react/src/vite-env.d.ts +0 -1
- package/templates/frontend/react/vite.config.js +0 -20
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.
|
|
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.
|
|
38819
|
+
var version$1 = "1.0.1";
|
|
38820
38820
|
|
|
38821
|
-
var version = "1.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.
|
|
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.
|
|
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,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 +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
|
-
})
|