pob 25.2.0 → 26.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,95 @@
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
+ ## 26.0.0 (2025-02-01)
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * drop node 18 and drop @pob/rollup-typescript
11
+
12
+ ### Features
13
+
14
+ * add src/test-setup.ts support ([d469e23](https://github.com/christophehurpeau/pob/commit/d469e23a31b2ebd0477daf06a01e1c95b1809c9d))
15
+ * allow lib to use latest lts ([2c7d51f](https://github.com/christophehurpeau/pob/commit/2c7d51f4bab9e64af469afc1c2b59b74c7c7a8fa))
16
+ * app distribute ([5f0869f](https://github.com/christophehurpeau/pob/commit/5f0869f6e363de6c709132ddcd859955c5a6d8ec))
17
+ * bundler tsc using experimental-strip-types ([98002f8](https://github.com/christophehurpeau/pob/commit/98002f832c1869e23c5c93c3f5e61b4915e1263b))
18
+ * **deps:** update @pob/eslint-config to v59 (major) ([#2329](https://github.com/christophehurpeau/pob/issues/2329)) ([5019b13](https://github.com/christophehurpeau/pob/commit/5019b13dba092342eee72f0d6d766cf2de864555))
19
+ * **deps:** update @pob/eslint-config to v59.2.0 ([#2376](https://github.com/christophehurpeau/pob/issues/2376)) ([02738e0](https://github.com/christophehurpeau/pob/commit/02738e07f6788010f5097e0e8f2005aa86199664))
20
+ * **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))
21
+ * **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))
22
+ * **deps:** update dependency @yeoman/types to v1.5.0 ([#2200](https://github.com/christophehurpeau/pob/issues/2200)) ([7c03bf2](https://github.com/christophehurpeau/pob/commit/7c03bf2237a8221061fd05b8f25e20feb2808aa7))
23
+ * **deps:** update dependency eslint to v9.13.0 ([#2290](https://github.com/christophehurpeau/pob/issues/2290)) ([b7728e1](https://github.com/christophehurpeau/pob/commit/b7728e111a881ef7fcf1bf71da350492f71c712c))
24
+ * **deps:** update dependency eslint to v9.14.0 ([#2304](https://github.com/christophehurpeau/pob/issues/2304)) ([c13cf99](https://github.com/christophehurpeau/pob/commit/c13cf992bab0f261969e258e79aaaa267512a661))
25
+ * **deps:** update dependency eslint to v9.16.0 ([#2308](https://github.com/christophehurpeau/pob/issues/2308)) ([78afd96](https://github.com/christophehurpeau/pob/commit/78afd962ab7d5ed1d735d6a90097f8b010c1621d))
26
+ * **deps:** update dependency eslint to v9.17.0 ([#2368](https://github.com/christophehurpeau/pob/issues/2368)) ([6976c32](https://github.com/christophehurpeau/pob/commit/6976c32b4812107b611f2ff5698db47202e857a1))
27
+ * **deps:** update dependency eslint to v9.18.0 ([#2409](https://github.com/christophehurpeau/pob/issues/2409)) ([4e73796](https://github.com/christophehurpeau/pob/commit/4e737964a27f660413e98972c7943f70bb2165f0))
28
+ * **deps:** update dependency eslint to v9.19.0 ([#2427](https://github.com/christophehurpeau/pob/issues/2427)) ([eca24e4](https://github.com/christophehurpeau/pob/commit/eca24e4ffc9679f9dd0469895ca5f1ea0fdb9f43))
29
+ * **deps:** update dependency github-username to v8 ([#1726](https://github.com/christophehurpeau/pob/issues/1726)) ([83927e1](https://github.com/christophehurpeau/pob/commit/83927e14472c9bb77b2c0b8dd75e3866248ac344))
30
+ * **deps:** update dependency prettier to v3.4.0 ([#2325](https://github.com/christophehurpeau/pob/issues/2325)) ([367f1dc](https://github.com/christophehurpeau/pob/commit/367f1dcebf3b47b61c024380b6358894dcb6514a))
31
+ * **deps:** update dependency yeoman-generator to v7.4.0 ([#2366](https://github.com/christophehurpeau/pob/issues/2366)) ([1311555](https://github.com/christophehurpeau/pob/commit/1311555caecacf9a85f006ccf0e69680749070b4))
32
+ * **deps:** update yarn monorepo ([#2393](https://github.com/christophehurpeau/pob/issues/2393)) ([8340af5](https://github.com/christophehurpeau/pob/commit/8340af55093e7a3150d2df0dc01022782294349b))
33
+ * has tamagui ([f88d976](https://github.com/christophehurpeau/pob/commit/f88d976ae8422c97cb864800521839a8dd5ac880))
34
+ * improve bun support ([24accc2](https://github.com/christophehurpeau/pob/commit/24accc26c5fbf429befdecdc0da663fa10cd00a6))
35
+ * start preparing cursorignore ([6cec7ef](https://github.com/christophehurpeau/pob/commit/6cec7ef24ef29074b447eb33d3a27951f0a14237))
36
+ * support files lib/index.js rollup-plugin-svgr ([e7c3348](https://github.com/christophehurpeau/pob/commit/e7c3348daf1585ea467e29a6b460c97c280904c2))
37
+ * upgrade to node 20/22 ([56661ea](https://github.com/christophehurpeau/pob/commit/56661eafd5bd804ff3b1531be2943bb3cd2e13ce))
38
+
39
+ ### Bug Fixes
40
+
41
+ * **deps:** update dependency mem-fs to v4.1.2 ([#2364](https://github.com/christophehurpeau/pob/issues/2364)) ([9e4251c](https://github.com/christophehurpeau/pob/commit/9e4251cfc5d7b73896767b54f92656a4ae4e0b01))
42
+ * **deps:** update dependency mem-fs-editor to v11.1.3 ([#2281](https://github.com/christophehurpeau/pob/issues/2281)) ([8968978](https://github.com/christophehurpeau/pob/commit/8968978c2b36e4dac94c111d9c8be1e1de0333f8))
43
+ * **deps:** update dependency mem-fs-editor to v11.1.4 ([#2365](https://github.com/christophehurpeau/pob/issues/2365)) ([0efde48](https://github.com/christophehurpeau/pob/commit/0efde48c739dd4b9a6d06f1338bc45f652a6fd26))
44
+ * **deps:** update dependency prettier to v3.4.1 ([#2328](https://github.com/christophehurpeau/pob/issues/2328)) ([cf236ba](https://github.com/christophehurpeau/pob/commit/cf236bac297964115e0b7bb463f923ea78c51ca8))
45
+ * **deps:** update dependency prettier to v3.4.2 ([#2342](https://github.com/christophehurpeau/pob/issues/2342)) ([9f74b5a](https://github.com/christophehurpeau/pob/commit/9f74b5a733416a0f32c666149f47c2d7df81ffe5))
46
+ * **deps:** update dependency typescript to v5.7.3 ([#2403](https://github.com/christophehurpeau/pob/issues/2403)) ([958d3c6](https://github.com/christophehurpeau/pob/commit/958d3c6f03d2d49b9f9f5b1c857ddf04a4ae7e4f))
47
+ * **deps:** update yarn monorepo ([#2289](https://github.com/christophehurpeau/pob/issues/2289)) ([ca24ce6](https://github.com/christophehurpeau/pob/commit/ca24ce664fc2dc7b1b9788df324a4047fbd4045d))
48
+ * **deps:** update yarn monorepo ([#2314](https://github.com/christophehurpeau/pob/issues/2314)) ([a175402](https://github.com/christophehurpeau/pob/commit/a17540280c524ceeed748625c94b7b4c717e0ba2))
49
+ * **deps:** update yarn monorepo ([#2322](https://github.com/christophehurpeau/pob/issues/2322)) ([ec71e81](https://github.com/christophehurpeau/pob/commit/ec71e8101df4a3bace9ec3c02874165af7580df6))
50
+ * **deps:** update yeoman group ([#2283](https://github.com/christophehurpeau/pob/issues/2283)) ([0737c2b](https://github.com/christophehurpeau/pob/commit/0737c2b05a937507d6fe2edf233067c4bddd6b76))
51
+ * fix entryDistName ([1e3d4e4](https://github.com/christophehurpeau/pob/commit/1e3d4e46ceb7afa7bc4b3683b788cbbf5d0816ae))
52
+ * fix github ci required check for node 22.x ([4852f1b](https://github.com/christophehurpeau/pob/commit/4852f1b6ea097e156e27606b09e7bf17c6da44a8))
53
+ * fixes for bun packageManager ([0f3cd37](https://github.com/christophehurpeau/pob/commit/0f3cd37c1f72f04cb2e84093a4b6b04996038e01))
54
+ * if yarn is deleted remove yarn.lock ([e05b8f3](https://github.com/christophehurpeau/pob/commit/e05b8f3f8eb8840ecd282044e1a97efff59819cc))
55
+ * only run checks on latest lts version ([1b5ff47](https://github.com/christophehurpeau/pob/commit/1b5ff47050eed0f6e200120a321167c647f70e03))
56
+ * **pob:** delete package-lock.json for yarn ([fdadfbc](https://github.com/christophehurpeau/pob/commit/fdadfbc5bcdfc8957fde3a3d9d533a0b38e0fcb6))
57
+ * **pob:** fix eslint config react-native-web ([7c5a489](https://github.com/christophehurpeau/pob/commit/7c5a489dd5904a7ce5a52bdd220d833323f5ce17))
58
+ * remove gh-pages for coverage only ([a2a875f](https://github.com/christophehurpeau/pob/commit/a2a875f6acf228edd9f009e0ef777d62fb892c9a))
59
+ * stop creating babel config if testing is disabled ([d04794b](https://github.com/christophehurpeau/pob/commit/d04794bf682e6dffc0f4ef075d89458092a685b3))
60
+ * update codecov-action to v5 ([ff8610c](https://github.com/christophehurpeau/pob/commit/ff8610cfcc65aa5b19dc259b347d6b6b8fe821c3))
61
+ * vscode config compatible with eslint linting json files ([d83e473](https://github.com/christophehurpeau/pob/commit/d83e4737a365446ce9b8fbe56618a281de6e4b56))
62
+
63
+ ### Reverts
64
+
65
+ * Revert "refactor: properly import generators" ([e1e2d46](https://github.com/christophehurpeau/pob/commit/e1e2d468729e3cae03637e8f7169c65e3ba85d4b))
66
+
67
+ Version bump for dependency: @pob/sort-eslint-config
68
+ Version bump for dependency: @pob/sort-object
69
+ Version bump for dependency: @pob/sort-pkg
70
+ Version bump for dependency: yarn-workspace-utils
71
+ Version bump for dependency: @pob/root
72
+
73
+
74
+ ## [25.3.0](https://github.com/christophehurpeau/pob/compare/pob@25.2.0...pob@25.3.0) (2025-01-18)
75
+
76
+ ### Features
77
+
78
+ * **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))
79
+ * **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))
80
+ * **deps:** update dependency eslint to v9.18.0 ([#2409](https://github.com/christophehurpeau/pob/issues/2409)) ([4e73796](https://github.com/christophehurpeau/pob/commit/4e737964a27f660413e98972c7943f70bb2165f0))
81
+ * **deps:** update yarn monorepo ([#2393](https://github.com/christophehurpeau/pob/issues/2393)) ([8340af5](https://github.com/christophehurpeau/pob/commit/8340af55093e7a3150d2df0dc01022782294349b))
82
+ * has tamagui ([f88d976](https://github.com/christophehurpeau/pob/commit/f88d976ae8422c97cb864800521839a8dd5ac880))
83
+
84
+ ### Bug Fixes
85
+
86
+ * **deps:** update dependency typescript to v5.7.3 ([#2403](https://github.com/christophehurpeau/pob/issues/2403)) ([958d3c6](https://github.com/christophehurpeau/pob/commit/958d3c6f03d2d49b9f9f5b1c857ddf04a4ae7e4f))
87
+ * **pob:** fix eslint config react-native-web ([7c5a489](https://github.com/christophehurpeau/pob/commit/7c5a489dd5904a7ce5a52bdd220d833323f5ce17))
88
+ * stop creating babel config if testing is disabled ([d04794b](https://github.com/christophehurpeau/pob/commit/d04794bf682e6dffc0f4ef075d89458092a685b3))
89
+ * vscode config compatible with eslint linting json files ([d83e473](https://github.com/christophehurpeau/pob/commit/d83e4737a365446ce9b8fbe56618a281de6e4b56))
90
+
91
+ Version bump for dependency: yarn-workspace-utils
92
+ Version bump for dependency: @pob/root
93
+
94
+
6
95
  ## [25.2.0](https://github.com/christophehurpeau/pob/compare/pob@25.1.0...pob@25.2.0) (2024-12-19)
7
96
 
8
97
  ### 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
  };
@@ -658,6 +658,7 @@ export default class CommonTestingGenerator extends Generator {
658
658
  }
659
659
 
660
660
  if (
661
+ this.options.enable &&
661
662
  transpileWithBabel &&
662
663
  ((this.options.monorepo && globalTesting) || !globalTesting) &&
663
664
  testRunner === "jest"
@@ -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
- // eslint & prettier formatter
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.2.0",
3
+ "version": "26.0.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.2.0",
45
- "@pob/eslint-config-typescript": "59.2.0",
46
- "@pob/eslint-config-typescript-react": "59.2.0",
47
- "@pob/sort-eslint-config": "7.0.0",
48
- "@pob/sort-object": "8.0.0",
49
- "@pob/sort-pkg": "10.0.0",
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
+ "@pob/sort-eslint-config": "8.0.0",
48
+ "@pob/sort-object": "9.0.0",
49
+ "@pob/sort-pkg": "11.0.0",
50
50
  "@prettier/sync": "0.5.2",
51
51
  "@types/inquirer": "9.0.7",
52
- "@yarnpkg/cli": "4.5.3",
53
- "@yarnpkg/core": "4.1.6",
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.17.0",
56
+ "eslint": "9.19.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.1.0",
68
+ "pob-dependencies": "17.0.0",
69
69
  "prettier": "3.4.2",
70
70
  "semver": "7.6.3",
71
- "typescript": "5.7.2",
71
+ "typescript": "5.7.3",
72
72
  "validate-npm-package-name": "^6.0.0",
73
- "yarn-workspace-utils": "7.2.0",
73
+ "yarn-workspace-utils": "8.0.0",
74
74
  "yeoman-environment": "4.4.3",
75
75
  "yeoman-generator": "7.4.0"
76
76
  },
77
77
  "devDependencies": {
78
- "@pob/root": "15.1.1",
79
- "@types/node": "22.10.2"
78
+ "@pob/root": "16.0.0",
79
+ "@types/node": "22.13.0"
80
80
  }
81
81
  }