create-discord-https 1.0.2 → 1.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/index.js +1 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -235,7 +235,7 @@ async function init() {
|
|
|
235
235
|
const pkgManager = pkgInfo ? pkgInfo.name : "npm";
|
|
236
236
|
const { secret } = SERVERTYPE.flatMap((f) => f.flavour).find((v) => v.name === template);
|
|
237
237
|
prompts.log.step(`Initializing project...`);
|
|
238
|
-
const templateDir = path.resolve(fileURLToPath(import.meta.url), "
|
|
238
|
+
const templateDir = path.resolve(fileURLToPath(import.meta.url), "../", `templates/${template}`);
|
|
239
239
|
const write = (file, content) => {
|
|
240
240
|
const targetPath = path.join(root, renameFiles[file] ?? file);
|
|
241
241
|
if (content) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-discord-https",
|
|
3
3
|
"description": "Create Discord.https-powered bots with one command.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.5",
|
|
5
5
|
"bin": {
|
|
6
6
|
"create-discord-https": "index.js"
|
|
7
7
|
},
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"homepage": "https://github.com/discordhttps/create-discord-https#readme",
|
|
29
|
-
"
|
|
29
|
+
"dependencies": {
|
|
30
30
|
"@clack/prompts": "^0.11.0",
|
|
31
31
|
"@types/node": "^24.3.1",
|
|
32
32
|
"mri": "^1.2.0",
|