Commit Graph

6503 Commits

Author SHA1 Message Date
syuilo
42acdacf30 Merge pull request #1698 from syuilo/cleanup-dependencies
🆙 move some packages to devDependencies that non required by server
2018-06-11 09:40:04 +09:00
syuilo
5cfe2e25c2 wip 2018-06-11 09:11:32 +09:00
syuilo
acd92f8c55 New translations ja.yml (French) 2018-06-11 08:20:56 +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
c65e71be7d wip 2018-06-11 06:48:25 +09:00
syuilo
a1cb024ba6 New translations ja.yml (Polish) 2018-06-11 05:41:06 +09:00
syuilo
86674a24c9 Update example.yml 2018-06-11 02:18:00 +09:00
syuilo
c6291ff208 2.36.1 2018-06-11 01:28:45 +09:00
syuilo
b5afac80bb Merge pull request #1694 from syuilo/l10n_master
New Crowdin translations
2018-06-11 01:21:52 +09:00
syuilo
b7cc973ecd New translations ja.yml (English) 2018-06-11 01:21:03 +09:00
syuilo
6ec4e0fa57 Fix #1695 2018-06-11 01:14:29 +09:00
syuilo
bbb5189652 タグは最大100文字までにした 2018-06-11 01:12:37 +09:00
syuilo
ac13593755 Revert "✌️"
This reverts commit 96ab0e7b4caee288b605ba2799878f89d0e67429.
2018-06-11 01:07:34 +09:00
syuilo
fff1f321a9 ✌️ 2018-06-11 00:27:16 +09:00
syuilo
df997d83bb 🍕 2018-06-11 00:24:03 +09:00
syuilo
882caacd0c New translations ja.yml (Portuguese) 2018-06-10 12:51:00 +09:00
syuilo
838ec10900 New translations ja.yml (Korean) 2018-06-10 12:50:58 +09:00
syuilo
3dd52debf6 New translations ja.yml (Polish) 2018-06-10 12:50:57 +09:00
syuilo
4d15fb8760 New translations ja.yml (Chinese Simplified) 2018-06-10 12:50:55 +09:00
syuilo
682c796b2c New translations ja.yml (Italian) 2018-06-10 12:50:53 +09:00
syuilo
8ab0493dde New translations ja.yml (Russian) 2018-06-10 12:50:51 +09:00
syuilo
4733ee61be New translations ja.yml (English) 2018-06-10 12:50:49 +09:00
syuilo
6bb03c6f7c New translations ja.yml (Spanish) 2018-06-10 12:50:47 +09:00
syuilo
888dbc1c10 New translations ja.yml (German) 2018-06-10 12:50:46 +09:00
syuilo
0e702989ce New translations ja.yml (French) 2018-06-10 12:50:43 +09:00
syuilo
5081ce8e9a ✌️ 2018-06-10 12:36:48 +09:00
syuilo
8b9a820e31 🎨 2018-06-10 12:29:19 +09:00
syuilo
73ff6c14a3 2.36.0 2018-06-10 12:22:48 +09:00
syuilo
3b55da23aa Merge pull request #1692 from syuilo/l10n_master
New Crowdin translations
2018-06-10 12:22:28 +09:00
syuilo
29fdd1de50 🍕 2018-06-10 12:21:44 +09:00
syuilo
15dcfe1627 ハッシュタグ検索を実装 2018-06-10 12:19:19 +09:00
syuilo
1e1ce3ec68 New translations ja.yml (Polish) 2018-06-10 10:30:48 +09:00
syuilo
5a0e572e82 2.35.3 2018-06-10 08:42:29 +09:00
syuilo
6093d0399d Fix bug 2018-06-10 08:41:57 +09:00
syuilo
e5e968104e Fix bug 2018-06-10 08:34:46 +09:00
syuilo
38acbd430f Revert "✌️"
This reverts commit 951b2346ab5760490aa408f147cc17ce4548ca52.
2018-06-10 08:21:48 +09:00
syuilo
001938abae ✌️ 2018-06-10 08:15:05 +09:00
syuilo
ac57bbedb9 ✌️ 2018-06-10 08:03:02 +09:00
syuilo
c266868871 2.35.2 2018-06-10 03:58:12 +09:00
syuilo
e47ebf9632 ✌️ 2018-06-10 03:55:51 +09:00
syuilo
025974c0fe oops 2018-06-10 03:48:38 +09:00
syuilo
423d7ecf15 Fix bug 2018-06-10 03:47:09 +09:00
syuilo
b7161f4cb5 2.35.1 2018-06-10 03:31:42 +09:00
syuilo
1ee6f36fcd 🎨 2018-06-10 03:31:13 +09:00
syuilo
1b3735d912 Fix bug 2018-06-10 03:27:10 +09:00
syuilo
98054dbdb3 2.35.0 2018-06-10 01:22:44 +09:00
syuilo
7503b48469 Merge pull request #1688 from syuilo/l10n_master
New Crowdin translations
2018-06-10 01:21:55 +09:00
syuilo
c78243755d New translations ja.yml (English) 2018-06-10 01:21:19 +09:00
syuilo
d589488ef1 New translations ja.yml (German) 2018-06-10 01:21:17 +09:00
syuilo
2d0ac97a01 New translations ja.yml (Portuguese) 2018-06-10 01:11:33 +09:00