DX update
This commit is contained in:
parent
7ef907bedd
commit
9be6704522
@ -8,3 +8,4 @@
|
||||
*.json
|
||||
*.txt
|
||||
*.exe
|
||||
*.mjs
|
@ -16,7 +16,7 @@
|
||||
"@typescript-eslint/no-empty-interface": 0,
|
||||
"@typescript-eslint/no-namespace": 0,
|
||||
"@typescript-eslint/func-call-spacing": 2,
|
||||
"@typescript-eslint/quotes": ["warn", "single"],
|
||||
"@typescript-eslint/quotes": ["warn", "double"],
|
||||
"@typescript-eslint/brace-style": ["warn", "1tbs"],
|
||||
"@typescript-eslint/naming-convention": [
|
||||
"warn",
|
||||
|
@ -8,3 +8,4 @@
|
||||
*.json
|
||||
*.txt
|
||||
*.exe
|
||||
*.mjs
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"singleQuote": true,
|
||||
"singleQuote": false,
|
||||
"trailingComma": "all",
|
||||
"tabWidth": 2,
|
||||
"semi": true
|
||||
|
@ -121,7 +121,7 @@ async function main() {
|
||||
logger.log("info", zipFilePath);
|
||||
|
||||
// Move the zip file inside of the project directory, within the temporary working directory.
|
||||
const zipFileInProjectDir = path.join(projectDir, `${projectName}.zip`);
|
||||
const zipFileInProjectDir = path.join(projectDir, `${projectName}-${packageJson.version}.zip`);
|
||||
await fs.move(zipFilePath, zipFileInProjectDir);
|
||||
logger.log("success", "Archive successfully moved.");
|
||||
logger.log("info", zipFileInProjectDir);
|
||||
@ -134,7 +134,7 @@ async function main() {
|
||||
logger.log("success", "------------------------------------");
|
||||
logger.log("success", "Build script completed successfully!");
|
||||
logger.log("success", "Your mod package has been created in the 'dist' directory:");
|
||||
logger.log("success", `/${path.relative(process.cwd(), path.join(distDir, `${projectName}.zip`))}`);
|
||||
logger.log("success", `/${path.relative(process.cwd(), path.join(distDir, `${projectName}-${packageJson.version}.zip`))}`);
|
||||
logger.log("success", "------------------------------------");
|
||||
if (!verbose) {
|
||||
logger.log("success", "To see a detailed build log, use `npm run buildinfo`.");
|
||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "InsuranceTweaks",
|
||||
"version": "0.0.2",
|
||||
"version": "0.0.3",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "InsuranceTweaks",
|
||||
"version": "0.0.2",
|
||||
"version": "0.0.3",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@types/node": "20.11",
|
||||
|
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "InsuranceTweaks",
|
||||
"version": "0.0.2",
|
||||
"version": "0.0.3",
|
||||
"sptVersion": "~3.9",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"main": "src/insurancetweaks.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
|
Loading…
x
Reference in New Issue
Block a user