renovate 42.66.12 → 42.66.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LocalFs = void 0;
|
|
4
|
-
const node_child_process_1 = require("node:child_process");
|
|
5
4
|
const glob_1 = require("glob");
|
|
6
5
|
const logger_1 = require("../../../logger");
|
|
6
|
+
const common_1 = require("../../../util/exec/common");
|
|
7
7
|
let fileList;
|
|
8
8
|
class LocalFs {
|
|
9
9
|
isBranchBehindBase(branchName, baseBranch) {
|
|
@@ -31,7 +31,7 @@ class LocalFs {
|
|
|
31
31
|
try {
|
|
32
32
|
// fetch file list using git
|
|
33
33
|
const maxBuffer = 10 * 1024 * 1024; // 10 MiB in bytes
|
|
34
|
-
const stdout = (0,
|
|
34
|
+
const stdout = (await (0, common_1.rawExec)('git ls-files', { encoding: 'utf-8', maxBuffer })).stdout;
|
|
35
35
|
logger_1.logger.debug('Got file list using git');
|
|
36
36
|
fileList = stdout.split('\n');
|
|
37
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scm.js","sourceRoot":"","sources":["../../../../lib/modules/platform/local/scm.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"scm.js","sourceRoot":"","sources":["../../../../lib/modules/platform/local/scm.ts"],"names":[],"mappings":";;;AAAA,+BAA4B;AAC5B,4CAAyC;AACzC,sDAAoD;AAIpD,IAAI,QAA8B,CAAC;AACnC,MAAa,OAAO;IAClB,kBAAkB,CAAC,UAAkB,EAAE,UAAkB;QACvD,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC;IACD,gBAAgB,CAAC,UAAkB,EAAE,UAAkB;QACrD,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC;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AO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;IAED,YAAY,CAAC,UAAkB;QAC7B,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;CACF;AAzDD,0BAyDC","sourcesContent":["import { glob } from 'glob';\nimport { logger } from '../../../logger';\nimport { rawExec } from '../../../util/exec/common';\nimport type { CommitFilesConfig, LongCommitSha } from '../../../util/git/types';\nimport type { PlatformScm } from '../types';\n\nlet fileList: string[] | undefined;\nexport class LocalFs implements PlatformScm {\n isBranchBehindBase(branchName: string, baseBranch: string): Promise<boolean> {\n return Promise.resolve(false);\n }\n isBranchModified(branchName: string, baseBranch: string): Promise<boolean> {\n return Promise.resolve(false);\n }\n isBranchConflicted(baseBranch: string, branch: string): Promise<boolean> {\n return Promise.resolve(false);\n }\n branchExists(branchName: string): Promise<boolean> {\n return Promise.resolve(true);\n }\n getBranchCommit(branchName: string): Promise<LongCommitSha | null> {\n return Promise.resolve(null);\n }\n deleteBranch(branchName: string): Promise<void> {\n return Promise.resolve();\n }\n commitAndPush(\n commitConfig: CommitFilesConfig,\n ): Promise<LongCommitSha | null> {\n return Promise.resolve(null);\n }\n\n async getFileList(): Promise<string[]> {\n try {\n // fetch file list using git\n const maxBuffer = 10 * 1024 * 1024; // 10 MiB in bytes\n const stdout = (\n await rawExec('git ls-files', { encoding: 'utf-8', maxBuffer })\n ).stdout;\n logger.debug('Got file list using git');\n fileList = stdout.split('\\n');\n } catch {\n logger.debug('Could not get file list using git, using glob instead');\n fileList ??= await glob('**', {\n dot: true,\n nodir: true,\n });\n }\n\n return fileList;\n }\n\n checkoutBranch(branchName: string): Promise<LongCommitSha> {\n // We don't care about the commit sha in local mode\n return Promise.resolve('' as LongCommitSha);\n }\n\n mergeAndPush(branchName: string): Promise<void> {\n return Promise.resolve();\n }\n\n mergeToLocal(branchName: string): Promise<void> {\n return Promise.resolve();\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "renovate",
|
|
3
3
|
"description": "Automated dependency updates. Flexible so you don't need to be.",
|
|
4
|
-
"version": "42.66.
|
|
4
|
+
"version": "42.66.14",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"bin": {
|
|
7
7
|
"renovate": "dist/renovate.js",
|
|
@@ -323,9 +323,9 @@
|
|
|
323
323
|
"doc-fence-check": "tsx tools/check-fenced-code.ts",
|
|
324
324
|
"lint-documentation": "vitest run --coverage false test/docs/**.spec.ts",
|
|
325
325
|
"lint-other": "vitest run --coverage false test/other/**.spec.ts",
|
|
326
|
-
"eslint": "eslint . --cache --cache-location .cache/eslint",
|
|
327
|
-
"eslint-fix": "eslint --cache --cache-location .cache/eslint --fix .",
|
|
328
|
-
"eslint-ci": "eslint . --cache --cache-strategy content --cache-location .cache/eslint --format gha",
|
|
326
|
+
"eslint": "NODE_OPTIONS=--max-old-space-size=8192 eslint . --cache --cache-location .cache/eslint",
|
|
327
|
+
"eslint-fix": "NODE_OPTIONS=--max-old-space-size=8192 eslint --cache --cache-location .cache/eslint --fix .",
|
|
328
|
+
"eslint-ci": "NODE_OPTIONS=--max-old-space-size=8192 eslint . --cache --cache-strategy content --cache-location .cache/eslint --format gha",
|
|
329
329
|
"generate": "run-s 'generate:*'",
|
|
330
330
|
"generate:imports": "node tools/generate-imports.mjs",
|
|
331
331
|
"git-check": "node tools/check-git-version.mjs",
|
package/renovate-schema.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"title": "JSON schema for Renovate 42.66.
|
|
2
|
+
"title": "JSON schema for Renovate 42.66.14 config files (https://renovatebot.com/)",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"x-renovate-version": "42.66.
|
|
4
|
+
"x-renovate-version": "42.66.14",
|
|
5
5
|
"allowComments": true,
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|