pob 23.0.0 → 23.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 CHANGED
@@ -3,6 +3,16 @@
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
+ ## [23.0.1](https://github.com/christophehurpeau/pob/compare/pob@23.0.0...pob@23.0.1) (2024-08-12)
7
+
8
+ ### Bug Fixes
9
+
10
+ * **pob:** use copyAndFormatTpl to auto format eslint.config.js ([06b0707](https://github.com/christophehurpeau/pob/commit/06b0707532223f4c55c070d116f839af5f9aaa45))
11
+ * update pob eslint config ([981c435](https://github.com/christophehurpeau/pob/commit/981c435c6741f672eb96651726c879ace6c1ec63))
12
+
13
+ Version bump for dependency: yarn-workspace-utils
14
+
15
+
6
16
  ## [23.0.0](https://github.com/christophehurpeau/pob/compare/pob@22.5.0...pob@23.0.0) (2024-08-11)
7
17
 
8
18
  ### ⚠ BREAKING CHANGES
@@ -2,6 +2,7 @@ import path from "node:path";
2
2
  import Generator from "yeoman-generator";
3
3
  import inMonorepo from "../../../utils/inMonorepo.js";
4
4
  import * as packageUtils from "../../../utils/package.js";
5
+ import { copyAndFormatTpl } from "../../../utils/writeAndFormat.js";
5
6
  import { appIgnorePaths } from "../../app/ignorePaths.js";
6
7
 
7
8
  export default class CommonLintGenerator extends Generator {
@@ -474,7 +475,8 @@ export default class CommonLintGenerator extends Generator {
474
475
  if (this.fs.exists(eslintConfigPath)) {
475
476
  // TODO update config !
476
477
  } else {
477
- this.fs.copyTpl(
478
+ copyAndFormatTpl(
479
+ this.fs,
478
480
  this.templatePath("eslint.config.js.ejs"),
479
481
  eslintConfigPath,
480
482
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pob",
3
- "version": "23.0.0",
3
+ "version": "23.0.1",
4
4
  "description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
5
5
  "keywords": [
6
6
  "skeleton"
@@ -34,15 +34,16 @@
34
34
  "scripts": {
35
35
  "format": "prettier --write",
36
36
  "lint": "yarn run lint:eslint",
37
- "lint:eslint": "yarn ../.. run eslint --report-unused-disable-directives --resolve-plugins-relative-to . --quiet packages/pob",
38
- "tsc": "tsc -p ./tsconfig.json"
37
+ "lint:eslint": "yarn ../.. run eslint --quiet packages/pob"
38
+ },
39
+ "pob": {
40
+ "typescript": "check-only"
39
41
  },
40
- "pob": {},
41
42
  "prettier": "@pob/root/prettier-config",
42
43
  "dependencies": {
43
44
  "@pob/eslint-config": "57.3.0",
44
- "@pob/eslint-config-typescript": "57.3.0",
45
- "@pob/eslint-config-typescript-react": "57.3.0",
45
+ "@pob/eslint-config-typescript": "57.3.1",
46
+ "@pob/eslint-config-typescript-react": "57.3.1",
46
47
  "@pob/sort-eslint-config": "6.0.0",
47
48
  "@pob/sort-object": "7.0.0",
48
49
  "@pob/sort-pkg": "8.0.0",
@@ -64,11 +65,11 @@
64
65
  "mem-fs-editor": "11.0.1",
65
66
  "minimist": "1.2.8",
66
67
  "parse-author": "2.0.0",
67
- "pob-dependencies": "14.0.0",
68
+ "pob-dependencies": "14.0.1",
68
69
  "prettier": "3.3.3",
69
70
  "semver": "7.6.3",
70
71
  "validate-npm-package-name": "^5.0.0",
71
- "yarn-workspace-utils": "6.0.0",
72
+ "yarn-workspace-utils": "6.0.1",
72
73
  "yeoman-environment": "4.4.1",
73
74
  "yeoman-generator": "7.3.2"
74
75
  },