Skip to content

Commit f2bc343

Browse files
authored
Merge pull request #1203 from simlu/dep/update
fix: updated deps
2 parents 5b90216 + 4958f47 commit f2bc343

File tree

12 files changed

+2025
-1546
lines changed

12 files changed

+2025
-1546
lines changed

.c8rc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"node_modules/*",
55
"coverage/*",
66
"lib/*",
7-
"test/hot.js"
7+
"test/hot.js",
8+
"eslint.config.js",
9+
"test/reg.js"
810
],
911
"temp-directory": "./coverage/.c8_output",
1012
"reports-dir": "./coverage",

.circleci/config.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,46 @@
11
workflows:
2-
version: 2
32
node-multi-build:
43
jobs:
54
- gally-create-pr
6-
- test-node-v18:
5+
- test-node-v20:
76
requires:
87
- gally-create-pr
9-
- test-node-v16:
8+
- test-node-v23:
109
requires:
1110
- gally-create-pr
12-
- test-node-v20:
11+
- test-node-v22:
1312
requires:
1413
- gally-create-pr
1514
- gally-auto-approve:
1615
requires:
1716
- gally-create-pr
18-
- test-node-v18
19-
- test-node-v16
2017
- test-node-v20
18+
- test-node-v23
19+
- test-node-v22
2120
filters:
2221
branches:
2322
only: /dependabot\/.*/
2423
- release:
2524
requires:
2625
- gally-create-pr
27-
- test-node-v18
28-
- test-node-v16
2926
- test-node-v20
27+
- test-node-v23
28+
- test-node-v22
3029
filters:
3130
branches:
3231
only: master
33-
version: 2
32+
version: 2.1
3433
jobs:
3534
gally-create-pr:
3635
docker:
37-
- image: cimg/node:16.20
36+
- image: cimg/node:20.11
3837
steps:
3938
- checkout
4039
- run: sudo yarn global add gally
4140
- run: ga promote $CIRCLE_BRANCH
4241
release:
4342
docker:
44-
- image: cimg/node:16.20
43+
- image: cimg/node:22.13
4544
steps:
4645
- checkout
4746
- run:
@@ -71,7 +70,7 @@ jobs:
7170
- run: yarn run semantic-release
7271
gally-auto-approve:
7372
docker:
74-
- image: cimg/node:16.20
73+
- image: cimg/node:20.11
7574
steps:
7675
- run:
7776
name: Set PR number
@@ -88,9 +87,9 @@ jobs:
8887
- run: >-
8988
ga approve $CIRCLE_PR_NUMBER --condition
9089
"base.ref=dev&state=open&user.login=dependabot-preview[bot]"
91-
test-node-v16:
90+
test-node-v20:
9291
docker:
93-
- image: cimg/node:16.20
92+
- image: cimg/node:20.18
9493
steps:
9594
- checkout
9695
- run:
@@ -120,9 +119,9 @@ jobs:
120119
- run: >-
121120
(git add . && git diff-index --quiet HEAD --) || (git status && exit
122121
1);
123-
test-node-v18:
122+
test-node-v23:
124123
docker:
125-
- image: cimg/node:18.16
124+
- image: cimg/node:23.6
126125
steps:
127126
- checkout
128127
- run:
@@ -152,9 +151,9 @@ jobs:
152151
- run: >-
153152
(git add . && git diff-index --quiet HEAD --) || (git status && exit
154153
1);
155-
test-node-v20:
154+
test-node-v22:
156155
docker:
157-
- image: cimg/node:20.4
156+
- image: cimg/node:22.13
158157
steps:
159158
- checkout
160159
- run:

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"extends": [
44
"airbnb-base",
55
"plugin:mocha/recommended",
6-
"plugin:markdown/recommended"
6+
"plugin:markdown/recommended-legacy"
77
],
88
"rules": {
99
"@blackflux/rules/kebab-case-enforce": 1,

.gally.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"strict": true,
2424
"contexts": [
2525
"ci/circleci: gally-create-pr",
26-
"ci/circleci: test-node-v18",
27-
"ci/circleci: test-node-v16",
28-
"ci/circleci: test-node-v20"
26+
"ci/circleci: test-node-v20",
27+
"ci/circleci: test-node-v23",
28+
"ci/circleci: test-node-v22"
2929
]
3030
},
3131
"enforce_admins": false,

.roboconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"packageName": "object-fields",
99
"projectName": "object-fields",
1010
"owner": "simlu",
11-
"nodeVersion": "16",
11+
"nodeVersion": "20",
1212
"ownerName": "Lukas Siemon",
1313
"mergeBot": "MrsFlux",
1414
"nccEnabled": false

.roboconfig.lock

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@
1313
".releaserc.json",
1414
"LICENSE",
1515
"README.md",
16+
"eslint.config.js",
1617
"gardener.js",
1718
"package.json",
1819
"src/index.js",
1920
"test/hot.js",
20-
"test/index.spec.js"
21+
"test/index.spec.js",
22+
"test/reg.js"
2123
]
2224
}

CONFDOCS.md

Lines changed: 85 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ Documents configuration tasks managed by [robo-config](https://github.com/blackf
88
- <a name="blackfluxrobo-config-plugin-task-idx-ref-structnpm-default">:open_file_folder:</a> <a href="#blackfluxrobo-config-plugin-task-ref-structnpm-default">`struct/#npm-default`</a>
99
- <a name="blackfluxrobo-config-plugin-task-idx-ref-structforce-gardener">:clipboard:</a> <a href="#blackfluxrobo-config-plugin-task-ref-structforce-gardener">`struct/force-gardener`</a>
1010
- <a name="blackfluxrobo-config-plugin-task-idx-ref-structnpm-base">:open_file_folder:</a> <a href="#blackfluxrobo-config-plugin-task-ref-structnpm-base">`struct/#npm-base`</a>
11+
- <a name="blackfluxrobo-config-plugin-task-idx-ref-structtest-reg">:clipboard:</a> <a href="#blackfluxrobo-config-plugin-task-ref-structtest-reg">`struct/test-reg`</a>
1112
- <a name="blackfluxrobo-config-plugin-task-idx-ref-structtest-hot">:clipboard:</a> <a href="#blackfluxrobo-config-plugin-task-ref-structtest-hot">`struct/test-hot`</a>
1213
- <a name="blackfluxrobo-config-plugin-task-idx-ref-structtemplate-readme">:clipboard:</a> <a href="#blackfluxrobo-config-plugin-task-ref-structtemplate-readme">`struct/template-readme`</a>
1314
- <a name="blackfluxrobo-config-plugin-task-idx-ref-structtemplate-mocharc">:clipboard:</a> <a href="#blackfluxrobo-config-plugin-task-ref-structtemplate-mocharc">`struct/template-mocharc`</a>
1415
- <a name="blackfluxrobo-config-plugin-task-idx-ref-structtemplate-index-test">:clipboard:</a> <a href="#blackfluxrobo-config-plugin-task-ref-structtemplate-index-test">`struct/template-index-test`</a>
1516
- <a name="blackfluxrobo-config-plugin-task-idx-ref-structtemplate-index">:clipboard:</a> <a href="#blackfluxrobo-config-plugin-task-ref-structtemplate-index">`struct/template-index`</a>
1617
- <a name="blackfluxrobo-config-plugin-task-idx-ref-structtemplate-eslintrc">:clipboard:</a> <a href="#blackfluxrobo-config-plugin-task-ref-structtemplate-eslintrc">`struct/template-eslintrc`</a>
18+
- <a name="blackfluxrobo-config-plugin-task-idx-ref-structtemplate-eslint-config">:clipboard:</a> <a href="#blackfluxrobo-config-plugin-task-ref-structtemplate-eslint-config">`struct/template-eslint-config`</a>
1719
- <a name="blackfluxrobo-config-plugin-task-idx-ref-semantic-releasenpm-default">:open_file_folder:</a> <a href="#blackfluxrobo-config-plugin-task-ref-semantic-releasenpm-default">`semantic-release/#npm-default`</a>
1820
- <a name="blackfluxrobo-config-plugin-task-idx-ref-semantic-releasecommit-conventions">:clipboard:</a> <a href="#blackfluxrobo-config-plugin-task-ref-semantic-releasecommit-conventions">`semantic-release/commit-conventions`</a>
1921
- <a name="blackfluxrobo-config-plugin-task-idx-ref-packagenpm-default">:open_file_folder:</a> <a href="#blackfluxrobo-config-plugin-task-ref-packagenpm-default">`package/#npm-default`</a>
@@ -71,6 +73,7 @@ Manage various configuration files for an open source npm package on github.
7173
<code>│&nbsp;&nbsp;└─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-ideaprojectnameiml">${projectName}.iml</a></code><br/>
7274
<code>├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-c8rcjson">.c8rc.json</a></code><br/>
7375
<code>├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-editorconfig">.editorconfig</a></code><br/>
76+
<code>├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-eslintconfigjs">eslint.config.js</a></code><br/>
7477
<code>├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-eslintrcjson">.eslintrc.json</a></code><br/>
7578
<code>├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-gallyjson">.gally.json</a></code><br/>
7679
<code>├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-gardenerjs">gardener.js</a></code><br/>
@@ -85,7 +88,8 @@ Manage various configuration files for an open source npm package on github.
8588
<code>│&nbsp;&nbsp;└─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-srcindexjs">index.js</a></code><br/>
8689
<code>└─&nbsp;test</code><br/>
8790
<code>&nbsp;&nbsp;&nbsp;├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-testhotjs">hot.js</a></code><br/>
88-
<code>&nbsp;&nbsp;&nbsp;└─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-testindexspecjs">index.spec.js</a></code><br/>
91+
<code>&nbsp;&nbsp;&nbsp;├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-testindexspecjs">index.spec.js</a></code><br/>
92+
<code>&nbsp;&nbsp;&nbsp;└─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-testregjs">reg.js</a></code><br/>
8993
</ul>
9094
</td>
9195
<td align="left" valign="top">
@@ -140,6 +144,7 @@ Manage basic project structure for npm package on github.
140144
<td align="left" valign="top">
141145
<ul>
142146
<code>project</code><br/>
147+
<code>├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-eslintconfigjs">eslint.config.js</a></code><br/>
143148
<code>├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-eslintrcjson">.eslintrc.json</a></code><br/>
144149
<code>├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-gardenerjs">gardener.js</a></code><br/>
145150
<code>├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-mocharcyml">.mocharc.yml</a></code><br/>
@@ -148,7 +153,8 @@ Manage basic project structure for npm package on github.
148153
<code>│&nbsp;&nbsp;└─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-srcindexjs">index.js</a></code><br/>
149154
<code>└─&nbsp;test</code><br/>
150155
<code>&nbsp;&nbsp;&nbsp;├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-testhotjs">hot.js</a></code><br/>
151-
<code>&nbsp;&nbsp;&nbsp;└─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-testindexspecjs">index.spec.js</a></code><br/>
156+
<code>&nbsp;&nbsp;&nbsp;├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-testindexspecjs">index.spec.js</a></code><br/>
157+
<code>&nbsp;&nbsp;&nbsp;└─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-testregjs">reg.js</a></code><br/>
152158
</ul>
153159
</td>
154160
<td align="left" valign="top">
@@ -213,14 +219,16 @@ Manage basic project structure for npm package on github.
213219
<td align="left" valign="top">
214220
<ul>
215221
<code>project</code><br/>
222+
<code>├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-eslintconfigjs">eslint.config.js</a></code><br/>
216223
<code>├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-eslintrcjson">.eslintrc.json</a></code><br/>
217224
<code>├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-mocharcyml">.mocharc.yml</a></code><br/>
218225
<code>├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-readmemd">README.md</a></code><br/>
219226
<code>├─&nbsp;src</code><br/>
220227
<code>│&nbsp;&nbsp;└─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-srcindexjs">index.js</a></code><br/>
221228
<code>└─&nbsp;test</code><br/>
222229
<code>&nbsp;&nbsp;&nbsp;├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-testhotjs">hot.js</a></code><br/>
223-
<code>&nbsp;&nbsp;&nbsp;└─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-testindexspecjs">index.spec.js</a></code><br/>
230+
<code>&nbsp;&nbsp;&nbsp;├─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-testindexspecjs">index.spec.js</a></code><br/>
231+
<code>&nbsp;&nbsp;&nbsp;└─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-testregjs">reg.js</a></code><br/>
224232
</ul>
225233
</td>
226234
<td align="left" valign="top">
@@ -240,11 +248,40 @@ Manage basic project structure for npm package on github.
240248
</tbody>
241249
</table>
242250

251+
###### :clipboard: <a name="blackfluxrobo-config-plugin-task-ref-structtest-reg">struct/test-reg</a> (<a href="#blackfluxrobo-config-plugin-task-idx-ref-structtest-reg">`index`</a>)
252+
253+
_Updating <a href="#blackfluxrobo-config-plugin-target-ref-testregjs">test/reg.js</a> using <a href="#blackfluxrobo-config-plugin-strat-ref-overwrite">overwrite</a>._
254+
255+
- Create register file.
256+
257+
<table>
258+
<tbody>
259+
<tr>
260+
<th>Targets</th>
261+
<th>Requires</th>
262+
</tr>
263+
<tr>
264+
<td align="left" valign="top">
265+
<ul>
266+
<code>project</code><br/>
267+
<code>└─&nbsp;test</code><br/>
268+
<code>&nbsp;&nbsp;&nbsp;└─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-testregjs">reg.js</a></code><br/>
269+
</ul>
270+
</td>
271+
<td align="left" valign="top">
272+
<ul>
273+
<li><a href="#blackfluxrobo-config-plugin-req-ref-javascript">javascript</a></li>
274+
</ul>
275+
</td>
276+
</tr>
277+
</tbody>
278+
</table>
279+
243280
###### :clipboard: <a name="blackfluxrobo-config-plugin-task-ref-structtest-hot">struct/test-hot</a> (<a href="#blackfluxrobo-config-plugin-task-idx-ref-structtest-hot">`index`</a>)
244281

245282
_Updating <a href="#blackfluxrobo-config-plugin-target-ref-testhotjs">test/hot.js</a> using <a href="#blackfluxrobo-config-plugin-strat-ref-overwrite">overwrite</a>._
246283

247-
- Create custom loader file.
284+
- Create loader file.
248285

249286
<table>
250287
<tbody>
@@ -414,6 +451,35 @@ _Updating <a href="#blackfluxrobo-config-plugin-target-ref-eslintrcjson">.eslint
414451
</tbody>
415452
</table>
416453

454+
###### :clipboard: <a name="blackfluxrobo-config-plugin-task-ref-structtemplate-eslint-config">struct/template-eslint-config</a> (<a href="#blackfluxrobo-config-plugin-task-idx-ref-structtemplate-eslint-config">`index`</a>)
455+
456+
_Updating <a href="#blackfluxrobo-config-plugin-target-ref-eslintconfigjs">eslint.config.js</a> using <a href="#blackfluxrobo-config-plugin-strat-ref-overwrite">overwrite</a>._
457+
458+
- Create configuration file for eslint enforcing opinionated, best practices.
459+
460+
<table>
461+
<tbody>
462+
<tr>
463+
<th>Targets</th>
464+
<th>Requires</th>
465+
</tr>
466+
<tr>
467+
<td align="left" valign="top">
468+
<ul>
469+
<code>project</code><br/>
470+
<code>└─&nbsp;<a href="#blackfluxrobo-config-plugin-target-ref-eslintconfigjs">eslint.config.js</a></code><br/>
471+
</ul>
472+
</td>
473+
<td align="left" valign="top">
474+
<ul>
475+
<li><a href="#blackfluxrobo-config-plugin-req-ref-javascript">javascript</a></li>
476+
<li><a href="#blackfluxrobo-config-plugin-req-ref-eslint">eslint</a></li>
477+
</ul>
478+
</td>
479+
</tr>
480+
</tbody>
481+
</table>
482+
417483
#### :open_file_folder: <a name="blackfluxrobo-config-plugin-task-ref-semantic-releasenpm-default">semantic-release/#npm-default</a> (<a href="#blackfluxrobo-config-plugin-task-idx-ref-semantic-releasenpm-default">`index`</a>)
418484

419485
Manage semantic-release configuration for npm package on github.
@@ -1618,11 +1684,17 @@ The code owner is the gatekeeper of the project, ultimately responsible for all
16181684

16191685
Execute all configured js-gardener tasks.
16201686

1687+
### <a name="blackfluxrobo-config-plugin-target-ref-testregjs">test/reg.js</a>
1688+
1689+
:small_blue_diamond: `other`
1690+
1691+
*Registration hook to load custom loader.*
1692+
16211693
### <a name="blackfluxrobo-config-plugin-target-ref-testhotjs">test/hot.js</a>
16221694

16231695
:small_blue_diamond: `other`
16241696

1625-
*Custom loader to allow hot reloading of files for testing.*
1697+
*Loader to allow hot reloading of files for testing.*
16261698

16271699
### <a name="blackfluxrobo-config-plugin-target-ref-readmemd">README.md</a> ([`link`](https://help.github.com/en/articles/about-readmes))
16281700

@@ -1668,6 +1740,14 @@ Main file for the project. Exposes functionality for libraries.
16681740

16691741
*Configuration file for eslint.*
16701742

1743+
### <a name="blackfluxrobo-config-plugin-target-ref-eslintconfigjs">eslint.config.js</a> ([`link`](https://eslint.org/docs/latest/use/configure/configuration-files-new))
1744+
1745+
:small_red_triangle: <a href="#blackfluxrobo-config-plugin-req-ref-eslint">eslint</a>
1746+
1747+
:small_blue_diamond: `nostruct`
1748+
1749+
*Configuration file for eslint.*
1750+
16711751
### <a name="blackfluxrobo-config-plugin-target-ref-releasercjson">.releaserc.json</a> ([`link`](https://semantic-release.gitbook.io/semantic-release/usage/configuration#configuration-file))
16721752

16731753
:small_red_triangle: <a href="#blackfluxrobo-config-plugin-req-ref-semantic-release">semantic-release</a>

0 commit comments

Comments
 (0)