forked from mirror/MCSM-Daemon
Feat: perfect the details
This commit is contained in:
parent
db520b818c
commit
81b8fc381b
@ -1,3 +1,4 @@
|
||||
// .eslintrc.js
|
||||
module.exports = {
|
||||
env: {
|
||||
commonjs: true,
|
||||
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -27,6 +27,7 @@ property.js
|
||||
test.txt
|
||||
#vscode
|
||||
*.code-workspace
|
||||
error
|
||||
|
||||
# node
|
||||
node_modules/
|
||||
@ -40,7 +41,8 @@ logs
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
log/
|
||||
test/
|
||||
# Runtime data
|
||||
pids
|
||||
*.pid
|
||||
|
@ -22,6 +22,7 @@ docker_temp/
|
||||
data/
|
||||
production/
|
||||
|
||||
|
||||
# config files
|
||||
users/*.json
|
||||
server/*.json
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"printWidth": 140,
|
||||
"printWidth": 142,
|
||||
"trailingComma": "none"
|
||||
}
|
||||
|
21
error
21
error
@ -1,21 +0,0 @@
|
||||
Reading package lists...
|
||||
Building dependency tree...
|
||||
Reading state information...
|
||||
tar is already the newest version (1.29b-2ubuntu0.3).
|
||||
The following packages were automatically installed and are no longer required:
|
||||
amd64-microcode intel-microcode iucode-tool
|
||||
Use 'sudo apt autoremove' to remove them.
|
||||
Suggested packages:
|
||||
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
|
||||
gitweb git-cvs git-mediawiki git-svn
|
||||
The following packages will be upgraded:
|
||||
git
|
||||
1 upgraded, 0 newly installed, 0 to remove and 143 not upgraded.
|
||||
Need to get 3,930 kB of archives.
|
||||
After this operation, 20.5 kB of additional disk space will be used.
|
||||
Get:1 http://mirrors.tencentyun.com/ubuntu bionic-security/main amd64 git amd64 1:2.17.1-1ubuntu0.12 [3,930 kB]
|
||||
Fetched 3,930 kB in 0s (26.6 MB/s)
|
||||
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 82419 files and directories currently installed.)
|
||||
Preparing to unpack .../git_1%3a2.17.1-1ubuntu0.12_amd64.deb ...
|
||||
Unpacking git (1:2.17.1-1ubuntu0.12) over (1:2.17.1-1ubuntu0.11) ...
|
||||
Setting up git (1:2.17.1-1ubuntu0.12) ...
|
@ -1,15 +1,15 @@
|
||||
/* eslint-disable no-undef */
|
||||
const path = require('path');
|
||||
const nodeExternals = require('webpack-node-externals')
|
||||
const path = require("path");
|
||||
const nodeExternals = require("webpack-node-externals");
|
||||
|
||||
module.exports = {
|
||||
mode: "production",
|
||||
entry: './dist/app.js',
|
||||
target: 'node',
|
||||
externalsPresets: { node: true }, // in order to ignore built-in modules like path, fs, etc.
|
||||
externals: [nodeExternals()], // in order to ignore all modules in node_modules folder
|
||||
entry: "./dist/app.js",
|
||||
target: "node",
|
||||
externalsPresets: { node: true },
|
||||
externals: [nodeExternals()],
|
||||
output: {
|
||||
filename: 'app.js',
|
||||
path: path.resolve(__dirname, 'production'),
|
||||
},
|
||||
};
|
||||
filename: "app.js",
|
||||
path: path.resolve(__dirname, "production")
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user