@travetto/registry 6.0.0-rc.2 → 6.0.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 +1 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -23,6 +23,7 @@ The primary flow occurs on initialization of the application. At that point, the
|
|
|
23
23
|
1. Initialize [RootRegistry](https://github.com/travetto/travetto/tree/main/module/registry/src/service/root.ts#L10) and will automatically register/load all relevant files
|
|
24
24
|
1. As files are imported, decorators within the files will record various metadata relevant to the respective registries
|
|
25
25
|
1. When all files are processed, the [RootRegistry](https://github.com/travetto/travetto/tree/main/module/registry/src/service/root.ts#L10) is finished, and it will signal to anything waiting on registered data that its free to use it.
|
|
26
|
+
|
|
26
27
|
This flow ensures all files are loaded and processed before application starts. A sample registry could like:
|
|
27
28
|
|
|
28
29
|
**Code: Sample Registry**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/registry",
|
|
3
|
-
"version": "6.0.0
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "Patterns and utilities for handling registration of metadata and functionality for run-time use",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ast-transformations",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"directory": "module/registry"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@travetto/runtime": "^6.0.0
|
|
30
|
+
"@travetto/runtime": "^6.0.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@travetto/cli": "^6.0.0
|
|
34
|
-
"@travetto/transformer": "^6.0.0
|
|
33
|
+
"@travetto/cli": "^6.0.0",
|
|
34
|
+
"@travetto/transformer": "^6.0.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependenciesMeta": {
|
|
37
37
|
"@travetto/transformer": {
|