create-discord-https 1.0.4 → 1.0.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.
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), "../..", `templates/${template}`);
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",
4
+ "version": "1.0.6",
5
5
  "bin": {
6
6
  "create-discord-https": "index.js"
7
7
  },
@@ -1,5 +1,6 @@
1
1
  {
2
- "name": "vercel",
2
+ "name": "discord-https-cloudflare",
3
+ "private": true,
3
4
  "version": "1.0.0",
4
5
  "description": "Discord HTTPS interaction callback bot powered by discord.https",
5
6
  "main": "index.js",
@@ -1,5 +1,6 @@
1
1
  {
2
- "name": "vercel",
2
+ "name": "discord-https-cloudflare-ts",
3
+ "private": true,
3
4
  "version": "1.0.0",
4
5
  "description": "Discord HTTPS interaction callback bot powered by discord.https",
5
6
  "main": "index.js",
@@ -1,5 +1,6 @@
1
1
  {
2
- "name": "vercel",
2
+ "name": "discord-https-node",
3
+ "private": true,
3
4
  "version": "1.0.0",
4
5
  "description": "Discord HTTPS interaction callback bot powered by discord.https",
5
6
  "main": "index.js",
@@ -1,5 +1,6 @@
1
1
  {
2
- "name": "vercel",
2
+ "name": "discord-https-node-ts",
3
+ "private": true,
3
4
  "version": "1.0.0",
4
5
  "description": "Discord HTTPS interaction callback bot powered by discord.https",
5
6
  "main": "index.js",
@@ -1,5 +1,6 @@
1
1
  {
2
- "name": "vercel",
2
+ "name": "discord-https-vercel",
3
+ "private": true,
3
4
  "version": "1.0.0",
4
5
  "description": "Discord HTTPS interaction callback bot powered by discord.https",
5
6
  "main": "index.js",
@@ -1,5 +1,6 @@
1
1
  {
2
- "name": "vercel",
2
+ "name": "discord-https-vercel-ts",
3
+ "private": true,
3
4
  "version": "1.0.0",
4
5
  "description": "Discord HTTPS interaction callback bot powered by discord.https",
5
6
  "main": "index.js",