create-expo-stack 2.10.5-next.5b73b74 → 2.10.5-next.5eefd28
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/README.md +50 -50
- package/build/cli.js +51 -21
- package/build/commands/create-expo-stack.js +364 -320
- package/build/templates/base/components/Button.tsx.ejs +3 -2
- package/build/templates/packages/nativewind/components/Button.tsx.ejs +5 -4
- package/build/templates/packages/nativewindui/components/Button.tsx.ejs +3 -2
- package/build/templates/packages/restyle/components/Button.tsx.ejs +3 -7
- package/build/templates/packages/tamagui/components/Button.tsx.ejs +5 -11
- package/build/templates/packages/tamagui/tamagui.config.ts.ejs +25 -24
- package/build/templates/packages/unistyles/components/Button.tsx.ejs +3 -8
- package/build/utilities/bumpVersion.js +6 -6
- package/build/utilities/clearNavigationPackages.js +2 -2
- package/build/utilities/clearStylingPackages.js +2 -2
- package/build/utilities/configStorage.js +88 -31
- package/build/utilities/configureProjectFiles.js +83 -96
- package/build/utilities/copyBaseAssets.js +36 -4
- package/build/utilities/generateProjectFiles.js +16 -16
- package/build/utilities/getPackageManager.js +7 -7
- package/build/utilities/printOutput.js +211 -156
- package/build/utilities/renderTitle.js +62 -22
- package/build/utilities/runCLI.js +393 -334
- package/build/utilities/runEasConfigure.js +106 -61
- package/build/utilities/runIgnite.js +45 -9
- package/build/utilities/systemCommand.js +48 -11
- package/build/utilities/usePackage.js +2 -2
- package/build/utilities/validateProjectName.js +64 -27
- package/package.json +1 -1
- package/build/types/utilities/configAnalytics.d.ts +0 -17
- package/build/utilities/configAnalytics.js +0 -70
package/README.md
CHANGED
|
@@ -122,32 +122,32 @@ Thanks go to these wonderful people:
|
|
|
122
122
|
</a>
|
|
123
123
|
</td>
|
|
124
124
|
<td align="center">
|
|
125
|
-
<a href="https://github.com/
|
|
126
|
-
<img src="https://avatars.githubusercontent.com/u/
|
|
125
|
+
<a href="https://github.com/frankcalise">
|
|
126
|
+
<img src="https://avatars.githubusercontent.com/u/374022?v=4" width="100;" alt="frankcalise"/>
|
|
127
127
|
<br />
|
|
128
|
-
<sub><b>
|
|
128
|
+
<sub><b>Frank Calise</b></sub>
|
|
129
129
|
</a>
|
|
130
130
|
</td>
|
|
131
131
|
<td align="center">
|
|
132
|
-
<a href="https://github.com/
|
|
133
|
-
<img src="https://avatars.githubusercontent.com/u/
|
|
132
|
+
<a href="https://github.com/dannyhw">
|
|
133
|
+
<img src="https://avatars.githubusercontent.com/u/3481514?v=4" width="100;" alt="dannyhw"/>
|
|
134
134
|
<br />
|
|
135
|
-
<sub><b>
|
|
135
|
+
<sub><b>Daniel Williams</b></sub>
|
|
136
136
|
</a>
|
|
137
137
|
</td></tr>
|
|
138
138
|
<tr>
|
|
139
139
|
<td align="center">
|
|
140
|
-
<a href="https://github.com/
|
|
141
|
-
<img src="https://avatars.githubusercontent.com/u/
|
|
140
|
+
<a href="https://github.com/ludwig-pro">
|
|
141
|
+
<img src="https://avatars.githubusercontent.com/u/62896243?v=4" width="100;" alt="ludwig-pro"/>
|
|
142
142
|
<br />
|
|
143
|
-
<sub><b>
|
|
143
|
+
<sub><b>Ludwig</b></sub>
|
|
144
144
|
</a>
|
|
145
145
|
</td>
|
|
146
146
|
<td align="center">
|
|
147
|
-
<a href="https://github.com/
|
|
148
|
-
<img src="https://avatars.githubusercontent.com/u/
|
|
147
|
+
<a href="https://github.com/PickleNik">
|
|
148
|
+
<img src="https://avatars.githubusercontent.com/u/31113245?v=4" width="100;" alt="PickleNik"/>
|
|
149
149
|
<br />
|
|
150
|
-
<sub><b>
|
|
150
|
+
<sub><b>Null</b></sub>
|
|
151
151
|
</a>
|
|
152
152
|
</td>
|
|
153
153
|
<td align="center">
|
|
@@ -207,28 +207,21 @@ Thanks go to these wonderful people:
|
|
|
207
207
|
<sub><b>Null</b></sub>
|
|
208
208
|
</a>
|
|
209
209
|
</td>
|
|
210
|
-
<td align="center">
|
|
211
|
-
<a href="https://github.com/Savinvadim1312">
|
|
212
|
-
<img src="https://avatars.githubusercontent.com/u/16936043?v=4" width="100;" alt="Savinvadim1312"/>
|
|
213
|
-
<br />
|
|
214
|
-
<sub><b>Savin Vadim</b></sub>
|
|
215
|
-
</a>
|
|
216
|
-
</td>
|
|
217
210
|
<td align="center">
|
|
218
211
|
<a href="https://github.com/coyksdev">
|
|
219
212
|
<img src="https://avatars.githubusercontent.com/u/19565694?v=4" width="100;" alt="coyksdev"/>
|
|
220
213
|
<br />
|
|
221
214
|
<sub><b>Gerald</b></sub>
|
|
222
215
|
</a>
|
|
223
|
-
</td
|
|
224
|
-
<tr>
|
|
216
|
+
</td>
|
|
225
217
|
<td align="center">
|
|
226
218
|
<a href="https://github.com/andrew-levy">
|
|
227
219
|
<img src="https://avatars.githubusercontent.com/u/29075740?v=4" width="100;" alt="andrew-levy"/>
|
|
228
220
|
<br />
|
|
229
221
|
<sub><b>Andrew Levy</b></sub>
|
|
230
222
|
</a>
|
|
231
|
-
</td>
|
|
223
|
+
</td></tr>
|
|
224
|
+
<tr>
|
|
232
225
|
<td align="center">
|
|
233
226
|
<a href="https://github.com/gialencar">
|
|
234
227
|
<img src="https://avatars.githubusercontent.com/u/11895696?v=4" width="100;" alt="gialencar"/>
|
|
@@ -251,39 +244,39 @@ Thanks go to these wonderful people:
|
|
|
251
244
|
</a>
|
|
252
245
|
</td>
|
|
253
246
|
<td align="center">
|
|
254
|
-
<a href="https://github.com/
|
|
255
|
-
<img src="https://avatars.githubusercontent.com/u/
|
|
247
|
+
<a href="https://github.com/debugtheworldbot">
|
|
248
|
+
<img src="https://avatars.githubusercontent.com/u/62830430?v=4" width="100;" alt="debugtheworldbot"/>
|
|
256
249
|
<br />
|
|
257
|
-
<sub><b>
|
|
250
|
+
<sub><b>Pipizhu</b></sub>
|
|
258
251
|
</a>
|
|
259
252
|
</td>
|
|
260
253
|
<td align="center">
|
|
261
|
-
<a href="https://github.com/
|
|
262
|
-
<img src="https://avatars.githubusercontent.com/u/
|
|
254
|
+
<a href="https://github.com/bautistaaa">
|
|
255
|
+
<img src="https://avatars.githubusercontent.com/u/3660667?v=4" width="100;" alt="bautistaaa"/>
|
|
263
256
|
<br />
|
|
264
257
|
<sub><b>Null</b></sub>
|
|
265
258
|
</a>
|
|
266
|
-
</td
|
|
267
|
-
<tr>
|
|
259
|
+
</td>
|
|
268
260
|
<td align="center">
|
|
269
|
-
<a href="https://github.com/
|
|
270
|
-
<img src="https://avatars.githubusercontent.com/u/
|
|
261
|
+
<a href="https://github.com/YounessHassoune">
|
|
262
|
+
<img src="https://avatars.githubusercontent.com/u/36106440?v=4" width="100;" alt="YounessHassoune"/>
|
|
271
263
|
<br />
|
|
272
|
-
<sub><b>
|
|
264
|
+
<sub><b>YOUNESS HASSOUNE</b></sub>
|
|
273
265
|
</a>
|
|
274
|
-
</td>
|
|
266
|
+
</td></tr>
|
|
267
|
+
<tr>
|
|
275
268
|
<td align="center">
|
|
276
|
-
<a href="https://github.com/
|
|
277
|
-
<img src="https://avatars.githubusercontent.com/u/
|
|
269
|
+
<a href="https://github.com/Savinvadim1312">
|
|
270
|
+
<img src="https://avatars.githubusercontent.com/u/16936043?v=4" width="100;" alt="Savinvadim1312"/>
|
|
278
271
|
<br />
|
|
279
|
-
<sub><b>
|
|
272
|
+
<sub><b>Savin Vadim</b></sub>
|
|
280
273
|
</a>
|
|
281
274
|
</td>
|
|
282
275
|
<td align="center">
|
|
283
|
-
<a href="https://github.com/
|
|
284
|
-
<img src="https://avatars.githubusercontent.com/u/
|
|
276
|
+
<a href="https://github.com/Hacksore">
|
|
277
|
+
<img src="https://avatars.githubusercontent.com/u/996134?v=4" width="100;" alt="Hacksore"/>
|
|
285
278
|
<br />
|
|
286
|
-
<sub><b>
|
|
279
|
+
<sub><b>Sean Boult</b></sub>
|
|
287
280
|
</a>
|
|
288
281
|
</td>
|
|
289
282
|
<td align="center">
|
|
@@ -294,32 +287,39 @@ Thanks go to these wonderful people:
|
|
|
294
287
|
</a>
|
|
295
288
|
</td>
|
|
296
289
|
<td align="center">
|
|
297
|
-
<a href="https://github.com/
|
|
298
|
-
<img src="https://avatars.githubusercontent.com/u/
|
|
290
|
+
<a href="https://github.com/Joehoel">
|
|
291
|
+
<img src="https://avatars.githubusercontent.com/u/31251240?v=4" width="100;" alt="Joehoel"/>
|
|
299
292
|
<br />
|
|
300
|
-
<sub><b>
|
|
293
|
+
<sub><b>Joël Kuijper</b></sub>
|
|
301
294
|
</a>
|
|
302
295
|
</td>
|
|
303
296
|
<td align="center">
|
|
304
|
-
<a href="https://github.com/
|
|
305
|
-
<img src="https://avatars.githubusercontent.com/u/
|
|
297
|
+
<a href="https://github.com/zamplyy">
|
|
298
|
+
<img src="https://avatars.githubusercontent.com/u/26258710?v=4" width="100;" alt="zamplyy"/>
|
|
306
299
|
<br />
|
|
307
|
-
<sub><b>
|
|
300
|
+
<sub><b>Joar Karlsson</b></sub>
|
|
301
|
+
</a>
|
|
302
|
+
</td>
|
|
303
|
+
<td align="center">
|
|
304
|
+
<a href="https://github.com/boek">
|
|
305
|
+
<img src="https://avatars.githubusercontent.com/u/1250545?v=4" width="100;" alt="boek"/>
|
|
306
|
+
<br />
|
|
307
|
+
<sub><b>Jeff Boek</b></sub>
|
|
308
308
|
</a>
|
|
309
309
|
</td></tr>
|
|
310
310
|
<tr>
|
|
311
311
|
<td align="center">
|
|
312
|
-
<a href="https://github.com/
|
|
313
|
-
<img src="https://avatars.githubusercontent.com/u/
|
|
312
|
+
<a href="https://github.com/gwenoleR">
|
|
313
|
+
<img src="https://avatars.githubusercontent.com/u/10418241?v=4" width="100;" alt="gwenoleR"/>
|
|
314
314
|
<br />
|
|
315
315
|
<sub><b>Null</b></sub>
|
|
316
316
|
</a>
|
|
317
317
|
</td>
|
|
318
318
|
<td align="center">
|
|
319
|
-
<a href="https://github.com/
|
|
320
|
-
<img src="https://avatars.githubusercontent.com/u/
|
|
319
|
+
<a href="https://github.com/claudesortwell">
|
|
320
|
+
<img src="https://avatars.githubusercontent.com/u/41422239?v=4" width="100;" alt="claudesortwell"/>
|
|
321
321
|
<br />
|
|
322
|
-
<sub><b>
|
|
322
|
+
<sub><b>Claude</b></sub>
|
|
323
323
|
</a>
|
|
324
324
|
</td></tr>
|
|
325
325
|
</table>
|
package/build/cli.js
CHANGED
|
@@ -8,33 +8,63 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
+
function step(op) {
|
|
16
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
+
switch (op[0]) {
|
|
21
|
+
case 0: case 1: t = op; break;
|
|
22
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
+
default:
|
|
26
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
+
if (t[2]) _.ops.pop();
|
|
31
|
+
_.trys.pop(); continue;
|
|
32
|
+
}
|
|
33
|
+
op = body.call(thisArg, _);
|
|
34
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
+
}
|
|
37
|
+
};
|
|
11
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
39
|
exports.run = void 0;
|
|
13
|
-
|
|
40
|
+
var gluegun_1 = require("gluegun");
|
|
14
41
|
/**
|
|
15
42
|
* Create the cli and kick it off
|
|
16
43
|
*/
|
|
17
44
|
function run() {
|
|
18
|
-
return __awaiter(this, void 0, void 0, function
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
45
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
46
|
+
var argv, cli, toolbox;
|
|
47
|
+
return __generator(this, function (_a) {
|
|
48
|
+
switch (_a.label) {
|
|
49
|
+
case 0:
|
|
50
|
+
argv = process.env.argv;
|
|
51
|
+
cli = (0, gluegun_1.build)()
|
|
52
|
+
.brand('create-expo-stack')
|
|
53
|
+
.src(__dirname)
|
|
54
|
+
.plugins('./node_modules', {
|
|
55
|
+
matching: 'create-expo-stack-*',
|
|
56
|
+
hidden: true
|
|
57
|
+
})
|
|
58
|
+
.version() // provides default for version, v, --version, -v
|
|
59
|
+
.create();
|
|
60
|
+
return [4 /*yield*/, cli.run(argv)];
|
|
61
|
+
case 1:
|
|
62
|
+
toolbox = _a.sent();
|
|
63
|
+
// send it back (for testing, mostly)
|
|
64
|
+
return [2 /*return*/, toolbox];
|
|
65
|
+
}
|
|
66
|
+
});
|
|
37
67
|
});
|
|
38
68
|
}
|
|
39
69
|
exports.run = run;
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
70
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2NsaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxtQ0FBZ0M7QUFFaEM7O0dBRUc7QUFDSCxTQUFzQixHQUFHOzs7Ozs7b0JBQ2pCLElBQUksR0FBRyxPQUFPLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQztvQkFFeEIsR0FBRyxHQUFHLElBQUEsZUFBSyxHQUFFO3lCQUNoQixLQUFLLENBQUMsbUJBQW1CLENBQUM7eUJBQzFCLEdBQUcsQ0FBQyxTQUFTLENBQUM7eUJBQ2QsT0FBTyxDQUFDLGdCQUFnQixFQUFFO3dCQUN6QixRQUFRLEVBQUUscUJBQXFCO3dCQUMvQixNQUFNLEVBQUUsSUFBSTtxQkFDYixDQUFDO3lCQUNELE9BQU8sRUFBRSxDQUFDLGlEQUFpRDt5QkFDM0QsTUFBTSxFQUFFLENBQUM7b0JBS0kscUJBQU0sR0FBRyxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsRUFBQTs7b0JBQTdCLE9BQU8sR0FBRyxTQUFtQjtvQkFFbkMscUNBQXFDO29CQUNyQyxzQkFBTyxPQUFPLEVBQUM7Ozs7Q0FDaEI7QUFwQkQsa0JBb0JDIn0=
|