pob 18.4.1 → 19.0.0

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,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.0](https://github.com/christophehurpeau/pob/compare/pob@18.4.2...pob@19.0.0) (2024-05-04)
7
+
8
+
9
+ ### ⚠ BREAKING CHANGES
10
+
11
+ * enable "disableYarnGitCache" by default
12
+
13
+ ### Features
14
+
15
+ * **deps:** update yarn monorepo ([#2032](https://github.com/christophehurpeau/pob/issues/2032)) ([d2b7b8a](https://github.com/christophehurpeau/pob/commit/d2b7b8adc11a13f4b4d96cdd08851ad66f3c83a0))
16
+ * enable "disableYarnGitCache" by default ([b7ce323](https://github.com/christophehurpeau/pob/commit/b7ce323c51e0e875228478d708f27511325b844c))
17
+ * **pob:** remove metro-health-check in gitignore as I dont use them ([dc09df0](https://github.com/christophehurpeau/pob/commit/dc09df0ae0600294ae4ecdc0fb571797f5cc7b43))
18
+ * use codecov-action v4 ([73174bd](https://github.com/christophehurpeau/pob/commit/73174bd93ce1b0b9f93e360a7ea29478d7550400))
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * **pob:** fix vitest coverage commands ([770f995](https://github.com/christophehurpeau/pob/commit/770f995a2f679e63771ca5b1d30a386a66fd2f05))
24
+ * run tsc with typescript and no babel ([96d1283](https://github.com/christophehurpeau/pob/commit/96d1283d2f79dfdeabc1c39ad57d299419ec44ed))
25
+
26
+ Version bump for dependency: yarn-workspace-utils
27
+ Version bump for dependency: root
28
+
29
+
30
+ ## [18.4.2](https://github.com/christophehurpeau/pob/compare/pob@18.4.1...pob@18.4.2) (2024-04-24)
31
+
32
+ Note: no notable changes
33
+
34
+
35
+
36
+
6
37
  ## [18.4.1](https://github.com/christophehurpeau/pob/compare/pob@18.4.0...pob@18.4.1) (2024-04-22)
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
- '# Temporary files created by Metro to check the health of the file watcher',
31
- '/.metro-health-check*',
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: `${useBabel && !composite ? 'tsc && ' : ''}yarn run lint:eslint`,
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}"`);
@@ -122,7 +122,7 @@ jobs:
122
122
  if: matrix.node-version == 18
123
123
 
124
124
  - name: Send results to codecov
125
- uses: codecov/codecov-action@v3
125
+ uses: codecov/codecov-action@v4
126
126
  if: matrix.node-version == 18
127
127
  with:
128
128
  token: ${{ secrets.CODECOV_TOKEN }}
@@ -68,7 +68,7 @@ jobs:
68
68
  NODE_V8_COVERAGE: coverage/
69
69
 
70
70
  - name: Send results to codecov
71
- uses: codecov/codecov-action@v3
71
+ uses: codecov/codecov-action@v4
72
72
  with:
73
73
  token: ${{ secrets.CODECOV_TOKEN }}
74
74
  if: startsWith(matrix.node-version, '20.')
@@ -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: this.projectConfig.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: this.projectConfig.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": "18.4.1",
3
+ "version": "19.0.0",
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.1.1",
50
- "@yarnpkg/core": "4.0.3",
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.1",
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.3.0",
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.3.1"
74
+ "@pob/root": "9.4.0"
75
75
  }
76
76
  }