create-expo 5.1.6 → 5.1.8
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/build/{810.index.js → 393.index.js} +3428 -27
- package/build/536.index.js +11 -10
- package/build/Template.d.ts +1 -1
- package/build/index.js +3 -3
- package/package.json +5 -6
package/build/536.index.js
CHANGED
|
@@ -33,11 +33,11 @@ var prompts = __webpack_require__(6133);
|
|
|
33
33
|
var prompts_default = /*#__PURE__*/__webpack_require__.n(prompts);
|
|
34
34
|
// EXTERNAL MODULE: ../@expo/package-manager/build/index.js
|
|
35
35
|
var build = __webpack_require__(6268);
|
|
36
|
-
// EXTERNAL MODULE: ../../node_modules/.pnpm/glob@13.0.6/node_modules/glob/dist/esm/index.min.js
|
|
37
|
-
var index_min = __webpack_require__(9337);
|
|
38
36
|
// EXTERNAL MODULE: ../../node_modules/.pnpm/ora@3.4.0/node_modules/ora/index.js
|
|
39
37
|
var ora = __webpack_require__(5344);
|
|
40
38
|
var ora_default = /*#__PURE__*/__webpack_require__.n(ora);
|
|
39
|
+
// EXTERNAL MODULE: ../../node_modules/.pnpm/tinyglobby@0.2.15/node_modules/tinyglobby/dist/index.mjs + 1 modules
|
|
40
|
+
var dist = __webpack_require__(304);
|
|
41
41
|
// EXTERNAL MODULE: ./src/log.ts
|
|
42
42
|
var log = __webpack_require__(1545);
|
|
43
43
|
;// CONCATENATED MODULE: ./src/createExpoConfig.ts
|
|
@@ -887,7 +887,7 @@ function escapeXMLCharacters(original) {
|
|
|
887
887
|
* `getTemplateFilesToRenameAsync()`.
|
|
888
888
|
*
|
|
889
889
|
* The file patterns are formatted as glob expressions to be interpreted by
|
|
890
|
-
* [
|
|
890
|
+
* [tinyglobby](https://github.com/SuperchupuDev/tinyglobby). Comments are supported with
|
|
891
891
|
* the `#` symbol, both in the plain-text file and string array formats.
|
|
892
892
|
* Whitespace is trimmed and whitespace-only lines are ignored.
|
|
893
893
|
*
|
|
@@ -935,15 +935,16 @@ renameConfig: userConfig, }) {
|
|
|
935
935
|
config = config
|
|
936
936
|
.map((line) => line.split(/(?<!\\)#/, 2)[0]?.trim() ?? '')
|
|
937
937
|
.filter((line) => line !== '');
|
|
938
|
-
return
|
|
938
|
+
return (0,dist/* glob */.TI)(config.map((pattern) => {
|
|
939
|
+
const literalPattern = pattern.startsWith('!') ? `\\${pattern}` : pattern;
|
|
940
|
+
// NOTE(@kitten): tinyglobby has no matchBase option; bare patterns match in every directory.
|
|
941
|
+
return pattern.includes('/') ? literalPattern : `**/${literalPattern}`;
|
|
942
|
+
}), {
|
|
939
943
|
cwd,
|
|
940
|
-
// `true` is consistent with .gitignore. Allows `*.xml` to match .xml files
|
|
941
|
-
// in all subdirs.
|
|
942
|
-
matchBase: true,
|
|
943
944
|
dot: true,
|
|
944
|
-
|
|
945
|
-
//
|
|
946
|
-
|
|
945
|
+
expandDirectories: false,
|
|
946
|
+
// NOTE(@kitten): Renaming must not modify files reached through template symlinks.
|
|
947
|
+
followSymbolicLinks: false,
|
|
947
948
|
});
|
|
948
949
|
}
|
|
949
950
|
/**
|
package/build/Template.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export declare function extractAndPrepareTemplateAppAsync(projectRoot: string, {
|
|
|
50
50
|
* `getTemplateFilesToRenameAsync()`.
|
|
51
51
|
*
|
|
52
52
|
* The file patterns are formatted as glob expressions to be interpreted by
|
|
53
|
-
* [
|
|
53
|
+
* [tinyglobby](https://github.com/SuperchupuDev/tinyglobby). Comments are supported with
|
|
54
54
|
* the `#` symbol, both in the plain-text file and string array formats.
|
|
55
55
|
* Whitespace is trimmed and whitespace-only lines are ignored.
|
|
56
56
|
*
|