mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-11-21 15:48:33 +00:00
No description
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)
```
|
||
|---|---|---|
| .config | ||
| .github | ||
| .travis | ||
| assets | ||
| cli | ||
| docker | ||
| docs | ||
| elasticsearch | ||
| locales | ||
| migration | ||
| src | ||
| test | ||
| webpack | ||
| .editorconfig | ||
| .eslintrc | ||
| .gitattributes | ||
| .gitignore | ||
| .npmrc | ||
| .travis.yml | ||
| appveyor.yml | ||
| binding.gyp | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| crowdin.yml | ||
| DONATORS.md | ||
| gulpfile.ts | ||
| jsconfig.json | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| swagger.js | ||
| tsconfig.json | ||
| tslint.json | ||
| webpack.config.ts | ||
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.


