syuilo
|
6296b13e03
|
2.37.1
|
2018-06-11 11:45:27 +09:00 |
|
syuilo
|
a88d939ece
|
2.37.0
|
2018-06-11 11:44:26 +09:00 |
|
otofune
|
e69308c0d2
|
🆙 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
|
c6291ff208
|
2.36.1
|
2018-06-11 01:28:45 +09:00 |
|
syuilo
|
73ff6c14a3
|
2.36.0
|
2018-06-10 12:22:48 +09:00 |
|
syuilo
|
5a0e572e82
|
2.35.3
|
2018-06-10 08:42:29 +09:00 |
|
syuilo
|
c266868871
|
2.35.2
|
2018-06-10 03:58:12 +09:00 |
|
syuilo
|
b7161f4cb5
|
2.35.1
|
2018-06-10 03:31:42 +09:00 |
|
syuilo
|
98054dbdb3
|
2.35.0
|
2018-06-10 01:22:44 +09:00 |
|
syuilo
|
155c74c72e
|
Clean up dependencies
|
2018-06-10 00:41:57 +09:00 |
|
syuilo
|
b478ae6ffd
|
2.34.3
|
2018-06-09 11:41:22 +09:00 |
|
syuilo
|
f61c50743f
|
2.34.2
|
2018-06-09 10:16:29 +09:00 |
|
syuilo
|
8eb850fb51
|
2.34.1
|
2018-06-09 06:28:22 +09:00 |
|
syuilo
|
d56500f523
|
2.34.0
|
2018-06-09 04:15:18 +09:00 |
|
syuilo
|
8bb5dab657
|
#1686
|
2018-06-09 04:14:26 +09:00 |
|
syuilo
|
38c57030f8
|
サーバーの統計情報をメモリに記憶するようにするなど
|
2018-06-09 01:45:25 +09:00 |
|
syuilo
|
926ada6065
|
2.33.2
|
2018-06-08 22:03:24 +09:00 |
|
syuilo
|
deb355ff5e
|
2.33.1
|
2018-06-08 21:50:41 +09:00 |
|
syuilo
|
7c7dfd42f6
|
2.33.0
|
2018-06-08 21:39:24 +09:00 |
|
syuilo
|
634544a3b4
|
2.32.0
|
2018-06-08 11:47:33 +09:00 |
|
syuilo
|
3ade37f1ee
|
2.31.0
|
2018-06-08 08:39:04 +09:00 |
|
syuilo
|
685244e282
|
2.30.2
|
2018-06-08 08:06:19 +09:00 |
|
syuilo
|
191fe8be45
|
2.30.1
|
2018-06-08 05:49:19 +09:00 |
|
syuilo
|
32e52c9ece
|
2.30.0
|
2018-06-08 05:04:56 +09:00 |
|
syuilo
|
7a016f4ca9
|
2.29.1
|
2018-06-07 08:48:22 +09:00 |
|
syuilo
|
f57943964a
|
2.29.0
|
2018-06-07 06:16:11 +09:00 |
|
syuilo
|
8f72c2e6d1
|
2.28.0
|
2018-06-07 05:15:05 +09:00 |
|
syuilo
|
7ead811016
|
2.27.3
|
2018-06-07 02:07:00 +09:00 |
|
syuilo
|
7821386fe2
|
2.27.2
|
2018-06-07 01:45:04 +09:00 |
|
syuilo
|
a738055583
|
2.27.1
|
2018-06-06 19:37:15 +09:00 |
|
syuilo
|
4d58a86b4b
|
2.27.0
|
2018-06-06 19:24:34 +09:00 |
|
syuilo
|
c5ef1a9cf1
|
2.26.2
|
2018-06-06 05:29:45 +09:00 |
|
syuilo
|
f8961af55d
|
2.26.1
|
2018-06-06 05:18:46 +09:00 |
|
syuilo
|
d95480e927
|
2.26.0
|
2018-06-05 23:22:37 +09:00 |
|
syuilo
|
d6d35cd35e
|
2.25.2
|
2018-06-04 19:59:07 +09:00 |
|
syuilo
|
53a17dc499
|
2.25.1
|
2018-06-03 04:51:58 +09:00 |
|
syuilo
|
70922b6515
|
2.25.0
|
2018-06-02 19:23:17 +09:00 |
|
syuilo
|
60be355b54
|
2.24.3
|
2018-05-30 23:08:26 +09:00 |
|
syuilo
|
756cac6c8d
|
2.24.2
|
2018-05-30 05:02:56 +09:00 |
|
syuilo
|
7de3762702
|
2.24.1
|
2018-05-30 00:16:03 +09:00 |
|
syuilo
|
7edb1c1203
|
2.24.0
|
2018-05-29 23:57:25 +09:00 |
|
syuilo
|
22fbe1e68e
|
2.23.2
|
2018-05-29 21:46:30 +09:00 |
|
syuilo
|
ef9bd31f64
|
2.23.1
|
2018-05-29 17:11:48 +09:00 |
|
syuilo
|
ea303e83e4
|
2.23.0
|
2018-05-29 15:43:24 +09:00 |
|
syuilo
|
f5dd36f457
|
2.22.3
|
2018-05-29 13:22:29 +09:00 |
|
syuilo
|
b9ea21bdce
|
2.22.2
|
2018-05-29 11:53:59 +09:00 |
|
syuilo
|
7ab50b241e
|
2.22.1
|
2018-05-29 02:37:31 +09:00 |
|
syuilo
|
147bacbef5
|
2.22.0
|
2018-05-29 02:26:13 +09:00 |
|
syuilo
|
fea11e3041
|
2.21.1
|
2018-05-28 22:00:29 +09:00 |
|
syuilo
|
243664c8c0
|
2.21.0
|
2018-05-28 21:45:14 +09:00 |
|