@synergyerp/frontend-standards 1.4.0 → 1.5.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.
package/.husky/commit-msg CHANGED
File without changes
package/.husky/pre-commit CHANGED
File without changes
package/.husky/pre-push CHANGED
File without changes
package/eslint.config.js CHANGED
@@ -256,25 +256,7 @@ export default tseslint.config(
256
256
  ],
257
257
 
258
258
  // ===== MODULARIZATION (FRONTEND_STANDARDS.md Section 5.2.1) =====
259
- 'boundaries/entry-point': [
260
- 'error',
261
- {
262
- default: 'disallow',
263
- rules: [
264
- { target: ['src/services/**/*.ts'], allow: 'src/services/api-client.ts' },
265
- {
266
- target: [
267
- 'src/hooks/use-employee*.ts',
268
- 'src/hooks/use-auth*.ts',
269
- 'src/hooks/use-user*.ts',
270
- ],
271
- disallow: 'src/hooks/',
272
- },
273
- { target: ['src/store/**/*.ts'], allow: 'src/store/index.ts' },
274
- ],
275
- },
276
- ],
277
- 'boundaries/element-types': [
259
+ 'boundaries/dependencies': [
278
260
  'error',
279
261
  {
280
262
  default: 'disallow',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synergyerp/frontend-standards",
3
- "version": "1.4.0",
3
+ "version": "1.5.1",
4
4
  "description": "SynergyERP frontend standards — ESLint, Prettier, commitlint, Husky, Vitest, TypeScript configs, modularization enforcement, and PR templates.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -23,16 +23,6 @@
23
23
  "FRONTEND_STANDARDS.md",
24
24
  "CICD_STANDARDS.md"
25
25
  ],
26
- "scripts": {
27
- "lint": "eslint .",
28
- "format": "prettier --write .",
29
- "format:check": "prettier --check .",
30
- "check-modularization": "node scripts/check-modularization.mjs; exit 0",
31
- "check-types": "tsc --noEmit; exit 0",
32
- "test:ci": "exit 0",
33
- "test": "exit 0",
34
- "prepare": "echo 'Standards package ready'"
35
- },
36
26
  "repository": {
37
27
  "type": "git",
38
28
  "url": "git+https://github.com/aoholdings/frontend-standards.git"
@@ -80,5 +70,14 @@
80
70
  "typescript": "^5.5.0",
81
71
  "vitest": "^3.0.0",
82
72
  "@types/node": "^22.0.0"
73
+ },
74
+ "scripts": {
75
+ "lint": "eslint .",
76
+ "format": "prettier --write .",
77
+ "format:check": "prettier --check .",
78
+ "check-modularization": "node scripts/check-modularization.mjs; exit 0",
79
+ "check-types": "tsc --noEmit; exit 0",
80
+ "test:ci": "exit 0",
81
+ "test": "exit 0"
83
82
  }
84
- }
83
+ }
File without changes
File without changes