general cleanup of config files and build script
- removed "os" devDependency, as it's an internal module and should've never been set as a devDependency in package.json - general cleanup and restructure of package.json, indent with 4 spaces, moved a few properties around so it's more readable - indent workspace file with 4 spaces - added refringe.spt-id-highlighter to the recommended extensions - removed the "-version" from the zip and folder name the build script was generating - added /tmp to .eslintignore
This commit is contained in:
parent
0f5588ef81
commit
8743824046
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
{
|
||||
"name": "ScopesAndTypes",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "Chomp",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -22,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "Chomp",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,15 +1,12 @@
|
||||
{
|
||||
"name": "BundleLoading",
|
||||
"version": "1.0.0",
|
||||
"author": "Chomp",
|
||||
"license": "MIT",
|
||||
"main": "src/mod.js",
|
||||
"isBundleMod": true,
|
||||
"name": "BundleLoading",
|
||||
"version": "1.0.0",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": true,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -23,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "Chomp",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
{
|
||||
"name": "ClassExtensionOverride",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "Chomp",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -22,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "Chomp",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
{
|
||||
"name": "13AddTrader",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "Shirito",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -22,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "Shirito",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
{
|
||||
"name": "AfterDBLoadHook",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "Chomp",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -22,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "Chomp",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
{
|
||||
"name": "HttpListenerExample",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "Alex",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -22,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "clodan",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
{
|
||||
"name": "ImporterUtil",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "Chomp",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -22,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "Chomp",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,22 +1,20 @@
|
||||
{
|
||||
"name": "AsyncWithDependency1",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "Chomp",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"modDependencies": {
|
||||
"17AsyncImporterWithDependency2": "~1"
|
||||
},
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
"buildinfo": "node ./build.mjs --verbose"
|
||||
},
|
||||
"modDependencies": {
|
||||
"17AsyncImporterWithDependency2": "~1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "20.11",
|
||||
"@typescript-eslint/eslint-plugin": "7.2",
|
||||
@ -25,9 +23,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "Chomp",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
{
|
||||
"name": "AsyncWithDependency2",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "Chomp",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -22,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "Chomp",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
{
|
||||
"name": "CustomItemService",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "Choccy",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -22,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "Choccy",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,22 +1,20 @@
|
||||
{
|
||||
"name": "UseExternalLibraries",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "TheSparta",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
"buildinfo": "node ./build.mjs --verbose"
|
||||
},
|
||||
"dependencies": {
|
||||
"ora-classic": "5.4.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"ora-classic": "5.4.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "20.11",
|
||||
"@typescript-eslint/eslint-plugin": "7.2",
|
||||
@ -25,9 +23,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "TheSparta",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,15 +1,12 @@
|
||||
{
|
||||
"name": "LogToConsole",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "Chomp",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"isBundleMod": false,
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -23,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "Chomp",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
{
|
||||
"name": "CustomChatBot",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "clodan",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -22,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "clodan",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
{
|
||||
"name": "CustomCommandoCommand",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "clodan",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -22,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "clodan",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
{
|
||||
"name": "CustomAkiCommand",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "clodan",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -22,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "clodan",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
{
|
||||
"name": "CustomAbstractChatBot",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "clodan",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -22,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "clodan",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
{
|
||||
"name": "WebSocket",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "clodan",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -22,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "clodan",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,15 +1,12 @@
|
||||
{
|
||||
"name": "EditDatabase",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "Chomp",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"isBundleMod": false,
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -23,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "Chomp",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,15 +1,12 @@
|
||||
{
|
||||
"name": "GetSptConfigFile",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "Chomp",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"isBundleMod": false,
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -23,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "Chomp",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Exclude these folders from linting
|
||||
node_modules
|
||||
dist/
|
||||
types/
|
||||
**/node_modules
|
||||
/tmp
|
||||
/dist
|
||||
/types
|
||||
|
||||
# Exclude these filetypes from linting
|
||||
*.json
|
||||
|
@ -29,11 +29,10 @@
|
||||
* @version v1.0.0
|
||||
*/
|
||||
|
||||
import os from "node:os";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import fs from "fs-extra";
|
||||
import os from "os";
|
||||
import path from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { dirname } from "path";
|
||||
import ignore from "ignore";
|
||||
import archiver from "archiver";
|
||||
import winston from "winston";
|
||||
@ -165,7 +164,7 @@ async function main() {
|
||||
* @returns {string} The absolute path of the current working directory.
|
||||
*/
|
||||
function getCurrentDirectory() {
|
||||
return dirname(fileURLToPath(import.meta.url));
|
||||
return path.dirname(fileURLToPath(import.meta.url));
|
||||
}
|
||||
|
||||
/**
|
||||
@ -225,10 +224,9 @@ function createProjectName(packageJson) {
|
||||
// Remove any non-alphanumeric characters from the author and name.
|
||||
const author = packageJson.author.replace(/\W/g, "");
|
||||
const name = packageJson.name.replace(/\W/g, "");
|
||||
const version = packageJson.version;
|
||||
|
||||
// Ensure the name is lowercase, as per the package.json specification.
|
||||
return `${author}-${name}-${version}`.toLowerCase();
|
||||
return `${author}-${name}`.toLowerCase();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1,12 +1,13 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint"
|
||||
]
|
||||
}
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
}
|
||||
],
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"refringe.spt-id-highlighter"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
{
|
||||
"name": "UseACustomJson5OrJsonCConfigFile",
|
||||
"version": "1.0.0",
|
||||
"main": "src/mod.js",
|
||||
"license": "MIT",
|
||||
"author": "Chomp",
|
||||
"akiVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"contributors": [],
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
@ -22,9 +20,11 @@
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"os": "^0.1",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.4",
|
||||
"winston": "3.12"
|
||||
}
|
||||
},
|
||||
"author": "Chomp",
|
||||
"contributors": [],
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,8 +11,8 @@
|
||||
"resolveJsonModule": true,
|
||||
"outDir": "tmp",
|
||||
"paths": {
|
||||
"@spt-aki/*": [ "./types/*" ],
|
||||
"@spt-aki/*": ["./types/*"],
|
||||
},
|
||||
},
|
||||
"exclude": [ "node_modules", "dist", "tmp" ],
|
||||
"exclude": ["node_modules", "dist", "tmp"],
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user