@next-core/build-config-factory 2.18.0 → 2.18.4

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 CHANGED
@@ -3,83 +3,71 @@
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.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)
7
-
6
+ ## [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)
8
7
 
9
- ### Bug Fixes
10
-
11
- * refactor generate contract ([0a40c3a](https://github.com/easyops-cn/next-core/commit/0a40c3a6889db1465250a126dda0112ea5ca1a2c))
8
+ **Note:** Version bump only for package @next-core/build-config-factory
12
9
 
13
10
 
14
- ### Features
15
11
 
16
- * generate new contract.json after build provider-of-* package ([cbf7f96](https://github.com/easyops-cn/next-core/commit/cbf7f96d0130bd4a680fec11d9371c4e9bc01f5b))
17
12
 
18
13
 
14
+ ## [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)
19
15
 
16
+ ### Bug Fixes
20
17
 
18
+ - rename contract.json -> contracts.json ([dc35786](https://github.com/easyops-cn/next-core/commit/dc3578631edb9f79d9d0bb40e61680d1a5d9cf11))
21
19
 
22
- ## [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)
20
+ ## [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)
23
21
 
24
22
  **Note:** Version bump only for package @next-core/build-config-factory
25
23
 
24
+ ## [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)
26
25
 
26
+ ### Bug Fixes
27
27
 
28
+ - add namespace ([8c81028](https://github.com/easyops-cn/next-core/commit/8c8102806ff1dd39ec5389fa83876d012f2f104a))
28
29
 
30
+ # [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)
29
31
 
30
- ## [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)
31
-
32
- **Note:** Version bump only for package @next-core/build-config-factory
33
-
32
+ ### Bug Fixes
34
33
 
34
+ - refactor generate contract ([0a40c3a](https://github.com/easyops-cn/next-core/commit/0a40c3a6889db1465250a126dda0112ea5ca1a2c))
35
35
 
36
+ ### Features
36
37
 
38
+ - generate new contract.json after build provider-of-\* package ([cbf7f96](https://github.com/easyops-cn/next-core/commit/cbf7f96d0130bd4a680fec11d9371c4e9bc01f5b))
37
39
 
38
- ## [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)
40
+ ## [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)
39
41
 
40
42
  **Note:** Version bump only for package @next-core/build-config-factory
41
43
 
44
+ ## [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)
42
45
 
46
+ **Note:** Version bump only for package @next-core/build-config-factory
43
47
 
48
+ ## [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)
44
49
 
50
+ **Note:** Version bump only for package @next-core/build-config-factory
45
51
 
46
52
  ## [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)
47
53
 
48
54
  **Note:** Version bump only for package @next-core/build-config-factory
49
55
 
50
-
51
-
52
-
53
-
54
56
  ## [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)
55
57
 
56
58
  **Note:** Version bump only for package @next-core/build-config-factory
57
59
 
58
-
59
-
60
-
61
-
62
60
  ## [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)
63
61
 
64
-
65
62
  ### Bug Fixes
66
63
 
67
- * fix postcss-loader after upgraded postcss to v8 ([d232c1d](https://github.com/easyops-cn/next-core/commit/d232c1dcad2f77bd1d6b558d6ec6db7f3fd9235e))
68
-
69
-
70
-
71
-
64
+ - fix postcss-loader after upgraded postcss to v8 ([d232c1d](https://github.com/easyops-cn/next-core/commit/d232c1dcad2f77bd1d6b558d6ec6db7f3fd9235e))
72
65
 
73
66
  ## [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)
74
67
 
75
-
76
68
  ### Bug Fixes
77
69
 
78
- * fix generating brick contracts ([6e94f82](https://github.com/easyops-cn/next-core/commit/6e94f8245df5a15c21b25d9f4de88cbc86d2212f))
79
-
80
-
81
-
82
-
70
+ - fix generating brick contracts ([6e94f82](https://github.com/easyops-cn/next-core/commit/6e94f8245df5a15c21b25d9f4de88cbc86d2212f))
83
71
 
84
72
  ## [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)
85
73
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-core/build-config-factory",
3
- "version": "2.18.0",
3
+ "version": "2.18.4",
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.2",
21
+ "@next-core/brick-utils": "^2.31.3",
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.14.4",
24
+ "@next-core/webpack-config-factory": "^2.14.6",
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.4.1",
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": "642cc9f88ce8bdc943a39870d0b0d7189febf72b"
40
+ "gitHead": "7cda848a0251c7b3aa54b37f73c9608454364fed"
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/contract.json`, {
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 contract.json file generated, if need it please execute \`yarn yo-sdk\` for ${providersJson.sdk} and build it later`
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;
@@ -31,13 +31,14 @@ module.exports = function generateProviderDocsV2(pluginName) {
31
31
  provider: `providers-of-${changeCase.paramCase(
32
32
  service
33
33
  )}.${changeCase.paramCase(model)}-api-${changeCase.paramCase(name)}`,
34
+ namespace: `easyops.api.${service}.${model}`,
34
35
  ...omit(item, "contract"),
35
36
  };
36
37
  }),
37
38
  };
38
39
  fs.writeFileSync(
39
- path.join(process.cwd(), "dist", "contract.json"),
40
+ path.join(process.cwd(), "dist", "contracts.json"),
40
41
  JSON.stringify(contract, null, 2)
41
42
  );
42
- console.log(`Providers contract for ${pluginName} generated.`);
43
+ console.log(`Providers contracts for ${pluginName} generated.`);
43
44
  };