@next-core/build-config-factory 2.18.2 → 2.18.6
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.
- package/CHANGELOG.md +23 -38
- package/package.json +5 -5
- package/src/generateProviderContracts.js +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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
|
-
## [2.18.
|
|
6
|
+
## [2.18.6](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.5...@next-core/build-config-factory@2.18.6) (2021-12-24)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @next-core/build-config-factory
|
|
9
9
|
|
|
@@ -11,94 +11,79 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
## [2.18.
|
|
14
|
+
## [2.18.5](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.4...@next-core/build-config-factory@2.18.5) (2021-12-23)
|
|
15
15
|
|
|
16
|
+
**Note:** Version bump only for package @next-core/build-config-factory
|
|
16
17
|
|
|
17
|
-
### Bug Fixes
|
|
18
18
|
|
|
19
|
-
* add namespace ([8c81028](https://github.com/easyops-cn/next-core/commit/8c8102806ff1dd39ec5389fa83876d012f2f104a))
|
|
20
19
|
|
|
21
20
|
|
|
22
21
|
|
|
22
|
+
## [2.18.4](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.3...@next-core/build-config-factory@2.18.4) (2021-12-17)
|
|
23
23
|
|
|
24
|
+
**Note:** Version bump only for package @next-core/build-config-factory
|
|
24
25
|
|
|
25
|
-
# [2.18.0](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.17.9...@next-core/build-config-factory@2.18.0) (2021-12-06)
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
### Bug Fixes
|
|
29
28
|
|
|
30
|
-
* refactor generate contract ([0a40c3a](https://github.com/easyops-cn/next-core/commit/0a40c3a6889db1465250a126dda0112ea5ca1a2c))
|
|
31
29
|
|
|
30
|
+
## [2.18.3](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.2...@next-core/build-config-factory@2.18.3) (2021-12-15)
|
|
32
31
|
|
|
33
|
-
###
|
|
32
|
+
### Bug Fixes
|
|
34
33
|
|
|
35
|
-
|
|
34
|
+
- rename contract.json -> contracts.json ([dc35786](https://github.com/easyops-cn/next-core/commit/dc3578631edb9f79d9d0bb40e61680d1a5d9cf11))
|
|
36
35
|
|
|
36
|
+
## [2.18.2](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.1...@next-core/build-config-factory@2.18.2) (2021-12-13)
|
|
37
37
|
|
|
38
|
+
**Note:** Version bump only for package @next-core/build-config-factory
|
|
38
39
|
|
|
40
|
+
## [2.18.1](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.18.0...@next-core/build-config-factory@2.18.1) (2021-12-09)
|
|
39
41
|
|
|
42
|
+
### Bug Fixes
|
|
40
43
|
|
|
41
|
-
|
|
44
|
+
- add namespace ([8c81028](https://github.com/easyops-cn/next-core/commit/8c8102806ff1dd39ec5389fa83876d012f2f104a))
|
|
42
45
|
|
|
43
|
-
|
|
46
|
+
# [2.18.0](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.17.9...@next-core/build-config-factory@2.18.0) (2021-12-06)
|
|
44
47
|
|
|
48
|
+
### Bug Fixes
|
|
45
49
|
|
|
50
|
+
- refactor generate contract ([0a40c3a](https://github.com/easyops-cn/next-core/commit/0a40c3a6889db1465250a126dda0112ea5ca1a2c))
|
|
46
51
|
|
|
52
|
+
### Features
|
|
47
53
|
|
|
54
|
+
- generate new contract.json after build provider-of-\* package ([cbf7f96](https://github.com/easyops-cn/next-core/commit/cbf7f96d0130bd4a680fec11d9371c4e9bc01f5b))
|
|
48
55
|
|
|
49
|
-
## [2.17.
|
|
56
|
+
## [2.17.9](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.17.8...@next-core/build-config-factory@2.17.9) (2021-12-03)
|
|
50
57
|
|
|
51
58
|
**Note:** Version bump only for package @next-core/build-config-factory
|
|
52
59
|
|
|
60
|
+
## [2.17.8](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.17.7...@next-core/build-config-factory@2.17.8) (2021-11-29)
|
|
53
61
|
|
|
54
|
-
|
|
55
|
-
|
|
62
|
+
**Note:** Version bump only for package @next-core/build-config-factory
|
|
56
63
|
|
|
57
64
|
## [2.17.7](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.17.6...@next-core/build-config-factory@2.17.7) (2021-11-26)
|
|
58
65
|
|
|
59
66
|
**Note:** Version bump only for package @next-core/build-config-factory
|
|
60
67
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
68
|
## [2.17.6](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.17.5...@next-core/build-config-factory@2.17.6) (2021-11-25)
|
|
66
69
|
|
|
67
70
|
**Note:** Version bump only for package @next-core/build-config-factory
|
|
68
71
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
72
|
## [2.17.5](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.17.4...@next-core/build-config-factory@2.17.5) (2021-11-23)
|
|
74
73
|
|
|
75
74
|
**Note:** Version bump only for package @next-core/build-config-factory
|
|
76
75
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
76
|
## [2.17.4](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.17.3...@next-core/build-config-factory@2.17.4) (2021-11-19)
|
|
82
77
|
|
|
83
|
-
|
|
84
78
|
### Bug Fixes
|
|
85
79
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
80
|
+
- fix postcss-loader after upgraded postcss to v8 ([d232c1d](https://github.com/easyops-cn/next-core/commit/d232c1dcad2f77bd1d6b558d6ec6db7f3fd9235e))
|
|
91
81
|
|
|
92
82
|
## [2.17.3](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.17.2...@next-core/build-config-factory@2.17.3) (2021-11-18)
|
|
93
83
|
|
|
94
|
-
|
|
95
84
|
### Bug Fixes
|
|
96
85
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
86
|
+
- fix generating brick contracts ([6e94f82](https://github.com/easyops-cn/next-core/commit/6e94f8245df5a15c21b25d9f4de88cbc86d2212f))
|
|
102
87
|
|
|
103
88
|
## [2.17.2](https://github.com/easyops-cn/next-core/compare/@next-core/build-config-factory@2.17.1...@next-core/build-config-factory@2.17.2) (2021-11-16)
|
|
104
89
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/build-config-factory",
|
|
3
|
-
"version": "2.18.
|
|
3
|
+
"version": "2.18.6",
|
|
4
4
|
"description": "build config factory",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/build-config-factory",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
},
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@next-core/brick-utils": "^2.31.
|
|
21
|
+
"@next-core/brick-utils": "^2.31.5",
|
|
22
22
|
"@next-core/repo-config": "^0.2.1",
|
|
23
23
|
"@next-core/typedoc-plugin-filter-inherit": "^1.0.0",
|
|
24
|
-
"@next-core/webpack-config-factory": "^2.
|
|
24
|
+
"@next-core/webpack-config-factory": "^2.15.0",
|
|
25
25
|
"change-case": "^4.1.2",
|
|
26
26
|
"chokidar": "^3.5.2",
|
|
27
27
|
"fs-extra": "^10.0.0",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"meow": "^9.0.0",
|
|
33
33
|
"moment": "^2.29.1",
|
|
34
34
|
"npmlog": "^6.0.0",
|
|
35
|
-
"prettier": "^2.
|
|
35
|
+
"prettier": "^2.5.1",
|
|
36
36
|
"rimraf": "^3.0.2",
|
|
37
37
|
"typedoc": "^0.19.2",
|
|
38
38
|
"typedoc-plugin-no-inherit": "^1.2.2"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "91e19869a3d2b534b4f1b8e56a51159a4df184ce"
|
|
41
41
|
}
|
|
@@ -9,13 +9,13 @@ module.exports = function generateProviderDocsV2(pluginName) {
|
|
|
9
9
|
let contractPath;
|
|
10
10
|
const providersJson = require(path.resolve("providers.json"));
|
|
11
11
|
try {
|
|
12
|
-
contractPath = require.resolve(`${providersJson.sdk}/dist/
|
|
12
|
+
contractPath = require.resolve(`${providersJson.sdk}/dist/contracts.json`, {
|
|
13
13
|
paths: [process.cwd()],
|
|
14
14
|
});
|
|
15
15
|
} catch (error) {
|
|
16
16
|
console.log(
|
|
17
17
|
chalk.yellow(
|
|
18
|
-
`Warning: no
|
|
18
|
+
`Warning: no contracts.json file generated, if need it please execute \`yarn yo-sdk\` for ${providersJson.sdk} and build it later`
|
|
19
19
|
)
|
|
20
20
|
);
|
|
21
21
|
return;
|
|
@@ -37,8 +37,8 @@ module.exports = function generateProviderDocsV2(pluginName) {
|
|
|
37
37
|
}),
|
|
38
38
|
};
|
|
39
39
|
fs.writeFileSync(
|
|
40
|
-
path.join(process.cwd(), "dist", "
|
|
40
|
+
path.join(process.cwd(), "dist", "contracts.json"),
|
|
41
41
|
JSON.stringify(contract, null, 2)
|
|
42
42
|
);
|
|
43
|
-
console.log(`Providers
|
|
43
|
+
console.log(`Providers contracts for ${pluginName} generated.`);
|
|
44
44
|
};
|