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
assets 🎨 2018-05-29 02:20:40 +09:00
cli Add new cli tool 2018-06-08 21:22:13 +09:00
docker
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
src Fix #1695 2018-06-11 01:14:29 +09:00
test
webpack
.editorconfig
.eslintrc
.gitattributes
.gitignore Update gitignore 2018-06-10 00:39:30 +09:00
.npmrc
.travis.yml
appveyor.yml
binding.gyp
CODE_OF_CONDUCT.md
CONTRIBUTING.md
crowdin.yml
DONATORS.md
gulpfile.ts
jsconfig.json
LICENSE
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
tsconfig.json
tslint.json
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.