@patternslib/dev 3.9.0-alpha.1 → 4.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.
@@ -0,0 +1,10 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(git show *)",
5
+ "Bash(npm ls *)",
6
+ "WebSearch",
7
+ "WebFetch(domain:www.npmjs.com)"
8
+ ]
9
+ }
10
+ }
package/.release-it.js CHANGED
@@ -3,7 +3,7 @@ const path = require("path");
3
3
 
4
4
  const commits_template = fs
5
5
  .readFileSync(
6
- path.resolve(__dirname, "release-it", "conventional-changelog-commit.hbs")
6
+ path.resolve(__dirname, "release-it", "conventional-changelog-commit.hbs"),
7
7
  )
8
8
  .toString();
9
9
 
@@ -12,7 +12,7 @@ module.exports = {
12
12
  publish: true,
13
13
  },
14
14
  git: {
15
- requireBranch: ["master", "main"],
15
+ requireBranch: ["master", "main", "*.x"],
16
16
  commitMessage: "Release new version.",
17
17
  commitArgs: ["-n"],
18
18
  },
@@ -56,6 +56,6 @@ module.exports = {
56
56
  // the new version number comment in the entry scripts.
57
57
  // Use the make target which does a check to not build if the package
58
58
  // is this `@patternslib/dev` package.
59
- "after:bump": "make bundle",
59
+ "after:bump": "make bundle && make release-zip",
60
60
  },
61
61
  };
package/CHANGES.md CHANGED
@@ -2,7 +2,70 @@
2
2
 
3
3
 
4
4
 
5
- ## [3.9.0-alpha.1](https://github.com/Patternslib/dev/compare/3.9.0-alpha.0...3.9.0-alpha.1) (2025-12-17)
5
+ ## [4.0.1](https://github.com/Patternslib/dev/compare/4.0.0...4.0.1) (2026-09-05)
6
+
7
+ ### Bug Fixes
8
+
9
+
10
+ * Fix problems with recent releases. ([ece3ae5](https://github.com/Patternslib/dev/commit/ece3ae5342157097f35b9bba0829c685661b5456))
11
+
12
+ The following problems are now fixed:
13
+
14
+ - Whole history included in new changelog entries.
15
+ - No dist/ published due to silent failures.
16
+ - No GitHub release page updates.
17
+ - No GutHub bundle zip upload.
18
+
19
+
20
+ ### Maintenance
21
+
22
+
23
+ * **release-it:** Allow to release from version-branches (e.g. 2.0.x or 2.x). ([c4cd074](https://github.com/Patternslib/dev/commit/c4cd074b6e2b689fec3e28b0c0855b7503c7a06f))
24
+
25
+ ## [4.0.0](https://github.com/Patternslib/dev/compare/3.9.0-alpha.1...4.0.0) (2026-04-23)
26
+
27
+ ### Features
28
+
29
+
30
+ * Makefile: Release npm and github in one go, avoiding many of the quirks like double builds and double changelog generation. ([8f01836](https://github.com/Patternslib/dev/commit/8f018368819be86bc9c4e703f7d9574a16fc3322))
31
+
32
+
33
+ * Makefile: Update browserslist database before bundling. ([8e3da59](https://github.com/Patternslib/dev/commit/8e3da5993cc657bf8aee3fef40fcc414f0ed3cff))
34
+
35
+ Makefiles extending from this Makefile need to switch to a double-colon
36
+ target (``bundle-pre::``), so that the base target is also run.
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+
42
+ * Makefile‌: checkout changes before running release-it which would break if it is modified. ([db0e89e](https://github.com/Patternslib/dev/commit/db0e89ec0fb918cd64accdd2c285e09202936396))
43
+
44
+
45
+ * Remove version pin for conventional-changelog-conventionalcommits. This is finally fixed upstream in conventional-changelog/commitlint. ([333c802](https://github.com/Patternslib/dev/commit/333c802d9913e18fe8673b2263a24776bba9bc34))
46
+
47
+
48
+ ### Maintenance
49
+
50
+
51
+ * Add missing @eslint/js dependency. ([02eb557](https://github.com/Patternslib/dev/commit/02eb5573591d13f114f7fce0b9e81b8ad07fd986))
52
+
53
+
54
+ * eslint latest ECMA script and drop @babel/eslint-parser. ([efdc5f1](https://github.com/Patternslib/dev/commit/efdc5f145b1a3bb32c4c2469e8aeeec8b0d29e44))
55
+
56
+ The current @babel/eslint-parser version 7 is not compatible with
57
+ eslint 10. Also eslint supports with the latest ECMA script version
58
+ configuration recent enough JavaScript, so that we can drop the
59
+ dependency on @babel/eslint-parser.
60
+
61
+
62
+ * Upgrade dependencies. ([4ae9820](https://github.com/Patternslib/dev/commit/4ae98209d0ff5a2e3db882996c4b462cb94ca6a6))
63
+
64
+ NOTE: you might need to update your tests for Jest 30.3.0 support.
65
+ E.g. expect.toThrowError has changed to expect.toThrow.
66
+ See: https://jestjs.io/docs/upgrading-to-jest30
67
+
68
+ ## 3.9.0-alpha.1 (2025-12-17)
6
69
 
7
70
  ### Bug Fixes
8
71
 
@@ -24,6 +87,757 @@ https://github.com/release-it/conventional-changelog/issues/110.
24
87
 
25
88
  * Upgrade dependencies. ([666d225](https://github.com/Patternslib/dev/commit/666d225c1c8a601fe39fceb65cb739460e4fc449))
26
89
 
90
+ ## 3.9.0-alpha.0 (2025-09-20)
91
+
92
+ ### Features
93
+
94
+
95
+ * Add prettier Makefile target to format files. ([c84e312](https://github.com/Patternslib/dev/commit/c84e31255f914982c45e0025625951556df27f9e))
96
+
97
+
98
+ ### Maintenance
99
+
100
+
101
+ * Install caniuse-lite and maintain it at it's latest version. ([43ebf53](https://github.com/Patternslib/dev/commit/43ebf535b1b1fc6cd43bd38ad3080f3a1ce6ef7b))
102
+
103
+ Explicitly install caniuse-lite, which is used by browserslist, webpack,
104
+ babel etc.
105
+ This allows us to maintain it ourselves at the latest version and prevent build
106
+ messages to update the browserslist database.
107
+
108
+
109
+ * Update the compatible node version to the current LTS version. ([9bdc66e](https://github.com/Patternslib/dev/commit/9bdc66e9b04d44c6fbb68c6ae3ab1a3165f235f6))
110
+
111
+
112
+ * Upgrade dependencies. ([137063d](https://github.com/Patternslib/dev/commit/137063d0c697c500847b315dfc89ef5799ad791d))
113
+
114
+ ## 3.8.1 (2025-05-08)
115
+
116
+ ### Maintenance
117
+
118
+
119
+ * Downgrade @release-it/conventional-changelog to < 9 again. ([f02e92b](https://github.com/Patternslib/dev/commit/f02e92bfe414f60a213f6cc2dac4c660f2686c56))
120
+
121
+ The resolutions are not passed to client packages, so we still end up
122
+ installing conventtional-changelog-conventionalcommits 7 and 8, where we
123
+ need only 8. Staying on @release-it/conventional-changelog version 8
124
+ until this is fixed upstream.
125
+
126
+ See: https://github.com/release-it/conventional-changelog/issues/110.
127
+
128
+ ## 3.8.0 (2025-05-08)
129
+
130
+ ### Features
131
+
132
+
133
+ * Add new changelog category "tech" for technical changes which are not user-visible features. ([a3785df](https://github.com/Patternslib/dev/commit/a3785df8e992e61bf7fbe5214d066b6cec03e069))
134
+
135
+
136
+ ### Maintenance
137
+
138
+
139
+ * Upgrade dependencies. ([96b7bcd](https://github.com/Patternslib/dev/commit/96b7bcd2f83214ac83faf041afbcb7331d9b6f7b))
140
+
141
+ ## 3.7.4 (2025-05-06)
142
+
143
+ ### Bug Fixes
144
+
145
+
146
+ * Pin conventional-changelog-conventionalcommits to ^8.0.0 for support of @release-it/conventional-changelog > 9. ([428f974](https://github.com/Patternslib/dev/commit/428f9744dc9f0f16d0298024f40f9b0ab295aef4))
147
+
148
+ See: https://github.com/release-it/conventional-changelog/issues/110.
149
+
150
+
151
+ ### Maintenance
152
+
153
+
154
+ * Upgrade dependencies. ([12e7f38](https://github.com/Patternslib/dev/commit/12e7f388d28fd07f4cc49401ab6eb3edce177f8f))
155
+
156
+ ## 3.7.3 (2025-04-04)
157
+
158
+ ### Maintenance
159
+
160
+
161
+ * Upgrade dependencies. ([2a61f15](https://github.com/Patternslib/dev/commit/2a61f1507eb082ab4839d093642709ad41745c58))
162
+
163
+
164
+ * Upgrade dependencies. ([c6fca14](https://github.com/Patternslib/dev/commit/c6fca142f6f55efe1633e9eba361f4fb7f17f7f3))
165
+
166
+ ## 3.7.2 (2025-02-14)
167
+
168
+ ### Bug Fixes
169
+
170
+
171
+ * Fix postinstall when no make upgrade is available. ([616be80](https://github.com/Patternslib/dev/commit/616be8076c60fa2e4753d2d0f0fab66de94caecb))
172
+
173
+ ## 3.7.1 (2025-02-14)
174
+
175
+ ### Maintenance
176
+
177
+
178
+ * Downgrade conventional-changelog to not break our Changelog templates. ([18aa235](https://github.com/Patternslib/dev/commit/18aa235ff66d732014ce8ba2423c52d859d794d3))
179
+
180
+ ## 3.7.0 (2025-02-13)
181
+
182
+ ### Maintenance
183
+
184
+
185
+ * Add postinstall script to upgrade dev. ([16b900d](https://github.com/Patternslib/dev/commit/16b900d554591c4c6511b2cbd3f503dc882b14d1))
186
+
187
+ Note: the "make upgrade" target is run in the directory where npm
188
+ install is invoked. If you install "@patternslib/dev" as a dependency in
189
+ "@pattersnlib/patternslib", the Patternslib project is upgraded.
190
+
191
+
192
+ * Add upgrade to remove husky. ([6e3629c](https://github.com/Patternslib/dev/commit/6e3629c08c349224b48863d9e922cce303c4e2c4))
193
+
194
+
195
+ * Directly use git's commit hooks and remove dependency on husky. ([ae05dd3](https://github.com/Patternslib/dev/commit/ae05dd37bc3df6261db4a5eecbaed3d789812300))
196
+
197
+
198
+ * Makefile: Define targets as phony, if they are. ([d4c63b7](https://github.com/Patternslib/dev/commit/d4c63b71909c07dc1915f755c5f54da0dd3e5737))
199
+
200
+
201
+ * Makefile: Let the install target depend on yarn.lock file to allow reinstalls when yarn.lock changes. ([9de2d28](https://github.com/Patternslib/dev/commit/9de2d28d15601ec8c81527753ba480eac7bc720d))
202
+
203
+
204
+ * Upgrade dependencies. ([74027e8](https://github.com/Patternslib/dev/commit/74027e89abe08a511a8d6f9c82a2e852c36584d6))
205
+
206
+
207
+ * Upgrade to eslint v9. ([1279e70](https://github.com/Patternslib/dev/commit/1279e70f4f276a46eb0459cd0b6dd1ab628c4c44))
208
+
209
+ ## 3.6.1 (2024-08-14)
210
+
211
+ ### Bug Fixes
212
+
213
+
214
+ * Webpack style loader. ([ecec3cf](https://github.com/Patternslib/dev/commit/ecec3cf5654050c8ec96a924fcaa8bad618d526c))
215
+
216
+ Webpack style loader's insert option needs a different way to reference functions.
217
+ Also deprecate webpack-helpers module.
218
+
219
+ ## 3.6.0 (2024-08-14)
220
+
221
+ ### Features
222
+
223
+
224
+ * Add husky commitlint also to this package. ([1bdcf63](https://github.com/Patternslib/dev/commit/1bdcf636324a0a05946754af84faa78c4c7f71f4))
225
+
226
+
227
+ * Add WebP as asset/resource along to the other formats for the Webpack loader. ([58f369c](https://github.com/Patternslib/dev/commit/58f369c256eadd3f631f0ea79ed509a93fdfd3d1))
228
+
229
+
230
+ ### Bug Fixes
231
+
232
+
233
+ * Do not upgrade husky and keep at pre 9.x. ([fe89852](https://github.com/Patternslib/dev/commit/fe8985223c11cc4258e44e475aeebaa1926ed327))
234
+
235
+ Husky has some breaking changes which we should only upgrade with the next major release of @patternslib/dev.
236
+
237
+
238
+ * Require minimum node v18.18. ([807147a](https://github.com/Patternslib/dev/commit/807147a98527520b7455061629a04ebac6941740))
239
+
240
+ This is Webpack's minimum required version.
241
+ Note: As time of this commit, versions below 18 are unmaintained.
242
+
243
+
244
+ ### Maintenance
245
+
246
+
247
+ * Remove plugin-transform-optional-chaining from babel. ([9facee8](https://github.com/Patternslib/dev/commit/9facee8b35a9f09c24c6e466228503d0a257445b))
248
+
249
+ The optional chaining feature is already included in preset-env ES2020.
250
+
251
+
252
+ * Upgrade dependencies. ([c3d64fd](https://github.com/Patternslib/dev/commit/c3d64fdd0c543e199e04088fc661c7bd9315bbe3))
253
+
254
+ Upgrade all except eslint, which needs to migrate from `.eslintrc.js` to
255
+ `eslint.config.js`. This will be done in an upcoming major release.
256
+
257
+
258
+ * Upgrade GitHub Actions node version. ([4c96faa](https://github.com/Patternslib/dev/commit/4c96faa2e34b4fdf50d2d38b6a230704f7d9c7ed))
259
+
260
+
261
+ * Upgrade GitHub Actions. ([f687bee](https://github.com/Patternslib/dev/commit/f687bee3dcd94b50b14fd5df3370aa9ecf245943))
262
+
263
+ ## 3.5.3 (2023-11-23)
264
+
265
+ ### Maintenance
266
+
267
+
268
+ * Upgrade dependencies. ([8c20da1](https://github.com/Patternslib/dev/commit/8c20da1249a793c6deac64f4cddcb46932e8efa4))
269
+
270
+ ## 3.5.2 (2023-10-16)
271
+
272
+ ### Maintenance
273
+
274
+
275
+ * Upgrade dependencies. ([e5fb5b8](https://github.com/Patternslib/dev/commit/e5fb5b8bb004eb5990d6326fe93d8ed02cbbf362))
276
+
277
+ ## 3.5.1 (2023-09-23)
278
+
279
+ ### Maintenance
280
+
281
+
282
+ * Upgrade dependencies. ([b1ffc64](https://github.com/Patternslib/dev/commit/b1ffc6453551b7312e4643f4f6aa679286baa379))
283
+
284
+ ## 3.5.0 (2023-08-30)
285
+
286
+ ### Features
287
+
288
+
289
+ * **Tests:** Add helper for conditional test skipping and node version parsing. ([611b77b](https://github.com/Patternslib/dev/commit/611b77b2b4469226ebcf942e5b68851e7927c630))
290
+
291
+
292
+ ### Maintenance
293
+
294
+
295
+ * Upgrade dependencies. ([1e146a9](https://github.com/Patternslib/dev/commit/1e146a99047786ffbf69cc0da97763885af3736f))
296
+
297
+ ## 3.4.1 (2023-08-11)
298
+
299
+ ### Bug Fixes
300
+
301
+
302
+ * Correct comment in Makefile. ([5fb33c6](https://github.com/Patternslib/dev/commit/5fb33c6f94464c8df5678556197bac4692d6b878))
303
+
304
+
305
+ ### Maintenance
306
+
307
+
308
+ * Upgrade dependencies. ([4fcf179](https://github.com/Patternslib/dev/commit/4fcf1791317ad8bc6b06cc1406eeb5672c3e2a4d))
309
+
310
+ ## 3.4.0 (2023-07-27)
311
+
312
+ ### Maintenance
313
+
314
+
315
+ * Depend on the minimum actively maintained Node.js version >= 16. ([603a024](https://github.com/Patternslib/dev/commit/603a024f1962d7731d8aa09457c90c48c73f2302))
316
+
317
+
318
+ * Upgrade dependencies. ([b3bb92f](https://github.com/Patternslib/dev/commit/b3bb92f0e78c723fb20950e0a47404d9fd2f47af))
319
+
320
+ ## 3.3.5 (2023-05-29)
321
+
322
+ ### Bug Fixes
323
+
324
+
325
+ * Fix hook config from 3.3.4. ([b4f02f6](https://github.com/Patternslib/dev/commit/b4f02f69fda38b8c6a0ef8402511fc8cd87eff9d))
326
+
327
+ ## 3.3.4 (2023-05-29)
328
+
329
+ ### Bug Fixes
330
+
331
+
332
+ * Include the correct bundle version in entry file header comment. ([ea32b4d](https://github.com/Patternslib/dev/commit/ea32b4dd9e6bc02fcbc4011798174eb0e057dd82))
333
+
334
+ In order to have the correct version specifier in the bundle's entry
335
+ script header comment the bundle must be built after the version bump.
336
+ Use release-it hooks to do that.
337
+
338
+
339
+ ### Maintenance
340
+
341
+
342
+ * Upgrade dependencies. ([56eda65](https://github.com/Patternslib/dev/commit/56eda655d463fa8c0e3fb36a4b35d258a22bf815))
343
+
344
+ ## 3.3.3 (2023-05-28)
345
+
346
+ ### Bug Fixes
347
+
348
+
349
+ * Add pre-built bundles to the npm distribution again. ([c85dbdc](https://github.com/Patternslib/dev/commit/c85dbdc22cf3a29017677020fcd8e2acc65803b7))
350
+
351
+ This was lost in a previous Makefile update.
352
+ Now you can again reference jsdelivr and and unpkg to include bundles.
353
+
354
+
355
+ * Change optional chaining babel plugin name. ([e57793a](https://github.com/Patternslib/dev/commit/e57793a4abf59d3859aaa8ba757cbd0d41871396))
356
+
357
+
358
+ ### Maintenance
359
+
360
+
361
+ * Remove dependency on semver which is not needed since the recent Makefile improvements. ([1dd1c3a](https://github.com/Patternslib/dev/commit/1dd1c3afc1494634f5a8f72f30c4ba5a138376b8))
362
+
363
+
364
+ * Upgrade dependencies. ([6d052b7](https://github.com/Patternslib/dev/commit/6d052b7d6d7cbc52812d8483dd713d336c11aa54))
365
+
366
+ ## 3.3.2 (2023-05-11)
367
+
368
+ ### Maintenance
369
+
370
+
371
+ * Upgrade dependencies. ([0075b94](https://github.com/Patternslib/dev/commit/0075b947c5f3490627b2a20fea46c6acac71dd52))
372
+
373
+ ## 3.3.1 (2023-04-21)
374
+
375
+ ## 3.3.0 (2023-04-17)
376
+
377
+ ### Bug Fixes
378
+
379
+
380
+ * Simplify release make commands. ([49077d2](https://github.com/Patternslib/dev/commit/49077d2c6d79d7b98898c6576d0aaa01e003a0d6))
381
+
382
+ Change the prerelease commands back to pre-3.2.0 names.
383
+ This was necessary because the previous change did create for each
384
+ command a new increment, which was not what we wanted.
385
+ Instead the Makefile is now restructured:
386
+ - First the npm release is done and the package.json written with the
387
+ correct version. If no increment is given (in case of the prerelease
388
+ targets) an interactive prompt asks the user to define one.
389
+ - Second the GitHub release is done. It's no more necessary to guess the
390
+ next version before the npm version was done. Instead we now rely on
391
+ release-it choosing it for us.
392
+ Now we do have again the "prerelease-alpha" and "prerelease-beta"
393
+ Makefile targets.
394
+
395
+ ## 3.2.0 (2023-04-17)
396
+
397
+ ### Features
398
+
399
+
400
+ * Change prerelease commands to prerelease-INCREMENT-PREID ([6b488e1](https://github.com/Patternslib/dev/commit/6b488e120761951ba01eae524563bdd490a9b739))
401
+
402
+ Change the prerelease commands to define the increment level.
403
+ Instead of "prerelease-alpha" there are now "prerelease-major-alpha",
404
+ "prerelease-minor-alpha" and "prerelease-patch-alpha".
405
+ Instead of "prerelease-beta" there are now "prerelease-major-beta",
406
+ "prerelease-minor-beta" and "prerelease-patch-beta".
407
+ This fixes a problem where the first prerelease for major or minor
408
+ increments got only a patch-level increment.
409
+
410
+
411
+ ### Maintenance
412
+
413
+
414
+ * Upgrade dependencies. ([68f4ca8](https://github.com/Patternslib/dev/commit/68f4ca8b4d243f1b1b25ffacb404be71103b86aa))
415
+
416
+ ## 3.1.13 (2023-04-17)
417
+
418
+ ### Bug Fixes
419
+
420
+
421
+ * Improve the release-it commit template to include a newline between each commit and add any commit references to the end. ([1603d0b](https://github.com/Patternslib/dev/commit/1603d0b1a08aab290f021b20562c92dab45f75c1))
422
+
423
+
424
+ * Improve the release-it commit template to include a newline between header and body text. ([14ace2b](https://github.com/Patternslib/dev/commit/14ace2b2c2c2dd2bc77c4cd0cf9b47744d5ca1c1))
425
+
426
+
427
+ * Include all changes since last regular release only in GitHub releases. ([ec86755](https://github.com/Patternslib/dev/commit/ec8675589217f5c66ffcfab273942c11b845a79c))
428
+
429
+ When doing regular releases include all the changes since the last
430
+ regular release - including changes from pre-releases in the release
431
+ notes on GitHub, but not in the CHANGES.md file. In the CHANGES.md file
432
+ every change can be seen at once. Including all the changes since the
433
+ previous regular release is useful for the GitHub release page only.
434
+
435
+
436
+ ### Maintenance
437
+
438
+
439
+ * Update dependencies. ([b02c37b](https://github.com/Patternslib/dev/commit/b02c37b0a41a347f955a7a7a8fb47d8e1f4c4f11))
440
+
441
+ ## 3.1.12 (2023-04-03)
442
+
443
+ ### Maintenance
444
+
445
+
446
+ * Upgrade dependencies. ([b3930ef](https://github.com/Patternslib/dev/commit/b3930efa5b2d5aebe5182d15e07e75f65ea7fed1))
447
+
448
+ ## 3.1.11 (2023-03-09)
449
+
450
+ ### Maintenance
451
+
452
+
453
+ * Upgrade dependencies. ([cc4a9be](https://github.com/Patternslib/dev/commit/cc4a9be73406070bd9e057f395a7baaf991a4120))
454
+
455
+ ## 3.1.10 (2023-02-14)
456
+
457
+ ### Maintenance
458
+
459
+
460
+ * Upgrade dependencies. ([4aad9c8](https://github.com/Patternslib/dev/commit/4aad9c8fc76df2d098f0d5abbac6c271cbe8edbe))
461
+
462
+
463
+ * When doing a final release, set tagExclude to ignore pre-releases when finding the last release. This should include all changelog entrief from the pre-releases. ([4abf750](https://github.com/Patternslib/dev/commit/4abf750b95b2c3d106feccb19c7f0c27d7bfc8c4))
464
+
465
+ ## 3.1.9 (2023-01-25)
466
+
467
+ ### Maintenance
468
+
469
+
470
+ * enable source maps for development again. ([fdf8a86](https://github.com/Patternslib/dev/commit/fdf8a86086053f8021f74514810fdccb5d7b7724))
471
+
472
+
473
+ * Upgrade dependencies. ([feb26ce](https://github.com/Patternslib/dev/commit/feb26cee1a2cb805c6b13407f37f6d9e85b817d6))
474
+
475
+ ## 3.1.8 (2022-12-19)
476
+
477
+ ### Maintenance
478
+
479
+
480
+ * For non-minified development builds, do not generate source maps. ([babf289](https://github.com/Patternslib/dev/commit/babf2893638b17f84e651a79c3e67fbbd81d1914))
481
+
482
+
483
+ * Upgrade dependencies. ([20f7b31](https://github.com/Patternslib/dev/commit/20f7b315e1b0f6fa110c96ddc7c97ae206203676))
484
+
485
+ ## 3.1.7 (2022-12-11)
486
+
487
+ ### Maintenance
488
+
489
+
490
+ * Include changelog from pre-releases in final. ([b053a10](https://github.com/Patternslib/dev/commit/b053a103ae859b1c33904d48fd80076cbec040eb))
491
+
492
+ When doing a final release after a series of pre-releases, include all
493
+ the pre-releases changelog items in the final release.
494
+ See: https://github.com/release-it/release-it/blob/master/docs/pre-releases.md
495
+
496
+
497
+ * Upgrade dependencies. ([98d81a3](https://github.com/Patternslib/dev/commit/98d81a3682ba68058bdc3e263300c0a131f5a4c5))
498
+
499
+ ## 3.1.6 (2022-12-07)
500
+
501
+ ### Maintenance
502
+
503
+
504
+ * Remove core-js. ([2abfe2b](https://github.com/Patternslib/dev/commit/2abfe2b1904aec7a61c498f83b69f44f4b2161ba))
505
+
506
+
507
+ * Upgrade dependencies. ([0a1b506](https://github.com/Patternslib/dev/commit/0a1b5068e724c049acc4dc9caca0c4ce420f5178))
508
+
509
+ ## 3.1.5 (2022-11-18)
510
+
511
+ ### Bug Fixes
512
+
513
+
514
+ * **Build:** Get the correct version increment for prereleases. ([8947884](https://github.com/Patternslib/dev/commit/8947884e2a91fd39305ea9499d112c2dd8c845ae))
515
+
516
+ ## 3.1.4 (2022-11-18)
517
+
518
+ ### Bug Fixes
519
+
520
+
521
+ * **Makefile:** Change the 'check' target to not be a double-colon rule, which cannot be overwritten. See: https://www.gnu.org/software/make/manual/html_node/Double_002dColon.html ([5f0f08c](https://github.com/Patternslib/dev/commit/5f0f08cd8266f5c2cf5689f3b95a6294990e3dd6))
522
+
523
+ ## 3.1.3 (2022-11-18)
524
+
525
+ ### Bug Fixes
526
+
527
+
528
+ * **Webpack:** Add the version banner only to the entry point files. ([6f82df1](https://github.com/Patternslib/dev/commit/6f82df1d3215c07d4ff4cc00d3d6fc56f9f1fdca))
529
+
530
+ This fixes a problem where each chunk file was changed with a new release, even if nothing else than the version has changed.
531
+ Adding the version banner only to the entry points still allows to check the version while keeping the changeset for releases small.
532
+
533
+
534
+ ### Maintenance
535
+
536
+
537
+ * Upgrade dependencies. ([b2167b4](https://github.com/Patternslib/dev/commit/b2167b458711f73480797505e18e75cf3ef8ce33))
538
+
539
+ ## 3.1.2 (2022-11-15)
540
+
541
+ ### Bug Fixes
542
+
543
+
544
+ * Fix Makefile to not emit an error when no compiled bundle is found. ([15363a7](https://github.com/Patternslib/dev/commit/15363a7e50bc290a7b394f7d3aeeac1634e8ab1d))
545
+
546
+ ## 3.1.1 (2022-11-15)
547
+
548
+ ### Bug Fixes
549
+
550
+
551
+ * Fix Makefile error with GitHub release. ([7df20db](https://github.com/Patternslib/dev/commit/7df20db4ef54c820b07e49db9123823b23ee1161))
552
+
553
+ ## 3.1.0 (2022-11-15)
554
+
555
+ ### Features
556
+
557
+
558
+ * Allow to add the compiled bundles to npm packages. ([84bdefd](https://github.com/Patternslib/dev/commit/84bdefd339b9aa553ef78e9448e4cdd998178d40))
559
+
560
+ Creating a npm release with the Makefile prepares now a bundle build
561
+ with the correct package version added as a comment to the bundle files.
562
+ The compiled bundle can then be uploaded to npm if it is part of the git
563
+ repository (included by .gitignore) or part of the npm release
564
+ (preferred, included by .npmignore).
565
+
566
+ Adding the compiled bundle to npm allows to directly include it via a
567
+ CDN like so:
568
+
569
+ https://cdn.jsdelivr.net/npm/@patternslib/patternslib@9.7.0-alpha.2/dist/bundle.min.js
570
+ or
571
+ https://unpkg.com/@patternslib/patternslib@9.7.0-alpha.2/dist/bundle.min.js
572
+
573
+ We have to compile the bundle with the correct version BEFORE the npm
574
+ package is created with release-it. The next version is queried using
575
+ the LEVEL parameter (set by the different release targets) and the
576
+ "semver" tool.
577
+
578
+
579
+ ### Maintenance
580
+
581
+
582
+ * Upgrade dependencies. ([e687405](https://github.com/Patternslib/dev/commit/e6874052cf9ae2cd359996659c091de532b6f5cb))
583
+
584
+ ## 3.0.0 (2022-10-15)
585
+
586
+ ### Breaking Changes
587
+
588
+
589
+ * **Build:** Remove the showdown-prettify loading config and the now unused imports-loader. ([27ba90f](https://github.com/Patternslib/dev/commit/27ba90fc9e615c57b4be0ae20b84c2f16a918759))
590
+
591
+
592
+ * **Tests:** Remove dependency on jQuery. ([259d801](https://github.com/Patternslib/dev/commit/259d801ab0a203ea64073e3cc0366976a38f1e0c))
593
+
594
+ Use the following in your test setup to provide jQuery to external
595
+ libraries if they depend on a global jQuery object or extend from the
596
+ jest config from @patternslib/patternslib:
597
+
598
+ ```js
599
+ import jquery from "jquery";
600
+ global.$ = global.jQuery = jquery;
601
+ ```
602
+
603
+
604
+ * **Tests:** Remove the Dependency on @patternslib/patternslib. ([afe8fee](https://github.com/Patternslib/dev/commit/afe8feec6304d2ce184afd587d429f3ae5bd533c))
605
+
606
+ If you need Patternslib specific test setup, extend from Patternslib.
607
+
608
+
609
+ ### Features
610
+
611
+
612
+ * **Build:** Add Module Federation configuration for webpack. ([b84c2fb](https://github.com/Patternslib/dev/commit/b84c2fb8053837206c044e3148522d9a54afa300))
613
+
614
+
615
+ ### Maintenance
616
+
617
+
618
+ * Upgrade dependencies. ([f868454](https://github.com/Patternslib/dev/commit/f868454982447190e968ab9eab4988bfee01c43a))
619
+
620
+ ## 2.7.2 (2022-09-28)
621
+
622
+ ### Maintenance
623
+
624
+
625
+ * Upgrade dependencies. ([1edd750](https://github.com/Patternslib/dev/commit/1edd7508ff8571110c00939f29843ab9a99986d5))
626
+
627
+ ## 2.7.1 (2022-09-20)
628
+
629
+ ### Maintenance
630
+
631
+
632
+ * Upgrade dependencies. ([2fa0672](https://github.com/Patternslib/dev/commit/2fa067203c73524e95c3e1a5f70b198a8b8d56da))
633
+
634
+ ## 2.7.0 (2022-09-15)
635
+
636
+ ### Features
637
+
638
+
639
+ * Define the close, show and showModal methods in dialog elements. ([3b59aed](https://github.com/Patternslib/dev/commit/3b59aed8556c5103ada9efa175896f83e0fac6c0))
640
+
641
+
642
+ ### Maintenance
643
+
644
+
645
+ * Upgrade dependencies. ([087dca5](https://github.com/Patternslib/dev/commit/087dca5d9de49423f80ce670e342bef9629dab1c))
646
+
647
+ ## 2.6.0 (2022-09-05)
648
+
649
+ ### Bug Fixes
650
+
651
+
652
+ * Fix GitHub Actions branch name. ([e59126a](https://github.com/Patternslib/dev/commit/e59126ab8ba9cc1b284c7b964dabe905de9f9fd1))
653
+
654
+
655
+ ### Maintenance
656
+
657
+
658
+ * Upgrade dependencies. ([0720aad](https://github.com/Patternslib/dev/commit/0720aadc0d8f8064996b8ec5568ee8d30c84a70c))
659
+
660
+ ## 2.5.0 (2022-08-19)
661
+
662
+ ### Features
663
+
664
+
665
+ * **Makefile:** Add empty bundle-pre target for customization. ([0290e61](https://github.com/Patternslib/dev/commit/0290e61fac9230e24428dd0b846c5bace145f56d))
666
+
667
+ The empty bundle-pre target is run before the bundle target and can be
668
+ overwritten in extending projects to add some tasks before bundle generation.
669
+ This can be used to unlink and reinstall any dependencies before bundle generation.
670
+
671
+
672
+ ### Maintenance
673
+
674
+
675
+ * Upgrade dependencies. ([64094da](https://github.com/Patternslib/dev/commit/64094da766b42c245dad7640216009b1d0c2701e))
676
+
677
+ ## 2.4.0 (2022-08-11)
678
+
679
+ ### Features
680
+
681
+
682
+ * **Webpack:** Add bundle name and version to the banner. ([1058b6d](https://github.com/Patternslib/dev/commit/1058b6d58b6e05c0c841a02a753a7fd823688595))
683
+
684
+ For this, you have to pass your project's package.json as argument to the webpack config factory.
685
+ Both values - name and version - are taken from the package.json data.
686
+
687
+
688
+ * **Webpack:** Add config export with named parameters. ([f7b2471](https://github.com/Patternslib/dev/commit/f7b24711ce223eaa51e0ea819643a656cae846f3))
689
+
690
+ Add config export along with the default export to support named parameters via parameter destructuring.
691
+
692
+
693
+ ### Maintenance
694
+
695
+
696
+ * Upgrade dependencies. ([9039642](https://github.com/Patternslib/dev/commit/90396428d8b00dc6d60137387280e26f335d6128))
697
+
698
+
699
+ * **Webpack:** Correct API doc for shared_from_dependencies. ([f2b0031](https://github.com/Patternslib/dev/commit/f2b003193312a332a100b8e1f6939dedcdc0e23d))
700
+
701
+ ## 2.3.0 (2022-07-07)
702
+
703
+ ### Features
704
+
705
+
706
+ * **Module Federation:** Add a shared parameter for MF config factory. ([22e4b5e](https://github.com/Patternslib/dev/commit/22e4b5e0a4d933a61008c5f203c90ad94d6b084f))
707
+
708
+ The shared parameter allows to directly provide the shared object for the Webpack Module Federation Plugin.
709
+ It extends generated shared definitions from the dependencies object and will overwrite existing entries.
710
+
711
+ ## 2.2.1 (2022-07-06)
712
+
713
+ ### Maintenance
714
+
715
+
716
+ * Upgrade dependencies. ([41adefd](https://github.com/Patternslib/dev/commit/41adefd711a2ba68ba7327236a365889b4f76205))
717
+
718
+ ## 2.2.0 (2022-06-27)
719
+
720
+ ### Breaking Changes
721
+
722
+
723
+ * **webpack module federation:** Make wepack module federation config factory more explicit. ([efd266c](https://github.com/Patternslib/dev/commit/efd266cfc82372c467eb6a8b470360b72647b9bd))
724
+
725
+ Change signature of the webpack mf config factory to make it simpler, more flexible and more explicit at the cost of having to pass more options.
726
+
727
+ - Remove parameters ``package_json`` and ``shared`` in favor of ``dependencies``.
728
+ - Explicitly pass all dependencies via ``dependencies``, also the base ones from @patternslib/patternslib if wanted.
729
+ - Always explicitly pass the module federation name (e.g. the package.json's package name).
730
+
731
+ This makes the MF config factory simpler although you probably have to pass more options.
732
+ You now can easily just add the dependencies you want instead of having
733
+ always @patternslib/patternslib dependencies added.
734
+
735
+
736
+ ### Bug Fixes
737
+
738
+
739
+ * Fix missing parentheses in release-zip. ([72d435d](https://github.com/Patternslib/dev/commit/72d435d500cbf9ec460bf4f5961027025e554221))
740
+
741
+
742
+ ### Maintenance
743
+
744
+
745
+ * Add [@plone](https://github.com/plone) to jest and webpack transform ignores. ([678bf09](https://github.com/Patternslib/dev/commit/678bf090be043c90c462075980db5ac1a9470d39))
746
+
747
+
748
+ * Remove unnecessary import from webpack.config.js. ([6658497](https://github.com/Patternslib/dev/commit/6658497746e9fd948dbbacd5ad6cfa42b98168af))
749
+
750
+
751
+ * Upgrade dependencies. ([e1e423e](https://github.com/Patternslib/dev/commit/e1e423eb3371f5c4792ad246e9df8ed2d3d434d9))
752
+
753
+ ## 2.1.0 (2022-06-25)
754
+
755
+ ### Features
756
+
757
+
758
+ * Do not build a bundle and a release-zip for @patternslib/dev. ([085a019](https://github.com/Patternslib/dev/commit/085a019c16a8494a2d6fa0203d880325c996aba6))
759
+
760
+ Still, we have the Makefile targets ``bundle`` and ``release-zip``
761
+ defined in the Makefile, making it possible to let other packages
762
+ include this Makefile and extend from it while it is fully functioning
763
+ for @patternslib/dev too.
764
+
765
+
766
+ ### Maintenance
767
+
768
+
769
+ * Add jquery and @patternslib/patternslib to devDependencies, so that setup_tests.js does not fail when testing this package. ([edae3f7](https://github.com/Patternslib/dev/commit/edae3f771ac71f0a26e87c2e78d16e0b2aaaf122))
770
+
771
+
772
+ * Also remove eventual @plone/ from bundle name. ([7696d7d](https://github.com/Patternslib/dev/commit/7696d7d2ec8dd1600dc8f2e0cdb85b8aabc44930))
773
+
774
+
775
+ * Ignore .git directory when watching for changes. ([14ff7e9](https://github.com/Patternslib/dev/commit/14ff7e905794a340ce23f8afe1c77a2e20b987ca))
776
+
777
+
778
+ * Make @patternslib/patternslib a peer dependency which must be installed if e.g. the webpack.mf.js Webpack config is used. ([987b421](https://github.com/Patternslib/dev/commit/987b42175acbf3fc4d2df5416dd3329b610c8116))
779
+
780
+
781
+ * Upgrade dependencies. ([7fac8d7](https://github.com/Patternslib/dev/commit/7fac8d79b4ce0e3acd62861bd7bcbe3866f32adc))
782
+
783
+
784
+ * Upgrade dependencies. ([c632f09](https://github.com/Patternslib/dev/commit/c632f099f0ba3b542af136feba89b28aeb457385))
785
+
786
+ ## 2.0.0 (2022-06-15)
787
+
788
+ ### Maintenance
789
+
790
+
791
+ * Add test script to package.json. ([55e8a8b](https://github.com/Patternslib/dev/commit/55e8a8b00a645b9c3ff1d2f395ee2170c9f64bfb))
792
+
793
+
794
+ * Allow releases from master and from main branches. ([f4f9528](https://github.com/Patternslib/dev/commit/f4f952893a67c790bd1d14a151e62e9c84aff4ea))
795
+
796
+
797
+ * Configure commitlint for extendability. ([6488bba](https://github.com/Patternslib/dev/commit/6488bbac33e82d713a7d14cf7c94e6206f957983))
798
+
799
+
800
+ * Configure dependencies. ([4db723d](https://github.com/Patternslib/dev/commit/4db723dedd245f2c71fe9367b7f82bec1179c024))
801
+
802
+ Use dependencies field in package.json to install all development dependencies.
803
+ This way, when another package depends on it via ``devDependencies``,
804
+ all dependencies will be installed.
805
+
806
+
807
+ * Configure jest for extendability. ([f4eeb3c](https://github.com/Patternslib/dev/commit/f4eeb3cdbe63e63c3d7f9a79dd6f66759837a417))
808
+
809
+
810
+ * Configure prettier for extendability. ([0f27162](https://github.com/Patternslib/dev/commit/0f2716286fff157b66a7d6e16b1048d35e00b6f2))
811
+
812
+
813
+ * Configure release-it for extendability. ([4aedd68](https://github.com/Patternslib/dev/commit/4aedd68faea2a6b7a56850ce07e28e03af367b6a))
814
+
815
+
816
+ * Configure webpack for extendability. ([f805856](https://github.com/Patternslib/dev/commit/f805856274ccae9f3cad17186dbf5029f8524b9c))
817
+
818
+
819
+ * Initial dev setup, based on @patternslib/patternslib. ([12968fb](https://github.com/Patternslib/dev/commit/12968fb0c9ee8d0b858acc88d8d3077a70cfa6d2))
820
+
821
+
822
+ * Upgrade dependencies. ([134295d](https://github.com/Patternslib/dev/commit/134295d67fe7c479c73c7878fd1d3ef0a07e5a83))
823
+
824
+ ## [3.9.0-alpha.1](https://github.com/Patternslib/dev/compare/3.9.0-alpha.0...3.9.0-alpha.1) (2025-12-17)
825
+
826
+ ### Bug Fixes
827
+
828
+ - Fix GLOB for JS in .editorconfig config. ([f1de9ba](https://github.com/Patternslib/dev/commit/f1de9baf27740f6f694cdc6940faaadeea0dad3f))
829
+
830
+ ### Maintenance
831
+
832
+ - Pin conventional-changelog-conventionalcommits. ([369e6a6](https://github.com/Patternslib/dev/commit/369e6a6e8b309d6c07c69173a06f9900ba65256b))
833
+
834
+ This should solve the conventional changelog upgrade problem related to:
835
+ https://github.com/release-it/conventional-changelog/issues/110.
836
+
837
+ - Upgrade commitlint and conventional-changelog. ([987206d](https://github.com/Patternslib/dev/commit/987206d0305739e309108a421d87e7d401cfd4e6))
838
+
839
+ - Upgrade dependencies. ([666d225](https://github.com/Patternslib/dev/commit/666d225c1c8a601fe39fceb65cb739460e4fc449))
840
+
27
841
  ## [3.9.0-alpha.0](https://github.com/patternslib/dev/compare/3.8.1...3.9.0-alpha.0) (2025-09-20)
28
842
 
29
843
  ### Features
package/Makefile CHANGED
@@ -15,11 +15,12 @@ ESLINT ?= npx eslint
15
15
  PRETTIER ?= npx prettier
16
16
  YARN ?= npx yarn
17
17
 
18
- PACKAGE_DEV=@patternslib/dev
18
+ BUILDABLE := $(shell node -p "Boolean(require('./package.json').scripts?.build)")
19
19
  PACKAGE_NAME := $(shell node -p "require('./package.json').name")
20
20
  BUNDLE_NAME := $(subst @patternslib/,,$(subst @plone/,,$(PACKAGE_NAME)))
21
21
 
22
22
 
23
+ .PHONY: install
23
24
  yarn.lock install: .git/hooks/commit-msg
24
25
  $(YARN) install
25
26
 
@@ -29,7 +30,7 @@ yarn.lock install: .git/hooks/commit-msg
29
30
  chmod u+x .git/hooks/commit-msg
30
31
 
31
32
 
32
- .PHONY: clean
33
+ .PHONY: clean-dist
33
34
  clean-dist:
34
35
  rm -Rf dist/
35
36
 
@@ -55,12 +56,14 @@ check: install eslint
55
56
 
56
57
 
57
58
  .PHONY: bundle-pre
58
- bundle-pre:
59
+ bundle-pre::
59
60
  @# Override this in your project to add some tasks before the bundle is built.
61
+ @# Please use double-colons `::` so that the base bundle-pre is also run.
60
62
  @# Example: Unlink any linked dependencies.
61
- @# bundle-pre:
63
+ @# bundle-pre::
62
64
  @# -yarn unlink @patternslib/patternslib
63
65
  @# yarn install --force
66
+ npx update-browserslist-db@latest
64
67
 
65
68
 
66
69
  # Compile the bundle.
@@ -68,21 +71,21 @@ bundle-pre:
68
71
  # relase-it config runs `make bundle` after the version bump.
69
72
  .PHONY: bundle
70
73
  bundle: clean-dist bundle-pre install
71
- ifneq "$(PACKAGE_NAME)" "$(PACKAGE_DEV)"
72
- @# Do not build a bundle for @patternslib/dev
74
+ ifeq ($(BUILDABLE),true)
73
75
  $(YARN) run build
74
76
  endif
75
77
 
76
78
 
77
79
  # Create a ZIP file from the bundle which is uploaded to the GitHub release tag.
80
+ # NOTE: When using the normal workflow - e.g. `make release-minor`, the
81
+ # relase-it config runs `make release-zip` after the version bump and `make bundle`.
78
82
  .PHONY: release-zip
79
83
  release-zip:
80
- ifneq "$(PACKAGE_NAME)" "$(PACKAGE_DEV)"
81
- @# Do not create a zip release for @patternslib/dev
84
+ ifeq ($(BUILDABLE),true)
82
85
  $(eval PACKAGE_VERSION := $(shell node -p "require('./package.json').version"))
83
86
  @echo Creating $(BUNDLE_NAME)-bundle-$(PACKAGE_VERSION).zip
84
87
  mkdir -p $(BUNDLE_NAME)-bundle-$(PACKAGE_VERSION)
85
- -cp -R dist/* $(BUNDLE_NAME)-bundle-$(PACKAGE_VERSION)
88
+ cp -R dist/. $(BUNDLE_NAME)-bundle-$(PACKAGE_VERSION)
86
89
  zip -r $(BUNDLE_NAME)-bundle-$(PACKAGE_VERSION).zip $(BUNDLE_NAME)-bundle-$(PACKAGE_VERSION)/
87
90
  rm -Rf $(BUNDLE_NAME)-bundle-$(PACKAGE_VERSION)
88
91
  endif
@@ -96,7 +99,7 @@ ifeq ($(LEVEL),$(filter $(LEVEL), alpha beta))
96
99
 
97
100
  @# Changelog for the GitHub release when doing prereleases:
98
101
  @# Include all the changes since the previous pre- or regular release.
99
- $(eval RELEASE_IT_GITHUB_OPTIONS := "")
102
+ $(eval RELEASE_IT_GITHUB_OPTIONS :=)
100
103
 
101
104
  @# Set level argument for release-it.
102
105
  $(eval RELEASE_IT_LEVEL := "--preRelease=$(LEVEL)")
@@ -107,69 +110,57 @@ else
107
110
  @# Include all changes since the previous regular release, also including
108
111
  @# changes from pre-releases.
109
112
  @# See: https://github.com/release-it/release-it/blob/master/docs/pre-releases.md
110
- $(eval RELEASE_IT_GITHUB_OPTIONS := "--git.tagExclude='*[-]*'")
113
+ $(eval RELEASE_IT_GITHUB_OPTIONS := --git.tagExclude='*[-]*')
111
114
 
112
115
  @# Set level argument for release-it.
113
116
  $(eval RELEASE_IT_LEVEL := $(LEVEL))
114
117
  endif
115
118
 
116
119
 
117
- # Do the npm release.
118
- .PHONY: release-npm
119
- release-npm: prepare-release
120
- npx release-it $(RELEASE_IT_LEVEL)
121
-
120
+ # Note release-zip is run via the `after:bump` hook from .release-it.js, so
121
+ # that the build contains the correct version bump.
122
+ .PHONY: release
123
+ release: clean install check prepare-release
124
+ @# Note: The consuming package must include dist/ in its package.json files list.
122
125
 
123
- # Do the GitHub release.
124
- .PHONY: release-github
125
- release-github: prepare-release release-zip
126
- @# NOTE: PACKAGE_VERSION is defined in release-zip
126
+ $(eval PACKAGE_VERSION := $(shell npx release-it $(RELEASE_IT_LEVEL) --release-version))
127
+ ifeq ($(BUILDABLE),true)
128
+ $(eval RELEASE_IT_GITHUB_OPTIONS += --github.assets=$(BUNDLE_NAME)-bundle-$(PACKAGE_VERSION).zip)
129
+ endif
127
130
 
128
131
  npx release-it \
129
- --no-increment \
130
- --no-git \
131
- --no-npm \
132
+ $(RELEASE_IT_LEVEL) \
132
133
  --github.release \
133
- --github.update \
134
- --github.assets=$(BUNDLE_NAME)-bundle-$(PACKAGE_VERSION).zip \
134
+ --no-github.update \
135
135
  --no-github.draft \
136
136
  $(RELEASE_IT_GITHUB_OPTIONS)
137
137
 
138
- @# Checkout CHANGES.md, which was modified just before
139
- git checkout CHANGES.md
140
-
141
138
  @# Remove the bundle from release-zip again.
142
139
  @# But don't break if it doesn't exist.
143
140
  -rm $(BUNDLE_NAME)-bundle-$(PACKAGE_VERSION).zip
144
141
 
145
142
 
146
- .PHONY: release
147
- release: clean install check release-npm release-github
148
- @# Note: If you want to include the compiled bundle in your npm package you
149
- @# have to allow it in a .npmignore file.
150
-
151
-
152
143
  .PHONY: release-major
153
144
  release-major:
154
- make LEVEL=major release
145
+ $(MAKE) LEVEL=major release
155
146
 
156
147
 
157
148
  .PHONY: release-minor
158
149
  release-minor:
159
- make LEVEL=minor release
150
+ $(MAKE) LEVEL=minor release
160
151
 
161
152
 
162
153
  .PHONY: release-patch
163
154
  release-patch:
164
- make LEVEL=patch release
155
+ $(MAKE) LEVEL=patch release
165
156
 
166
157
  .PHONY: prerelease-alpha
167
158
  prerelease-alpha:
168
- make LEVEL=alpha release
159
+ $(MAKE) LEVEL=alpha release
169
160
 
170
161
  .PHONY: prerelease-beta
171
162
  prerelease-beta:
172
- make LEVEL=beta release
163
+ $(MAKE) LEVEL=beta release
173
164
 
174
165
 
175
166
  .PHONY: serve
package/Session.vim ADDED
@@ -0,0 +1,164 @@
1
+ let SessionLoad = 1
2
+ let s:so_save = &g:so | let s:siso_save = &g:siso | setg so=0 siso=0 | setl so=-1 siso=-1
3
+ let v:this_session=expand("<sfile>:p")
4
+ let GPGFilePattern = "*.{gpg,asc,pgp}"
5
+ silent only
6
+ silent tabonly
7
+ cd /home/_thet/data/dev/syslab/REPOS/patternslib/REPOS-pat/dev
8
+ if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
9
+ let s:wipebuf = bufnr('%')
10
+ endif
11
+ let s:shortmess_save = &shortmess
12
+ if &shortmess =~ 'A'
13
+ set shortmess=aoOA
14
+ else
15
+ set shortmess=aoO
16
+ endif
17
+ badd +650 CHANGES.md
18
+ argglobal
19
+ %argdel
20
+ $argadd CHANGES.md
21
+ edit CHANGES.md
22
+ wincmd t
23
+ let s:save_winminheight = &winminheight
24
+ let s:save_winminwidth = &winminwidth
25
+ set winminheight=0
26
+ set winheight=1
27
+ set winminwidth=0
28
+ set winwidth=1
29
+ argglobal
30
+ setlocal foldmethod=expr
31
+ setlocal foldexpr=v:lua.LazyVim.treesitter.foldexpr()
32
+ setlocal foldmarker={{{,}}}
33
+ setlocal foldignore=#
34
+ setlocal foldlevel=99
35
+ setlocal foldminlines=1
36
+ setlocal foldnestmax=20
37
+ setlocal foldenable
38
+ 1
39
+ sil! normal! zo
40
+ 5
41
+ sil! normal! zo
42
+ 13
43
+ sil! normal! zo
44
+ 27
45
+ sil! normal! zo
46
+ 33
47
+ sil! normal! zo
48
+ 46
49
+ sil! normal! zo
50
+ 48
51
+ sil! normal! zo
52
+ 59
53
+ sil! normal! zo
54
+ 61
55
+ sil! normal! zo
56
+ 69
57
+ sil! normal! zo
58
+ 71
59
+ sil! normal! zo
60
+ 89
61
+ sil! normal! zo
62
+ 101
63
+ sil! normal! zo
64
+ 172
65
+ sil! normal! zo
66
+ 174
67
+ sil! normal! zo
68
+ 178
69
+ sil! normal! zo
70
+ 184
71
+ sil! normal! zo
72
+ 210
73
+ sil! normal! zo
74
+ 212
75
+ sil! normal! zo
76
+ 218
77
+ sil! normal! zo
78
+ 224
79
+ sil! normal! zo
80
+ 226
81
+ sil! normal! zo
82
+ 238
83
+ sil! normal! zo
84
+ 240
85
+ sil! normal! zo
86
+ 249
87
+ sil! normal! zo
88
+ 323
89
+ sil! normal! zo
90
+ 325
91
+ sil! normal! zo
92
+ 369
93
+ sil! normal! zo
94
+ 383
95
+ sil! normal! zo
96
+ 385
97
+ sil! normal! zo
98
+ 391
99
+ sil! normal! zo
100
+ 393
101
+ sil! normal! zo
102
+ 407
103
+ sil! normal! zo
104
+ 409
105
+ sil! normal! zo
106
+ 415
107
+ sil! normal! zo
108
+ 417
109
+ sil! normal! zo
110
+ 443
111
+ sil! normal! zo
112
+ 472
113
+ sil! normal! zo
114
+ 478
115
+ sil! normal! zo
116
+ 480
117
+ sil! normal! zo
118
+ 541
119
+ sil! normal! zo
120
+ 551
121
+ sil! normal! zo
122
+ 561
123
+ sil! normal! zo
124
+ 563
125
+ sil! normal! zo
126
+ 588
127
+ sil! normal! zo
128
+ 590
129
+ sil! normal! zo
130
+ 595
131
+ sil! normal! zo
132
+ 804
133
+ sil! normal! zo
134
+ 812
135
+ sil! normal! zo
136
+ 937
137
+ sil! normal! zo
138
+ 971
139
+ sil! normal! zo
140
+ let s:l = 650 - ((18 * winheight(0) + 45) / 91)
141
+ if s:l < 1 | let s:l = 1 | endif
142
+ keepjumps exe s:l
143
+ normal! zt
144
+ keepjumps 650
145
+ normal! 06|
146
+ tabnext 1
147
+ if exists('s:wipebuf') && len(win_findbuf(s:wipebuf)) == 0 && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
148
+ silent exe 'bwipe ' . s:wipebuf
149
+ endif
150
+ unlet! s:wipebuf
151
+ set winheight=1 winwidth=20
152
+ let &shortmess = s:shortmess_save
153
+ let &winminheight = s:save_winminheight
154
+ let &winminwidth = s:save_winminwidth
155
+ let s:sx = expand("<sfile>:p:r")."x.vim"
156
+ if filereadable(s:sx)
157
+ exe "source " . fnameescape(s:sx)
158
+ endif
159
+ let &g:so = s:so_save | let &g:siso = s:siso_save
160
+ set hlsearch
161
+ nohlsearch
162
+ doautoall SessionLoadPost
163
+ unlet SessionLoad
164
+ " vim: set ft=vim :
package/eslint.config.js CHANGED
@@ -1,20 +1,18 @@
1
1
  const js = require("@eslint/js");
2
2
  const config_prettier = require("eslint-config-prettier");
3
3
  const globals = require("globals");
4
- const babel_parser = require("@babel/eslint-parser");
5
4
 
6
5
  module.exports = [
7
6
  js.configs.recommended,
8
7
  config_prettier,
9
8
  {
10
9
  languageOptions: {
11
- ecmaVersion: 2022,
10
+ ecmaVersion: "latest",
12
11
  globals: {
13
12
  ...globals.browser,
14
13
  ...globals.node,
15
14
  ...globals.jest,
16
15
  },
17
- parser: babel_parser,
18
16
  },
19
17
  ignores: [
20
18
  "cache/",
@@ -33,5 +31,5 @@ module.exports = [
33
31
  "no-self-assign": 0,
34
32
  "no-useless-escape": 0,
35
33
  },
36
- }
34
+ },
37
35
  ];
package/package.json CHANGED
@@ -1,44 +1,39 @@
1
1
  {
2
2
  "name": "@patternslib/dev",
3
- "version": "3.9.0-alpha.1",
3
+ "version": "4.0.1",
4
4
  "description": "Development base files for working with Patternslib and add-ons.",
5
5
  "license": "MIT",
6
6
  "dependencies": {
7
- "@babel/core": "^7.28.5",
8
- "@babel/eslint-parser": "^7.28.5",
9
- "@babel/preset-env": "^7.28.5",
10
- "@commitlint/cli": "^20.2.0",
11
- "@commitlint/config-conventional": "^20.2.0",
12
- "conventional-changelog-conventionalcommits": "^9.1.0",
13
- "@release-it/conventional-changelog": "^10.0.4",
14
- "babel-loader": "^10.0.0",
15
- "caniuse-lite": "1.0.30001760",
16
- "css-loader": "^7.1.2",
17
- "eslint": "^9.39.2",
7
+ "@babel/core": "^7.29.0",
8
+ "@babel/preset-env": "^7.29.2",
9
+ "@commitlint/cli": "^20.5.0",
10
+ "@commitlint/config-conventional": "^20.5.0",
11
+ "@eslint/js": "^10.0.1",
12
+ "@release-it/conventional-changelog": "^10.0.6",
13
+ "babel-loader": "^10.1.1",
14
+ "css-loader": "^7.1.4",
15
+ "eslint": "^10.2.1",
18
16
  "eslint-config-prettier": "^10.1.8",
19
- "globals": "^16.5.0",
17
+ "globals": "^17.5.0",
20
18
  "identity-obj-proxy": "^3.0.0",
21
- "jest": "^30.2.0",
22
- "jest-environment-jsdom": "^30.2.0",
19
+ "jest": "^30.3.0",
20
+ "jest-environment-jsdom": "^30.3.0",
23
21
  "jest-watch-typeahead": "^3.0.1",
24
- "prettier": "^3.7.4",
22
+ "prettier": "^3.8.3",
25
23
  "regenerator-runtime": "^0.14.1",
26
- "release-it": "^19.1.0",
27
- "sass": "^1.97.0",
28
- "sass-loader": "^16.0.6",
24
+ "release-it": "^20.0.0",
25
+ "sass": "^1.99.0",
26
+ "sass-loader": "^16.0.7",
29
27
  "style-loader": "^4.0.0",
30
- "terser-webpack-plugin": "^5.3.16",
31
- "timezone-mock": "^1.3.6",
32
- "webpack": "^5.104.0",
33
- "webpack-bundle-analyzer": "^5.1.0",
34
- "webpack-cli": "^6.0.1",
35
- "webpack-dev-server": "^5.2.2",
28
+ "terser-webpack-plugin": "^5.4.0",
29
+ "timezone-mock": "^1.4.2",
30
+ "webpack": "^5.106.2",
31
+ "webpack-bundle-analyzer": "^5.3.0",
32
+ "webpack-cli": "^7.0.2",
33
+ "webpack-dev-server": "^5.2.3",
36
34
  "whybundled": "^2.0.0",
37
35
  "yarn": "^1.22.22"
38
36
  },
39
- "resolutions": {
40
- "conventional-changelog-conventionalcommits": "9.1.0"
41
- },
42
37
  "engines": {
43
38
  "node": ">=22"
44
39
  },