pob 16.1.0 → 17.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,20 @@
|
|
|
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
|
+
## [17.0.0](https://github.com/christophehurpeau/pob/compare/pob@16.1.0...pob@17.0.0) (2023-12-25)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ⚠ BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
* drop browser modern version
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* drop browser modern version ([99ee1d3](https://github.com/christophehurpeau/pob/commit/99ee1d392fa035773a559c6a81515b1731f70e29))
|
|
16
|
+
|
|
17
|
+
Version bump for dependency: yarn-workspace-utils
|
|
18
|
+
|
|
19
|
+
|
|
6
20
|
## [16.1.0](https://github.com/christophehurpeau/pob/compare/pob@16.0.0...pob@16.1.0) (2023-12-25)
|
|
7
21
|
|
|
8
22
|
|
|
@@ -178,24 +178,24 @@ export default class CommonBabelGenerator extends Generator {
|
|
|
178
178
|
],
|
|
179
179
|
},
|
|
180
180
|
|
|
181
|
-
{
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
},
|
|
181
|
+
// {
|
|
182
|
+
// type: 'checkbox',
|
|
183
|
+
// name: 'browserVersions',
|
|
184
|
+
// message: 'Babel browser versions',
|
|
185
|
+
// when: ({ targets = [] }) => targets.includes('browser'),
|
|
186
|
+
// validate: (versions) => versions.length > 0,
|
|
187
|
+
// default: browserVersions,
|
|
188
|
+
// choices: [
|
|
189
|
+
// {
|
|
190
|
+
// name: 'Modern',
|
|
191
|
+
// value: 'modern',
|
|
192
|
+
// },
|
|
193
|
+
// {
|
|
194
|
+
// name: 'Supported',
|
|
195
|
+
// value: 'supported',
|
|
196
|
+
// },
|
|
197
|
+
// ],
|
|
198
|
+
// },
|
|
199
199
|
|
|
200
200
|
{
|
|
201
201
|
type: 'confirm',
|
|
@@ -207,6 +207,10 @@ export default class CommonBabelGenerator extends Generator {
|
|
|
207
207
|
]);
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
+
if (babelConfig.targets.includes('browser')) {
|
|
211
|
+
babelConfig.browserVersions = ['supported'];
|
|
212
|
+
}
|
|
213
|
+
|
|
210
214
|
if (hasInitialPkgPob && pkg.main && !pkg.exports) {
|
|
211
215
|
const result = await this.prompt({
|
|
212
216
|
type: 'confirm',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pob",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "17.0.0",
|
|
4
4
|
"description": "Pile of bones, library generator with git/babel/typescript/typedoc/readme/jest",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"skeleton"
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
"mem-fs-editor": "11.0.0",
|
|
63
63
|
"minimist": "1.2.8",
|
|
64
64
|
"parse-author": "2.0.0",
|
|
65
|
-
"pob-dependencies": "
|
|
65
|
+
"pob-dependencies": "10.0.0",
|
|
66
66
|
"prettier": "2.8.8",
|
|
67
67
|
"semver": "7.5.4",
|
|
68
68
|
"validate-npm-package-name": "^5.0.0",
|
|
69
|
-
"yarn-workspace-utils": "
|
|
69
|
+
"yarn-workspace-utils": "3.0.0",
|
|
70
70
|
"yeoman-environment": "4.1.3",
|
|
71
71
|
"yeoman-generator": "7.1.1"
|
|
72
72
|
},
|