mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
MM-53989 Upgrade to Node 18 and NPM 9 (#24283)
* MM-53989 Update to Node 18 and NPM 9 * MM-53989 Remove skip_integrity_check.js * Force e2e-test/cypress to use its version of TS for types package * Update .nvmrc * Update .nvmrc lineending * Update server.override.yml --------- Co-authored-by: M-ZubairAhmed <m-zubairahmed@protonmail.com> Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
// 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');
|
||||
Reference in New Issue
Block a user