pob 25.2.0 → 25.3.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 +21 -0
- package/lib/generators/common/format-lint/CommonLintGenerator.js +2 -3
- package/lib/generators/common/testing/CommonTestingGenerator.js +1 -0
- package/lib/generators/core/vscode/templates/settings.json.ejs +2 -2
- package/lib/generators/monorepo/PobMonorepoGenerator.js +12 -0
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,27 @@
|
|
|
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
|
+
## [25.3.0](https://github.com/christophehurpeau/pob/compare/pob@25.2.0...pob@25.3.0) (2025-01-18)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **deps:** update @pob/eslint-config to v59.3.2 ([#2391](https://github.com/christophehurpeau/pob/issues/2391)) ([7c0b03c](https://github.com/christophehurpeau/pob/commit/7c0b03c56c2da1a27993c4488a2e661de51732fe))
|
|
11
|
+
* **deps:** update @pob/eslint-config to v59.4.0 ([#2415](https://github.com/christophehurpeau/pob/issues/2415)) ([7fe3423](https://github.com/christophehurpeau/pob/commit/7fe34235a3ed6500b43e75d6159b23523ebf708e))
|
|
12
|
+
* **deps:** update dependency eslint to v9.18.0 ([#2409](https://github.com/christophehurpeau/pob/issues/2409)) ([4e73796](https://github.com/christophehurpeau/pob/commit/4e737964a27f660413e98972c7943f70bb2165f0))
|
|
13
|
+
* **deps:** update yarn monorepo ([#2393](https://github.com/christophehurpeau/pob/issues/2393)) ([8340af5](https://github.com/christophehurpeau/pob/commit/8340af55093e7a3150d2df0dc01022782294349b))
|
|
14
|
+
* has tamagui ([f88d976](https://github.com/christophehurpeau/pob/commit/f88d976ae8422c97cb864800521839a8dd5ac880))
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* **deps:** update dependency typescript to v5.7.3 ([#2403](https://github.com/christophehurpeau/pob/issues/2403)) ([958d3c6](https://github.com/christophehurpeau/pob/commit/958d3c6f03d2d49b9f9f5b1c857ddf04a4ae7e4f))
|
|
19
|
+
* **pob:** fix eslint config react-native-web ([7c5a489](https://github.com/christophehurpeau/pob/commit/7c5a489dd5904a7ce5a52bdd220d833323f5ce17))
|
|
20
|
+
* stop creating babel config if testing is disabled ([d04794b](https://github.com/christophehurpeau/pob/commit/d04794bf682e6dffc0f4ef075d89458092a685b3))
|
|
21
|
+
* vscode config compatible with eslint linting json files ([d83e473](https://github.com/christophehurpeau/pob/commit/d83e4737a365446ce9b8fbe56618a281de6e4b56))
|
|
22
|
+
|
|
23
|
+
Version bump for dependency: yarn-workspace-utils
|
|
24
|
+
Version bump for dependency: @pob/root
|
|
25
|
+
|
|
26
|
+
|
|
6
27
|
## [25.2.0](https://github.com/christophehurpeau/pob/compare/pob@25.1.0...pob@25.2.0) (2024-12-19)
|
|
7
28
|
|
|
8
29
|
### Features
|
|
@@ -398,11 +398,10 @@ export default class CommonLintGenerator extends Generator {
|
|
|
398
398
|
useNode
|
|
399
399
|
? "...pobTypescriptConfig(import.meta.url).configs.node"
|
|
400
400
|
: "...pobTypescriptConfig(import.meta.url).configs.base",
|
|
401
|
-
`...pobTypescriptReactConfig(import.meta.url).configs.${
|
|
402
|
-
pkg.dependencies?.["react-native-web"] ? "/react-native-web" : ""
|
|
403
|
-
}`,
|
|
404
401
|
this.options.isApp &&
|
|
405
402
|
"...pobTypescriptConfig(import.meta.url).configs.app",
|
|
403
|
+
pkg.dependencies?.["react-native-web"] &&
|
|
404
|
+
'...pobTypescriptConfigReact(import.meta.url).configs["react-native-web"]',
|
|
406
405
|
];
|
|
407
406
|
})().filter(Boolean),
|
|
408
407
|
};
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"jest.jestCommandLine": "NODE_OPTIONS=--experimental-vm-modules node_modules/.bin/jest",
|
|
44
44
|
<% } -%>
|
|
45
45
|
|
|
46
|
-
// eslint config
|
|
46
|
+
// extension eslint config
|
|
47
47
|
"eslint.workingDirectories": ["."],
|
|
48
48
|
"eslint.useFlatConfig": true,
|
|
49
49
|
"eslint.lintTask.enable": true,
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"typescriptreact"
|
|
55
55
|
],
|
|
56
56
|
|
|
57
|
-
//
|
|
57
|
+
// format config
|
|
58
58
|
"eslint.format.enable": false,
|
|
59
59
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
60
60
|
}
|
|
@@ -60,6 +60,17 @@ const hasBuild = (packages, configs) =>
|
|
|
60
60
|
),
|
|
61
61
|
);
|
|
62
62
|
|
|
63
|
+
const hasTamagui = (packages, configs) =>
|
|
64
|
+
configs.some(
|
|
65
|
+
(config, index) =>
|
|
66
|
+
!!(
|
|
67
|
+
config &&
|
|
68
|
+
config.project &&
|
|
69
|
+
config.project.type === "app" &&
|
|
70
|
+
["storybook"].includes(config.app.type)
|
|
71
|
+
),
|
|
72
|
+
);
|
|
73
|
+
|
|
63
74
|
export default class PobMonorepoGenerator extends Generator {
|
|
64
75
|
constructor(args, opts) {
|
|
65
76
|
super(args, opts);
|
|
@@ -256,6 +267,7 @@ export default class PobMonorepoGenerator extends Generator {
|
|
|
256
267
|
ignorePaths: [
|
|
257
268
|
hasDist(this.packages, this.packageConfigs) && "/dist",
|
|
258
269
|
hasBuild(this.packages, this.packageConfigs) && "/build",
|
|
270
|
+
hasTamagui(this.packages, this.packageConfigs) && "/.tamagui",
|
|
259
271
|
]
|
|
260
272
|
.filter(Boolean)
|
|
261
273
|
.join("\n"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pob",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.3.0",
|
|
4
4
|
"description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"skeleton"
|
|
@@ -41,19 +41,19 @@
|
|
|
41
41
|
},
|
|
42
42
|
"prettier": "@pob/root/prettier-config",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@pob/eslint-config": "59.
|
|
45
|
-
"@pob/eslint-config-typescript": "59.
|
|
46
|
-
"@pob/eslint-config-typescript-react": "59.
|
|
44
|
+
"@pob/eslint-config": "59.4.0",
|
|
45
|
+
"@pob/eslint-config-typescript": "59.4.0",
|
|
46
|
+
"@pob/eslint-config-typescript-react": "59.4.0",
|
|
47
47
|
"@pob/sort-eslint-config": "7.0.0",
|
|
48
48
|
"@pob/sort-object": "8.0.0",
|
|
49
49
|
"@pob/sort-pkg": "10.0.0",
|
|
50
50
|
"@prettier/sync": "0.5.2",
|
|
51
51
|
"@types/inquirer": "9.0.7",
|
|
52
|
-
"@yarnpkg/cli": "4.
|
|
53
|
-
"@yarnpkg/core": "4.
|
|
52
|
+
"@yarnpkg/cli": "4.6.0",
|
|
53
|
+
"@yarnpkg/core": "4.2.0",
|
|
54
54
|
"@yarnpkg/fslib": "3.1.1",
|
|
55
55
|
"@yeoman/types": "1.5.0",
|
|
56
|
-
"eslint": "9.
|
|
56
|
+
"eslint": "9.18.0",
|
|
57
57
|
"findup-sync": "^5.0.0",
|
|
58
58
|
"git-remote-url": "^1.0.1",
|
|
59
59
|
"github-username": "^8.0.0",
|
|
@@ -65,17 +65,17 @@
|
|
|
65
65
|
"mem-fs-editor": "11.1.4",
|
|
66
66
|
"minimist": "1.2.8",
|
|
67
67
|
"parse-author": "2.0.0",
|
|
68
|
-
"pob-dependencies": "16.
|
|
68
|
+
"pob-dependencies": "16.2.0",
|
|
69
69
|
"prettier": "3.4.2",
|
|
70
70
|
"semver": "7.6.3",
|
|
71
|
-
"typescript": "5.7.
|
|
71
|
+
"typescript": "5.7.3",
|
|
72
72
|
"validate-npm-package-name": "^6.0.0",
|
|
73
|
-
"yarn-workspace-utils": "7.
|
|
73
|
+
"yarn-workspace-utils": "7.3.0",
|
|
74
74
|
"yeoman-environment": "4.4.3",
|
|
75
75
|
"yeoman-generator": "7.4.0"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@pob/root": "15.
|
|
79
|
-
"@types/node": "22.10.
|
|
78
|
+
"@pob/root": "15.2.0",
|
|
79
|
+
"@types/node": "22.10.7"
|
|
80
80
|
}
|
|
81
81
|
}
|