@shi-corp/development-utilities 2.0.3 → 2.2.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/README.md CHANGED
@@ -39,23 +39,22 @@ In `eslint.config.(m)js` make these changes:
39
39
  ### Normal (Non-UI)
40
40
 
41
41
  ```TypeScript
42
- import { baseLintConfig } from '@shi-corp/development-utilities';
42
+ import { eslintConfig } from '@shi-corp/development-utilities/optimized/lint/base.js'
43
+ import { defineConfig } from 'eslint/config'
43
44
 
44
- export default [
45
- ...baseLintConfig,
46
- // Add project-specific rules, ignores, or plugins here
47
- ];
45
+ export default defineConfig(eslintConfig)
48
46
  ```
49
47
 
50
48
  ### User Interface (Next.JS)
51
49
 
52
50
  ```TypeScript
53
- import { baseLintConfig } from '@shi-corp/development-utilities';
51
+ import { eslintConfig } from '@shi-corp/development-utilities/optimized/lint/next.js'
52
+ import { defineConfig } from 'eslint/config'
54
53
 
55
- export default [
56
- ...nextLintConfig,
54
+ export default defineConfig([
55
+ ...eslintConfig,
57
56
  // Add project-specific rules, ignores, or plugins here
58
- ];
57
+ ])
59
58
  ```
60
59
 
61
60
  ## Next.js configuration
@@ -9,7 +9,7 @@
9
9
  // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
10
10
  // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
11
11
  /* Language and Environment */
12
- "target": "ES2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
12
+ "target": "ES2024", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
13
13
  // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
14
14
  // "jsx": "preserve", /* Specify what JSX code is generated. */
15
15
  // "libReplacement": true, /* Enable lib replacement. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shi-corp/development-utilities",
3
- "version": "2.0.3",
3
+ "version": "2.2.0",
4
4
  "description": "Collection of configurations, settings and packages to be common across multiple products/repositories.",
5
5
  "main": "bin/index.js",
6
6
  "type": "module",
@@ -11,7 +11,16 @@
11
11
  "lint": "eslint --max-warnings 0",
12
12
  "test:Unit": "mocha"
13
13
  },
14
- "packageManager": "npm@11.6.2",
14
+ "exports": {
15
+ ".": {
16
+ "import": "./bin/src/index.js"
17
+ },
18
+ "./optimized/lint/*.js": {
19
+ "import": "./bin/config/linter/*.js"
20
+ },
21
+ "./config/typescript/*.json": "./config/typescript/*.json"
22
+ },
23
+ "packageManager": "npm@11.7.0",
15
24
  "devEngines": {
16
25
  "runtime": {
17
26
  "name": "node",
@@ -48,22 +57,22 @@
48
57
  },
49
58
  "homepage": "https://github.com/Software-Hardware-Integration-Lab/Development-Utilities#readme",
50
59
  "dependencies": {
51
- "@eslint/js": "~9.38.0",
52
- "@stylistic/eslint-plugin": "~5.5.0",
53
- "eslint": "~9.38.0",
54
- "eslint-config-next": "~16.0.0",
55
- "eslint-plugin-jsdoc": "~61.1.9",
60
+ "@eslint/js": "~9.39.2",
61
+ "@stylistic/eslint-plugin": "~5.7.0",
62
+ "eslint": "~9.39.2",
63
+ "eslint-config-next": "~16.1.3",
64
+ "eslint-plugin-jsdoc": "~62.1.0",
56
65
  "eslint-plugin-react": "~7.37.5",
57
66
  "eslint-plugin-react-hooks": "~7.0.1",
58
- "typescript-eslint": "~8.46.2"
67
+ "typescript-eslint": "~8.53.0"
59
68
  },
60
69
  "devDependencies": {
61
70
  "@types/chai": "~5.2.3",
62
71
  "@types/eslint": "~9.6.1",
63
72
  "@types/mocha": "~10.0.10",
64
- "chai": "~6.2.0",
65
- "mocha": "~11.7.4",
66
- "next": "~16.0.0",
73
+ "chai": "~6.2.2",
74
+ "mocha": "~11.7.5",
75
+ "next": "~16.1.3",
67
76
  "typescript": "~5.9.3"
68
77
  },
69
78
  "overrides": {