mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-21 11:40:49 +00:00
7518e30dcf73ee9b7b385eb4f5878b77d3ea3cc4
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)
```
Lead Maintainer: syuilo
Misskey is a completely open source, ultimately sophisticated professional microblogging software.
✨ 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...
- i18n ... please see Translation guide.
- l10n ... please visit https://crowdin.com/project/misskey
❤️ Backers & Sponsors
| ooo |
🍀 Copyright
Copyright (c) 2014-2018 syuilo
Misskey is an open-source software licensed under GNU AGPLv3.
Languages
TypeScript
62.4%
Vue
30.7%
JavaScript
6%
GLSL
0.4%
SCSS
0.3%


