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