create-shopify-firebase-app 2.0.3 → 2.0.5
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/lib/index.js
CHANGED
|
@@ -147,8 +147,13 @@ function parseArgs(argv) {
|
|
|
147
147
|
for (let i = 0; i < argv.length; i++) {
|
|
148
148
|
const arg = argv[i];
|
|
149
149
|
if (arg.startsWith("--")) {
|
|
150
|
-
const
|
|
151
|
-
|
|
150
|
+
const raw = arg.slice(2);
|
|
151
|
+
const eq = raw.indexOf("=");
|
|
152
|
+
if (eq >= 0) {
|
|
153
|
+
args[raw.slice(0, eq)] = raw.slice(eq + 1);
|
|
154
|
+
} else {
|
|
155
|
+
args[raw] = true;
|
|
156
|
+
}
|
|
152
157
|
} else if (arg.startsWith("-") && arg.length > 1) {
|
|
153
158
|
for (const ch of arg.slice(1)) args[ch] = true;
|
|
154
159
|
} else if (!projectName) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-shopify-firebase-app",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"description": "Create Shopify apps powered by Firebase — multi-page dashboard, App Bridge, Polaris components, TypeScript or JavaScript. Deploy for free.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shopify",
|