@vendure/ui-devkit 3.5.4-master-202602070258 → 3.5.4-master-202602100307
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/compiler/types.d.ts +5 -9
- package/package.json +4 -4
package/compiler/types.d.ts
CHANGED
|
@@ -186,8 +186,7 @@ export interface AdminUiExtension extends Partial<TranslationExtension>, Partial
|
|
|
186
186
|
* import { AdminUiExtension } from '\@vendure/ui-devkit/compiler';
|
|
187
187
|
*
|
|
188
188
|
* export const uiExtensions: AdminUiExtension = {
|
|
189
|
-
* // highlight
|
|
190
|
-
* pathAlias: '\@common-ui-module', // this is the important part
|
|
189
|
+
* pathAlias: '\@common-ui-module', // this is the important part // [!code highlight]
|
|
191
190
|
* extensionPath: path.join(__dirname, 'ui'),
|
|
192
191
|
* ngModules: [
|
|
193
192
|
* {
|
|
@@ -204,8 +203,7 @@ export interface AdminUiExtension extends Partial<TranslationExtension>, Partial
|
|
|
204
203
|
* "compilerOptions": {
|
|
205
204
|
* "baseUrl": ".",
|
|
206
205
|
* "paths": {
|
|
207
|
-
* // highlight
|
|
208
|
-
* "\@common-ui-module/*": ["packages/common-ui-module/src/ui/*"]
|
|
206
|
+
* "\@common-ui-module/*": ["packages/common-ui-module/src/ui/*"] // [!code highlight]
|
|
209
207
|
* }
|
|
210
208
|
* }
|
|
211
209
|
* }
|
|
@@ -214,11 +212,9 @@ export interface AdminUiExtension extends Partial<TranslationExtension>, Partial
|
|
|
214
212
|
* ```ts title="packages/sample-plugin/src/ui/ui-extension.module.ts"
|
|
215
213
|
* import { NgModule } from '\@angular/core';
|
|
216
214
|
* import { SharedModule } from '\@vendure/admin-ui/core';
|
|
217
|
-
* // highlight
|
|
218
|
-
* //
|
|
219
|
-
*
|
|
220
|
-
* import { CommonSharedUiModule, CommonUiComponent } from '\@common-ui-module/ui-shared.module';
|
|
221
|
-
* // highlight-end
|
|
215
|
+
* // the import below works both in the context of the custom Admin UI app as well as the main project // [!code highlight]
|
|
216
|
+
* // '\@common-ui-module' is the value of "pathAlias" and 'ui-shared.module' is the file we want to reference inside "extensionPath" // [!code highlight]
|
|
217
|
+
* import { CommonSharedUiModule, CommonUiComponent } from '\@common-ui-module/ui-shared.module'; // [!code highlight]
|
|
222
218
|
*
|
|
223
219
|
* \@NgModule({
|
|
224
220
|
* imports: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vendure/ui-devkit",
|
|
3
|
-
"version": "3.5.4-master-
|
|
3
|
+
"version": "3.5.4-master-202602100307",
|
|
4
4
|
"description": "A library for authoring Vendure Admin UI extensions",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vendure",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"@angular/cli": "^19.2.5",
|
|
41
41
|
"@angular/compiler": "^19.2.4",
|
|
42
42
|
"@angular/compiler-cli": "^19.2.4",
|
|
43
|
-
"@vendure/admin-ui": "^3.5.4-master-
|
|
44
|
-
"@vendure/common": "^3.5.4-master-
|
|
43
|
+
"@vendure/admin-ui": "^3.5.4-master-202602100307",
|
|
44
|
+
"@vendure/common": "^3.5.4-master-202602100307",
|
|
45
45
|
"chalk": "^4.1.0",
|
|
46
46
|
"chokidar": "^3.6.0",
|
|
47
47
|
"fs-extra": "^11.2.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
53
53
|
"@rollup/plugin-terser": "^0.4.4",
|
|
54
54
|
"@types/fs-extra": "^11.0.4",
|
|
55
|
-
"@vendure/core": "^3.5.4-master-
|
|
55
|
+
"@vendure/core": "^3.5.4-master-202602100307",
|
|
56
56
|
"react": "^19.0.0",
|
|
57
57
|
"react-dom": "^19.0.0",
|
|
58
58
|
"rimraf": "^5.0.5",
|