pob 10.11.1 → 10.12.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,25 @@
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
+ # [10.12.0](https://github.com/christophehurpeau/pob/compare/pob@10.11.1...pob@10.12.0) (2022-04-30)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **pob:** use pob-root-prettier ([608b618](https://github.com/christophehurpeau/pob/commit/608b618843607681b8686315b0ecb9e0d8b41f2a))
12
+
13
+
14
+ ### Features
15
+
16
+ * add .env.local for nextjs paths ([cd1a4e4](https://github.com/christophehurpeau/pob/commit/cd1a4e40139a75fb3f183bb9dd93fe1877455ec0))
17
+ * **deps:** update @pob/eslint-config ([#1269](https://github.com/christophehurpeau/pob/issues/1269)) ([4f0874f](https://github.com/christophehurpeau/pob/commit/4f0874f0956d2f90a01d5270a482aa62cd02a5e7))
18
+ * **deps:** update dependency eslint to v8.14.0 ([#1262](https://github.com/christophehurpeau/pob/issues/1262)) ([09e27a8](https://github.com/christophehurpeau/pob/commit/09e27a8482b7d11ff47679bbd31f30fd6378b57f))
19
+ * **deps:** update yeoman group ([#1260](https://github.com/christophehurpeau/pob/issues/1260)) ([ecad294](https://github.com/christophehurpeau/pob/commit/ecad2943f63204d537b7de4cba86be260123e69d))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [10.11.1](https://github.com/christophehurpeau/pob/compare/pob@10.11.0...pob@10.11.1) (2022-04-18)
7
26
 
8
27
 
@@ -1,6 +1,12 @@
1
1
  export const appIgnorePaths = {
2
2
  alp: (config) => ['# alp paths', '/build', '/public', '/data'],
3
- 'next.js': (config) => ['# next.js paths', '/.next', '/out', '/build'],
3
+ 'next.js': (config) => [
4
+ '# next.js paths',
5
+ '/.next',
6
+ '/out',
7
+ '/build',
8
+ '/.env.local',
9
+ ],
4
10
  remix: (config) => ['# remix paths', '/.cache', '/build', '/public/build'],
5
11
  pobpack: (config) => ['/build', '/public'],
6
12
  node: (config) => ['/build'],
@@ -513,7 +513,10 @@ export default class CommonLintGenerator extends Generator {
513
513
 
514
514
  if (!inLerna) {
515
515
  pkg.scripts.lint = `yarn run lint:prettier && ${pkg.scripts.lint}`;
516
- packageUtils.addScripts(pkg, { 'lint:prettier': 'prettier --check .' });
516
+ packageUtils.addScripts(pkg, {
517
+ 'lint:prettier': 'pob-root-prettier --check .',
518
+ 'lint:prettier:fix': 'pob-root-prettier --write .',
519
+ });
517
520
  } else {
518
521
  delete pkg.scripts['lint:prettier'];
519
522
  }
@@ -155,7 +155,8 @@ export default class MonorepoLernaGenerator extends Generator {
155
155
 
156
156
  packageUtils.addScripts(pkg, {
157
157
  lint: `${packageManager} run lint:prettier && ${packageManager} run lint:eslint`,
158
- 'lint:prettier': 'prettier --check .',
158
+ 'lint:prettier': 'pob-root-prettier --check .',
159
+ 'lint:prettier:fix': 'pob-root-prettier --write .',
159
160
  'lint:eslint':
160
161
  monorepoConfig &&
161
162
  monorepoConfig.eslint &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pob",
3
- "version": "10.11.1",
3
+ "version": "10.12.0",
4
4
  "description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
5
5
  "keywords": [
6
6
  "skeleton"
@@ -42,12 +42,12 @@
42
42
  "@lerna/package-graph": "^4.0.0",
43
43
  "@lerna/project": "^4.0.0",
44
44
  "@pob/eslint-config": "49.1.0",
45
- "@pob/eslint-config-typescript": "49.2.1",
46
- "@pob/eslint-config-typescript-react": "49.2.0",
45
+ "@pob/eslint-config-typescript": "49.3.0",
46
+ "@pob/eslint-config-typescript-react": "49.3.1",
47
47
  "@pob/sort-eslint-config": "^3.0.1",
48
48
  "@pob/sort-object": "^4.0.1",
49
49
  "@pob/sort-pkg": "^4.0.1",
50
- "eslint": "8.13.0",
50
+ "eslint": "8.14.0",
51
51
  "findup-sync": "^5.0.0",
52
52
  "git-remote-url": "^1.0.1",
53
53
  "github-username": "^6.0.0",
@@ -64,8 +64,8 @@
64
64
  "pob-dependencies": "6.17.0",
65
65
  "prettier": "2.6.2",
66
66
  "semver": "7.3.7",
67
- "yeoman-environment": "3.5.1",
68
- "yeoman-generator": "5.4.0"
67
+ "yeoman-environment": "3.9.1",
68
+ "yeoman-generator": "5.6.1"
69
69
  },
70
- "gitHead": "6ad1a292d40033d37e71b6cb8b4eab413795fc92"
70
+ "gitHead": "53e6baafe3c09d9c069591af155d93f5f19fbd2e"
71
71
  }