@storm-software/workspace-tools 1.110.0 → 1.112.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## 1.112.0 (2024-07-12)
2
+
3
+
4
+ ### 🚀 Features
5
+
6
+ - **workspace-tools:** Added `knip` and `sherif` linting tasks ([10418f2b](https://github.com/storm-software/storm-ops/commit/10418f2b))
7
+
8
+ ## 1.111.0 (2024-07-03)
9
+
10
+
11
+ ### 🚀 Features
12
+
13
+ - **git-tools:** Added a table of content to the `README.md` header template ([227c234f](https://github.com/storm-software/storm-ops/commit/227c234f))
14
+
15
+ - **workspace-tools:** Added the `rebuild` task targets to Nx plugins ([07552000](https://github.com/storm-software/storm-ops/commit/07552000))
16
+
1
17
  ## 1.110.0 (2024-06-29)
2
18
 
3
19
 
package/config/nx.json CHANGED
@@ -6,6 +6,8 @@
6
6
  "runner": "nx/tasks-runners/default",
7
7
  "options": {
8
8
  "cacheableOperations": [
9
+ "lint-sherif",
10
+ "lint-knip",
9
11
  "lint-docs",
10
12
  "lint-ls",
11
13
  "lint",
@@ -288,7 +290,7 @@
288
290
  "targetDefaults": {
289
291
  "lint-docs": {
290
292
  "cache": true,
291
- "outputs": ["{workspaceRoot}/{projectRoot}"],
293
+ "outputs": ["{projectRoot}"],
292
294
  "inputs": [
293
295
  "config_linting",
294
296
  "config_docs",
@@ -301,7 +303,7 @@
301
303
  },
302
304
  "lint-ls": {
303
305
  "cache": true,
304
- "outputs": ["{workspaceRoot}/{projectRoot}"],
306
+ "outputs": ["{projectRoot}"],
305
307
  "dependsOn": ["^lint-ls"],
306
308
  "executor": "nx:run-commands",
307
309
  "options": {
@@ -309,9 +311,34 @@
309
311
  "color": true
310
312
  }
311
313
  },
314
+ "lint-sherif": {
315
+ "cache": true,
316
+ "outputs": ["{projectRoot}/package.jso"],
317
+ "inputs": ["{workspaceRoot}/package.json", "{projectRoot}/package.json"],
318
+ "executor": "nx:run-commands",
319
+ "options": {
320
+ "command": "pnpm exec sherif -i react -i react-dom",
321
+ "color": true
322
+ }
323
+ },
324
+ "lint-knip": {
325
+ "cache": true,
326
+ "outputs": [
327
+ "config_linting",
328
+ "config_docs",
329
+ "source_docs",
330
+ "typescript",
331
+ "^production"
332
+ ],
333
+ "executor": "nx:run-commands",
334
+ "options": {
335
+ "command": "pnpm exec knip",
336
+ "color": true
337
+ }
338
+ },
312
339
  "lint": {
313
340
  "cache": true,
314
- "outputs": ["{workspaceRoot}/{projectRoot}"],
341
+ "outputs": ["{projectRoot}"],
315
342
  "inputs": [
316
343
  "config_linting",
317
344
  "config_docs",
@@ -319,12 +346,12 @@
319
346
  "typescript",
320
347
  "^production"
321
348
  ],
322
- "dependsOn": ["lint-ls", "lint-docs", "^lint"]
349
+ "dependsOn": ["lint-ls", "lint-sherif", "lint-knip", "lint-docs", "^lint"]
323
350
  },
324
351
  "format-toml": {
325
352
  "cache": true,
326
353
  "inputs": ["config_linting", "{projectRoot}/**/*.toml"],
327
- "outputs": ["{workspaceRoot}/{projectRoot}/**/*.toml"],
354
+ "outputs": ["{projectRoot}/**/*.toml"],
328
355
  "dependsOn": ["^format-toml"],
329
356
  "executor": "nx:run-commands",
330
357
  "options": {
@@ -338,7 +365,7 @@
338
365
  "config_linting",
339
366
  "{projectRoot}/{README.md,package.json,Cargo.toml,executors.json,generators.json}"
340
367
  ],
341
- "outputs": ["{workspaceRoot}/{projectRoot}/README.md"],
368
+ "outputs": ["{projectRoot}/README.md"],
342
369
  "dependsOn": ["^format-readme"],
343
370
  "executor": "nx:run-commands",
344
371
  "options": {
@@ -358,7 +385,7 @@
358
385
  },
359
386
  "format": {
360
387
  "cache": true,
361
- "outputs": ["{workspaceRoot}/{projectRoot}"],
388
+ "outputs": ["{projectRoot}"],
362
389
  "executor": "nx:run-commands",
363
390
  "options": {
364
391
  "command": "echo Formatting the project files in \"{projectRoot}\" ",
package/index.js CHANGED
@@ -405812,11 +405812,15 @@ async function presetGeneratorFn(tree, options) {
405812
405812
  "@taplo/cli": "0.7.0",
405813
405813
  "@types/jest": "29.5.12",
405814
405814
  "@types/node": "20.12.5",
405815
- "@typescript-eslint/parser": "7.6.0",
405816
405815
  "conventional-changelog-conventionalcommits": "7.0.2",
405817
405816
  "esbuild": "0.20.2",
405818
405817
  "esbuild-register": "3.5.0",
405819
- "eslint": "9.0.0",
405818
+ "eslint": "^9.0.0",
405819
+ "eslint-config-storm-software": "latest",
405820
+ "eslint-plugin-import": "^2.29.1",
405821
+ "eslint-plugin-jsx-a11y": "^6.8.0",
405822
+ "eslint-plugin-react": "^7.34.1",
405823
+ "eslint-plugin-react-hooks": "^4.6.0",
405820
405824
  "jest": "29.7.0",
405821
405825
  "jest-environment-jsdom": "29.7.0",
405822
405826
  "jest-environment-node": "29.7.0",
@@ -405830,7 +405834,9 @@ async function presetGeneratorFn(tree, options) {
405830
405834
  "tsconfig-paths": "4.2.0",
405831
405835
  "tslib": "2.6.2",
405832
405836
  "typescript": typescriptVersion,
405833
- "verdaccio": "5.30.3"
405837
+ "verdaccio": "5.30.3",
405838
+ "knip": "5.25.2",
405839
+ "sherif": "0.10.0"
405834
405840
  };
405835
405841
  if (options.includeApps) {
405836
405842
  dependencies = {