modpack-lock 0.6.2 → 0.8.0

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 (121) hide show
  1. package/README.md +24 -18
  2. package/build/cli.d.ts +3 -0
  3. package/build/cli.d.ts.map +1 -0
  4. package/build/cli.js +257 -0
  5. package/build/cli.js.map +1 -0
  6. package/build/config/api.d.ts +29 -0
  7. package/build/config/api.d.ts.map +1 -0
  8. package/{src → build}/config/api.js +4 -14
  9. package/build/config/api.js.map +1 -0
  10. package/build/config/constants.d.ts +17 -0
  11. package/build/config/constants.d.ts.map +1 -0
  12. package/{src → build}/config/constants.js +10 -10
  13. package/build/config/constants.js.map +1 -0
  14. package/build/config/defaults.d.ts +16 -0
  15. package/build/config/defaults.d.ts.map +1 -0
  16. package/build/config/defaults.js +60 -0
  17. package/build/config/defaults.js.map +1 -0
  18. package/build/config/files.d.ts +11 -0
  19. package/build/config/files.d.ts.map +1 -0
  20. package/{src → build}/config/files.js +1 -4
  21. package/build/config/files.js.map +1 -0
  22. package/build/config/index.d.ts +7 -0
  23. package/build/config/index.d.ts.map +1 -0
  24. package/{src → build}/config/index.js +1 -0
  25. package/build/config/index.js.map +1 -0
  26. package/build/config/options.d.ts +8 -0
  27. package/build/config/options.d.ts.map +1 -0
  28. package/{src → build}/config/options.js +7 -6
  29. package/build/config/options.js.map +1 -0
  30. package/build/config/strings.d.ts +35 -0
  31. package/build/config/strings.d.ts.map +1 -0
  32. package/{src → build}/config/strings.js +14 -19
  33. package/build/config/strings.js.map +1 -0
  34. package/build/directory_scanning.d.ts +26 -0
  35. package/build/directory_scanning.d.ts.map +1 -0
  36. package/{src → build}/directory_scanning.js +23 -36
  37. package/build/directory_scanning.js.map +1 -0
  38. package/build/generate_gitignore.d.ts +9 -0
  39. package/build/generate_gitignore.d.ts.map +1 -0
  40. package/{src → build}/generate_gitignore.js +21 -35
  41. package/build/generate_gitignore.js.map +1 -0
  42. package/build/generate_json.d.ts +18 -0
  43. package/build/generate_json.d.ts.map +1 -0
  44. package/build/generate_json.js +137 -0
  45. package/build/generate_json.js.map +1 -0
  46. package/build/generate_license.d.ts +11 -0
  47. package/build/generate_license.d.ts.map +1 -0
  48. package/build/generate_license.js +54 -0
  49. package/build/generate_license.js.map +1 -0
  50. package/build/generate_lockfile.d.ts +14 -0
  51. package/build/generate_lockfile.d.ts.map +1 -0
  52. package/{src → build}/generate_lockfile.js +19 -69
  53. package/build/generate_lockfile.js.map +1 -0
  54. package/build/generate_readme.d.ts +9 -0
  55. package/build/generate_readme.d.ts.map +1 -0
  56. package/{src → build}/generate_readme.js +46 -72
  57. package/build/generate_readme.js.map +1 -0
  58. package/build/github_interactions.d.ts +14 -0
  59. package/build/github_interactions.d.ts.map +1 -0
  60. package/{src → build}/github_interactions.js +16 -19
  61. package/build/github_interactions.js.map +1 -0
  62. package/build/logger.d.ts +96 -0
  63. package/build/logger.d.ts.map +1 -0
  64. package/{src → build}/logger.js +47 -55
  65. package/build/logger.js.map +1 -0
  66. package/build/modpack-lock.d.ts +25 -0
  67. package/build/modpack-lock.d.ts.map +1 -0
  68. package/build/modpack-lock.js +43 -0
  69. package/build/modpack-lock.js.map +1 -0
  70. package/build/modrinth_interactions.d.ts +31 -0
  71. package/build/modrinth_interactions.d.ts.map +1 -0
  72. package/{src → build}/modrinth_interactions.js +72 -55
  73. package/build/modrinth_interactions.js.map +1 -0
  74. package/build/types/Jsonfile.d.ts +26 -0
  75. package/build/types/Jsonfile.d.ts.map +1 -0
  76. package/build/types/Jsonfile.js +2 -0
  77. package/build/types/Jsonfile.js.map +1 -0
  78. package/build/types/Lockfile.d.ts +39 -0
  79. package/build/types/Lockfile.d.ts.map +1 -0
  80. package/build/types/Lockfile.js +2 -0
  81. package/build/types/Lockfile.js.map +1 -0
  82. package/build/types/ModpackInfo.d.ts +28 -0
  83. package/build/types/ModpackInfo.d.ts.map +1 -0
  84. package/build/types/ModpackInfo.js +2 -0
  85. package/build/types/ModpackInfo.js.map +1 -0
  86. package/build/types/OptionalFileOptions.d.ts +8 -0
  87. package/build/types/OptionalFileOptions.d.ts.map +1 -0
  88. package/build/types/OptionalFileOptions.js +2 -0
  89. package/build/types/OptionalFileOptions.js.map +1 -0
  90. package/build/types/contentFiles.d.ts +24 -0
  91. package/build/types/contentFiles.d.ts.map +1 -0
  92. package/build/types/contentFiles.js +2 -0
  93. package/build/types/contentFiles.js.map +1 -0
  94. package/build/types/githubResponses.d.ts +17 -0
  95. package/build/types/githubResponses.d.ts.map +1 -0
  96. package/build/types/githubResponses.js +2 -0
  97. package/build/types/githubResponses.js.map +1 -0
  98. package/build/types/index.d.ts +9 -0
  99. package/build/types/index.d.ts.map +1 -0
  100. package/build/types/index.js +2 -0
  101. package/build/types/index.js.map +1 -0
  102. package/build/types/modrinthResponses.d.ts +135 -0
  103. package/build/types/modrinthResponses.d.ts.map +1 -0
  104. package/build/types/modrinthResponses.js +2 -0
  105. package/build/types/modrinthResponses.js.map +1 -0
  106. package/build/types/options.d.ts +70 -0
  107. package/build/types/options.d.ts.map +1 -0
  108. package/build/types/options.js +2 -0
  109. package/build/types/options.js.map +1 -0
  110. package/build/user_prompts.d.ts +16 -0
  111. package/build/user_prompts.d.ts.map +1 -0
  112. package/build/user_prompts.js +132 -0
  113. package/build/user_prompts.js.map +1 -0
  114. package/package.json +13 -6
  115. package/src/cli.js +0 -310
  116. package/src/config/defaults.js +0 -66
  117. package/src/config/types.js +0 -76
  118. package/src/generate_json.js +0 -106
  119. package/src/generate_license.js +0 -54
  120. package/src/modpack-lock.js +0 -69
  121. package/src/modpack_info.js +0 -200
package/README.md CHANGED
@@ -59,6 +59,7 @@ Options:
59
59
  -d, --dry-run Dry-run mode - no files will be written
60
60
 
61
61
  GENERATION
62
+ -l, --licenseFile Add the LICENSE file to the modpack
62
63
  -g, --gitignore Update the .gitignore file to ignore content hosted on Modrinth
63
64
  -r, --readme Generate README.md files for each category
64
65
 
@@ -71,7 +72,7 @@ INFORMATION
71
72
  -h, --help display help for modpack-lock
72
73
 
73
74
  Commands:
74
- init [options] This utility will walk you through creating a modpack.json file. It only covers the most common items, and tries to guess sensible defaults.
75
+ init [options] Initialize a modpack with a modpack.json file and a modpack.lock lockfile.
75
76
  run [options] <script> Run a script defined in the modpack.json file's 'scripts' field
76
77
  ```
77
78
 
@@ -100,7 +101,7 @@ The interactive mode will prompt you for each field. Set their initial values us
100
101
  ```text
101
102
  Usage: modpack-lock init [options]
102
103
 
103
- This utility will walk you through creating a modpack.json file. It only covers the most common items, and tries to guess sensible defaults.
104
+ Initialize a modpack with a modpack.json file and a modpack.lock lockfile.
104
105
 
105
106
  Options:
106
107
  -f, --folder <path> Path to the modpack directory
@@ -110,17 +111,17 @@ Options:
110
111
  --add-readme Generate README.md files for each category
111
112
 
112
113
  MODPACK INFORMATION
113
- --name <name> Modpack name; defaults to the directory name
114
- --version <version> Modpack version; defaults to 1.0.0
115
- --id <id> Modpack slug/ID; defaults to the directory name slugified
116
- --description <description> Modpack description
117
- --author <author> Modpack author; required
118
- --projectUrl <projectUrl> Modpack URL; defaults to a guessed Modrinth project URL
119
- --sourceUrl <sourceUrl> Modpack source code URL; defaults to a guessed GitHub repository URL
120
- --license <license> Modpack license, popular licenses fetched from GitHub; defaults to MIT in interactive mode
121
- --modloader <modloader> Modpack modloader, list of loaders fetched from Modrinth; required
122
- --targetModloaderVersion <targetModloaderVersion> Target modloader version
123
- --targetMinecraftVersion <targetMinecraftVersion> Target Minecraft version, list of versions fetched from Modrinth; required
114
+ --name <name> The name of the modpack; defaults to the directory name
115
+ --version <version> The modpack version; defaults to 1.0.0
116
+ --id <id> The modpack's slug/ID; defaults to the directory name slugified
117
+ --description <description> A description of the modpack
118
+ --author <author> The author of the modpack; required
119
+ --projectUrl <projectUrl> The project's homepage URL; defaults to a guessed Modrinth project URL
120
+ --sourceUrl <sourceUrl> The project's source code URL; defaults to a guessed GitHub repository URL
121
+ --license <license> The modpack's license; popular licenses are fetched from GitHub; defaults to mit in interactive mode
122
+ --modloader <modloader> The modpack's modloader; a list of loaders is fetched from Modrinth; required
123
+ --targetModloaderVersion <targetModloaderVersion> The target modloader version
124
+ --targetMinecraftVersion <targetMinecraftVersion> The target Minecraft version; a list of versions is fetched from Modrinth; required
124
125
 
125
126
  INFORMATION
126
127
  -h, --help display help for modpack-lock init
@@ -171,6 +172,7 @@ For programmatic usage, `modpack-lock` exports these functions:
171
172
  - `getModpackInfo()`
172
173
  - `getLockfile()`
173
174
  - `generateJson()`
175
+ - `normalizeDependencies()`
174
176
  - `generateGitignoreRules()`
175
177
  - `generateReadmeFiles()`
176
178
  - `generateLicense()`
@@ -232,10 +234,14 @@ The JSON file contains your modpack metadata and a dependency list:
232
234
  "example": "echo 'example script'"
233
235
  },
234
236
  "dependencies": {
235
- "mods": [ ... ],
236
- "resourcepacks": [ ... ],
237
- "datapacks": [ ... ],
238
- "shaderpacks": [ ... ]
237
+ "mods": {
238
+ "fabric-api": "0.141.2+1.21.11",
239
+ "example-mod": "1.2.3",
240
+ "mods/local-mod.jar": "*"
241
+ },
242
+ "resourcepacks": { ... },
243
+ "datapacks": { ... },
244
+ "shaderpacks": { ... }
239
245
  }
240
246
  }
241
247
  ```
@@ -255,7 +261,7 @@ The JSON file contains your modpack metadata and a dependency list:
255
261
  > datapacks/*.zip
256
262
  > shaderpacks/*.zip
257
263
  > */**/*.disabled
258
- >
264
+ >
259
265
  > ## Exceptions
260
266
  > !mods/example.jar
261
267
  > # modpack-lock:end
package/build/cli.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env NODE_OPTIONS=--no-warnings node
2
+ export {};
3
+ //# sourceMappingURL=cli.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":""}
package/build/cli.js ADDED
@@ -0,0 +1,257 @@
1
+ #!/usr/bin/env NODE_OPTIONS=--no-warnings node
2
+ import { Command } from "commander";
3
+ import slugify from "@sindresorhus/slugify";
4
+ import path from "path";
5
+ import { ChildProcess, spawn } from "child_process";
6
+ import { generateLockfile, printLockfileSummary } from "./generate_lockfile.js";
7
+ import { generateReadmeFiles } from "./generate_readme.js";
8
+ import { generateGitignoreRules } from "./generate_gitignore.js";
9
+ import { generateModpackFiles } from "./modpack-lock.js";
10
+ import { promptUserForInfo, promptUserAboutOptionalFiles } from "./user_prompts.js";
11
+ import { getModpackInfo } from "./directory_scanning.js";
12
+ import * as config from "./config/index.js";
13
+ import pkg from "../package.json" with { type: "json" };
14
+ import { logm, styleText } from "./logger.js";
15
+ const modpackLock = new Command("modpack-lock");
16
+ /**
17
+ * Merge modpack info with priority: options > existingInfo > defaults
18
+ * Preserves all fields from existingInfo
19
+ */
20
+ function mergeModpackInfo(existingInfo, options, defaults) {
21
+ const mergedInfo = {
22
+ ...defaults,
23
+ ...(existingInfo ?? {}),
24
+ };
25
+ for (const key of config.MODPACK_INFO_FIELDS) {
26
+ const defaultValue = defaults[key];
27
+ mergedInfo[key] = options[key] || existingInfo?.[key] || defaultValue;
28
+ }
29
+ return mergedInfo;
30
+ }
31
+ modpackLock
32
+ .name(pkg.name)
33
+ .description(pkg.description)
34
+ .summary("Create a modpack lockfile")
35
+ .optionsGroup(config.headings.options)
36
+ .option("-p, --path <path>", "Path to the modpack directory")
37
+ .option("-d, --dry-run", "Dry-run mode - no files will be written")
38
+ .optionsGroup(config.headings.generation)
39
+ .option("-l, --licenseFile", config.fileFields.addLicense.option)
40
+ .option("-g, --gitignore", config.fileFields.addGitignore.option)
41
+ .option("-r, --readme", config.fileFields.addReadme.option)
42
+ .optionsGroup(config.headings.logging)
43
+ .option("-q, --quiet", "Quiet mode - only show errors and warnings")
44
+ .option("-s, --silent", "Silent mode - no output")
45
+ .optionsGroup(config.headings.information)
46
+ .helpOption("-h, --help", `display help for ${pkg.name}`)
47
+ .version(pkg.version, "-V")
48
+ .action(async (options) => {
49
+ try {
50
+ const currDir = options.path || process.cwd();
51
+ logm.quietFromOptions(options);
52
+ const modpackInfo = await getModpackInfo(currDir);
53
+ if (modpackInfo) {
54
+ const lockfile = await generateModpackFiles(modpackInfo, currDir, options);
55
+ printLockfileSummary(lockfile);
56
+ }
57
+ else {
58
+ // Warn if license option is passed but no modpack.json exists
59
+ if (options.licenseFile) {
60
+ logm.warn(`License generation requires a ${config.MODPACK_JSON_NAME} file. Skipping license generation.`);
61
+ }
62
+ // Generate lockfile
63
+ const lockfile = await generateLockfile(currDir, options);
64
+ if (options.gitignore || options.readme) {
65
+ logm.header("Generating Optional Files");
66
+ }
67
+ // Generate gitignore if requested
68
+ if (options.gitignore) {
69
+ await generateGitignoreRules(lockfile, currDir, options);
70
+ }
71
+ // Generate README files if requested
72
+ if (options.readme) {
73
+ await generateReadmeFiles(lockfile, currDir, options);
74
+ }
75
+ printLockfileSummary(lockfile);
76
+ }
77
+ }
78
+ catch (error) {
79
+ logm.error(error);
80
+ process.exitCode = 1;
81
+ }
82
+ });
83
+ modpackLock
84
+ .command("init")
85
+ .description(`Initialize a modpack with a ${config.MODPACK_JSON_NAME} file and a ${config.MODPACK_LOCKFILE_NAME} lockfile.`)
86
+ .optionsGroup(config.headings.options)
87
+ .option("-f, --folder <path>", "Path to the modpack directory")
88
+ .option("-n, --noninteractive", "Non-interactive mode - must provide options for required fields")
89
+ .option("--add-license", config.fileFields.addLicense.option)
90
+ .option("--add-gitignore", config.fileFields.addGitignore.option)
91
+ .option("--add-readme", config.fileFields.addReadme.option)
92
+ .optionsGroup(config.headings.packInfo)
93
+ .option("--name <name>", config.infoFields.name.option)
94
+ .option("--version <version>", config.infoFields.version.option)
95
+ .option("--id <id>", config.infoFields.id.option)
96
+ .option("--description <description>", config.infoFields.description.option)
97
+ .option("--author <author>", config.infoFields.author.option)
98
+ .option("--projectUrl <projectUrl>", config.infoFields.projectUrl.option)
99
+ .option("--sourceUrl <sourceUrl>", config.infoFields.sourceUrl.option)
100
+ .option("--license <license>", config.infoFields.license.option)
101
+ .option("--modloader <modloader>", config.infoFields.modloader.option)
102
+ .option("--targetModloaderVersion <targetModloaderVersion>", config.infoFields.targetModloaderVersion.option)
103
+ .option("--targetMinecraftVersion <targetMinecraftVersion>", config.infoFields.targetMinecraftVersion.option)
104
+ .optionsGroup(config.headings.information)
105
+ .helpOption("-h, --help", `display help for ${pkg.name} init`)
106
+ .action(async (options) => {
107
+ options._init = true;
108
+ const currDir = options.folder || process.cwd();
109
+ let existingInfo = await getModpackInfo(currDir);
110
+ if (options.noninteractive) {
111
+ logm.quiet();
112
+ const defaultName = path.basename(currDir);
113
+ const author = options.author || existingInfo?.author || "";
114
+ const modloader = options.modloader || existingInfo?.modloader || "";
115
+ const targetMinecraftVersion = options.targetMinecraftVersion || existingInfo?.targetMinecraftVersion || "";
116
+ if (!author || !modloader || !targetMinecraftVersion) {
117
+ logm.error(`Must provide options for required fields:`, styleText(["bold"], `${author ? "" : "author"} ${modloader ? "" : "modloader"} ${targetMinecraftVersion ? "" : "targetMinecraftVersion"}`));
118
+ process.exitCode = 1;
119
+ return;
120
+ }
121
+ const defaults = {
122
+ name: defaultName,
123
+ version: config.DEFAULT_MODPACK_VERSION,
124
+ id: "", // Required, defaults after merge if not provided
125
+ description: "",
126
+ author: author, // Required, no default
127
+ projectUrl: "",
128
+ sourceUrl: "",
129
+ license: "",
130
+ modloader: modloader, // Required, no default
131
+ targetModloaderVersion: "",
132
+ targetMinecraftVersion: targetMinecraftVersion, // Required, no default
133
+ };
134
+ const modpackInfo = mergeModpackInfo(existingInfo, options, defaults);
135
+ modpackInfo.id = slugify(modpackInfo.id || modpackInfo.name || defaultName, config.SLUGIFY_OPTIONS);
136
+ options.readme = options.addReadme || false;
137
+ options.gitignore = options.addGitignore || false;
138
+ options.licenseFile = options.addLicense || false;
139
+ // generate the modpack files
140
+ try {
141
+ await generateModpackFiles(modpackInfo, currDir, options);
142
+ }
143
+ catch (error) {
144
+ logm.error(error);
145
+ process.exitCode = 1;
146
+ }
147
+ }
148
+ else {
149
+ logm.info(logm.label("modpack-lock"), styleText(["bold", "italic", "blueBright"], "init"));
150
+ logm.newline();
151
+ logm.info(styleText(["dim"], "This utility will walk you through creating a"), config.MODPACK_JSON_NAME, styleText(["dim"], "file and a"), config.MODPACK_LOCKFILE_NAME, styleText(["dim"], "lockfile. It only covers the most common items, and tries to guess sensible defaults."));
152
+ logm.newline();
153
+ logm.info(styleText(["dim"], "See"), styleText(["white", "bgGray", "italic"], "modpack-lock init --help"), styleText(["dim"], "for definitive documentation on these fields and exactly what they do."));
154
+ logm.newline();
155
+ logm.info(styleText(["dim"], "Press"), styleText(["yellow"], "^C"), styleText(["dim"], "at any time to quit."));
156
+ logm.newline();
157
+ try {
158
+ const defaults = {
159
+ name: path.basename(currDir),
160
+ version: config.DEFAULT_MODPACK_VERSION,
161
+ id: "",
162
+ description: "",
163
+ author: "",
164
+ projectUrl: "",
165
+ sourceUrl: "",
166
+ license: config.DEFAULT_MODPACK_LICENSE,
167
+ modloader: "",
168
+ targetModloaderVersion: "",
169
+ targetMinecraftVersion: "",
170
+ };
171
+ const mergedDefaults = mergeModpackInfo(existingInfo, options, defaults);
172
+ // prompt user for modpack information
173
+ const userAnswers = await promptUserForInfo(mergedDefaults);
174
+ // Preserve extra fields (e.g. scripts) from existing modpack.json
175
+ const modpackInfo = { ...mergedDefaults, ...userAnswers };
176
+ // prompt user if they want to add the license text
177
+ const optionalFiles = await promptUserAboutOptionalFiles(modpackInfo, options);
178
+ logm.newline();
179
+ // generate the modpack files
180
+ options.readme = optionalFiles.addReadme;
181
+ options.gitignore = optionalFiles.addGitignore;
182
+ options.licenseFile = optionalFiles.addLicense;
183
+ const lockfile = await generateModpackFiles(modpackInfo, currDir, options);
184
+ printLockfileSummary(lockfile);
185
+ }
186
+ catch (error) {
187
+ logm.error(error);
188
+ process.exitCode = 1;
189
+ }
190
+ }
191
+ });
192
+ modpackLock
193
+ .command("run")
194
+ .description(`Run a script defined in the ${config.MODPACK_JSON_NAME} file's 'scripts' field`)
195
+ .argument("<script>", "The name of the script to run")
196
+ .optionsGroup(config.headings.options)
197
+ .option("-f, --folder <path>", "Path to the modpack directory")
198
+ .option("-D, --debug", "Debug mode -- show more information about how the command is being parsed")
199
+ .optionsGroup(config.headings.information)
200
+ .helpOption("-h, --help", `display help for ${pkg.name} run`)
201
+ .allowExcessArguments(true)
202
+ .allowUnknownOption(true)
203
+ .action(async (script, options, command) => {
204
+ options._run = true;
205
+ try {
206
+ if (options.debug) {
207
+ logm.debug("COMMAND:", command);
208
+ }
209
+ const currDir = options.folder || process.cwd();
210
+ const modpackInfo = await getModpackInfo(currDir);
211
+ // verify neccecary files and information exist
212
+ if (!modpackInfo) {
213
+ throw new Error(`No ${config.MODPACK_JSON_NAME} file found`);
214
+ }
215
+ if (!modpackInfo.scripts) {
216
+ throw new Error(`No scripts defined in ${config.MODPACK_JSON_NAME}`);
217
+ }
218
+ if (!modpackInfo.scripts[script]) {
219
+ throw new Error(`Script ${script} not found in ${config.MODPACK_JSON_NAME}`);
220
+ }
221
+ // build the full command
222
+ const scriptCommand = modpackInfo.scripts[script];
223
+ const args = command.args ? command.args.slice(1) : [];
224
+ const fullCommand = `${scriptCommand} ${args.join(" ")}`;
225
+ // debug logging
226
+ if (options.debug) {
227
+ logm.debug("CURR DIR:", currDir);
228
+ logm.debug("OPTIONS:", options);
229
+ logm.debug("SCRIPT:", script);
230
+ logm.debug("SCRIPT COMMAND:", scriptCommand);
231
+ logm.debug("ARGS:", args);
232
+ logm.debug("FULL COMMAND:", fullCommand);
233
+ }
234
+ // spawn the command
235
+ const child = spawn(fullCommand, [], {
236
+ shell: true,
237
+ stdio: "inherit",
238
+ cwd: currDir,
239
+ });
240
+ // preserve exit code on completion
241
+ const exitCode = await new Promise((resolve) => {
242
+ child.on("close", (code) => {
243
+ resolve(code || 0);
244
+ });
245
+ });
246
+ process.exitCode = exitCode;
247
+ }
248
+ catch (error) {
249
+ logm.error(error.message);
250
+ process.exitCode = 1;
251
+ }
252
+ });
253
+ modpackLock.parseAsync().catch((error) => {
254
+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AAK,CAAC,KAAK,CAAC,CAAC;IAClB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC,CAAC,CAAC"}
@@ -0,0 +1,29 @@
1
+ /** User-Agent header for Modrinth API requests */
2
+ export declare const PACKAGE_USER_AGENT: string;
3
+ /** Modrinth API base URL */
4
+ export declare const MODRINTH_API_BASE: string;
5
+ /** Default timeout for Modrinth API requests */
6
+ export declare const MODRINTH_API_TIMEOUT: number;
7
+ /** Modrinth version files endpoint */
8
+ export declare const MODRINTH_VERSION_FILES_ENDPOINT: string;
9
+ /** Modrinth projects endpoint */
10
+ export declare const MODRINTH_PROJECTS_ENDPOINT: string;
11
+ /** Modrinth users endpoint */
12
+ export declare const MODRINTH_USERS_ENDPOINT: string;
13
+ /** Modrinth Minecraft versions endpoint */
14
+ export declare const MODRINTH_MINECRAFT_VERSIONS_ENDPOINT: string;
15
+ /** Modrinth Modloaders endpoint */
16
+ export declare const MODRINTH_MODLOADERS_ENDPOINT: string;
17
+ /** Batch size for Modrinth API requests */
18
+ export declare const BATCH_SIZE: number;
19
+ /** GitHub API base URL */
20
+ export declare const GITHUB_API_BASE: string;
21
+ /** GitHub licenses endpoint */
22
+ export declare const GITHUB_LICENSES_ENDPOINT: string;
23
+ /** GitHub featured licenses endpoint */
24
+ export declare const GITHUB_FEATURED_LICENSES_ENDPOINT: string;
25
+ /** GitHub license endpoint */
26
+ export declare const GITHUB_LICENSE_ENDPOINT: (license: string) => string;
27
+ /** GitHub Accept request header */
28
+ export declare const GITHUB_ACCEPT_HEADER: string;
29
+ //# sourceMappingURL=api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/config/api.ts"],"names":[],"mappings":"AAGA,kDAAkD;AAClD,eAAO,MAAM,kBAAkB,EAAE,MAAkE,CAAC;AAEpG,4BAA4B;AAC5B,eAAO,MAAM,iBAAiB,EAAE,MAAsC,CAAC;AAEvE,gDAAgD;AAChD,eAAO,MAAM,oBAAoB,EAAE,MAAa,CAAC;AAEjD,sCAAsC;AACtC,eAAO,MAAM,+BAA+B,EAAE,MAA6C,CAAC;AAE5F,iCAAiC;AACjC,eAAO,MAAM,0BAA0B,EAAE,MAAwC,CAAC;AAElF,8BAA8B;AAC9B,eAAO,MAAM,uBAAuB,EAAE,MAAqC,CAAC;AAE5E,2CAA2C;AAC3C,eAAO,MAAM,oCAAoC,EAAE,MAAgD,CAAC;AAEpG,mCAAmC;AACnC,eAAO,MAAM,4BAA4B,EAAE,MAA0C,CAAC;AAEtF,2CAA2C;AAC3C,eAAO,MAAM,UAAU,EAAE,MAAY,CAAC;AAEtC,0BAA0B;AAC1B,eAAO,MAAM,eAAe,EAAE,MAAiC,CAAC;AAEhE,+BAA+B;AAC/B,eAAO,MAAM,wBAAwB,EAAE,MAAsC,CAAC;AAE9E,wCAAwC;AACxC,eAAO,MAAM,iCAAiC,EAAE,MAAoD,CAAC;AAErG,8BAA8B;AAC9B,eAAO,MAAM,uBAAuB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MACf,CAAC;AAE7C,mCAAmC;AACnC,eAAO,MAAM,oBAAoB,EAAE,MAAsC,CAAC"}
@@ -1,41 +1,31 @@
1
- import pkg from "../../package.json" with {type: "json"};
1
+ import pkg from "../../package.json" with { type: "json" };
2
2
  import * as constants from "./constants.js";
3
-
4
3
  /** User-Agent header for Modrinth API requests */
5
4
  export const PACKAGE_USER_AGENT = `${constants.AUTHOR_USERNAME}/${pkg.name}/${pkg.version}`;
6
-
7
5
  /** Modrinth API base URL */
8
6
  export const MODRINTH_API_BASE = "https://api.modrinth.com/v2";
9
-
7
+ /** Default timeout for Modrinth API requests */
8
+ export const MODRINTH_API_TIMEOUT = 3000;
10
9
  /** Modrinth version files endpoint */
11
10
  export const MODRINTH_VERSION_FILES_ENDPOINT = `${MODRINTH_API_BASE}/version_files`;
12
-
13
11
  /** Modrinth projects endpoint */
14
12
  export const MODRINTH_PROJECTS_ENDPOINT = `${MODRINTH_API_BASE}/projects`;
15
-
16
13
  /** Modrinth users endpoint */
17
14
  export const MODRINTH_USERS_ENDPOINT = `${MODRINTH_API_BASE}/users`;
18
-
19
15
  /** Modrinth Minecraft versions endpoint */
20
16
  export const MODRINTH_MINECRAFT_VERSIONS_ENDPOINT = `${MODRINTH_API_BASE}/tag/game_version`;
21
-
22
17
  /** Modrinth Modloaders endpoint */
23
18
  export const MODRINTH_MODLOADERS_ENDPOINT = `${MODRINTH_API_BASE}/tag/loader`;
24
-
25
19
  /** Batch size for Modrinth API requests */
26
20
  export const BATCH_SIZE = 100;
27
-
28
21
  /** GitHub API base URL */
29
22
  export const GITHUB_API_BASE = "https://api.github.com";
30
-
31
23
  /** GitHub licenses endpoint */
32
24
  export const GITHUB_LICENSES_ENDPOINT = `${GITHUB_API_BASE}/licenses`;
33
-
34
25
  /** GitHub featured licenses endpoint */
35
26
  export const GITHUB_FEATURED_LICENSES_ENDPOINT = `${GITHUB_LICENSES_ENDPOINT}?featured=true`;
36
-
37
27
  /** GitHub license endpoint */
38
28
  export const GITHUB_LICENSE_ENDPOINT = (license) => `${GITHUB_API_BASE}/licenses/${license}`;
39
-
40
29
  /** GitHub Accept request header */
41
30
  export const GITHUB_ACCEPT_HEADER = "application/vnd.github+json";
31
+ //# sourceMappingURL=api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/config/api.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,oBAAoB,CAAC,OAAM,IAAI,EAAE,MAAM,EAAC,CAAC;AACzD,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,kDAAkD;AAClD,MAAM,CAAC,MAAM,kBAAkB,GAAW,GAAG,SAAS,CAAC,eAAe,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,OAAO,EAAE,CAAC;AAEpG,4BAA4B;AAC5B,MAAM,CAAC,MAAM,iBAAiB,GAAW,6BAA6B,CAAC;AAEvE,gDAAgD;AAChD,MAAM,CAAC,MAAM,oBAAoB,GAAW,IAAI,CAAC;AAEjD,sCAAsC;AACtC,MAAM,CAAC,MAAM,+BAA+B,GAAW,GAAG,iBAAiB,gBAAgB,CAAC;AAE5F,iCAAiC;AACjC,MAAM,CAAC,MAAM,0BAA0B,GAAW,GAAG,iBAAiB,WAAW,CAAC;AAElF,8BAA8B;AAC9B,MAAM,CAAC,MAAM,uBAAuB,GAAW,GAAG,iBAAiB,QAAQ,CAAC;AAE5E,2CAA2C;AAC3C,MAAM,CAAC,MAAM,oCAAoC,GAAW,GAAG,iBAAiB,mBAAmB,CAAC;AAEpG,mCAAmC;AACnC,MAAM,CAAC,MAAM,4BAA4B,GAAW,GAAG,iBAAiB,aAAa,CAAC;AAEtF,2CAA2C;AAC3C,MAAM,CAAC,MAAM,UAAU,GAAW,GAAG,CAAC;AAEtC,0BAA0B;AAC1B,MAAM,CAAC,MAAM,eAAe,GAAW,wBAAwB,CAAC;AAEhE,+BAA+B;AAC/B,MAAM,CAAC,MAAM,wBAAwB,GAAW,GAAG,eAAe,WAAW,CAAC;AAE9E,wCAAwC;AACxC,MAAM,CAAC,MAAM,iCAAiC,GAAW,GAAG,wBAAwB,gBAAgB,CAAC;AAErG,8BAA8B;AAC9B,MAAM,CAAC,MAAM,uBAAuB,GAAgC,CAAC,OAAO,EAAE,EAAE,CAC5E,GAAG,eAAe,aAAa,OAAO,EAAE,CAAC;AAE7C,mCAAmC;AACnC,MAAM,CAAC,MAAM,oBAAoB,GAAW,6BAA6B,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { DependencyCategory, MinecraftVersionType, ModpackInfo } from "../types/index.js";
2
+ /** Author username */
3
+ export declare const AUTHOR_USERNAME: string;
4
+ /** Lockfile format version -- increment on changes to the format */
5
+ export declare const LOCKFILE_VERSION: string;
6
+ /** Required fields for the modpack information */
7
+ export declare const MODPACK_INFO_REQUIRED_FIELDS: (keyof ModpackInfo)[];
8
+ export declare const MODPACK_INFO_FIELDS: (keyof ModpackInfo)[];
9
+ /** Dependency categories, corresponds to folders in Minecraft profile */
10
+ export declare const DEPENDENCY_CATEGORIES: DependencyCategory[];
11
+ /** Minecraft version types */
12
+ export declare const MINECRAFT_VERSION_TYPE_ORDER: MinecraftVersionType[];
13
+ /** Gitignore section start marker */
14
+ export declare const GITIGNORE_START_MARKER: string;
15
+ /** Gitignore section end marker */
16
+ export declare const GITIGNORE_END_MARKER: string;
17
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/config/constants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,kBAAkB,EAAE,oBAAoB,EAAE,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAE7F,sBAAsB;AACtB,eAAO,MAAM,eAAe,EAAE,MAAkB,CAAC;AAEjD,oEAAoE;AACpE,eAAO,MAAM,gBAAgB,EAAE,MAAgB,CAAC;AAEhD,kDAAkD;AAClD,eAAO,MAAM,4BAA4B,EAAE,CAAC,MAAM,WAAW,CAAC,EAO7D,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,CAAC,MAAM,WAAW,CAAC,EAMpD,CAAC;AAEF,yEAAyE;AACzE,eAAO,MAAM,qBAAqB,EAAE,kBAAkB,EAKrD,CAAC;AAEF,8BAA8B;AAC9B,eAAO,MAAM,4BAA4B,EAAE,oBAAoB,EAK9D,CAAC;AAIF,qCAAqC;AACrC,eAAO,MAAM,sBAAsB,EAAE,MAAiC,CAAC;AAEvE,mCAAmC;AACnC,eAAO,MAAM,oBAAoB,EAAE,MAA+B,CAAC"}
@@ -1,11 +1,8 @@
1
- import pkg from "../../package.json" with {type: "json"};
2
-
1
+ import pkg from "../../package.json" with { type: "json" };
3
2
  /** Author username */
4
3
  export const AUTHOR_USERNAME = "nickesc";
5
-
6
4
  /** Lockfile format version -- increment on changes to the format */
7
5
  export const LOCKFILE_VERSION = "1.0.1";
8
-
9
6
  /** Required fields for the modpack information */
10
7
  export const MODPACK_INFO_REQUIRED_FIELDS = [
11
8
  "name", //
@@ -15,7 +12,13 @@ export const MODPACK_INFO_REQUIRED_FIELDS = [
15
12
  "modloader",
16
13
  "targetMinecraftVersion",
17
14
  ];
18
-
15
+ export const MODPACK_INFO_FIELDS = [
16
+ ...MODPACK_INFO_REQUIRED_FIELDS, //
17
+ "projectUrl",
18
+ "sourceUrl",
19
+ "license",
20
+ "targetModloaderVersion",
21
+ ];
19
22
  /** Dependency categories, corresponds to folders in Minecraft profile */
20
23
  export const DEPENDENCY_CATEGORIES = [
21
24
  "mods", //
@@ -23,19 +26,16 @@ export const DEPENDENCY_CATEGORIES = [
23
26
  "shaderpacks",
24
27
  "datapacks",
25
28
  ];
26
-
27
29
  /** Minecraft version types */
28
- export const MINECRAFT_VERSION_TYPES = [
30
+ export const MINECRAFT_VERSION_TYPE_ORDER = [
29
31
  "release", //
30
32
  "alpha",
31
33
  "beta",
32
34
  "snapshot",
33
35
  ];
34
-
35
36
  const gitignoreMarker = (mode) => `# ${pkg.name}:${mode}`;
36
-
37
37
  /** Gitignore section start marker */
38
38
  export const GITIGNORE_START_MARKER = gitignoreMarker("start");
39
-
40
39
  /** Gitignore section end marker */
41
40
  export const GITIGNORE_END_MARKER = gitignoreMarker("end");
41
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/config/constants.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,oBAAoB,CAAC,OAAM,IAAI,EAAE,MAAM,EAAC,CAAC;AAGzD,sBAAsB;AACtB,MAAM,CAAC,MAAM,eAAe,GAAW,SAAS,CAAC;AAEjD,oEAAoE;AACpE,MAAM,CAAC,MAAM,gBAAgB,GAAW,OAAO,CAAC;AAEhD,kDAAkD;AAClD,MAAM,CAAC,MAAM,4BAA4B,GAA0B;IAC/D,MAAM,EAAE,EAAE;IACV,SAAS;IACT,IAAI;IACJ,QAAQ;IACR,WAAW;IACX,wBAAwB;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAA0B;IACtD,GAAG,4BAA4B,EAAE,EAAE;IACnC,YAAY;IACZ,WAAW;IACX,SAAS;IACT,wBAAwB;CAC3B,CAAC;AAEF,yEAAyE;AACzE,MAAM,CAAC,MAAM,qBAAqB,GAAyB;IACvD,MAAM,EAAE,EAAE;IACV,eAAe;IACf,aAAa;IACb,WAAW;CACd,CAAC;AAEF,8BAA8B;AAC9B,MAAM,CAAC,MAAM,4BAA4B,GAA2B;IAChE,SAAS,EAAE,EAAE;IACb,OAAO;IACP,MAAM;IACN,UAAU;CACb,CAAC;AAEF,MAAM,eAAe,GAA6B,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,GAAG,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC;AAEpF,qCAAqC;AACrC,MAAM,CAAC,MAAM,sBAAsB,GAAW,eAAe,CAAC,OAAO,CAAC,CAAC;AAEvE,mCAAmC;AACnC,MAAM,CAAC,MAAM,oBAAoB,GAAW,eAAe,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { Choice } from "prompts";
2
+ export declare const DEFAULT_MODPACK_VERSION: string;
3
+ export declare const DEFAULT_MODPACK_LICENSE: string;
4
+ export declare const DEFAULT_PROJECT_URL: (id: string) => string;
5
+ export declare const DEFAULT_SOURCE_URL: (id: string, author: string) => string;
6
+ /** All-Rights-Reserved license option */
7
+ export declare const ALL_RIGHTS_RESERVED_LICENSE: Choice;
8
+ /** Other option */
9
+ export declare const OTHER_OPTION: Choice;
10
+ /** Fallback licenses */
11
+ export declare const FALLBACK_LICENSES: Choice[];
12
+ /** Fallback modloaders */
13
+ export declare const FALLBACK_MODLOADERS: Choice[];
14
+ /** Fallback target Minecraft versions */
15
+ export declare const FALLBACK_TARGET_MINECRAFT_VERSIONS: Choice[];
16
+ //# sourceMappingURL=defaults.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/config/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,uBAAuB,EAAE,MAAgB,CAAC;AAEvD,eAAO,MAAM,uBAAuB,EAAE,MAAc,CAAC;AAErD,eAAO,MAAM,mBAAmB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAEjD,CAAC;AACF,eAAO,MAAM,kBAAkB,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,MAEhE,CAAC;AAEF,yCAAyC;AACzC,eAAO,MAAM,2BAA2B,EAAE,MAAqE,CAAC;AAEhH,mBAAmB;AACnB,eAAO,MAAM,YAAY,EAAE,MAAyC,CAAC;AAErE,wBAAwB;AACxB,eAAO,MAAM,iBAAiB,EAAE,MAAM,EAKrC,CAAC;AAEF,0BAA0B;AAC1B,eAAO,MAAM,mBAAmB,EAAE,MAAM,EAUvC,CAAC;AAEF,yCAAyC;AACzC,eAAO,MAAM,kCAAkC,EAAE,MAAM,EA0BtD,CAAC"}
@@ -0,0 +1,60 @@
1
+ export const DEFAULT_MODPACK_VERSION = "1.0.0";
2
+ export const DEFAULT_MODPACK_LICENSE = "mit";
3
+ export const DEFAULT_PROJECT_URL = (id) => {
4
+ return `https://modrinth.com/modpack/${id}`;
5
+ };
6
+ export const DEFAULT_SOURCE_URL = (id, author) => {
7
+ return `https://github.com/${author}/${id}`;
8
+ };
9
+ /** All-Rights-Reserved license option */
10
+ export const ALL_RIGHTS_RESERVED_LICENSE = { title: "All-Rights-Reserved", value: "all-rights-reserved" };
11
+ /** Other option */
12
+ export const OTHER_OPTION = { title: "Other", value: "other" };
13
+ /** Fallback licenses */
14
+ export const FALLBACK_LICENSES = [
15
+ { title: "MIT", value: "mit" },
16
+ { title: "Apache-2.0", value: "apache-2.0" },
17
+ { title: "GPL-3.0", value: "gpl-3.0" },
18
+ { title: "CC0-1.0", value: "cc0-1.0" },
19
+ ];
20
+ /** Fallback modloaders */
21
+ export const FALLBACK_MODLOADERS = [
22
+ { title: "fabric", value: "fabric" },
23
+ { title: "forge", value: "forge" },
24
+ { title: "neoforge", value: "neoforge" },
25
+ { title: "paper", value: "paper" },
26
+ { title: "purpur", value: "purpur" },
27
+ { title: "quilt", value: "quilt" },
28
+ { title: "sponge", value: "sponge" },
29
+ { title: "spigot", value: "spigot" },
30
+ { title: "vanilla", value: "vanilla" },
31
+ ];
32
+ /** Fallback target Minecraft versions */
33
+ export const FALLBACK_TARGET_MINECRAFT_VERSIONS = [
34
+ { title: "1.21.x", value: "1.21.x" },
35
+ { title: "1.20.x", value: "1.20.x" },
36
+ { title: "1.19.x", value: "1.19.x" },
37
+ { title: "1.18.x", value: "1.18.x" },
38
+ { title: "1.17.x", value: "1.17.x" },
39
+ { title: "1.16.x", value: "1.16.x" },
40
+ { title: "1.15.x", value: "1.15.x" },
41
+ { title: "1.14.x", value: "1.14.x" },
42
+ { title: "1.13.x", value: "1.13.x" },
43
+ { title: "1.12.x", value: "1.12.x" },
44
+ { title: "1.11.x", value: "1.11.x" },
45
+ { title: "1.10.x", value: "1.10.x" },
46
+ { title: "1.9.x", value: "1.9.x" },
47
+ { title: "1.8.x", value: "1.8.x" },
48
+ { title: "1.7.x", value: "1.7.x" },
49
+ { title: "1.6.x", value: "1.6.x" },
50
+ { title: "1.5.x", value: "1.5.x" },
51
+ { title: "1.4.x", value: "1.4.x" },
52
+ { title: "1.3.x", value: "1.3.x" },
53
+ { title: "1.2.x", value: "1.2.x" },
54
+ { title: "1.1.x", value: "1.1.x" },
55
+ { title: "1.0.x", value: "1.0.x" },
56
+ { title: "snapshot", value: "snapshot" },
57
+ { title: "beta", value: "beta" },
58
+ { title: "alpha", value: "alpha" },
59
+ ];
60
+ //# sourceMappingURL=defaults.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../src/config/defaults.ts"],"names":[],"mapp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AK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAC;IAChC,EAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAC;IAChC,EAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAC;IAChC,EAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAC;IAChC,EAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAC;IAChC,EAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAC;IAChC,EAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAC;IAChC,EAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAC;IAChC,EAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAC;IACtC,EAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAC;IAC9B,EAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAC;CACnC,CAAC"}
@@ -0,0 +1,11 @@
1
+ /** Machine-readable/lockfile name */
2
+ export declare const MODPACK_LOCKFILE_NAME: string;
3
+ /** Human-readable/JSON file name */
4
+ export declare const MODPACK_JSON_NAME: string;
5
+ /** License file name */
6
+ export declare const MODPACK_LICENSE_NAME: string;
7
+ /** Gitignore file name */
8
+ export declare const GITIGNORE_NAME: string;
9
+ /** README.md file name */
10
+ export declare const README_NAME: string;
11
+ //# sourceMappingURL=files.d.ts.map