pob 11.4.0 → 11.4.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,28 @@
|
|
|
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
|
+
## [11.4.2](https://github.com/christophehurpeau/pob/compare/pob@11.4.1...pob@11.4.2) (2022-11-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* tsc and non composite ([bdfb6a3](https://github.com/christophehurpeau/pob/commit/bdfb6a373cdcab7f0e0f981c0743debab82e31fd))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [11.4.1](https://github.com/christophehurpeau/pob/compare/pob@11.4.0...pob@11.4.1) (2022-11-18)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **pob:** fix clean:build script ([263cc50](https://github.com/christophehurpeau/pob/commit/263cc50f3695e1e20cf73d90a87cef7a087600cc))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
# [11.4.0](https://github.com/christophehurpeau/pob/compare/pob@11.3.0...pob@11.4.0) (2022-11-18)
|
|
7
29
|
|
|
8
30
|
|
|
@@ -290,8 +290,12 @@ export default class CommonBabelGenerator extends Generator {
|
|
|
290
290
|
});
|
|
291
291
|
} else {
|
|
292
292
|
packageUtils.removeScripts(['start']);
|
|
293
|
+
packageUtils.addScripts(pkg, {
|
|
294
|
+
'clean:build': useBabel
|
|
295
|
+
? `pob-babel-clean-out ${this.options.buildDirectory}`
|
|
296
|
+
: 'true',
|
|
297
|
+
});
|
|
293
298
|
packageUtils.addOrRemoveScripts(pkg, useBabel, {
|
|
294
|
-
'clean:build': `pob-babel-clean-out ${this.options.buildDirectory}`,
|
|
295
299
|
build: 'yarn clean:build && rollup --config rollup.config.mjs',
|
|
296
300
|
watch: 'yarn clean:build && rollup --config rollup.config.mjs --watch',
|
|
297
301
|
clean: 'yarn clean:build',
|
|
@@ -300,7 +304,7 @@ export default class CommonBabelGenerator extends Generator {
|
|
|
300
304
|
|
|
301
305
|
const shouldBuildDefinitions = !this.options.isApp && useBabel;
|
|
302
306
|
packageUtils.addOrRemoveScripts(pkg, shouldBuildDefinitions, {
|
|
303
|
-
'build:definitions': 'tsc -p',
|
|
307
|
+
'build:definitions': 'tsc -p tsconfig.json',
|
|
304
308
|
});
|
|
305
309
|
|
|
306
310
|
if (shouldBuildDefinitions) {
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
"newLine": "lf",
|
|
14
14
|
<% if (emit) { -%>
|
|
15
15
|
"outDir": "dist/definitions",
|
|
16
|
+
<% if (composite) { -%>
|
|
16
17
|
"tsBuildInfoFile": "dist/definitions/tsbuildinfo",
|
|
18
|
+
<% } -%>
|
|
17
19
|
<% } else if (composite) { -%>
|
|
18
20
|
"outDir": "node_modules/.cache/tsc",
|
|
19
21
|
"tsBuildInfoFile": "node_modules/.cache/tsc/tsbuildinfo",
|
|
@@ -315,7 +315,7 @@ export default class PobMonorepoGenerator extends Generator {
|
|
|
315
315
|
this.fs.delete('rollup.config.mjs');
|
|
316
316
|
}
|
|
317
317
|
packageUtils.addOrRemoveScripts(pkg, rollupConfigs.length > 0, {
|
|
318
|
-
'clean:build': 'yarn workspaces foreach run clean:build',
|
|
318
|
+
'clean:build': 'yarn workspaces foreach --parallel -A run clean:build',
|
|
319
319
|
build: 'yarn clean:build && rollup --config rollup.config.mjs',
|
|
320
320
|
watch: 'yarn clean:build && rollup --config rollup.config.mjs --watch',
|
|
321
321
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pob",
|
|
3
|
-
"version": "11.4.
|
|
3
|
+
"version": "11.4.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": "7.2.0"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "bcb0559ab967fd91aee810c2279accb2225e2e43"
|
|
70
70
|
}
|