@project-selene/create-mod 0.1.0 → 0.1.1

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 CHANGED
@@ -5,7 +5,7 @@ import { promises as fsp } from "fs";
5
5
  import inquirer, {} from "inquirer";
6
6
  import path from "path";
7
7
  import { v4 as uuidv4 } from "uuid";
8
- const __templateDir = path.resolve(import.meta.url.substring("file:///".length), "../../template");
8
+ const __templateDir = path.resolve(import.meta.url.substring(process.platform === "win32" ? "file:///".length : "file://".length), "../../ template");
9
9
  const descriptions = {
10
10
  name: "The name displayed to mod users",
11
11
  packageName: "The name used for the npm package (no spaces, lowercase)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@project-selene/create-mod",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A script for creating new Alabaster Dawn mods.",
5
5
  "main": "dist/main.mjs",
6
6
  "bin": "dist/main.mjs",
package/readme.md ADDED
@@ -0,0 +1,3 @@
1
+ # Alabaster Dawn Mod Initializer
2
+
3
+ This repository contains a small tool to create new Project Selene mods.