pob 13.0.0 → 13.0.2
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,6 +3,24 @@
|
|
|
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
|
+
## [13.0.2](https://github.com/christophehurpeau/pob/compare/pob@13.0.1...pob@13.0.2) (2023-06-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* fix yarn call in ci lerna publish ([55d5dd2](https://github.com/christophehurpeau/pob/commit/55d5dd29bcf9d96d732d60f08e1ea1d780acd946))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [13.0.1](https://github.com/christophehurpeau/pob/compare/pob@13.0.0...pob@13.0.1) (2023-06-26)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **pob:** fix json formatter for lerna.json ([11f2df0](https://github.com/christophehurpeau/pob/commit/11f2df062abdc4336e7bed588573ba6edd22034c))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [13.0.0](https://github.com/christophehurpeau/pob/compare/pob@12.0.0...pob@13.0.0) (2023-06-26)
|
|
7
25
|
|
|
8
26
|
|
|
@@ -57,7 +57,7 @@ jobs:
|
|
|
57
57
|
node-version: 18
|
|
58
58
|
registry-url: "https://registry.npmjs.org"
|
|
59
59
|
|
|
60
|
-
- run: lerna publish from-git --no-verify-access --yes
|
|
60
|
+
- run: yarn lerna publish from-git --no-verify-access --yes
|
|
61
61
|
if: |
|
|
62
62
|
github.ref == 'refs/heads/main'
|
|
63
63
|
&& contains(github.event.inputs.dry-run, 'y') == false
|
|
@@ -13,10 +13,21 @@ export function writeAndFormat(fs, destinationPath, content, { parser } = {}) {
|
|
|
13
13
|
);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
function getParserFromDestinationPath(destinationPath) {
|
|
17
|
+
if (destinationPath.endsWith('/lerna.json')) {
|
|
18
|
+
return 'json-stringify';
|
|
19
|
+
}
|
|
20
|
+
if (destinationPath.endsWith('json')) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
return 'json';
|
|
25
|
+
}
|
|
26
|
+
|
|
16
27
|
export function writeAndFormatJson(fs, destinationPath, value) {
|
|
17
28
|
writeAndFormat(fs, destinationPath, JSON.stringify(value, null, 2), {
|
|
18
29
|
// project.code-workspace is json
|
|
19
|
-
parser: destinationPath
|
|
30
|
+
parser: getParserFromDestinationPath(destinationPath),
|
|
20
31
|
});
|
|
21
32
|
}
|
|
22
33
|
export function copyAndFormatTpl(fs, templatePath, destinationPath, options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pob",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.2",
|
|
4
4
|
"description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"skeleton"
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@pob/root": "8.0.0"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "d240a76212d544942eeaba155820a812cb69f717"
|
|
70
70
|
}
|