Mono repo -> Master (#22553)
Combines the following repositories into one: https://github.com/mattermost/mattermost-server https://github.com/mattermost/mattermost-webapp https://github.com/mattermost/focalboard https://github.com/mattermost/mattermost-plugin-playbooks
Этот коммит содержится в:
14
webapp/scripts/skip_integrity_check.js
Обычный файл
14
webapp/scripts/skip_integrity_check.js
Обычный файл
@@ -0,0 +1,14 @@
|
||||
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
||||
// See LICENSE.txt for license information.
|
||||
|
||||
const fs = require('fs');
|
||||
const content = JSON.parse(fs.readFileSync('package-lock.json', 'utf-8'));
|
||||
|
||||
// Skip integrity check for mmjstool, which differs on Apple Silicon M1.
|
||||
// @see https://github.com/npm/cli/issues/2846
|
||||
delete content.dependencies.mmjstool.integrity;
|
||||
delete content.packages['node_modules/mmjstool'].integrity;
|
||||
delete content.dependencies.marked.integrity;
|
||||
delete content.packages['node_modules/marked'].integrity;
|
||||
|
||||
fs.writeFileSync('package-lock.json', JSON.stringify(content, null, 2) + '\n');
|
||||
Ссылка в новой задаче
Block a user