Clean up dependencies
All checks were successful
Build and Push / build (push) Successful in 18s

This commit is contained in:
2026-02-16 15:12:59 -05:00
parent d181f77fb2
commit 2f15523a55
14941 changed files with 0 additions and 2078483 deletions

View File

@@ -1,21 +0,0 @@
/* --------------------------------------------------------------------------------------------
* Copyright (c) Red Hat, Inc. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* ------------------------------------------------------------------------------------------ */
//check package.json do not have dependency with 'next' version
/* eslint-disable @typescript-eslint/no-var-requires */
const exit = require('process').exit;
const dependencies = require('../package.json').dependencies;
for (const dep in dependencies) {
if (Object.prototype.hasOwnProperty.call(dependencies, dep)) {
const version = dependencies[dep];
if (version === 'next') {
console.error(`Dependency ${dep} has "${version}" version, please change it to fixed version`);
exit(1);
}
}
}