Commit graph

1628 commits

Author SHA1 Message Date
syuilo
721e665c48 4.1.0 2018-06-17 11:33:24 +09:00
syuilo
d310a7b8a5 cors 2018-06-17 11:23:18 +09:00
syuilo
9a5a948aa3 4.0.0 2018-06-17 08:15:57 +09:00
syuilo
53ae17a033 3.1.1 2018-06-16 19:45:47 +09:00
syuilo
1ec0795e40 3.1.0 2018-06-16 18:43:25 +09:00
syuilo
5fcf2e731d MisskeyShare 2018-06-16 18:42:49 +09:00
syuilo
db209769f9 3.0.1 2018-06-16 15:23:44 +09:00
syuilo
e22c864cbd npm install --only=dev するのが既存のドキュメントと互換性が無いため戻す 2018-06-16 13:10:17 +09:00
syuilo
d053005559 #1715 2018-06-16 10:40:53 +09:00
syuilo
3664ba96c4 2.42.0 2018-06-16 07:40:39 +09:00
syuilo
401381649d 2.41.1 2018-06-15 19:58:15 +09:00
syuilo
84326df83d 2.41.0 2018-06-15 19:57:13 +09:00
syuilo
1ef35e24f1 2.40.1 2018-06-15 09:57:06 +09:00
syuilo
736d3100f6 2.40.0 2018-06-15 09:53:53 +09:00
syuilo
90aef44954 2.39.0 2018-06-15 08:00:14 +09:00
syuilo
e7b024b28b wip 2018-06-14 06:29:01 +09:00
syuilo
8610d3b3e7 2.38.3 2018-06-13 05:40:27 +09:00
syuilo
a9153ccce4 2.38.2 2018-06-13 05:25:27 +09:00
syuilo
a8157dcc96 2.38.1 2018-06-13 05:16:53 +09:00
syuilo
5d8f0fa831 2.38.0 2018-06-12 19:07:36 +09:00
syuilo
3cf96b67ab 2.37.7 2018-06-12 09:10:52 +09:00
syuilo
197951c48a 2.37.6 2018-06-12 08:59:36 +09:00
syuilo
ac6ae06590 2.37.5 2018-06-12 02:47:17 +09:00
syuilo
09faf42259 2.37.4 2018-06-12 02:19:00 +09:00
syuilo
33bd888e21 2.37.3 2018-06-11 14:16:46 +09:00
syuilo
dd80f31904 2.37.2 2018-06-11 13:48:07 +09:00
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