mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-14 07:08:04 +08:00
Revert "Upd(webapp): 适配新npm编译"
This reverts commit c92a1c145f6e5f9647eef66236b8290a3c088a78.
This commit is contained in:
parent
e4435b0a37
commit
71e0910216
@ -1,18 +0,0 @@
|
||||
@echo off
|
||||
cd /d "%~dp0"
|
||||
|
||||
echo Installing dependencies...
|
||||
call npm install --legacy-peer-deps
|
||||
|
||||
echo Building...
|
||||
set MODE=production
|
||||
call npm run build
|
||||
|
||||
echo Packaging...
|
||||
call npx electron-builder build --config electron-builder.config.js --dir
|
||||
|
||||
echo Copying to toolkit\webapp...
|
||||
xcopy /E /Y "dist\win-unpacked\*" "..\toolkit\webapp\"
|
||||
|
||||
echo Done!
|
||||
pause
|
||||
2424
webapp/package-lock.json
generated
2424
webapp/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -32,7 +32,7 @@
|
||||
"devDependencies": {
|
||||
"@types/electron-devtools-installer": "2.2.0",
|
||||
"@typescript-eslint/eslint-plugin": "4.32.0",
|
||||
"@vitejs/plugin-vue": "^6.0.4",
|
||||
"@vitejs/plugin-vue": "1.9.2",
|
||||
"cross-env": "7.0.3",
|
||||
"electron": "15.1.0",
|
||||
"electron-builder": "22.11.7",
|
||||
@ -42,9 +42,8 @@
|
||||
"lint-staged": "11.1.2",
|
||||
"playwright": "1.15.1",
|
||||
"simple-git-hooks": "2.6.1",
|
||||
"terser": "^5.46.0",
|
||||
"typescript": "4.4.2",
|
||||
"vite": "^7.3.1",
|
||||
"vite": "2.6.2",
|
||||
"vue-tsc": "0.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
@ -1,11 +1,7 @@
|
||||
import {join, dirname} from 'path';
|
||||
import {builtinModules, createRequire} from 'module';
|
||||
import {fileURLToPath} from 'url';
|
||||
import {node} from '../../electron-vendors.config.json';
|
||||
import {join} from 'path';
|
||||
import {builtinModules} from 'module';
|
||||
|
||||
const require = createRequire(import.meta.url);
|
||||
const {node} = require('../../electron-vendors.config.json');
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
const PACKAGE_ROOT = __dirname;
|
||||
|
||||
|
||||
|
||||
@ -1,11 +1,7 @@
|
||||
import {join, dirname} from 'path';
|
||||
import {builtinModules, createRequire} from 'module';
|
||||
import {fileURLToPath} from 'url';
|
||||
import {chrome} from '../../electron-vendors.config.json';
|
||||
import {join} from 'path';
|
||||
import {builtinModules} from 'module';
|
||||
|
||||
const require = createRequire(import.meta.url);
|
||||
const {chrome} = require('../../electron-vendors.config.json');
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
const PACKAGE_ROOT = __dirname;
|
||||
|
||||
/**
|
||||
|
||||
@ -1,14 +1,10 @@
|
||||
/* eslint-env node */
|
||||
|
||||
import {join, dirname} from 'path';
|
||||
import {builtinModules, createRequire} from 'module';
|
||||
import {fileURLToPath} from 'url';
|
||||
import {chrome} from '../../electron-vendors.config.json';
|
||||
import {join} from 'path';
|
||||
import {builtinModules} from 'module';
|
||||
import vue from '@vitejs/plugin-vue';
|
||||
|
||||
const require = createRequire(import.meta.url);
|
||||
const {chrome} = require('../../electron-vendors.config.json');
|
||||
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
const PACKAGE_ROOT = __dirname;
|
||||
|
||||
/**
|
||||
|
||||
2796
webapp/yarn.lock
2796
webapp/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user