@synergyerp/frontend-standards 1.5.1 → 1.5.2

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.
Files changed (2) hide show
  1. package/eslint.config.js +7 -5
  2. package/package.json +1 -1
package/eslint.config.js CHANGED
@@ -261,11 +261,13 @@ export default tseslint.config(
261
261
  {
262
262
  default: 'disallow',
263
263
  rules: [
264
- { from: ['employee', 'auth', 'users'], allow: ['shared'] },
265
- { from: ['employee'], disallow: ['auth', 'users'] },
266
- { from: ['auth'], disallow: ['employee', 'users'] },
267
- { from: ['users'], disallow: ['employee', 'auth'] },
268
- { from: ['shared'], allow: ['shared'] },
264
+ { from: { type: 'employee' }, allow: { type: 'shared' } },
265
+ { from: { type: 'auth' }, allow: { type: 'shared' } },
266
+ { from: { type: 'users' }, allow: { type: 'shared' } },
267
+ { from: { type: 'employee' }, disallow: [{ type: 'auth' }, { type: 'users' }] },
268
+ { from: { type: 'auth' }, disallow: [{ type: 'employee' }, { type: 'users' }] },
269
+ { from: { type: 'users' }, disallow: [{ type: 'employee' }, { type: 'auth' }] },
270
+ { from: { type: 'shared' }, allow: { type: 'shared' } },
269
271
  ],
270
272
  },
271
273
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synergyerp/frontend-standards",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
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",