@next-core/dev-dependencies 1.17.134 → 1.17.136

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="1706146479293" 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="1706699124620" 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.136](https://github.com/easyops-cn/next-core/compare/@next-core/dev-dependencies@1.17.135...@next-core/dev-dependencies@1.17.136) (2024-01-31)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * handle errors when running yarn info ([e98cfa1](https://github.com/easyops-cn/next-core/commit/e98cfa195ff58c35ced36088da4e0830586fa965))
12
+
13
+
14
+
15
+
16
+
17
+ ## [1.17.135](https://github.com/easyops-cn/next-core/compare/@next-core/dev-dependencies@1.17.134...@next-core/dev-dependencies@1.17.135) (2024-01-29)
18
+
19
+ **Note:** Version bump only for package @next-core/dev-dependencies
20
+
21
+
22
+
23
+
24
+
6
25
  ## [1.17.134](https://github.com/easyops-cn/next-core/compare/@next-core/dev-dependencies@1.17.133...@next-core/dev-dependencies@1.17.134) (2024-01-25)
7
26
 
8
27
  **Note:** Version bump only for package @next-core/dev-dependencies
package/index.js CHANGED
@@ -29,14 +29,23 @@ function updateSelf() {
29
29
  const currentRange = rootPackageJson.devDependencies[selfPackageName];
30
30
  if (currentRange) {
31
31
  // https://classic.yarnpkg.com/en/docs/cli/info
32
- const versions = JSON.parse(
33
- execa.sync("yarn", ["info", selfPackageName, "versions", "--json"])
34
- .stdout
35
- ).data;
36
- tag = `@^${semver.maxSatisfying(
37
- versions,
38
- currentRange.startsWith("^0.") ? "< 1" : currentRange
39
- )}`;
32
+ const result = execa.sync("yarn", [
33
+ "info",
34
+ selfPackageName,
35
+ "versions",
36
+ "--json",
37
+ ]);
38
+ const content = result.stdout;
39
+ if (content) {
40
+ const versions = JSON.parse(content).data;
41
+ tag = `@^${semver.maxSatisfying(
42
+ versions,
43
+ currentRange.startsWith("^0.") ? "< 1" : currentRange
44
+ )}`;
45
+ } else {
46
+ console.error("yarn info failed:", result.stderr);
47
+ tag = currentRange.startsWith("^0.") ? "@0.x" : "@latest";
48
+ }
40
49
  }
41
50
  }
42
51
  console.log(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-core/dev-dependencies",
3
- "version": "1.17.134",
3
+ "version": "1.17.136",
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,8 +21,8 @@
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.20",
24
- "@next-core/brick-container": "^2.92.21",
25
- "@next-core/brick-dll": "^2.46.3",
24
+ "@next-core/brick-container": "^2.92.23",
25
+ "@next-core/brick-dll": "^2.46.5",
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.40",
@@ -32,11 +32,11 @@
32
32
  "@next-core/jest-config-factory": "^0.4.14",
33
33
  "@next-core/rollup-config-factory": "^2.7.0",
34
34
  "@next-core/webpack-config-factory": "^2.23.0",
35
- "@next-dll/ace": "^2.0.726",
35
+ "@next-dll/ace": "^2.0.728",
36
36
  "@next-dll/d3": "^2.0.80",
37
37
  "@next-dll/echarts": "^2.0.81",
38
- "@next-dll/editor-bricks-helper": "^0.38.71",
39
- "@next-dll/react-dnd": "^0.1.664",
38
+ "@next-dll/editor-bricks-helper": "^0.38.73",
39
+ "@next-dll/react-dnd": "^0.1.666",
40
40
  "@testing-library/jest-dom": "^5.16.5",
41
41
  "@testing-library/react": "^12.1.5",
42
42
  "@typescript-eslint/eslint-plugin": "^5.46.0",
@@ -85,5 +85,5 @@
85
85
  "enzyme": "^3.11.0",
86
86
  "lolex": "^5.1.2"
87
87
  },
88
- "gitHead": "0fd2e3f95a0e412237ee42b4c5e62c463926fc9a"
88
+ "gitHead": "5ebc9d8697ecd3ca2e061e7bfc3d135f50c2eff6"
89
89
  }