create-vxrn 1.25.5 → 1.25.6

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.
Files changed (88) hide show
  1. package/.turbo/turbo-build.log +2 -0
  2. package/dist/cjs/create.cjs +236 -0
  3. package/dist/cjs/create.native.js +273 -0
  4. package/dist/cjs/create.native.js.map +1 -0
  5. package/dist/cjs/helpers/cloneStarter.cjs +122 -0
  6. package/dist/cjs/helpers/cloneStarter.native.js +127 -0
  7. package/dist/cjs/helpers/cloneStarter.native.js.map +1 -0
  8. package/dist/cjs/helpers/getProjectName.cjs +82 -0
  9. package/dist/cjs/helpers/getProjectName.native.js +85 -0
  10. package/dist/cjs/helpers/getProjectName.native.js.map +1 -0
  11. package/dist/cjs/helpers/getTemplateInfo.cjs +68 -0
  12. package/dist/cjs/helpers/getTemplateInfo.native.js +81 -0
  13. package/dist/cjs/helpers/getTemplateInfo.native.js.map +1 -0
  14. package/dist/cjs/helpers/installDependencies.cjs +55 -0
  15. package/dist/cjs/helpers/installDependencies.native.js +58 -0
  16. package/dist/cjs/helpers/installDependencies.native.js.map +1 -0
  17. package/dist/cjs/helpers/validateNpmPackage.cjs +51 -0
  18. package/dist/cjs/helpers/validateNpmPackage.native.js +54 -0
  19. package/dist/cjs/helpers/validateNpmPackage.native.js.map +1 -0
  20. package/dist/cjs/index.cjs +98 -0
  21. package/dist/cjs/index.native.js +102 -0
  22. package/dist/cjs/index.native.js.map +1 -0
  23. package/dist/cjs/steps/bare.cjs +109 -0
  24. package/dist/cjs/steps/bare.native.js +134 -0
  25. package/dist/cjs/steps/bare.native.js.map +1 -0
  26. package/dist/cjs/steps/fullstack.cjs +57 -0
  27. package/dist/cjs/steps/fullstack.native.js +63 -0
  28. package/dist/cjs/steps/fullstack.native.js.map +1 -0
  29. package/dist/cjs/steps/one.cjs +106 -0
  30. package/dist/cjs/steps/one.native.js +113 -0
  31. package/dist/cjs/steps/one.native.js.map +1 -0
  32. package/dist/cjs/steps/types.cjs +18 -0
  33. package/dist/cjs/steps/types.native.js +21 -0
  34. package/dist/cjs/steps/types.native.js.map +1 -0
  35. package/dist/cjs/templates.cjs +73 -0
  36. package/dist/cjs/templates.native.js +76 -0
  37. package/dist/cjs/templates.native.js.map +1 -0
  38. package/dist/esm/create.mjs +199 -0
  39. package/dist/esm/create.mjs.map +1 -0
  40. package/dist/esm/create.native.js +233 -0
  41. package/dist/esm/create.native.js.map +1 -0
  42. package/dist/esm/helpers/cloneStarter.mjs +97 -0
  43. package/dist/esm/helpers/cloneStarter.mjs.map +1 -0
  44. package/dist/esm/helpers/cloneStarter.native.js +99 -0
  45. package/dist/esm/helpers/cloneStarter.native.js.map +1 -0
  46. package/dist/esm/helpers/getProjectName.mjs +46 -0
  47. package/dist/esm/helpers/getProjectName.mjs.map +1 -0
  48. package/dist/esm/helpers/getProjectName.native.js +46 -0
  49. package/dist/esm/helpers/getProjectName.native.js.map +1 -0
  50. package/dist/esm/helpers/getTemplateInfo.mjs +32 -0
  51. package/dist/esm/helpers/getTemplateInfo.mjs.map +1 -0
  52. package/dist/esm/helpers/getTemplateInfo.native.js +42 -0
  53. package/dist/esm/helpers/getTemplateInfo.native.js.map +1 -0
  54. package/dist/esm/helpers/installDependencies.mjs +30 -0
  55. package/dist/esm/helpers/installDependencies.mjs.map +1 -0
  56. package/dist/esm/helpers/installDependencies.native.js +30 -0
  57. package/dist/esm/helpers/installDependencies.native.js.map +1 -0
  58. package/dist/esm/helpers/validateNpmPackage.mjs +15 -0
  59. package/dist/esm/helpers/validateNpmPackage.mjs.map +1 -0
  60. package/dist/esm/helpers/validateNpmPackage.native.js +15 -0
  61. package/dist/esm/helpers/validateNpmPackage.native.js.map +1 -0
  62. package/dist/esm/index.js +74 -0
  63. package/dist/esm/index.js.map +1 -0
  64. package/dist/esm/index.mjs +74 -0
  65. package/dist/esm/index.mjs.map +1 -0
  66. package/dist/esm/index.native.js +75 -0
  67. package/dist/esm/index.native.js.map +1 -0
  68. package/dist/esm/steps/bare.mjs +72 -0
  69. package/dist/esm/steps/bare.mjs.map +1 -0
  70. package/dist/esm/steps/bare.native.js +94 -0
  71. package/dist/esm/steps/bare.native.js.map +1 -0
  72. package/dist/esm/steps/fullstack.mjs +21 -0
  73. package/dist/esm/steps/fullstack.mjs.map +1 -0
  74. package/dist/esm/steps/fullstack.native.js +24 -0
  75. package/dist/esm/steps/fullstack.native.js.map +1 -0
  76. package/dist/esm/steps/one.mjs +69 -0
  77. package/dist/esm/steps/one.mjs.map +1 -0
  78. package/dist/esm/steps/one.native.js +73 -0
  79. package/dist/esm/steps/one.native.js.map +1 -0
  80. package/dist/esm/steps/types.mjs +2 -0
  81. package/dist/esm/steps/types.mjs.map +1 -0
  82. package/dist/esm/steps/types.native.js +2 -0
  83. package/dist/esm/steps/types.native.js.map +1 -0
  84. package/dist/esm/templates.mjs +37 -0
  85. package/dist/esm/templates.mjs.map +1 -0
  86. package/dist/esm/templates.native.js +37 -0
  87. package/dist/esm/templates.native.js.map +1 -0
  88. package/package.json +2 -2
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all) __defProp(target, name, {
11
+ get: all[name],
12
+ enumerable: true
13
+ });
14
+ };
15
+ var __copyProps = (to, from, except, desc) => {
16
+ if (from && typeof from === "object" || typeof from === "function") {
17
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
18
+ get: () => from[key],
19
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
20
+ });
21
+ }
22
+ return to;
23
+ };
24
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
25
+ // If the importer is in node compatibility mode or this is not an ESM
26
+ // file that has been converted to a CommonJS file using a Babel-
27
+ // compatible transform (i.e. "__esModule" has not been set), then set
28
+ // "default" to the CommonJS "module.exports" for node compatibility.
29
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
30
+ value: mod,
31
+ enumerable: true
32
+ }) : target, mod));
33
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
34
+ value: true
35
+ }), mod);
36
+ var validateNpmPackage_exports = {};
37
+ __export(validateNpmPackage_exports, {
38
+ validateNpmName: () => validateNpmName
39
+ });
40
+ module.exports = __toCommonJS(validateNpmPackage_exports);
41
+ var import_validate_npm_package_name = __toESM(require("validate-npm-package-name"));
42
+ function validateNpmName(name) {
43
+ var nameValidation = (0, import_validate_npm_package_name.default)(name);
44
+ if (nameValidation.validForNewPackages) {
45
+ return {
46
+ valid: true
47
+ };
48
+ }
49
+ return {
50
+ valid: false,
51
+ problems: [...(nameValidation.errors || []), ...(nameValidation.warnings || [])]
52
+ };
53
+ }
54
+ //# sourceMappingURL=validateNpmPackage.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","validateNpmPackage_exports","__export","validateNpmName","module","exports","import_validate_npm_package_name","__toESM","require","name","nameValidation","default","validForNewPackages","valid"],"sources":["../../../src/helpers/validateNpmPackage.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,0BAAA;AAAAC,QAAA,CAAAD,0BAAA;EAAAE,eAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAAA,CAAAK,0BAAgC;AAEzB,IAAAK,gCAGL,GAAAC,OAAA,CAAAC,OAAA;AACA,SAAML,gBAAAM,IAAiB;EACvB,IAAIC,cAAA,GAAe,IAAAJ,gCAAqB,CAAAK,OAAA,EAAAF,IAAA;EACtC,IAAAC,cAAgB,CAAAE,mBAAK;IACvB;MAEAC,KAAO;IACL;EAAO;EAET;IACFA,KAAA","ignoreList":[]}
@@ -0,0 +1,98 @@
1
+ #!/usr/bin/env node
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
11
+ get: () => from[key],
12
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
13
+ });
14
+ }
15
+ return to;
16
+ };
17
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
18
+ // If the importer is in node compatibility mode or this is not an ESM
19
+ // file that has been converted to a CommonJS file using a Babel-
20
+ // compatible transform (i.e. "__esModule" has not been set), then set
21
+ // "default" to the CommonJS "module.exports" for node compatibility.
22
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
23
+ value: mod,
24
+ enumerable: true
25
+ }) : target, mod));
26
+ var import_ansis = __toESM(require("ansis"));
27
+ var import_citty = require("citty");
28
+ var import_node_path = __toESM(require("node:path"));
29
+ var import_node_process = require("node:process");
30
+ var import_getTemplateInfo = require("./helpers/getTemplateInfo.cjs");
31
+ var import_create = require("./create.cjs");
32
+ var import_node_url = require("node:url");
33
+ var import_node_fs = require("node:fs");
34
+ const import_meta = {};
35
+ function exit() {
36
+ process.exit(0);
37
+ }
38
+ process.on("SIGTERM", exit);
39
+ process.on("SIGINT", exit);
40
+ const main = (0, import_citty.defineCommand)({
41
+ meta: {
42
+ name: "main",
43
+ version: "0.0.0",
44
+ description: "Welcome to vxrn"
45
+ },
46
+ args: {
47
+ directory: {
48
+ type: "positional",
49
+ description: "Directory to copy into",
50
+ default: ""
51
+ },
52
+ template: {
53
+ type: "string",
54
+ required: false,
55
+ description: "Choose a template in advance (avoid selection screen)."
56
+ },
57
+ info: {
58
+ type: "boolean",
59
+ description: "Output the post-install instructions for the template."
60
+ }
61
+ },
62
+ async run({
63
+ args
64
+ }) {
65
+ if (args.info) {
66
+ let template = await (0, import_getTemplateInfo.getTemplateInfo)(args.template);
67
+ if ("extraSteps" in template) {
68
+ await template.extraSteps({
69
+ isFullClone: false,
70
+ projectName: import_node_path.default.basename((0, import_node_process.cwd)()),
71
+ projectPath: (0, import_node_process.cwd)()
72
+ });
73
+ }
74
+ return;
75
+ }
76
+ console.info();
77
+ console.info(import_ansis.default.bold("Creating vxrn app..."));
78
+ await (0, import_create.create)({
79
+ template: args.template
80
+ });
81
+ }
82
+ });
83
+ (0, import_citty.runMain)(main);
84
+ function getPackageVersion() {
85
+ let dirname;
86
+ if (typeof __dirname !== "undefined") {
87
+ dirname = __dirname;
88
+ } else {
89
+ dirname = import_node_path.default.dirname((0, import_node_url.fileURLToPath)(import_meta.url));
90
+ }
91
+ const packagePath = import_node_path.default.join(dirname, "..", "..", "package.json");
92
+ const packageJson = JSON.parse((0, import_node_fs.readFileSync)(packagePath, "utf-8"));
93
+ return packageJson.version;
94
+ }
95
+ if (process.argv.includes("--version")) {
96
+ console.info(getPackageVersion());
97
+ process.exit(0);
98
+ }
@@ -0,0 +1,102 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+
4
+ var __create = Object.create;
5
+ var __defProp = Object.defineProperty;
6
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getProtoOf = Object.getPrototypeOf;
9
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
+ get: () => from[key],
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
25
+ value: mod,
26
+ enumerable: true
27
+ }) : target, mod));
28
+ var import_ansis = __toESM(require("ansis"));
29
+ var import_citty = require("citty");
30
+ var import_path = __toESM(require("path"));
31
+ var import_process = require("process");
32
+ var import_getTemplateInfo = require("./helpers/getTemplateInfo.native.js");
33
+ var import_create = require("./create.native.js");
34
+ var import_url = require("url");
35
+ var import_fs = require("fs");
36
+ const import_meta = {};
37
+ function exit() {
38
+ process.exit(0);
39
+ }
40
+ process.on("SIGTERM", exit);
41
+ process.on("SIGINT", exit);
42
+ var main = (0, import_citty.defineCommand)({
43
+ meta: {
44
+ name: "main",
45
+ version: "0.0.0",
46
+ description: "Welcome to vxrn"
47
+ },
48
+ args: {
49
+ directory: {
50
+ type: "positional",
51
+ description: "Directory to copy into",
52
+ default: ""
53
+ },
54
+ template: {
55
+ type: "string",
56
+ required: false,
57
+ description: "Choose a template in advance (avoid selection screen)."
58
+ },
59
+ info: {
60
+ type: "boolean",
61
+ description: "Output the post-install instructions for the template."
62
+ }
63
+ },
64
+ async run(param) {
65
+ var {
66
+ args
67
+ } = param;
68
+ if (args.info) {
69
+ var template = await (0, import_getTemplateInfo.getTemplateInfo)(args.template);
70
+ if ("extraSteps" in template) {
71
+ await template.extraSteps({
72
+ isFullClone: false,
73
+ projectName: import_path.default.basename((0, import_process.cwd)()),
74
+ projectPath: (0, import_process.cwd)()
75
+ });
76
+ }
77
+ return;
78
+ }
79
+ console.info();
80
+ console.info(import_ansis.default.bold("Creating vxrn app..."));
81
+ await (0, import_create.create)({
82
+ template: args.template
83
+ });
84
+ }
85
+ });
86
+ (0, import_citty.runMain)(main);
87
+ function getPackageVersion() {
88
+ var dirname;
89
+ if (typeof __dirname !== "undefined") {
90
+ dirname = __dirname;
91
+ } else {
92
+ dirname = import_path.default.dirname((0, import_url.fileURLToPath)(import_meta.url));
93
+ }
94
+ var packagePath = import_path.default.join(dirname, "..", "..", "package.json");
95
+ var packageJson = JSON.parse((0, import_fs.readFileSync)(packagePath, "utf-8"));
96
+ return packageJson.version;
97
+ }
98
+ if (process.argv.includes("--version")) {
99
+ console.info(getPackageVersion());
100
+ process.exit(0);
101
+ }
102
+ //# sourceMappingURL=index.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["import_ansis","__toESM","require","import_citty","import_path","import_process","import_getTemplateInfo","import_create","import_url","import_fs","import_meta","exit","process","on","main","defineCommand","meta","name","version","description","args","directory","type","default","template","required","info","run","param","getTemplateInfo","extraSteps","isFullClone","projectName","basename","cwd","projectPath","console","bold","create","runMain","getPackageVersion","dirname","__dirname","fileURLToPath","url","packagePath","join","packageJson","JSON","parse","readFileSync"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;gBAGA;AACA,IAAAA,YAAA,GAAuCC,OAAA,CAAAC,OAAA;AACvC,IAAAC,YAAA,GAAAD,OAAiB;AACjB,IAAAE,WAAA,GAAAH,OAAA,CAAoBC,OAAA;AACpB,IAAAG,cAAA,GAAAH,OAAA,CAAgC;AAChC,IAAAI,sBAAuB,GAAAJ,OAAA;AACvB,IAAAK,aAAA,GAAAL,OAA8B;AAC9B,IAAAM,UAAA,GAAAN,OAA6B;AAV7B,IAAAO,SAAA,GAAAP,OA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B,OAAA,CAAAkB,OAAA,KAAAjC,UAAA,CAAAmC,aAAA,EAAAjC,WAAA,CAAAkC,GAAA;EACrB;EAEA,IAAIC,WAAa,GAAAzC,WAAS,CAAAmB,OAAW,CAAGuB,IAAA,CAAAL,OAAA;EACtC,IAAAM,WAAa,GAAAC,IAAA,CAAAC,KAAA,GAAkB,EAACxC,SAAA,CAAAyC,YAAA,EAAAL,WAAA;EAChC,OAAAE,WAAc,CAAA7B,OAAA;AAChB","ignoreList":[]}
@@ -0,0 +1,109 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
+ get: () => from[key],
17
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
+ });
19
+ }
20
+ return to;
21
+ };
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
23
+ // If the importer is in node compatibility mode or this is not an ESM
24
+ // file that has been converted to a CommonJS file using a Babel-
25
+ // compatible transform (i.e. "__esModule" has not been set), then set
26
+ // "default" to the CommonJS "module.exports" for node compatibility.
27
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
28
+ value: mod,
29
+ enumerable: true
30
+ }) : target, mod));
31
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
32
+ value: true
33
+ }), mod);
34
+ var bare_exports = {};
35
+ __export(bare_exports, {
36
+ default: () => bare_default,
37
+ replaceNameInUTF8File: () => replaceNameInUTF8File
38
+ });
39
+ module.exports = __toCommonJS(bare_exports);
40
+ var import_ansis = __toESM(require("ansis"));
41
+ var import_fs_extra = __toESM(require("fs-extra"));
42
+ var import_node_path = require("node:path");
43
+ function shouldIgnoreFile(filePath) {
44
+ return filePath.match(/node_modules|yarn.lock|package-lock.json/g);
45
+ }
46
+ function shouldRenameFile(filePath, nameToReplace) {
47
+ return (0, import_node_path.basename)(filePath).includes(nameToReplace);
48
+ }
49
+ async function renameFile(filePath, oldName, newName) {
50
+ const newFileName = (0, import_node_path.join)((0, import_node_path.dirname)(filePath), (0, import_node_path.basename)(filePath).replace(new RegExp(oldName, "g"), newName));
51
+ await import_fs_extra.default.rename(filePath, newFileName);
52
+ }
53
+ function walk(current) {
54
+ if (!import_fs_extra.default.lstatSync(current).isDirectory()) {
55
+ return [current];
56
+ }
57
+ const files = import_fs_extra.default.readdirSync(current).map(child => walk((0, import_node_path.join)(current, child)));
58
+ const result = [];
59
+ return result.concat.apply([current], files);
60
+ }
61
+ async function replaceNameInUTF8File(filePath, projectName, templateName) {
62
+ const fileContent = await import_fs_extra.default.readFile(filePath, "utf8");
63
+ const replacedFileContent = fileContent.replace(new RegExp(templateName, "g"), projectName).replace(new RegExp(templateName.toLowerCase(), "g"), projectName.toLowerCase());
64
+ if (fileContent !== replacedFileContent) {
65
+ await import_fs_extra.default.writeFile(filePath, replacedFileContent, "utf8");
66
+ }
67
+ }
68
+ const main = async ({
69
+ isFullClone,
70
+ projectName
71
+ }) => {
72
+ const placeholderName = "bare";
73
+ for (const filePath of walk(process.cwd()).reverse()) {
74
+ if (shouldIgnoreFile(filePath)) {
75
+ continue;
76
+ }
77
+ if (!(await import_fs_extra.default.stat(filePath)).isDirectory()) {
78
+ await replaceNameInUTF8File(filePath, projectName, "bare");
79
+ }
80
+ if (shouldRenameFile(filePath, placeholderName)) {
81
+ await renameFile(filePath, placeholderName, projectName);
82
+ } else if (shouldRenameFile(filePath, placeholderName.toLowerCase())) {
83
+ await renameFile(filePath, placeholderName.toLowerCase(), projectName.toLowerCase());
84
+ }
85
+ }
86
+ if (isFullClone) {
87
+ console.info(`
88
+ ${import_ansis.default.green.bold("Done!")} Created a new project under ./${import_ansis.default.greenBright(projectName)} visit your project:
89
+ \u2022 ${import_ansis.default.green("cd")} ${projectName}
90
+
91
+ ${import_ansis.default.green(`Run instructions for ${import_ansis.default.bold("Android")}:`)}
92
+ \u2022 Have an Android emulator running (quickest way to get started), or a device connected.
93
+ \u2022 npx react-native run-android
94
+
95
+ ${import_ansis.default.blue(`Run instructions for ${import_ansis.default.bold("iOS")}:`)}
96
+ \u2022 Install Cocoapods
97
+ \u2022 bundle install # you need to run this only once in your project.
98
+ \u2022 bundle exec pod install
99
+ \u2022 cd ..
100
+
101
+ \u2022 npx react-native run-ios
102
+ ${import_ansis.default.gray("- or -")}
103
+ \u2022 Open ${projectName}/ios/${projectName}.xcworkspace in Xcode or run "xed -b ios"
104
+ \u2022 Hit the Run button
105
+
106
+ `);
107
+ }
108
+ };
109
+ var bare_default = main;
@@ -0,0 +1,134 @@
1
+ "use strict";
2
+
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all) __defProp(target, name, {
11
+ get: all[name],
12
+ enumerable: true
13
+ });
14
+ };
15
+ var __copyProps = (to, from, except, desc) => {
16
+ if (from && typeof from === "object" || typeof from === "function") {
17
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
18
+ get: () => from[key],
19
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
20
+ });
21
+ }
22
+ return to;
23
+ };
24
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
25
+ // If the importer is in node compatibility mode or this is not an ESM
26
+ // file that has been converted to a CommonJS file using a Babel-
27
+ // compatible transform (i.e. "__esModule" has not been set), then set
28
+ // "default" to the CommonJS "module.exports" for node compatibility.
29
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
30
+ value: mod,
31
+ enumerable: true
32
+ }) : target, mod));
33
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
34
+ value: true
35
+ }), mod);
36
+ var bare_exports = {};
37
+ __export(bare_exports, {
38
+ default: () => bare_default,
39
+ replaceNameInUTF8File: () => replaceNameInUTF8File
40
+ });
41
+ module.exports = __toCommonJS(bare_exports);
42
+ var import_ansis = __toESM(require("ansis"));
43
+ var import_fs_extra = __toESM(require("fs-extra"));
44
+ var import_path = require("path");
45
+ function shouldIgnoreFile(filePath) {
46
+ return filePath.match(/node_modules|yarn.lock|package-lock.json/g);
47
+ }
48
+ function shouldRenameFile(filePath, nameToReplace) {
49
+ return (0, import_path.basename)(filePath).includes(nameToReplace);
50
+ }
51
+ async function renameFile(filePath, oldName, newName) {
52
+ var newFileName = (0, import_path.join)((0, import_path.dirname)(filePath), (0, import_path.basename)(filePath).replace(new RegExp(oldName, "g"), newName));
53
+ await import_fs_extra.default.rename(filePath, newFileName);
54
+ }
55
+ function walk(current) {
56
+ if (!import_fs_extra.default.lstatSync(current).isDirectory()) {
57
+ return [current];
58
+ }
59
+ var files = import_fs_extra.default.readdirSync(current).map(function (child) {
60
+ return walk((0, import_path.join)(current, child));
61
+ });
62
+ var result = [];
63
+ return result.concat.apply([current], files);
64
+ }
65
+ async function replaceNameInUTF8File(filePath, projectName, templateName) {
66
+ var fileContent = await import_fs_extra.default.readFile(filePath, "utf8");
67
+ var replacedFileContent = fileContent.replace(new RegExp(templateName, "g"), projectName).replace(new RegExp(templateName.toLowerCase(), "g"), projectName.toLowerCase());
68
+ if (fileContent !== replacedFileContent) {
69
+ await import_fs_extra.default.writeFile(filePath, replacedFileContent, "utf8");
70
+ }
71
+ }
72
+ var main = async function (param) {
73
+ var {
74
+ isFullClone,
75
+ projectName
76
+ } = param;
77
+ var placeholderName = "bare";
78
+ var _iteratorNormalCompletion = true,
79
+ _didIteratorError = false,
80
+ _iteratorError = void 0;
81
+ try {
82
+ for (var _iterator = walk(process.cwd()).reverse()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
83
+ var filePath = _step.value;
84
+ if (shouldIgnoreFile(filePath)) {
85
+ continue;
86
+ }
87
+ if (!(await import_fs_extra.default.stat(filePath)).isDirectory()) {
88
+ await replaceNameInUTF8File(filePath, projectName, "bare");
89
+ }
90
+ if (shouldRenameFile(filePath, placeholderName)) {
91
+ await renameFile(filePath, placeholderName, projectName);
92
+ } else if (shouldRenameFile(filePath, placeholderName.toLowerCase())) {
93
+ await renameFile(filePath, placeholderName.toLowerCase(), projectName.toLowerCase());
94
+ }
95
+ }
96
+ } catch (err) {
97
+ _didIteratorError = true;
98
+ _iteratorError = err;
99
+ } finally {
100
+ try {
101
+ if (!_iteratorNormalCompletion && _iterator.return != null) {
102
+ _iterator.return();
103
+ }
104
+ } finally {
105
+ if (_didIteratorError) {
106
+ throw _iteratorError;
107
+ }
108
+ }
109
+ }
110
+ if (isFullClone) {
111
+ console.info(`
112
+ ${import_ansis.default.green.bold("Done!")} Created a new project under ./${import_ansis.default.greenBright(projectName)} visit your project:
113
+ \u2022 ${import_ansis.default.green("cd")} ${projectName}
114
+
115
+ ${import_ansis.default.green(`Run instructions for ${import_ansis.default.bold("Android")}:`)}
116
+ \u2022 Have an Android emulator running (quickest way to get started), or a device connected.
117
+ \u2022 npx react-native run-android
118
+
119
+ ${import_ansis.default.blue(`Run instructions for ${import_ansis.default.bold("iOS")}:`)}
120
+ \u2022 Install Cocoapods
121
+ \u2022 bundle install # you need to run this only once in your project.
122
+ \u2022 bundle exec pod install
123
+ \u2022 cd ..
124
+
125
+ \u2022 npx react-native run-ios
126
+ ${import_ansis.default.gray("- or -")}
127
+ \u2022 Open ${projectName}/ios/${projectName}.xcworkspace in Xcode or run "xed -b ios"
128
+ \u2022 Hit the Run button
129
+
130
+ `);
131
+ }
132
+ };
133
+ var bare_default = main;
134
+ //# sourceMappingURL=bare.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","bare_exports","__export","default","bare_default","replaceNameInUTF8File","module","exports","import_ansis","__toESM","require","import_fs_extra","import_path","shouldIgnoreFile","filePath","match","shouldRenameFile","nameToReplace","basename","includes","renameFile","oldName","newName","newFileName","join","dirname","replace","RegExp","rename","walk","current","lstatSync","isDirectory","files","readdirSync","map","child","result","concat","apply","projectName","templateName","fileContent","readFile","replacedFileContent","toLowerCase","writeFile","main","param","isFullClone","placeholderName","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","process","cwd","reverse","Symbol","iterator","_step","next","done","stat","err","return","console","info"],"sources":["../../../src/steps/bare.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,YAAA;AAAAC,QAAA,CAAAD,YAAA;EAAAE,OAAA,EAAAA,CAAA,KAAAC,YAAA;EAAAC,qBAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAX,YAAkB,CAAAK,YAAA;AAClB,IAAAO,YAAA,GAAAC,OAAe,CAAAC,OAAA;AACf,IAAAC,eAAA,GAAAF,OAAwC,CAAAC,OAAA;AAGxC,IAAAE,WAAS,GAAAF,OAAA,CAAiB;AACxB,SAAOG,gBAAeA,CAAAC,QAAA;EACxB,OAAAA,QAAA,CAAAC,KAAA;AAEA;AACE,SAAAC,gBAAOA,CAAAF,QAAA,EAAAG,aAAiB,EAAE;EAC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 -0,0 +1,57 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
+ get: () => from[key],
17
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
+ });
19
+ }
20
+ return to;
21
+ };
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
23
+ // If the importer is in node compatibility mode or this is not an ESM
24
+ // file that has been converted to a CommonJS file using a Babel-
25
+ // compatible transform (i.e. "__esModule" has not been set), then set
26
+ // "default" to the CommonJS "module.exports" for node compatibility.
27
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
28
+ value: mod,
29
+ enumerable: true
30
+ }) : target, mod));
31
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
32
+ value: true
33
+ }), mod);
34
+ var fullstack_exports = {};
35
+ __export(fullstack_exports, {
36
+ default: () => fullstack_default
37
+ });
38
+ module.exports = __toCommonJS(fullstack_exports);
39
+ var import_ansis = __toESM(require("ansis"));
40
+ const packageManager = "yarn";
41
+ const useYarn = packageManager === "yarn";
42
+ const runCommand = scriptName => `${packageManager} ${useYarn ? "" : "run "}${scriptName}`;
43
+ const main = async ({
44
+ isFullClone,
45
+ projectName
46
+ }) => {
47
+ if (isFullClone) {
48
+ console.info(`
49
+ ${import_ansis.default.green.bold("Done!")} Created a new project under ./${import_ansis.default.greenBright(projectName)} visit your project:
50
+ \u2022 ${import_ansis.default.green("cd")} ${projectName}
51
+ `);
52
+ }
53
+ console.info(`
54
+ To start the dev server, run: ${import_ansis.default.green(runCommand("dev"))}
55
+ `);
56
+ };
57
+ var fullstack_default = main;
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all) __defProp(target, name, {
11
+ get: all[name],
12
+ enumerable: true
13
+ });
14
+ };
15
+ var __copyProps = (to, from, except, desc) => {
16
+ if (from && typeof from === "object" || typeof from === "function") {
17
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
18
+ get: () => from[key],
19
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
20
+ });
21
+ }
22
+ return to;
23
+ };
24
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
25
+ // If the importer is in node compatibility mode or this is not an ESM
26
+ // file that has been converted to a CommonJS file using a Babel-
27
+ // compatible transform (i.e. "__esModule" has not been set), then set
28
+ // "default" to the CommonJS "module.exports" for node compatibility.
29
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
30
+ value: mod,
31
+ enumerable: true
32
+ }) : target, mod));
33
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
34
+ value: true
35
+ }), mod);
36
+ var fullstack_exports = {};
37
+ __export(fullstack_exports, {
38
+ default: () => fullstack_default
39
+ });
40
+ module.exports = __toCommonJS(fullstack_exports);
41
+ var import_ansis = __toESM(require("ansis"));
42
+ var packageManager = "yarn";
43
+ var useYarn = packageManager === "yarn";
44
+ var runCommand = function (scriptName) {
45
+ return `${packageManager} ${useYarn ? "" : "run "}${scriptName}`;
46
+ };
47
+ var main = async function (param) {
48
+ var {
49
+ isFullClone,
50
+ projectName
51
+ } = param;
52
+ if (isFullClone) {
53
+ console.info(`
54
+ ${import_ansis.default.green.bold("Done!")} Created a new project under ./${import_ansis.default.greenBright(projectName)} visit your project:
55
+ \u2022 ${import_ansis.default.green("cd")} ${projectName}
56
+ `);
57
+ }
58
+ console.info(`
59
+ To start the dev server, run: ${import_ansis.default.green(runCommand("dev"))}
60
+ `);
61
+ };
62
+ var fullstack_default = main;
63
+ //# sourceMappingURL=fullstack.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","fullstack_exports","__export","default","fullstack_default","module","exports","import_ansis","__toESM","require","packageManager","useYarn","runCommand","scriptName","main","param","isFullClone","projectName","console","info","green","bold","greenBright"],"sources":["../../../src/steps/fullstack.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,iBAAA;AAAAC,QAAA,CAAAD,iBAAA;EAAAE,OAAA,EAAAA,CAAA,KAAAC;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAV,YAAkB,CAAAK,iBAAA;AAIlB,IAAAM,YAAM,GAAAC,OAAiB,CAAAC,OAAA;AACvB,IAAAC,cAAgB;AAEhB,IAAAC,OAAM,GAAAD,cAAc,WACf;AAEL,IAAAE,UAAyB,YAAAA,CAASC,UAAa;EAC7C,OAAI,GAAAH,cAAa,IAAAC,OAAA,iBAAAE,UAAA;AACf;AAAa,IACfC,IAAA,kBAAAA,CAAMC,KAAM;EAA6E;IAAAC,WACtF;IAAAC;EAAM,IAAMF,KAAK;EACrB,IAAAC,WAAA;IACCE,OAAA,CAAAC,IAAA;AACA,EAAAZ,YAAQ,CAAKJ,OAAA,CAAAiB,KAAA,CAAAC,IAAA,2CAAAd,YAAA,CAAAJ,OAAA,CAAAmB,WAAA,CAAAL,WAAA;AAAA,UAAAV,YAAA,CAAAJ,OAAA,CAAAiB,KACiB,UAAAH,WAAM;AAAwB,CAC7D;EACD;EAEAC,OAAO,CAAAC,IAAA","ignoreList":[]}