ts-ioc-container 46.4.0 → 46.4.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.
|
@@ -32,7 +32,10 @@ export class GroupAliasToken extends InjectionToken {
|
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
34
|
lazy() {
|
|
35
|
-
return this
|
|
35
|
+
return new GroupAliasToken(this.token, {
|
|
36
|
+
...this.options,
|
|
37
|
+
lazy: true,
|
|
38
|
+
});
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
export const toGroupAlias = (token) => new GroupAliasToken(token);
|
|
@@ -32,7 +32,10 @@ export class SingleAliasToken extends InjectionToken {
|
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
34
|
lazy() {
|
|
35
|
-
return this
|
|
35
|
+
return new SingleAliasToken(this.token, {
|
|
36
|
+
...this.options,
|
|
37
|
+
lazy: true,
|
|
38
|
+
});
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
export const toSingleAlias = (token) => new SingleAliasToken(token);
|
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ts-ioc-container",
|
|
3
|
-
"version": "46.4.
|
|
3
|
+
"version": "46.4.1",
|
|
4
4
|
"description": "Typescript IoC container",
|
|
5
|
+
"workspaces": [
|
|
6
|
+
"docs"
|
|
7
|
+
],
|
|
5
8
|
"publishConfig": {
|
|
6
9
|
"access": "public",
|
|
7
10
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -54,11 +57,10 @@
|
|
|
54
57
|
"audit": "npm audit",
|
|
55
58
|
"prepare": "husky",
|
|
56
59
|
"release": "npm run build && npm test && npm publish",
|
|
57
|
-
"docs:
|
|
58
|
-
"docs:
|
|
59
|
-
"docs:
|
|
60
|
-
"docs:
|
|
61
|
-
"docs:preview": "cd docs && npm run preview"
|
|
60
|
+
"docs:dev": "pnpm --filter ts-ioc-container-docs run dev",
|
|
61
|
+
"docs:serve": "pnpm --filter ts-ioc-container-docs run dev",
|
|
62
|
+
"docs:build": "pnpm --filter ts-ioc-container-docs run build",
|
|
63
|
+
"docs:preview": "pnpm --filter ts-ioc-container-docs run preview"
|
|
62
64
|
},
|
|
63
65
|
"devDependencies": {
|
|
64
66
|
"@semantic-release/changelog": "^6.0.3",
|