update deps

This commit is contained in:
k8w 2021-06-18 21:26:00 +08:00
parent d333f6c97d
commit 71ff41bc32
11 changed files with 48 additions and 35 deletions

View File

@ -11,13 +11,13 @@
"build": "tsrpc build" "build": "tsrpc build"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^15.12.2", "@types/node": "^15.12.3",
"onchange": "^7.1.0", "onchange": "^7.1.0",
"ts-node": "^9.1.1", "ts-node": "^9.1.1",
"tsrpc-cli": "^2.0.1-dev.11", "tsrpc-cli": "^2.0.3",
"typescript": "^4.3.2" "typescript": "^4.3.4"
}, },
"dependencies": { "dependencies": {
"tsrpc": "^3.0.0-dev.19" "tsrpc": "^3.0.2"
} }
} }

View File

@ -10,12 +10,12 @@
"copy-webpack-plugin": "^9.0.0", "copy-webpack-plugin": "^9.0.0",
"html-webpack-plugin": "^5.3.1", "html-webpack-plugin": "^5.3.1",
"ts-loader": "^9.2.3", "ts-loader": "^9.2.3",
"typescript": "^4.3.2", "typescript": "^4.3.4",
"webpack": "^5.38.1", "webpack": "^5.39.1",
"webpack-cli": "^4.7.2", "webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2" "webpack-dev-server": "^3.11.2"
}, },
"dependencies": { "dependencies": {
"tsrpc-browser": "^3.0.0-dev.15" "tsrpc-browser": "^3.0.3"
} }
} }

View File

@ -11,13 +11,13 @@
"build": "tsrpc build" "build": "tsrpc build"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^15.12.2", "@types/node": "^15.12.3",
"onchange": "^7.1.0", "onchange": "^7.1.0",
"ts-node": "^9.1.1", "ts-node": "^9.1.1",
"tsrpc-cli": "^2.0.1-dev.11", "tsrpc-cli": "^2.0.3",
"typescript": "^4.3.2" "typescript": "^4.3.4"
}, },
"dependencies": { "dependencies": {
"tsrpc": "^3.0.0-dev.17" "tsrpc": "^3.0.2"
} }
} }

View File

@ -10,12 +10,12 @@
"copy-webpack-plugin": "^9.0.0", "copy-webpack-plugin": "^9.0.0",
"html-webpack-plugin": "^5.3.1", "html-webpack-plugin": "^5.3.1",
"ts-loader": "^9.2.3", "ts-loader": "^9.2.3",
"typescript": "^4.3.2", "typescript": "^4.3.4",
"webpack": "^5.38.1", "webpack": "^5.39.1",
"webpack-cli": "^4.7.2", "webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2" "webpack-dev-server": "^3.11.2"
}, },
"dependencies": { "dependencies": {
"tsrpc-browser": "^3.0.0-dev.15" "tsrpc-browser": "^3.0.3"
} }
} }

View File

@ -11,13 +11,13 @@
"build": "tsrpc build" "build": "tsrpc build"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^15.12.2", "@types/node": "^15.12.3",
"onchange": "^7.1.0", "onchange": "^7.1.0",
"ts-node": "^9.1.1", "ts-node": "^9.1.1",
"tsrpc-cli": "^2.0.1-dev.11", "tsrpc-cli": "^2.0.3",
"typescript": "^4.3.2" "typescript": "^4.3.4"
}, },
"dependencies": { "dependencies": {
"tsrpc": "^3.0.0-dev.17" "tsrpc": "^3.0.2"
} }
} }

View File

@ -10,12 +10,12 @@
"copy-webpack-plugin": "^9.0.0", "copy-webpack-plugin": "^9.0.0",
"html-webpack-plugin": "^5.3.1", "html-webpack-plugin": "^5.3.1",
"ts-loader": "^9.2.3", "ts-loader": "^9.2.3",
"typescript": "^4.3.2", "typescript": "^4.3.4",
"webpack": "^5.38.1", "webpack": "^5.39.1",
"webpack-cli": "^4.7.2", "webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2" "webpack-dev-server": "^3.11.2"
}, },
"dependencies": { "dependencies": {
"tsrpc-browser": "^3.0.0-dev.15" "tsrpc-browser": "^3.0.3"
} }
} }

View File

@ -11,15 +11,15 @@
"build": "tsrpc build" "build": "tsrpc build"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^15.12.2", "@types/node": "^15.12.3",
"@types/uuid": "^8.3.0", "@types/uuid": "^8.3.0",
"onchange": "^7.1.0", "onchange": "^7.1.0",
"ts-node": "^9.1.1", "ts-node": "^9.1.1",
"tsrpc-cli": "^2.0.1-dev.11", "tsrpc-cli": "^2.0.3",
"typescript": "^4.3.2" "typescript": "^4.3.4"
}, },
"dependencies": { "dependencies": {
"tsrpc": "^3.0.0-dev.19", "tsrpc": "^3.0.2",
"uuid": "^8.3.2" "uuid": "^8.3.2"
} }
} }

View File

@ -10,12 +10,12 @@
"copy-webpack-plugin": "^9.0.0", "copy-webpack-plugin": "^9.0.0",
"html-webpack-plugin": "^5.3.1", "html-webpack-plugin": "^5.3.1",
"ts-loader": "^9.2.3", "ts-loader": "^9.2.3",
"typescript": "^4.3.2", "typescript": "^4.3.4",
"webpack": "^5.38.1", "webpack": "^5.39.1",
"webpack-cli": "^4.7.2", "webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2" "webpack-dev-server": "^3.11.2"
}, },
"dependencies": { "dependencies": {
"tsrpc-browser": "^3.0.0-dev.15" "tsrpc-browser": "^3.0.3"
} }
} }

View File

@ -11,15 +11,15 @@
"build": "tsrpc build" "build": "tsrpc build"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^15.12.2", "@types/node": "^15.12.3",
"@types/uuid": "^8.3.0", "@types/uuid": "^8.3.0",
"onchange": "^7.1.0", "onchange": "^7.1.0",
"ts-node": "^9.1.1", "ts-node": "^9.1.1",
"tsrpc-cli": "^2.0.1-dev.12", "tsrpc-cli": "^2.0.3",
"typescript": "^4.3.2" "typescript": "^4.3.4"
}, },
"dependencies": { "dependencies": {
"tsrpc": "^3.0.0-dev.20", "tsrpc": "^3.0.2",
"uuid": "^8.3.2" "uuid": "^8.3.2"
} }
} }

View File

@ -10,12 +10,12 @@
"copy-webpack-plugin": "^9.0.0", "copy-webpack-plugin": "^9.0.0",
"html-webpack-plugin": "^5.3.1", "html-webpack-plugin": "^5.3.1",
"ts-loader": "^9.2.3", "ts-loader": "^9.2.3",
"typescript": "^4.3.2", "typescript": "^4.3.4",
"webpack": "^5.38.1", "webpack": "^5.39.1",
"webpack-cli": "^4.7.2", "webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2" "webpack-dev-server": "^3.11.2"
}, },
"dependencies": { "dependencies": {
"tsrpc-browser": "^3.0.0-dev.16" "tsrpc-browser": "^3.0.3"
} }
} }

13
scripts/npm-update.js Normal file
View File

@ -0,0 +1,13 @@
const fs = require('fs');
const path = require('path');
const { execSync } = require('child_process');
let dirs = fs.readdirSync(path.resolve(__dirname, '../examples'));
dirs.forEach(dir => {
console.log(dir);
process.chdir(path.resolve(__dirname, '../examples', dir, 'backend'));
execSync('ncu -u -t minor', { stdio: 'inherit' });
process.chdir(path.resolve(__dirname, '../examples', dir, 'frontend'));
execSync('ncu -u -t minor', { stdio: 'inherit' });
})