@diia-inhouse/oxc-config 3.0.0 → 3.0.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../oxlint/config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAsC,MAAM,QAAQ,CAAA;AAE9E,KAAK,MAAM,GAAG,YAAY,GAAG;IAAE,cAAc,EAAE,MAAM,EAAE,CAAA;CAAE,CAAA;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../oxlint/config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAsC,MAAM,QAAQ,CAAA;AAE9E,KAAK,MAAM,GAAG,YAAY,GAAG;IAAE,cAAc,EAAE,MAAM,EAAE,CAAA;CAAE,CAAA;AAiezD,eAAO,MAAM,IAAI,EAAE,MAAiD,CAAA;AAEpE,eAAO,MAAM,UAAU,EAAE,MAKb,CAAA;AAIZ;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY,GAAI,QAAQ,YAAY,KAAG,YAOnD,CAAA"}
|
package/dist/oxlint/config.js
CHANGED
|
@@ -271,6 +271,7 @@ const boundariesExtension = {
|
|
|
271
271
|
{ type: 'services', pattern: 'src/services/**' },
|
|
272
272
|
{ type: 'configsTypes', pattern: 'src/configs/*types.ts', mode: 'file' },
|
|
273
273
|
{ type: 'configs', pattern: 'src/configs/**' },
|
|
274
|
+
{ type: 'localesPdf', pattern: 'src/locales/*/pdf/**' },
|
|
274
275
|
{ type: 'locales', pattern: 'src/locales/**' },
|
|
275
276
|
{ type: 'eventListenersTypes', pattern: 'src/eventListeners/*.types.ts', mode: 'file', capture: ['eventName'] },
|
|
276
277
|
{ type: 'eventListeners', pattern: 'src/eventListeners/*.ts', mode: 'file', capture: ['eventName'] },
|
|
@@ -299,7 +300,6 @@ const boundariesExtension = {
|
|
|
299
300
|
{
|
|
300
301
|
default: 'disallow',
|
|
301
302
|
rules: [
|
|
302
|
-
{ from: { type: ['viewsTypes', 'servicesTypes'] }, allow: { to: [{ type: 'locales' }] } },
|
|
303
303
|
{
|
|
304
304
|
from: { type: 'actions' },
|
|
305
305
|
allow: {
|
|
@@ -347,6 +347,7 @@ const boundariesExtension = {
|
|
|
347
347
|
from: { type: 'views' },
|
|
348
348
|
allow: { to: [{ type: 'viewsTypes' }, { type: 'servicesTypes' }, { type: 'modelsTypes' }, { type: 'generated' }] },
|
|
349
349
|
},
|
|
350
|
+
{ from: { type: 'viewsTypes' }, allow: { to: [{ type: 'locales' }] } },
|
|
350
351
|
{
|
|
351
352
|
from: { type: 'repositories' },
|
|
352
353
|
allow: { to: [{ type: 'models' }, { type: 'configsTypes' }, { type: 'modelsTypes' }] },
|
|
@@ -356,7 +357,10 @@ const boundariesExtension = {
|
|
|
356
357
|
allow: { to: [{ type: 'modelsTypes', captured: { modelName: '{{ from.captured.modelName }}' } }] },
|
|
357
358
|
},
|
|
358
359
|
{ from: { type: 'tests' }, allow: { to: [{ type: '*' }] } },
|
|
359
|
-
{
|
|
360
|
+
{
|
|
361
|
+
from: { type: 'servicesTypes' },
|
|
362
|
+
allow: { to: [{ type: 'servicesTypes' }, { type: 'modelsTypes' }, { type: 'localesPdf' }] },
|
|
363
|
+
},
|
|
360
364
|
{
|
|
361
365
|
from: { type: 'srcRoot' },
|
|
362
366
|
allow: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diia-inhouse/oxc-config",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "OXC toolchain configs for Diia services: oxlint, oxfmt, oxc transformer",
|
|
5
5
|
"author": "Diia",
|
|
6
6
|
"type": "module",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@boundaries/eslint-plugin": "6.0.2",
|
|
34
|
-
"@diia-inhouse/eslint-plugin": "1.9.
|
|
34
|
+
"@diia-inhouse/eslint-plugin": "1.9.12",
|
|
35
35
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
36
36
|
"@typescript-eslint/eslint-plugin": "8.60.1",
|
|
37
37
|
"eslint-import-resolver-oxc": "0.15.0",
|