1 Star 0 Fork 0

nothingbok/mattermost-edit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
skip_integrity_check.js 628 Bytes
一键复制 编辑 原始数据 按行查看 历史
liujq19 提交于 2022-10-31 16:58 . first commit
// 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');
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/nothingbok/mattermost-editm.git
[email protected]:nothingbok/mattermost-editm.git
nothingbok
mattermost-editm
mattermost-edit
master

搜索帮助