syuilo
|
c0a3ae2612
|
2.37.1
|
2018-06-11 11:45:27 +09:00 |
|
syuilo
|
df9cb7cf6e
|
2.37.0
|
2018-06-11 11:44:26 +09:00 |
|
otofune
|
7518e30dcf
|
🆙 move some packages to devDependencies that non required by server
presumed by:
- move-to-devdependencies.fish
```fish
set targets (ls src | grep -v client | xargs -I'%' echo "src/%")
alias from_import="git grep 'import ' $targets | grep -v 'from \'\.' | grep -v 'from \"\.' | cut -d: -f2 | cut -d\; -f1 | rev | cut -d' ' -f1 | rev | cut -d\' -f2 | sort | uniq | grep -v '^readline\$' | grep -v '^zlib\$' | grep -v '^os\$' | grep -v '^http\$' | grep -v '^fs\$' | grep -v '^events\$' | grep -v '^crypto\$' | grep -v '^child_process\$' | grep -v '^cluster\$'`"
alias from_require="git grep 'require(' $targets | grep -v '(\'\.' | cut -d= -f2 | grep -v '__dirname' | grep require | cut -d' ' -f2 | cut -d')' -f1 | cut -d'(' -f2 | cut -d'\'' -f2 | sort | uniq | grep -v '^readline\$' | grep -v '^zlib\$' | grep -v '^os\$' | grep -v '^http\$' | grep -v '^fs\$' | grep -v '^events\$' | grep -v '^crypto\$' | grep -v '^child_process\$' | grep -v '^cluster\$'"
from_import | xargs npm uninstall --save-dev
from_require | xargs npm uninstall --save-dev
from_import | xargs npm install --save
from_require | xargs npm install --save
git show HEAD:require | node revert-pinning-dependencies.js
```
- revert-pinning-dependencies.js
```js
const readFromStdin = () => new Promise((resolve, reject) => {
const chunks = []
process.stdin.setEncoding('utf8')
process.stdin.on('readable', () => {
const chunk = process.stdin.read()
if (chunk == null) return
chunks.push(chunk)
})
process.stdin.on('end', () => {
return resolve(chunks.join('\n'))
})
})
async function main () {
const fs = require('fs')
const raw = await readFromStdin()
const head = JSON.parse(raw)
const now = JSON.parse(fs.readFileSync('package.json'))
Object.keys(now.dependencies).forEach(key => {
now.dependencies[key] = head.dependencies[key]
})
fs.writeFileSync('package.json', JSON.stringify(now,null,'\t'))
}
main().catch(console.error)
```
|
2018-06-11 08:08:52 +09:00 |
|
syuilo
|
f499630c2b
|
2.36.1
|
2018-06-11 01:28:45 +09:00 |
|
syuilo
|
20ec4104c6
|
2.36.0
|
2018-06-10 12:22:48 +09:00 |
|
syuilo
|
0360337df9
|
2.35.3
|
2018-06-10 08:42:29 +09:00 |
|
syuilo
|
c8dd8341ca
|
2.35.2
|
2018-06-10 03:58:12 +09:00 |
|
syuilo
|
7e3bf06db1
|
2.35.1
|
2018-06-10 03:31:42 +09:00 |
|
syuilo
|
56df89f8dd
|
2.35.0
|
2018-06-10 01:22:44 +09:00 |
|
syuilo
|
72c4ccaee8
|
Clean up dependencies
|
2018-06-10 00:41:57 +09:00 |
|
syuilo
|
af2d36a3c9
|
2.34.3
|
2018-06-09 11:41:22 +09:00 |
|
syuilo
|
773b2aa3d1
|
2.34.2
|
2018-06-09 10:16:29 +09:00 |
|
syuilo
|
52db63bca2
|
2.34.1
|
2018-06-09 06:28:22 +09:00 |
|
syuilo
|
6e8a1086d8
|
2.34.0
|
2018-06-09 04:15:18 +09:00 |
|
syuilo
|
c78945436e
|
#1686
|
2018-06-09 04:14:26 +09:00 |
|
syuilo
|
6eff8fde74
|
サーバーの統計情報をメモリに記憶するようにするなど
|
2018-06-09 01:45:25 +09:00 |
|
syuilo
|
fe159a13a9
|
2.33.2
|
2018-06-08 22:03:24 +09:00 |
|
syuilo
|
cc6fa135ac
|
2.33.1
|
2018-06-08 21:50:41 +09:00 |
|
syuilo
|
581d1617d8
|
2.33.0
|
2018-06-08 21:39:24 +09:00 |
|
syuilo
|
16e446c121
|
2.32.0
|
2018-06-08 11:47:33 +09:00 |
|
syuilo
|
3ffd6ff5a2
|
2.31.0
|
2018-06-08 08:39:04 +09:00 |
|
syuilo
|
fa171f237d
|
2.30.2
|
2018-06-08 08:06:19 +09:00 |
|
syuilo
|
0967f23b6e
|
2.30.1
|
2018-06-08 05:49:19 +09:00 |
|
syuilo
|
602284d38c
|
2.30.0
|
2018-06-08 05:04:56 +09:00 |
|
syuilo
|
44ef60c8a2
|
2.29.1
|
2018-06-07 08:48:22 +09:00 |
|
syuilo
|
86b0dfdd33
|
2.29.0
|
2018-06-07 06:16:11 +09:00 |
|
syuilo
|
818bc96aab
|
2.28.0
|
2018-06-07 05:15:05 +09:00 |
|
syuilo
|
0ac5fdab49
|
2.27.3
|
2018-06-07 02:07:00 +09:00 |
|
syuilo
|
8678e30cc8
|
2.27.2
|
2018-06-07 01:45:04 +09:00 |
|
syuilo
|
c1b320710b
|
2.27.1
|
2018-06-06 19:37:15 +09:00 |
|
syuilo
|
dc58c9bd2f
|
2.27.0
|
2018-06-06 19:24:34 +09:00 |
|
syuilo
|
e8edda01a9
|
2.26.2
|
2018-06-06 05:29:45 +09:00 |
|
syuilo
|
781fffee42
|
2.26.1
|
2018-06-06 05:18:46 +09:00 |
|
syuilo
|
64519a9fd4
|
2.26.0
|
2018-06-05 23:22:37 +09:00 |
|
syuilo
|
f87981eeee
|
2.25.2
|
2018-06-04 19:59:07 +09:00 |
|
syuilo
|
255c07d1ab
|
2.25.1
|
2018-06-03 04:51:58 +09:00 |
|
syuilo
|
0aa9201770
|
2.25.0
|
2018-06-02 19:23:17 +09:00 |
|
syuilo
|
c23bbf81f1
|
2.24.3
|
2018-05-30 23:08:26 +09:00 |
|
syuilo
|
dd94392317
|
2.24.2
|
2018-05-30 05:02:56 +09:00 |
|
syuilo
|
248acaee75
|
2.24.1
|
2018-05-30 00:16:03 +09:00 |
|
syuilo
|
854814c226
|
2.24.0
|
2018-05-29 23:57:25 +09:00 |
|
syuilo
|
d05aee19f2
|
2.23.2
|
2018-05-29 21:46:30 +09:00 |
|
syuilo
|
2127bf32c2
|
2.23.1
|
2018-05-29 17:11:48 +09:00 |
|
syuilo
|
47a6188097
|
2.23.0
|
2018-05-29 15:43:24 +09:00 |
|
syuilo
|
0e7c0fd528
|
2.22.3
|
2018-05-29 13:22:29 +09:00 |
|
syuilo
|
b375bbc75c
|
2.22.2
|
2018-05-29 11:53:59 +09:00 |
|
syuilo
|
281971f4a4
|
2.22.1
|
2018-05-29 02:37:31 +09:00 |
|
syuilo
|
9f1385b03a
|
2.22.0
|
2018-05-29 02:26:13 +09:00 |
|
syuilo
|
5d82443389
|
2.21.1
|
2018-05-28 22:00:29 +09:00 |
|
syuilo
|
0ca2c313ec
|
2.21.0
|
2018-05-28 21:45:14 +09:00 |
|