@next-core/dev-dependencies 1.17.29 → 1.17.30
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,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" ?>
|
|
2
2
|
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
|
|
3
|
-
<coverage lines-valid="396" lines-covered="388" line-rate="0.9797" branches-valid="145" branches-covered="136" branch-rate="0.9379000000000001" timestamp="
|
|
3
|
+
<coverage lines-valid="396" lines-covered="388" line-rate="0.9797" branches-valid="145" branches-covered="136" branch-rate="0.9379000000000001" timestamp="1689930218662" complexity="0" version="0.1">
|
|
4
4
|
<sources>
|
|
5
5
|
<source>/home/runner/work/next-core/next-core/packages/dev-dependencies</source>
|
|
6
6
|
</sources>
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.17.30](https://github.com/easyops-cn/next-core/compare/@next-core/dev-dependencies@1.17.29...@next-core/dev-dependencies@1.17.30) (2023-07-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* fix renovate update ([c2487f2](https://github.com/easyops-cn/next-core/commit/c2487f222923baa6ff344b93631275b7dec1b5bb))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [1.17.29](https://github.com/easyops-cn/next-core/compare/@next-core/dev-dependencies@1.17.28...@next-core/dev-dependencies@1.17.29) (2023-07-21)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @next-core/dev-dependencies
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/dev-dependencies",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.30",
|
|
4
4
|
"description": "Dev dependencies for brick-next related packages",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/dev-dependencies",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"enzyme": "^3.11.0",
|
|
86
86
|
"lolex": "^5.1.2"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "ffb07f493263a086ae4626d612167b0b33d84707"
|
|
89
89
|
}
|
package/patch.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const path = require("path");
|
|
2
|
-
const { readJson, writeJsonFile
|
|
2
|
+
const { readJson, writeJsonFile } = require("../utils");
|
|
3
3
|
|
|
4
4
|
function updateRenovateForV2() {
|
|
5
|
-
const
|
|
5
|
+
const packageJson = readJson(path.resolve("package.json"));
|
|
6
6
|
const renovateJsonPath = path.resolve("renovate.json");
|
|
7
7
|
const renovateJson = readJson(renovateJsonPath);
|
|
8
8
|
|
|
@@ -16,7 +16,7 @@ function updateRenovateForV2() {
|
|
|
16
16
|
matchPackagePatterns: ["^@next-core/"],
|
|
17
17
|
matchUpdateTypes: ["minor", "patch"],
|
|
18
18
|
postUpgradeTasks:
|
|
19
|
-
|
|
19
|
+
packageJson.homepage && packageJson.homepage.includes("github.com")
|
|
20
20
|
? undefined
|
|
21
21
|
: {
|
|
22
22
|
commands: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const updateRenovateForV2 = require("./updateRenovateForV2");
|
|
2
|
-
const { writeJsonFile, readJson
|
|
2
|
+
const { writeJsonFile, readJson } = require("../utils");
|
|
3
3
|
|
|
4
4
|
jest.mock("../utils");
|
|
5
5
|
|
|
@@ -9,7 +9,7 @@ describe("updateRenovateForV2", () => {
|
|
|
9
9
|
});
|
|
10
10
|
|
|
11
11
|
it("should update v2 for repo on github", () => {
|
|
12
|
-
|
|
12
|
+
readJson.mockReturnValueOnce({
|
|
13
13
|
homepage: "https://github.com/easyops-cn/next-basics",
|
|
14
14
|
});
|
|
15
15
|
readJson.mockReturnValueOnce({
|
|
@@ -42,7 +42,7 @@ describe("updateRenovateForV2", () => {
|
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
it("should update v2 for repo on gitlab", () => {
|
|
45
|
-
|
|
45
|
+
readJson.mockReturnValueOnce({
|
|
46
46
|
homepage: "https://git.easyops.local/easyops-cn/next-basics",
|
|
47
47
|
});
|
|
48
48
|
readJson.mockReturnValueOnce({
|