node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

44
server/node_modules/@strapi/cloud-cli/dist/bin.mjs generated vendored Normal file
View File

@@ -0,0 +1,44 @@
import { Command } from 'commander';
import 'axios';
import 'fs-extra';
import 'os';
import './config/api.mjs';
import 'path';
import 'xdg-app-paths';
import 'lodash';
import 'jwks-rsa';
import 'jsonwebtoken';
import { createLogger } from './services/logger.mjs';
import { buildStrapiCloudCommands } from './index.mjs';
function loadStrapiCloudCommand(argv = process.argv, command = new Command()) {
// Initial program setup
command.storeOptionsAsProperties(false).allowUnknownOption(true);
// Help command
command.helpOption('-h, --help', 'Display help for command');
command.addHelpCommand('help [command]', 'Display help for command');
const cwd = process.cwd();
const hasDebug = argv.includes('--debug');
const hasSilent = argv.includes('--silent');
const logger = createLogger({
debug: hasDebug,
silent: hasSilent,
timestamp: false
});
const ctx = {
cwd,
logger
};
buildStrapiCloudCommands({
command,
ctx,
argv
});
}
function runStrapiCloudCommand(argv = process.argv, command = new Command()) {
loadStrapiCloudCommand(argv, command);
command.parse(argv);
}
export { runStrapiCloudCommand };
//# sourceMappingURL=bin.mjs.map