@project-selene/create-mod 0.0.3 → 0.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/dist/main.mjs +27 -32008
- package/package.json +5 -5
- package/src/main.mts +1 -1
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@project-selene/create-mod",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "A script for creating new Alabaster Dawn mods.",
|
|
5
5
|
"main": "dist/main.mjs",
|
|
6
6
|
"bin": "dist/main.mjs",
|
|
7
7
|
"scripts": {
|
|
8
|
-
"start": "esbuild src/main.mts --
|
|
9
|
-
"build": "esbuild src/main.mts --
|
|
10
|
-
"prepare": "esbuild src/main.mts --
|
|
11
|
-
"prepublish": "esbuild src/main.mts --
|
|
8
|
+
"start": "esbuild src/main.mts --platform=node --format=esm --outfile=dist/main.mjs --watch",
|
|
9
|
+
"build": "esbuild src/main.mts --platform=node --format=esm --outfile=dist/main.mjs",
|
|
10
|
+
"prepare": "esbuild src/main.mts --platform=node --format=esm --outfile=dist/main.mjs",
|
|
11
|
+
"prepublish": "esbuild src/main.mts --platform=node --format=esm --outfile=dist/main.mjs",
|
|
12
12
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
13
13
|
},
|
|
14
14
|
"author": "Project Selene",
|
package/src/main.mts
CHANGED
|
@@ -7,7 +7,7 @@ import inquirer, { type DistinctQuestion } from 'inquirer';
|
|
|
7
7
|
import path from 'path';
|
|
8
8
|
import { v4 as uuidv4 } from "uuid";
|
|
9
9
|
|
|
10
|
-
const __templateDir = path.resolve(
|
|
10
|
+
const __templateDir = path.resolve(import.meta.url, '../template');
|
|
11
11
|
|
|
12
12
|
interface Arguments {
|
|
13
13
|
packageName?: string;
|