@ddd-ts-kit/eslint-plugin 0.83.3 → 0.84.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/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/rules/language-declared-vocabulary.fr.md +2 -2
- package/docs/rules/language-declared-vocabulary.md +1 -1
- package/docs/rules/tracing-platform-only.fr.md +2 -2
- package/docs/rules/tracing-platform-only.md +1 -1
- package/package.json +1 -1
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.84.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.84.0';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[English](language-declared-vocabulary.md) · **Français**
|
|
2
|
-
<!-- translation-of: language-declared-vocabulary.md sha256:
|
|
2
|
+
<!-- translation-of: language-declared-vocabulary.md sha256:38684c24de6c3252 -->
|
|
3
3
|
|
|
4
4
|
# ddd-ts-kit/language-declared-vocabulary
|
|
5
5
|
|
|
@@ -41,7 +41,7 @@ Un mot signifie une chose dans un contexte, et peut signifier autre chose dans l
|
|
|
41
41
|
| Déclarée dans | Jugée dans |
|
|
42
42
|
|---|---|
|
|
43
43
|
| un contexte (`domain/vocabularies/` de `billing`) | ce contexte seulement : `issued` dans `catalog` est un autre mot |
|
|
44
|
-
| la plateforme (le `Role` de `<platformDir>/auth/role.ts`) | la plateforme, et les groupes de routes `*.routes.ts` des contextes, où une garde nomme un rôle |
|
|
44
|
+
| la plateforme (le `Role` de `<platformDir>/auth/authorization/role.ts`) | la plateforme, et les groupes de routes `*.routes.ts` des contextes, où une garde nomme un rôle |
|
|
45
45
|
| le noyau partagé | partout |
|
|
46
46
|
| un ensemble de permissions (`definePermissions`) | partout : un identifiant de permission nomme une permission d'un contexte |
|
|
47
47
|
|
|
@@ -40,7 +40,7 @@ A word means one thing in one context, and may mean something else next door; th
|
|
|
40
40
|
| Declared in | Judged in |
|
|
41
41
|
|---|---|
|
|
42
42
|
| a context (`domain/vocabularies/` of `billing`) | that context only: `issued` in `catalog` is another word |
|
|
43
|
-
| the platform (the `Role` of `<platformDir>/auth/role.ts`) | the platform, and the route groups `*.routes.ts` of the contexts, where a guard names a role |
|
|
43
|
+
| the platform (the `Role` of `<platformDir>/auth/authorization/role.ts`) | the platform, and the route groups `*.routes.ts` of the contexts, where a guard names a role |
|
|
44
44
|
| the shared kernel | everywhere |
|
|
45
45
|
| a permission set (`definePermissions`) | everywhere: a permission id names one permission of one context |
|
|
46
46
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[English](tracing-platform-only.md) · **Français**
|
|
2
|
-
<!-- translation-of: tracing-platform-only.md sha256:
|
|
2
|
+
<!-- translation-of: tracing-platform-only.md sha256:095717c568340310 -->
|
|
3
3
|
|
|
4
4
|
# ddd-ts-kit/tracing-platform-only
|
|
5
5
|
|
|
@@ -32,7 +32,7 @@ export class StripePaymentGateway implements PaymentGateway {
|
|
|
32
32
|
Correct :
|
|
33
33
|
|
|
34
34
|
```ts
|
|
35
|
-
// src/platform/tracing.ts : le seul endroit qui connaît le package de traçage
|
|
35
|
+
// src/platform/observability/tracing.ts : le seul endroit qui connaît le package de traçage
|
|
36
36
|
import { traceApplication, tracedPublisher } from '@ddd-ts-kit/tracing';
|
|
37
37
|
import { initTracing } from '@ddd-ts-kit/tracing/node';
|
|
38
38
|
|
|
@@ -31,7 +31,7 @@ export class StripePaymentGateway implements PaymentGateway {
|
|
|
31
31
|
Correct:
|
|
32
32
|
|
|
33
33
|
```ts
|
|
34
|
-
// src/platform/tracing.ts: the one place that knows the tracing package
|
|
34
|
+
// src/platform/observability/tracing.ts: the one place that knows the tracing package
|
|
35
35
|
import { traceApplication, tracedPublisher } from '@ddd-ts-kit/tracing';
|
|
36
36
|
import { initTracing } from '@ddd-ts-kit/tracing/node';
|
|
37
37
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ddd-ts-kit/eslint-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.84.0",
|
|
4
4
|
"description": "AST-accurate ESLint rules for DDD and Clean Architecture in TypeScript: layer and context isolation, domain purity, clean code ordering.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ddd",
|