mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +02:00
Migrate to pnpm
This commit is contained in:
parent
bbc1afada5
commit
906b5f7f2c
47 changed files with 24183 additions and 23477 deletions
|
@ -32,7 +32,7 @@ import {
|
|||
} from '../../types/plugins/index.js'
|
||||
import { ClientHtml } from '../html/client-html.js'
|
||||
import { RegisterHelpers } from './register-helpers.js'
|
||||
import { installNpmPlugin, installNpmPluginFromDisk, rebuildNativePlugins, removeNpmPlugin } from './yarn.js'
|
||||
import { installNpmPlugin, installNpmPluginFromDisk, rebuildNativePlugins, removeNpmPlugin } from './package-manager.js'
|
||||
|
||||
const require = createRequire(import.meta.url)
|
||||
|
||||
|
@ -452,6 +452,8 @@ export class PluginManager implements ServerHook {
|
|||
async rebuildNativePluginsIfNeeded () {
|
||||
if (!await ApplicationModel.nodeABIChanged()) return
|
||||
|
||||
logger.info('Node ABI has changed, rebuilding native plugins')
|
||||
|
||||
return rebuildNativePlugins()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue