pob 18.4.2 → 19.0.1
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 +31 -0
- package/lib/generators/app/ignorePaths.js +3 -2
- package/lib/generators/common/format-lint/CommonLintGenerator.js +3 -1
- package/lib/generators/common/testing/CommonTestingGenerator.js +3 -1
- package/lib/generators/core/ci/templates/github-action-push-workflow-split.yml.ejs +1 -1
- package/lib/generators/core/ci/templates/github-action-push-workflow.yml.ejs +1 -1
- package/lib/generators/pob/PobBaseGenerator.js +8 -6
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,37 @@
|
|
|
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
|
+
## [19.0.1](https://github.com/christophehurpeau/pob/compare/pob@19.0.0...pob@19.0.1) (2024-05-04)
|
|
7
|
+
|
|
8
|
+
Note: no notable changes
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [19.0.0](https://github.com/christophehurpeau/pob/compare/pob@18.4.2...pob@19.0.0) (2024-05-04)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### ⚠ BREAKING CHANGES
|
|
17
|
+
|
|
18
|
+
* enable "disableYarnGitCache" by default
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **deps:** update yarn monorepo ([#2032](https://github.com/christophehurpeau/pob/issues/2032)) ([d2b7b8a](https://github.com/christophehurpeau/pob/commit/d2b7b8adc11a13f4b4d96cdd08851ad66f3c83a0))
|
|
23
|
+
* enable "disableYarnGitCache" by default ([b7ce323](https://github.com/christophehurpeau/pob/commit/b7ce323c51e0e875228478d708f27511325b844c))
|
|
24
|
+
* **pob:** remove metro-health-check in gitignore as I dont use them ([dc09df0](https://github.com/christophehurpeau/pob/commit/dc09df0ae0600294ae4ecdc0fb571797f5cc7b43))
|
|
25
|
+
* use codecov-action v4 ([73174bd](https://github.com/christophehurpeau/pob/commit/73174bd93ce1b0b9f93e360a7ea29478d7550400))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **pob:** fix vitest coverage commands ([770f995](https://github.com/christophehurpeau/pob/commit/770f995a2f679e63771ca5b1d30a386a66fd2f05))
|
|
31
|
+
* run tsc with typescript and no babel ([96d1283](https://github.com/christophehurpeau/pob/commit/96d1283d2f79dfdeabc1c39ad57d299419ec44ed))
|
|
32
|
+
|
|
33
|
+
Version bump for dependency: yarn-workspace-utils
|
|
34
|
+
Version bump for dependency: root
|
|
35
|
+
|
|
36
|
+
|
|
6
37
|
## [18.4.2](https://github.com/christophehurpeau/pob/compare/pob@18.4.1...pob@18.4.2) (2024-04-24)
|
|
7
38
|
|
|
8
39
|
Note: no notable changes
|
|
@@ -27,8 +27,9 @@ export const appIgnorePaths = {
|
|
|
27
27
|
'*.orig.*',
|
|
28
28
|
'/web-build/',
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
'
|
|
30
|
+
// only if option is enabled which is not by default
|
|
31
|
+
// '# Temporary files created by Metro to check the health of the file watcher',
|
|
32
|
+
// '/.metro-health-check*',
|
|
32
33
|
],
|
|
33
34
|
'yarn-plugin': (config) => [],
|
|
34
35
|
};
|
|
@@ -587,7 +587,9 @@ export default class CommonLintGenerator extends Generator {
|
|
|
587
587
|
.relative('../..', '.')
|
|
588
588
|
.replace('\\', '/')}`
|
|
589
589
|
: `eslint ${args} ${lintPaths.join(' ')}`,
|
|
590
|
-
lint: `${
|
|
590
|
+
lint: `${
|
|
591
|
+
useTypescript && !composite ? 'tsc && ' : ''
|
|
592
|
+
}yarn run lint:eslint`,
|
|
591
593
|
});
|
|
592
594
|
|
|
593
595
|
if (!inMonorepo) {
|
|
@@ -327,7 +327,9 @@ export default class CommonTestingGenerator extends Generator {
|
|
|
327
327
|
coverageLcov ? 'lcov' : `json${coverageJson ? '' : ',text'} `
|
|
328
328
|
}`
|
|
329
329
|
: ''
|
|
330
|
-
}vitest${watch ? ' --watch' : ''}
|
|
330
|
+
}vitest${watch ? ' --watch' : ''}${
|
|
331
|
+
coverage || coverageJson || coverageLcov ? ' run --coverage' : ''
|
|
332
|
+
}`;
|
|
331
333
|
}
|
|
332
334
|
default: {
|
|
333
335
|
throw new Error(`Invalid runner: "${testRunner}"`);
|
|
@@ -125,7 +125,7 @@ export default class PobBaseGenerator extends Generator {
|
|
|
125
125
|
type: this.projectConfig.type,
|
|
126
126
|
enable: this.isRoot && this.projectConfig.packageManager === 'yarn',
|
|
127
127
|
yarnNodeLinker: this.projectConfig.yarnNodeLinker,
|
|
128
|
-
disableYarnGitCache: this.projectConfig.disableYarnGitCache,
|
|
128
|
+
disableYarnGitCache: this.projectConfig.disableYarnGitCache !== false,
|
|
129
129
|
});
|
|
130
130
|
|
|
131
131
|
this.composeWith('pob:core:package', {
|
|
@@ -142,13 +142,13 @@ export default class PobBaseGenerator extends Generator {
|
|
|
142
142
|
force: this.options.force,
|
|
143
143
|
isAppProject: this.projectConfig.type === 'app',
|
|
144
144
|
packageManager: this.projectConfig.packageManager,
|
|
145
|
-
disableYarnGitCache: this.projectConfig.disableYarnGitCache,
|
|
145
|
+
disableYarnGitCache: this.projectConfig.disableYarnGitCache !== false,
|
|
146
146
|
});
|
|
147
147
|
this.composeWith('pob:monorepo:lerna', {
|
|
148
148
|
force: this.options.force,
|
|
149
149
|
isAppProject: this.projectConfig.type === 'app',
|
|
150
150
|
packageManager: this.projectConfig.packageManager,
|
|
151
|
-
disableYarnGitCache: this.projectConfig.disableYarnGitCache,
|
|
151
|
+
disableYarnGitCache: this.projectConfig.disableYarnGitCache !== false,
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
154
|
|
|
@@ -207,7 +207,7 @@ export default class PobBaseGenerator extends Generator {
|
|
|
207
207
|
),
|
|
208
208
|
{
|
|
209
209
|
updateOnly: this.options.updateOnly,
|
|
210
|
-
disableYarnGitCache: this.projectConfig.disableYarnGitCache,
|
|
210
|
+
disableYarnGitCache: this.projectConfig.disableYarnGitCache !== false,
|
|
211
211
|
isAppProject: this.projectConfig.type === 'app',
|
|
212
212
|
packageManager: this.projectConfig.packageManager,
|
|
213
213
|
yarnNodeLinker: this.projectConfig.yarnNodeLinker,
|
|
@@ -220,7 +220,8 @@ export default class PobBaseGenerator extends Generator {
|
|
|
220
220
|
this.composeWith('pob:lib', {
|
|
221
221
|
monorepo: this.isMonorepo,
|
|
222
222
|
isRoot: this.isRoot,
|
|
223
|
-
disableYarnGitCache:
|
|
223
|
+
disableYarnGitCache:
|
|
224
|
+
this.projectConfig.disableYarnGitCache !== false,
|
|
224
225
|
updateOnly: this.options.updateOnly,
|
|
225
226
|
fromPob: this.options.fromPob,
|
|
226
227
|
packageManager: this.projectConfig.packageManager,
|
|
@@ -231,7 +232,8 @@ export default class PobBaseGenerator extends Generator {
|
|
|
231
232
|
this.composeWith('pob:app', {
|
|
232
233
|
monorepo: this.isMonorepo,
|
|
233
234
|
isRoot: this.isRoot,
|
|
234
|
-
disableYarnGitCache:
|
|
235
|
+
disableYarnGitCache:
|
|
236
|
+
this.projectConfig.disableYarnGitCache !== false,
|
|
235
237
|
updateOnly: this.options.updateOnly,
|
|
236
238
|
fromPob: this.options.fromPob,
|
|
237
239
|
packageManager: this.projectConfig.packageManager,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pob",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "19.0.1",
|
|
4
4
|
"description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"skeleton"
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"@pob/sort-object": "6.3.0",
|
|
47
47
|
"@pob/sort-pkg": "7.1.0",
|
|
48
48
|
"@types/inquirer": "9.0.7",
|
|
49
|
-
"@yarnpkg/cli": "4.
|
|
50
|
-
"@yarnpkg/core": "4.0.
|
|
49
|
+
"@yarnpkg/cli": "4.2.1",
|
|
50
|
+
"@yarnpkg/core": "4.0.5",
|
|
51
51
|
"@yarnpkg/fslib": "3.0.2",
|
|
52
52
|
"@yeoman/types": "1.2.0",
|
|
53
53
|
"eslint": "8.57.0",
|
|
@@ -62,15 +62,15 @@
|
|
|
62
62
|
"mem-fs-editor": "11.0.0",
|
|
63
63
|
"minimist": "1.2.8",
|
|
64
64
|
"parse-author": "2.0.0",
|
|
65
|
-
"pob-dependencies": "11.2.
|
|
65
|
+
"pob-dependencies": "11.2.3",
|
|
66
66
|
"prettier": "2.8.8",
|
|
67
67
|
"semver": "7.6.0",
|
|
68
68
|
"validate-npm-package-name": "^5.0.0",
|
|
69
|
-
"yarn-workspace-utils": "3.
|
|
69
|
+
"yarn-workspace-utils": "3.4.0",
|
|
70
70
|
"yeoman-environment": "4.4.0",
|
|
71
71
|
"yeoman-generator": "7.1.1"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@pob/root": "9.
|
|
74
|
+
"@pob/root": "9.4.1"
|
|
75
75
|
}
|
|
76
76
|
}
|