@syncify/cli 1.0.0-unstable.1 → 1.0.0-unstable.2
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/syncify.js +8 -8
- package/package.json +9 -9
package/dist/syncify.js
CHANGED
@@ -18445,16 +18445,14 @@ async function getConfigFile() {
|
|
18445
18445
|
break;
|
18446
18446
|
}
|
18447
18447
|
}
|
18448
|
-
if ($.pkg !== null) {
|
18449
|
-
if (hasPath("syncify.config", $.pkg) && !isEmpty($.pkg.syncify.config)) {
|
18450
|
-
$.file.config = $.file.pkg;
|
18451
|
-
$.project.syncifyConfig = $.file.pkg;
|
18452
|
-
return $.pkg.syncify.config;
|
18453
|
-
}
|
18454
|
-
}
|
18455
18448
|
return null;
|
18456
18449
|
}
|
18457
18450
|
if (path2.extname($.file.config) === ".json") {
|
18451
|
+
if ($.pkg !== null && hasPath("syncify.config", $.pkg) && !isEmpty($.pkg.syncify.config)) {
|
18452
|
+
$.file.config = $.file.pkg;
|
18453
|
+
$.project.syncifyConfig = $.file.pkg;
|
18454
|
+
return $.pkg.syncify.config;
|
18455
|
+
}
|
18458
18456
|
try {
|
18459
18457
|
const json$1 = await fsExtra.readFile($.file.config, "utf8");
|
18460
18458
|
return json.parse(json$1);
|
@@ -18490,7 +18488,9 @@ async function getConfigFile() {
|
|
18490
18488
|
async function getConfig() {
|
18491
18489
|
if ($.running) return;
|
18492
18490
|
const settings = await getConfigFile();
|
18493
|
-
if (settings !== null)
|
18491
|
+
if (settings !== null) {
|
18492
|
+
$.config = settings;
|
18493
|
+
}
|
18494
18494
|
}
|
18495
18495
|
async function setThemeDirs(basePath2) {
|
18496
18496
|
if (!basePath2) basePath2 = $.dirs.output;
|
package/package.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
"version": "1.0.0-unstable.
|
2
|
+
"version": "1.0.0-unstable.2",
|
3
3
|
"name": "@syncify/cli",
|
4
4
|
"description": "The new generation build tool for Shopify theme development.",
|
5
5
|
"license": "Apache-2.0",
|
@@ -78,9 +78,9 @@
|
|
78
78
|
"svgo": "^3.3.2",
|
79
79
|
"xior": "^0.7.6",
|
80
80
|
"@syncify/acquire": "^0.0.6",
|
81
|
+
"@syncify/turndown": "^0.2.1",
|
81
82
|
"@syncify/json": "^0.1.1",
|
82
|
-
"@syncify/uws": "^0.1.2"
|
83
|
-
"@syncify/turndown": "^0.2.1"
|
83
|
+
"@syncify/uws": "^0.1.2"
|
84
84
|
},
|
85
85
|
"devDependencies": {
|
86
86
|
"@ava/typescript": "^5.0.0",
|
@@ -117,16 +117,16 @@
|
|
117
117
|
"write-package": "^7.1.0",
|
118
118
|
"@syncify/ansi": "^0.3.0",
|
119
119
|
"@syncify/codeframe": "^0.0.2",
|
120
|
-
"@syncify/codegen": "^0.0.1",
|
121
|
-
"@syncify/config": "^0.0.6",
|
122
120
|
"@syncify/glue": "^0.0.1",
|
121
|
+
"@syncify/config": "^0.0.6",
|
123
122
|
"@syncify/kill": "^0.0.5",
|
124
|
-
"@syncify/eslint-config": "^0.1.1",
|
125
|
-
"@syncify/timer": "^0.0.4",
|
126
123
|
"@syncify/tests": "^0.0.1",
|
127
|
-
"@syncify/
|
124
|
+
"@syncify/eslint-config": "^0.1.1",
|
125
|
+
"@syncify/codegen": "^0.0.1",
|
128
126
|
"@syncify/update": "^0.0.3",
|
129
|
-
"@syncify/
|
127
|
+
"@syncify/timer": "^0.0.4",
|
128
|
+
"@syncify/types": "^0.0.9",
|
129
|
+
"@syncify/prettier-config": "^0.1.0"
|
130
130
|
},
|
131
131
|
"peerDependenciesMeta": {
|
132
132
|
"tailwindcss": {
|