shopify-accelerate-app 1.0.1 → 1.0.3
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
package/require.ts
ADDED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
#!npx tsx
|
|
2
2
|
|
|
3
|
+
import { require } from "./require";
|
|
3
4
|
import fs from "fs";
|
|
4
5
|
import path from "path";
|
|
5
6
|
import toml from "toml";
|
|
@@ -256,10 +257,8 @@ export const config: GlobalsState = {
|
|
|
256
257
|
mode: shopify_toml?.environments?.["development"]?.mode ?? "production",
|
|
257
258
|
};
|
|
258
259
|
|
|
259
|
-
program
|
|
260
|
-
|
|
261
|
-
.description("CLI for Accelerated Shopify Theme development")
|
|
262
|
-
.version(require(path.join("./", "package.json")).version);
|
|
260
|
+
program.name("shopify-accelerate-app").description("CLI for Accelerated Shopify Theme development");
|
|
261
|
+
/*.version(require(path.join("./", "package.json")).version);*/
|
|
263
262
|
|
|
264
263
|
program
|
|
265
264
|
.command("init")
|
package/src/esbuild/esbuild.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { require } from "../../require";
|
|
1
2
|
import child_process from "child_process";
|
|
2
3
|
import fs from "fs";
|
|
3
4
|
import path from "path";
|
|
4
5
|
import { config, root_dir } from "../../shopify-accelerate-app";
|
|
5
6
|
import { deleteFile } from "../utils/fs";
|
|
7
|
+
|
|
6
8
|
const watch = require("node-watch");
|
|
7
9
|
|
|
8
10
|
export const runTailwindCSSWatcher = () => {
|