1
0
forked from mirror/misskey
🌎 A completely free and open interplanetary microblogging platform 🚀
Go to file
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
.config Update example.yml 2018-06-11 02:18:00 +09:00
.github
.travis Clean up: Remove unused files 2018-04-03 13:05:52 +09:00
assets 🎨 2018-05-29 02:20:40 +09:00
cli Add new cli tool 2018-06-08 21:22:13 +09:00
docker Resolve conflicts 2018-03-29 14:48:47 +09:00
docs Cover multiple cases 2018-06-01 20:52:47 +02:00
elasticsearch
locales Merge pull request #1694 from syuilo/l10n_master 2018-06-11 01:21:52 +09:00
migration Fix 2018-05-06 18:19:17 +09:00
src Fix #1695 2018-06-11 01:14:29 +09:00
test ✌️ 2018-05-18 09:21:19 +09:00
webpack Fix bug 2018-05-20 20:26:38 +09:00
.editorconfig Use tabs in json 2017-05-24 20:27:39 +09:00
.eslintrc Update .eslintrc 2018-05-21 10:35:42 +09:00
.gitattributes wip 2018-02-19 00:38:49 +09:00
.gitignore Update gitignore 2018-06-10 00:39:30 +09:00
.npmrc good bye package-lock.json 2017-08-11 18:50:45 +09:00
.travis.yml [travis] Ignore l10n_master 2018-05-21 20:36:14 +09:00
appveyor.yml Update appveyor.yml 2018-05-18 11:00:38 +09:00
binding.gyp Add keypair to local account 2018-03-27 00:26:25 +09:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-06-17 10:01:05 +09:00
CONTRIBUTING.md Update CONTRIBUTING.md 2017-03-31 03:14:02 +09:00
crowdin.yml Update Crowdin configuration file 2018-05-16 08:01:55 +09:00
DONATORS.md Update DONATORS.md 2018-04-14 23:26:34 +09:00
gulpfile.ts ✌️ 2018-05-17 15:41:07 +09:00
jsconfig.json
LICENSE Resolve conflicts 2018-03-29 14:48:47 +09:00
package.json 🆙 move some packages to devDependencies that non required by server 2018-06-11 08:08:52 +09:00
README.md Update README.md 2018-06-09 06:52:33 +09:00
swagger.js Resolve conflicts 2018-03-29 14:48:47 +09:00
tsconfig.json 整理した 2018-03-29 20:32:18 +09:00
tslint.json Fix lint 2018-04-26 14:44:23 +09:00
webpack.config.ts Fix bug 2018-05-25 20:41:07 +09:00

Misskey

PRs Welcome

Lead Maintainer: syuilo

Misskey is a completely open source, ultimately sophisticated professional microblogging software.

Become a Patron!

Features

  • Reactions
  • User lists
  • Customizable column view (known as MisskeyDeck)
    • and widgets!
  • Private messages
  • Mute
  • Streaming
  • ActivityPub compatible

and more! You can see it with your own eyes at misskey.xyz.

📦 Create your instance

If you want to run your own instance of Misskey, please see Setup and installation guide.

🔧 Contribute

PRs welcome!

If you want to...

❤️ Backers & Sponsors

Backers Sponsors

ooo

Copyright (c) 2014-2018 syuilo

Misskey is an open-source software licensed under GNU AGPLv3.