1
0
forked from mirror/misskey
Commit Graph

6451 Commits

Author SHA1 Message Date
syuilo
2a9065a61e New translations ja.yml (French) 2018-06-11 08:20:56 +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
dc3c80e3ce wip 2018-06-11 06:48:25 +09:00
syuilo
a25f61f6be New translations ja.yml (Polish) 2018-06-11 05:41:06 +09:00
syuilo
e70fb71a04 Update example.yml 2018-06-11 02:18:00 +09:00
syuilo
f499630c2b 2.36.1 2018-06-11 01:28:45 +09:00
syuilo
43319a8588
Merge pull request #1694 from syuilo/l10n_master
New Crowdin translations
2018-06-11 01:21:52 +09:00
syuilo
d62b943c5d New translations ja.yml (English) 2018-06-11 01:21:03 +09:00
syuilo
8baddf2ea3 Fix #1695 2018-06-11 01:14:29 +09:00
syuilo
600482660b タグは最大100文字までにした 2018-06-11 01:12:37 +09:00
syuilo
72ab5c143e Revert "✌️"
This reverts commit 96ab0e7b4c.
2018-06-11 01:07:34 +09:00
syuilo
96ab0e7b4c ✌️ 2018-06-11 00:27:16 +09:00
syuilo
b60903e2b4 🍕 2018-06-11 00:24:03 +09:00
syuilo
b4f4d3f267 New translations ja.yml (Portuguese) 2018-06-10 12:51:00 +09:00
syuilo
6e017c86e8 New translations ja.yml (Korean) 2018-06-10 12:50:58 +09:00
syuilo
afcfc2dca5 New translations ja.yml (Polish) 2018-06-10 12:50:57 +09:00
syuilo
59e22a12a9 New translations ja.yml (Chinese Simplified) 2018-06-10 12:50:55 +09:00
syuilo
b740ac3e01 New translations ja.yml (Italian) 2018-06-10 12:50:53 +09:00
syuilo
9719f0df03 New translations ja.yml (Russian) 2018-06-10 12:50:51 +09:00
syuilo
d4be599538 New translations ja.yml (English) 2018-06-10 12:50:49 +09:00
syuilo
f88195c90a New translations ja.yml (Spanish) 2018-06-10 12:50:47 +09:00
syuilo
3b33f7e752 New translations ja.yml (German) 2018-06-10 12:50:46 +09:00
syuilo
67a37294f7 New translations ja.yml (French) 2018-06-10 12:50:43 +09:00
syuilo
fd88955696 ✌️ 2018-06-10 12:36:48 +09:00
syuilo
9d248dbb5a 🎨 2018-06-10 12:29:19 +09:00
syuilo
20ec4104c6 2.36.0 2018-06-10 12:22:48 +09:00
syuilo
6c232d116d
Merge pull request #1692 from syuilo/l10n_master
New Crowdin translations
2018-06-10 12:22:28 +09:00
syuilo
2ef78bcd40 🍕 2018-06-10 12:21:44 +09:00
syuilo
94ce658ab9 ハッシュタグ検索を実装 2018-06-10 12:19:19 +09:00
syuilo
d8cf4cd341 New translations ja.yml (Polish) 2018-06-10 10:30:48 +09:00
syuilo
0360337df9 2.35.3 2018-06-10 08:42:29 +09:00
syuilo
119d38ea08 Fix bug 2018-06-10 08:41:57 +09:00
syuilo
bee77afb7f Fix bug 2018-06-10 08:34:46 +09:00
syuilo
16d4b16872 Revert "✌️"
This reverts commit 951b2346ab.
2018-06-10 08:21:48 +09:00
syuilo
951b2346ab ✌️ 2018-06-10 08:15:05 +09:00
syuilo
b29ff0e94b ✌️ 2018-06-10 08:03:02 +09:00
syuilo
c8dd8341ca 2.35.2 2018-06-10 03:58:12 +09:00
syuilo
8bcf44bc16 ✌️ 2018-06-10 03:55:51 +09:00
syuilo
50b37a8420 oops 2018-06-10 03:48:38 +09:00
syuilo
22df795733 Fix bug 2018-06-10 03:47:09 +09:00
syuilo
7e3bf06db1 2.35.1 2018-06-10 03:31:42 +09:00
syuilo
6630ca595c 🎨 2018-06-10 03:31:13 +09:00
syuilo
5d01e19ce7 Fix bug 2018-06-10 03:27:10 +09:00
syuilo
56df89f8dd 2.35.0 2018-06-10 01:22:44 +09:00
syuilo
13de984ce3
Merge pull request #1688 from syuilo/l10n_master
New Crowdin translations
2018-06-10 01:21:55 +09:00
syuilo
15fc0e30d7 New translations ja.yml (English) 2018-06-10 01:21:19 +09:00
syuilo
4289c11185 New translations ja.yml (German) 2018-06-10 01:21:17 +09:00
syuilo
a3f564e702 New translations ja.yml (Portuguese) 2018-06-10 01:11:33 +09:00
syuilo
f6734a0c98 New translations ja.yml (Korean) 2018-06-10 01:11:32 +09:00
syuilo
72fb416239 New translations ja.yml (Polish) 2018-06-10 01:11:30 +09:00