@next-core/dev-dependencies 1.17.29 → 1.17.31

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="1689909286720" complexity="0" version="0.1">
3
+ <coverage lines-valid="396" lines-covered="388" line-rate="0.9797" branches-valid="145" branches-covered="136" branch-rate="0.9379000000000001" timestamp="1689930586725" 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,25 @@
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.31](https://github.com/easyops-cn/next-core/compare/@next-core/dev-dependencies@1.17.30...@next-core/dev-dependencies@1.17.31) (2023-07-21)
7
+
8
+ **Note:** Version bump only for package @next-core/dev-dependencies
9
+
10
+
11
+
12
+
13
+
14
+ ## [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)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * fix renovate update ([c2487f2](https://github.com/easyops-cn/next-core/commit/c2487f222923baa6ff344b93631275b7dec1b5bb))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [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
26
 
8
27
  **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.29",
3
+ "version": "1.17.31",
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",
@@ -21,13 +21,13 @@
21
21
  "@babel/core": "^7.20.5",
22
22
  "@next-core/babel-preset-next": "^0.9.16",
23
23
  "@next-core/babel-preset-prismjs": "^1.0.19",
24
- "@next-core/brick-container": "^2.89.3",
24
+ "@next-core/brick-container": "^2.89.4",
25
25
  "@next-core/brick-dll": "^2.45.3",
26
26
  "@next-core/brick-scripts": "^3.0.8",
27
27
  "@next-core/browserslist-config-next": "^0.1.4",
28
28
  "@next-core/build-config-factory": "^2.25.26",
29
29
  "@next-core/build-next-libs": "^0.2.16",
30
- "@next-core/custom-antd-styles": "^1.26.0",
30
+ "@next-core/custom-antd-styles": "^1.26.1",
31
31
  "@next-core/eslint-config-next": "^1.0.40",
32
32
  "@next-core/jest-config-factory": "^0.4.14",
33
33
  "@next-core/rollup-config-factory": "^2.7.0",
@@ -85,5 +85,5 @@
85
85
  "enzyme": "^3.11.0",
86
86
  "lolex": "^5.1.2"
87
87
  },
88
- "gitHead": "1c5b11a373af34f6434034d321259bb7ae2620f4"
88
+ "gitHead": "9c4551020329352e6cf2b71506331d43c2c99cc0"
89
89
  }
package/patch.js CHANGED
@@ -200,7 +200,7 @@ module.exports = async function patch() {
200
200
  enableLernaWithNx();
201
201
  }
202
202
 
203
- if (semver.lt(currentRenewVersion, "1.17.0")) {
203
+ if (semver.lt(currentRenewVersion, "1.17.30")) {
204
204
  updateRenovateForV2();
205
205
  }
206
206
 
@@ -1,8 +1,8 @@
1
1
  const path = require("path");
2
- const { readJson, writeJsonFile, readSelfJson } = require("../utils");
2
+ const { readJson, writeJsonFile } = require("../utils");
3
3
 
4
4
  function updateRenovateForV2() {
5
- const selfJson = readSelfJson();
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
- selfJson.homepage && selfJson.homepage.includes("github.com")
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, readSelfJson } = require("../utils");
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
- readSelfJson.mockReturnValueOnce({
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
- readSelfJson.mockReturnValueOnce({
45
+ readJson.mockReturnValueOnce({
46
46
  homepage: "https://git.easyops.local/easyops-cn/next-basics",
47
47
  });
48
48
  readJson.mockReturnValueOnce({