@edsis/angular 22.0.1 → 22.0.3
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 +88 -261
- package/fesm2022/edsis-angular-block-shell.mjs +759 -0
- package/fesm2022/edsis-angular-block-shell.mjs.map +1 -0
- package/fesm2022/edsis-angular-module-auth.mjs +1574 -0
- package/fesm2022/edsis-angular-module-auth.mjs.map +1 -0
- package/fesm2022/edsis-angular.mjs +8 -0
- package/fesm2022/edsis-angular.mjs.map +1 -0
- package/package.json +17 -429
- package/types/edsis-angular-block-shell.d.ts +114 -0
- package/types/edsis-angular-module-auth.d.ts +140 -0
- package/types/edsis-angular.d.ts +2 -0
- package/.npmignore +0 -2
- package/collection.json +0 -30
- package/component/accordion/README.md +0 -195
- package/component/accordion/package.json +0 -4
- package/component/alert/README.md +0 -182
- package/component/alert/package.json +0 -4
- package/component/alert-dialog/README.md +0 -239
- package/component/alert-dialog/package.json +0 -4
- package/component/aspect-ratio/README.md +0 -112
- package/component/aspect-ratio/package.json +0 -4
- package/component/avatar/README.md +0 -176
- package/component/avatar/package.json +0 -4
- package/component/badge/README.md +0 -133
- package/component/badge/package.json +0 -4
- package/component/breadcrumb/README.md +0 -216
- package/component/breadcrumb/package.json +0 -4
- package/component/button/README.md +0 -139
- package/component/button/package.json +0 -4
- package/component/button-group/README.md +0 -208
- package/component/button-group/package.json +0 -4
- package/component/calendar/README.md +0 -132
- package/component/calendar/package.json +0 -4
- package/component/card/README.md +0 -220
- package/component/card/package.json +0 -4
- package/component/carousel/README.md +0 -276
- package/component/carousel/package.json +0 -4
- package/component/chart/README.md +0 -249
- package/component/chart/area/package.json +0 -4
- package/component/chart/bar/package.json +0 -4
- package/component/chart/line/package.json +0 -4
- package/component/chart/package.json +0 -4
- package/component/chart/pie/package.json +0 -4
- package/component/chart/radar/package.json +0 -4
- package/component/chart/radial/package.json +0 -4
- package/component/chart/scatter/package.json +0 -4
- package/component/checkbox/README.md +0 -149
- package/component/checkbox/package.json +0 -4
- package/component/collapsible/README.md +0 -195
- package/component/collapsible/package.json +0 -4
- package/component/combobox/README.md +0 -198
- package/component/combobox/package.json +0 -4
- package/component/command/README.md +0 -275
- package/component/command/package.json +0 -4
- package/component/composer/README.md +0 -235
- package/component/composer/package.json +0 -4
- package/component/context-menu/README.md +0 -267
- package/component/context-menu/package.json +0 -4
- package/component/date-picker/README.md +0 -177
- package/component/date-picker/package.json +0 -4
- package/component/dialog/README.md +0 -237
- package/component/dialog/package.json +0 -4
- package/component/drawer/README.md +0 -145
- package/component/drawer/package.json +0 -4
- package/component/dropdown-menu/README.md +0 -311
- package/component/dropdown-menu/package.json +0 -4
- package/component/editor/README.md +0 -136
- package/component/editor/package.json +0 -4
- package/component/empty/README.md +0 -183
- package/component/empty/package.json +0 -4
- package/component/form/README.md +0 -210
- package/component/form/package.json +0 -4
- package/component/hover-card/README.md +0 -146
- package/component/hover-card/package.json +0 -4
- package/component/input/README.md +0 -159
- package/component/input/package.json +0 -4
- package/component/input-group/README.md +0 -239
- package/component/input-group/package.json +0 -4
- package/component/input-otp/README.md +0 -278
- package/component/input-otp/package.json +0 -4
- package/component/item/README.md +0 -247
- package/component/item/package.json +0 -4
- package/component/kanban/README.md +0 -81
- package/component/kanban/package.json +0 -4
- package/component/kbd/README.md +0 -139
- package/component/kbd/package.json +0 -4
- package/component/label/README.md +0 -136
- package/component/label/package.json +0 -4
- package/component/menubar/README.md +0 -269
- package/component/menubar/package.json +0 -4
- package/component/native-select/README.md +0 -176
- package/component/native-select/package.json +0 -4
- package/component/navigation-menu/README.md +0 -160
- package/component/navigation-menu/package.json +0 -4
- package/component/pagination/README.md +0 -144
- package/component/pagination/package.json +0 -4
- package/component/pillbox/README.md +0 -67
- package/component/pillbox/package.json +0 -4
- package/component/popover/README.md +0 -43
- package/component/popover/package.json +0 -4
- package/component/progress/README.md +0 -160
- package/component/progress/package.json +0 -4
- package/component/radio/README.md +0 -209
- package/component/radio/package.json +0 -4
- package/component/resizable/README.md +0 -168
- package/component/resizable/package.json +0 -4
- package/component/scroll-area/README.md +0 -143
- package/component/scroll-area/package.json +0 -4
- package/component/select/README.md +0 -174
- package/component/select/package.json +0 -4
- package/component/separator/README.md +0 -170
- package/component/separator/package.json +0 -4
- package/component/sheet/README.md +0 -183
- package/component/sheet/package.json +0 -4
- package/component/skeleton/README.md +0 -158
- package/component/skeleton/package.json +0 -4
- package/component/slider/README.md +0 -207
- package/component/slider/package.json +0 -4
- package/component/spinner/README.md +0 -160
- package/component/spinner/package.json +0 -4
- package/component/switch/README.md +0 -166
- package/component/switch/package.json +0 -4
- package/component/table/README.md +0 -291
- package/component/table/package.json +0 -4
- package/component/tabs/README.md +0 -219
- package/component/tabs/package.json +0 -4
- package/component/textarea/README.md +0 -154
- package/component/textarea/package.json +0 -4
- package/component/timeline/README.md +0 -94
- package/component/timeline/package.json +0 -4
- package/component/toast/README.md +0 -321
- package/component/toast/package.json +0 -4
- package/component/toggle/README.md +0 -131
- package/component/toggle/package.json +0 -4
- package/component/toggle-group/README.md +0 -206
- package/component/toggle-group/package.json +0 -4
- package/component/tooltip/README.md +0 -211
- package/component/tooltip/package.json +0 -4
- package/component/utils/package.json +0 -4
- package/fesm2022/ojiepermana-angular-component-accordion.mjs +0 -189
- package/fesm2022/ojiepermana-angular-component-accordion.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +0 -276
- package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-alert.mjs +0 -99
- package/fesm2022/ojiepermana-angular-component-alert.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +0 -37
- package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-avatar.mjs +0 -139
- package/fesm2022/ojiepermana-angular-component-avatar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-badge.mjs +0 -50
- package/fesm2022/ojiepermana-angular-component-badge.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +0 -200
- package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-button-group.mjs +0 -103
- package/fesm2022/ojiepermana-angular-component-button-group.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-button.mjs +0 -68
- package/fesm2022/ojiepermana-angular-component-button.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-calendar.mjs +0 -88
- package/fesm2022/ojiepermana-angular-component-calendar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-card.mjs +0 -152
- package/fesm2022/ojiepermana-angular-component-card.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-carousel.mjs +0 -334
- package/fesm2022/ojiepermana-angular-component-carousel.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-area.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-area.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-bar.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-bar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-line.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-line.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-pie.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-pie.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-radar.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-radar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-radial.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-radial.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-chart-scatter.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-chart.mjs +0 -3925
- package/fesm2022/ojiepermana-angular-component-chart.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-checkbox.mjs +0 -114
- package/fesm2022/ojiepermana-angular-component-checkbox.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-collapsible.mjs +0 -124
- package/fesm2022/ojiepermana-angular-component-collapsible.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-combobox.mjs +0 -272
- package/fesm2022/ojiepermana-angular-component-combobox.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-command.mjs +0 -293
- package/fesm2022/ojiepermana-angular-component-command.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-composer.mjs +0 -352
- package/fesm2022/ojiepermana-angular-component-composer.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-context-menu.mjs +0 -103
- package/fesm2022/ojiepermana-angular-component-context-menu.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-date-picker.mjs +0 -170
- package/fesm2022/ojiepermana-angular-component-date-picker.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-dialog.mjs +0 -279
- package/fesm2022/ojiepermana-angular-component-dialog.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-drawer.mjs +0 -6
- package/fesm2022/ojiepermana-angular-component-drawer.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +0 -492
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-editor.mjs +0 -717
- package/fesm2022/ojiepermana-angular-component-editor.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-empty.mjs +0 -145
- package/fesm2022/ojiepermana-angular-component-empty.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-form.mjs +0 -366
- package/fesm2022/ojiepermana-angular-component-form.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-hover-card.mjs +0 -297
- package/fesm2022/ojiepermana-angular-component-hover-card.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-input-group.mjs +0 -179
- package/fesm2022/ojiepermana-angular-component-input-group.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-input-otp.mjs +0 -514
- package/fesm2022/ojiepermana-angular-component-input-otp.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-input.mjs +0 -45
- package/fesm2022/ojiepermana-angular-component-input.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-item.mjs +0 -264
- package/fesm2022/ojiepermana-angular-component-item.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-kanban.mjs +0 -314
- package/fesm2022/ojiepermana-angular-component-kanban.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-kbd.mjs +0 -55
- package/fesm2022/ojiepermana-angular-component-kbd.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-label.mjs +0 -33
- package/fesm2022/ojiepermana-angular-component-label.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-menubar.mjs +0 -308
- package/fesm2022/ojiepermana-angular-component-menubar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-native-select.mjs +0 -67
- package/fesm2022/ojiepermana-angular-component-native-select.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +0 -413
- package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-pagination.mjs +0 -226
- package/fesm2022/ojiepermana-angular-component-pagination.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-pillbox.mjs +0 -812
- package/fesm2022/ojiepermana-angular-component-pillbox.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-popover.mjs +0 -169
- package/fesm2022/ojiepermana-angular-component-popover.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-progress.mjs +0 -60
- package/fesm2022/ojiepermana-angular-component-progress.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-radio.mjs +0 -122
- package/fesm2022/ojiepermana-angular-component-radio.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-resizable.mjs +0 -481
- package/fesm2022/ojiepermana-angular-component-resizable.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +0 -54
- package/fesm2022/ojiepermana-angular-component-scroll-area.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-select.mjs +0 -176
- package/fesm2022/ojiepermana-angular-component-select.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-separator.mjs +0 -37
- package/fesm2022/ojiepermana-angular-component-separator.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-sheet.mjs +0 -284
- package/fesm2022/ojiepermana-angular-component-sheet.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-skeleton.mjs +0 -31
- package/fesm2022/ojiepermana-angular-component-skeleton.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-slider.mjs +0 -423
- package/fesm2022/ojiepermana-angular-component-slider.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-spinner.mjs +0 -60
- package/fesm2022/ojiepermana-angular-component-spinner.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-switch.mjs +0 -116
- package/fesm2022/ojiepermana-angular-component-switch.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-table.mjs +0 -155
- package/fesm2022/ojiepermana-angular-component-table.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-tabs.mjs +0 -272
- package/fesm2022/ojiepermana-angular-component-tabs.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-textarea.mjs +0 -39
- package/fesm2022/ojiepermana-angular-component-textarea.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-timeline.mjs +0 -237
- package/fesm2022/ojiepermana-angular-component-timeline.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-toast.mjs +0 -71
- package/fesm2022/ojiepermana-angular-component-toast.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +0 -289
- package/fesm2022/ojiepermana-angular-component-toggle-group.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-toggle.mjs +0 -82
- package/fesm2022/ojiepermana-angular-component-toggle.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs +0 -354
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-component-utils.mjs +0 -13
- package/fesm2022/ojiepermana-angular-component-utils.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-generator-api.mjs +0 -68
- package/fesm2022/ojiepermana-angular-generator-api.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-component.mjs +0 -602
- package/fesm2022/ojiepermana-angular-layout-component.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-provider.mjs +0 -21
- package/fesm2022/ojiepermana-angular-layout-provider.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-services.mjs +0 -116
- package/fesm2022/ojiepermana-angular-layout-services.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-shell.mjs +0 -48
- package/fesm2022/ojiepermana-angular-layout-shell.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-token-directive.mjs +0 -30
- package/fesm2022/ojiepermana-angular-layout-token-directive.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-token.mjs +0 -33
- package/fesm2022/ojiepermana-angular-layout-token.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-type-empty.mjs +0 -49
- package/fesm2022/ojiepermana-angular-layout-type-empty.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-type-horizontal.mjs +0 -128
- package/fesm2022/ojiepermana-angular-layout-type-horizontal.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout-type-vertical.mjs +0 -123
- package/fesm2022/ojiepermana-angular-layout-type-vertical.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-layout.mjs +0 -485
- package/fesm2022/ojiepermana-angular-layout.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs +0 -334
- package/fesm2022/ojiepermana-angular-navigation-demo-data.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-icon.mjs +0 -63
- package/fesm2022/ojiepermana-angular-navigation-icon.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-item.mjs +0 -559
- package/fesm2022/ojiepermana-angular-navigation-item.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-service.mjs +0 -213
- package/fesm2022/ojiepermana-angular-navigation-service.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs +0 -401
- package/fesm2022/ojiepermana-angular-navigation-sidebar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-topbar.mjs +0 -670
- package/fesm2022/ojiepermana-angular-navigation-topbar.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-navigation-types.mjs +0 -4
- package/fesm2022/ojiepermana-angular-navigation-types.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-theme-provider.mjs +0 -35
- package/fesm2022/ojiepermana-angular-theme-provider.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-theme-services.mjs +0 -294
- package/fesm2022/ojiepermana-angular-theme-services.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-theme-token.mjs +0 -56
- package/fesm2022/ojiepermana-angular-theme-token.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular-theme.mjs +0 -390
- package/fesm2022/ojiepermana-angular-theme.mjs.map +0 -1
- package/fesm2022/ojiepermana-angular.mjs +0 -22
- package/fesm2022/ojiepermana-angular.mjs.map +0 -1
- package/generator/api/README.md +0 -252
- package/generator/api/bin/package.json +0 -3
- package/generator/api/bin/schematics/init/index.js +0 -90
- package/generator/api/bin/schematics/ng-add/index.js +0 -131
- package/generator/api/bin/schematics/sdk/index.js +0 -76
- package/generator/api/bin/src/config/loader.js +0 -41
- package/generator/api/bin/src/config/schema.js +0 -57
- package/generator/api/bin/src/emit/client.js +0 -248
- package/generator/api/bin/src/emit/metadata.js +0 -295
- package/generator/api/bin/src/emit/models.js +0 -106
- package/generator/api/bin/src/emit/navigation.js +0 -56
- package/generator/api/bin/src/emit/operations.js +0 -122
- package/generator/api/bin/src/emit/public-api.js +0 -54
- package/generator/api/bin/src/emit/services.js +0 -87
- package/generator/api/bin/src/engine.js +0 -65
- package/generator/api/bin/src/layout/per-domain.js +0 -359
- package/generator/api/bin/src/parser/bundle.js +0 -25
- package/generator/api/bin/src/parser/ir.js +0 -320
- package/generator/api/bin/src/parser/types.js +0 -7
- package/generator/api/bin/src/render/template.js +0 -58
- package/generator/api/bin/src/writer/index.js +0 -278
- package/generator/api/package.json +0 -4
- package/generator/api/schematics/init/schema.json +0 -19
- package/generator/api/schematics/ng-add/schema.json +0 -14
- package/generator/api/schematics/sdk/schema.json +0 -19
- package/generator/api/sdk.config.example.json +0 -24
- package/generator/guide/README.md +0 -84
- package/generator/guide/bin/package.json +0 -3
- package/generator/guide/bin/schematics/build/index.js +0 -36
- package/generator/guide/bin/schematics/init/index.js +0 -70
- package/generator/guide/bin/src/config/loader.js +0 -50
- package/generator/guide/bin/src/config/schema.js +0 -12
- package/generator/guide/bin/src/engine/component.js +0 -74
- package/generator/guide/bin/src/engine/frontmatter.js +0 -42
- package/generator/guide/bin/src/engine/index.js +0 -42
- package/generator/guide/bin/src/engine/naming.js +0 -39
- package/generator/guide/bin/src/engine/render.js +0 -36
- package/generator/guide/bin/src/engine/routes.js +0 -106
- package/generator/guide/bin/src/engine/walk.js +0 -35
- package/generator/guide/guide.config.example.json +0 -9
- package/generator/guide/schematics/build/schema.json +0 -14
- package/generator/guide/schematics/init/schema.json +0 -19
- package/layout/component/package.json +0 -4
- package/layout/package.json +0 -4
- package/layout/provider/package.json +0 -4
- package/layout/services/package.json +0 -4
- package/layout/shell/package.json +0 -4
- package/layout/token/directive/package.json +0 -4
- package/layout/token/package.json +0 -4
- package/layout/type/empty/package.json +0 -4
- package/layout/type/horizontal/package.json +0 -4
- package/layout/type/vertical/package.json +0 -4
- package/navigation/demo-data/package.json +0 -4
- package/navigation/icon/package.json +0 -4
- package/navigation/item/package.json +0 -4
- package/navigation/service/package.json +0 -4
- package/navigation/sidebar/package.json +0 -4
- package/navigation/topbar/README.md +0 -196
- package/navigation/topbar/package.json +0 -4
- package/navigation/types/package.json +0 -4
- package/theme/README.md +0 -174
- package/theme/package.json +0 -4
- package/theme/provider/package.json +0 -4
- package/theme/services/package.json +0 -4
- package/theme/styles/foundation/components.css +0 -81
- package/theme/styles/foundation/layers.css +0 -15
- package/theme/styles/foundation/tokens.css +0 -55
- package/theme/styles/index.css +0 -37
- package/theme/styles/integrations/material/autocomplete.css +0 -178
- package/theme/styles/integrations/material/button.css +0 -468
- package/theme/styles/integrations/material/dialog.css +0 -152
- package/theme/styles/integrations/material/select.css +0 -175
- package/theme/styles/integrations/material/slide-toggle.css +0 -234
- package/theme/styles/integrations/material/slider.css +0 -194
- package/theme/styles/integrations/material/tabs.css +0 -229
- package/theme/styles/integrations/material.css +0 -264
- package/theme/styles/integrations/tailwind.css +0 -114
- package/theme/styles/variants/color/amber.css +0 -31
- package/theme/styles/variants/color/base.css +0 -36
- package/theme/styles/variants/color/blue.css +0 -31
- package/theme/styles/variants/color/cyan.css +0 -31
- package/theme/styles/variants/color/emerald.css +0 -31
- package/theme/styles/variants/color/fuchsia.css +0 -31
- package/theme/styles/variants/color/green.css +0 -31
- package/theme/styles/variants/color/index.css +0 -22
- package/theme/styles/variants/color/indigo.css +0 -31
- package/theme/styles/variants/color/lime.css +0 -31
- package/theme/styles/variants/color/orange.css +0 -31
- package/theme/styles/variants/color/pink.css +0 -31
- package/theme/styles/variants/color/purple.css +0 -31
- package/theme/styles/variants/color/red.css +0 -31
- package/theme/styles/variants/color/rose.css +0 -31
- package/theme/styles/variants/color/sky.css +0 -31
- package/theme/styles/variants/color/teal.css +0 -31
- package/theme/styles/variants/color/violet.css +0 -31
- package/theme/styles/variants/color/yellow.css +0 -31
- package/theme/styles/variants/mode/dark.css +0 -20
- package/theme/styles/variants/mode/index.css +0 -6
- package/theme/styles/variants/mode/light.css +0 -24
- package/theme/styles/variants/style/brutal.css +0 -50
- package/theme/styles/variants/style/default.css +0 -54
- package/theme/styles/variants/style/index.css +0 -8
- package/theme/styles/variants/style/sharp.css +0 -50
- package/theme/styles/variants/style/soft.css +0 -50
- package/theme/token/package.json +0 -4
- package/types/ojiepermana-angular-component-accordion.d.ts +0 -51
- package/types/ojiepermana-angular-component-alert-dialog.d.ts +0 -93
- package/types/ojiepermana-angular-component-alert.d.ts +0 -37
- package/types/ojiepermana-angular-component-aspect-ratio.d.ts +0 -12
- package/types/ojiepermana-angular-component-avatar.d.ts +0 -51
- package/types/ojiepermana-angular-component-badge.d.ts +0 -19
- package/types/ojiepermana-angular-component-breadcrumb.d.ts +0 -46
- package/types/ojiepermana-angular-component-button-group.d.ts +0 -26
- package/types/ojiepermana-angular-component-button.d.ts +0 -22
- package/types/ojiepermana-angular-component-calendar.d.ts +0 -33
- package/types/ojiepermana-angular-component-card.d.ts +0 -60
- package/types/ojiepermana-angular-component-carousel.d.ts +0 -86
- package/types/ojiepermana-angular-component-chart-area.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-bar.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-line.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-pie.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-radar.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-radial.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart-scatter.d.ts +0 -1
- package/types/ojiepermana-angular-component-chart.d.ts +0 -1094
- package/types/ojiepermana-angular-component-checkbox.d.ts +0 -35
- package/types/ojiepermana-angular-component-collapsible.d.ts +0 -42
- package/types/ojiepermana-angular-component-combobox.d.ts +0 -50
- package/types/ojiepermana-angular-component-command.d.ts +0 -99
- package/types/ojiepermana-angular-component-composer.d.ts +0 -90
- package/types/ojiepermana-angular-component-context-menu.d.ts +0 -35
- package/types/ojiepermana-angular-component-date-picker.d.ts +0 -41
- package/types/ojiepermana-angular-component-dialog.d.ts +0 -87
- package/types/ojiepermana-angular-component-drawer.d.ts +0 -1
- package/types/ojiepermana-angular-component-dropdown-menu.d.ts +0 -137
- package/types/ojiepermana-angular-component-editor.d.ts +0 -123
- package/types/ojiepermana-angular-component-empty.d.ts +0 -50
- package/types/ojiepermana-angular-component-form.d.ts +0 -141
- package/types/ojiepermana-angular-component-hover-card.d.ts +0 -74
- package/types/ojiepermana-angular-component-input-group.d.ts +0 -51
- package/types/ojiepermana-angular-component-input-otp.d.ts +0 -136
- package/types/ojiepermana-angular-component-input.d.ts +0 -16
- package/types/ojiepermana-angular-component-item.d.ts +0 -88
- package/types/ojiepermana-angular-component-kanban.d.ts +0 -70
- package/types/ojiepermana-angular-component-kbd.d.ts +0 -16
- package/types/ojiepermana-angular-component-label.d.ts +0 -11
- package/types/ojiepermana-angular-component-menubar.d.ts +0 -67
- package/types/ojiepermana-angular-component-native-select.d.ts +0 -26
- package/types/ojiepermana-angular-component-navigation-menu.d.ts +0 -96
- package/types/ojiepermana-angular-component-pagination.d.ts +0 -33
- package/types/ojiepermana-angular-component-pillbox.d.ts +0 -157
- package/types/ojiepermana-angular-component-popover.d.ts +0 -43
- package/types/ojiepermana-angular-component-progress.d.ts +0 -17
- package/types/ojiepermana-angular-component-radio.d.ts +0 -40
- package/types/ojiepermana-angular-component-resizable.d.ts +0 -99
- package/types/ojiepermana-angular-component-scroll-area.d.ts +0 -19
- package/types/ojiepermana-angular-component-select.d.ts +0 -57
- package/types/ojiepermana-angular-component-separator.d.ts +0 -14
- package/types/ojiepermana-angular-component-sheet.d.ts +0 -76
- package/types/ojiepermana-angular-component-skeleton.d.ts +0 -10
- package/types/ojiepermana-angular-component-slider.d.ts +0 -74
- package/types/ojiepermana-angular-component-spinner.d.ts +0 -13
- package/types/ojiepermana-angular-component-switch.d.ts +0 -40
- package/types/ojiepermana-angular-component-table.d.ts +0 -52
- package/types/ojiepermana-angular-component-tabs.d.ts +0 -92
- package/types/ojiepermana-angular-component-textarea.d.ts +0 -12
- package/types/ojiepermana-angular-component-timeline.d.ts +0 -63
- package/types/ojiepermana-angular-component-toast.d.ts +0 -38
- package/types/ojiepermana-angular-component-toggle-group.d.ts +0 -89
- package/types/ojiepermana-angular-component-toggle.d.ts +0 -25
- package/types/ojiepermana-angular-component-tooltip.d.ts +0 -89
- package/types/ojiepermana-angular-component-utils.d.ts +0 -5
- package/types/ojiepermana-angular-generator-api.d.ts +0 -86
- package/types/ojiepermana-angular-layout-component.d.ts +0 -205
- package/types/ojiepermana-angular-layout-provider.d.ts +0 -6
- package/types/ojiepermana-angular-layout-services.d.ts +0 -25
- package/types/ojiepermana-angular-layout-shell.d.ts +0 -8
- package/types/ojiepermana-angular-layout-token-directive.d.ts +0 -13
- package/types/ojiepermana-angular-layout-token.d.ts +0 -36
- package/types/ojiepermana-angular-layout-type-empty.d.ts +0 -22
- package/types/ojiepermana-angular-layout-type-horizontal.d.ts +0 -36
- package/types/ojiepermana-angular-layout-type-vertical.d.ts +0 -38
- package/types/ojiepermana-angular-layout.d.ts +0 -164
- package/types/ojiepermana-angular-navigation-demo-data.d.ts +0 -5
- package/types/ojiepermana-angular-navigation-icon.d.ts +0 -17
- package/types/ojiepermana-angular-navigation-item.d.ts +0 -54
- package/types/ojiepermana-angular-navigation-service.d.ts +0 -77
- package/types/ojiepermana-angular-navigation-sidebar.d.ts +0 -75
- package/types/ojiepermana-angular-navigation-topbar.d.ts +0 -74
- package/types/ojiepermana-angular-navigation-types.d.ts +0 -135
- package/types/ojiepermana-angular-theme-provider.d.ts +0 -11
- package/types/ojiepermana-angular-theme-services.d.ts +0 -55
- package/types/ojiepermana-angular-theme-token.d.ts +0 -57
- package/types/ojiepermana-angular-theme.d.ts +0 -116
- package/types/ojiepermana-angular.d.ts +0 -3
package/README.md
CHANGED
|
@@ -1,350 +1,177 @@
|
|
|
1
1
|
# @edsis/angular
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Angular library package for Edsis shared application features.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Published entry points:
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
- `@edsis/angular`
|
|
8
|
+
- `@edsis/angular/module/auth`
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
bun install
|
|
11
|
-
```
|
|
10
|
+
The generated API SDK is published separately as `@edsis/sdk`.
|
|
12
11
|
|
|
13
|
-
##
|
|
12
|
+
## Generate and build
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
CLI so the required peer dependencies are added to the app's `package.json`
|
|
17
|
-
and installed in the same flow:
|
|
18
|
-
|
|
19
|
-
In the consumer snippets below, `@your-scope/angular` means the package name
|
|
20
|
-
your workspace actually installs. Replace it consistently with the published
|
|
21
|
-
target you use, for example `@edsis/angular`, `@edsis/angular`, or
|
|
22
|
-
another branded alias such as `@etos/angular`.
|
|
14
|
+
Use the root workspace scripts so SDK generation and library packaging stay in sync:
|
|
23
15
|
|
|
24
16
|
```bash
|
|
25
|
-
|
|
17
|
+
bun run build:library
|
|
26
18
|
```
|
|
27
19
|
|
|
28
|
-
|
|
29
|
-
not already have a compatible Tailwind v4 installation, `ng add` will add it
|
|
30
|
-
from the published `peerDependencies`.
|
|
31
|
-
|
|
32
|
-
The published package treats Angular `>=22.0.0` as the supported peer floor,
|
|
33
|
-
so consumer workspaces can stay on Angular 22 or move forward to newer majors
|
|
34
|
-
without having the library artificially pinned to 22.x only.
|
|
35
|
-
|
|
36
|
-
When updating the library later, use Angular CLI as well:
|
|
20
|
+
That command builds the UI package, then the SDK, and finally packages this library:
|
|
37
21
|
|
|
38
22
|
```bash
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
companions stay aligned with the supported versions of the library.
|
|
44
|
-
|
|
45
|
-
If you install the package with `npm install`, `bun add`, `pnpm add`, or `yarn
|
|
46
|
-
add` directly, peer dependency installation falls back to the package
|
|
47
|
-
manager's own behavior. In that flow, install Tailwind manually as well:
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
bun add @your-scope/angular tailwindcss@^4.3.0
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
Consumer app styles should import the library theme, Tailwind, and the
|
|
54
|
-
Tailwind bridge in this order:
|
|
55
|
-
|
|
56
|
-
```css
|
|
57
|
-
@import '@your-scope/angular/theme/styles';
|
|
58
|
-
@import 'tailwindcss';
|
|
59
|
-
@import '@your-scope/angular/theme/tailwind/theme.css';
|
|
23
|
+
bun run build:ui
|
|
24
|
+
bun run gen:sdk
|
|
25
|
+
bunx ng build sdk
|
|
26
|
+
bunx ng build library
|
|
60
27
|
```
|
|
61
28
|
|
|
62
|
-
|
|
29
|
+
The packaged output is written to `dist/library`, including the reusable `@edsis/angular/module/auth` entry point.
|
|
63
30
|
|
|
64
|
-
|
|
65
|
-
granular deep-import surfaces available at `@your-scope/angular/theme/services`,
|
|
66
|
-
`@your-scope/angular/theme/provider`, and `@your-scope/angular/theme/token`.
|
|
67
|
-
The CSS assets stay available through `@your-scope/angular/theme/styles` and
|
|
68
|
-
`@your-scope/angular/theme/tailwind/theme.css`.
|
|
31
|
+
## Full release
|
|
69
32
|
|
|
70
|
-
|
|
71
|
-
import { provideMaterialTheme, withMaterialDefaults } from '@your-scope/angular/theme';
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
```css
|
|
75
|
-
@import '@your-scope/angular/theme/styles';
|
|
76
|
-
@import 'tailwindcss';
|
|
77
|
-
@import '@your-scope/angular/theme/tailwind/theme.css';
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
For contributors working in this repository, the theme entrypoint source is
|
|
81
|
-
split into runtime APIs under [`projects/angular/theme/services`](theme/services),
|
|
82
|
-
[`projects/angular/theme/provider`](theme/provider),
|
|
83
|
-
[`projects/angular/theme/token`](theme/token), and stylesheet
|
|
84
|
-
assets under [`projects/angular/theme/css`](theme/css).
|
|
85
|
-
The stylesheet sources are grouped into `foundation/`, `variants/`, and
|
|
86
|
-
`integrations/`. Local entrypoint notes live in
|
|
87
|
-
[`projects/angular/theme/README.md`](theme/README.md).
|
|
88
|
-
|
|
89
|
-
To run the theme-only regression suite from the workspace root, use:
|
|
33
|
+
Run the guarded release flow with:
|
|
90
34
|
|
|
91
35
|
```bash
|
|
92
|
-
bun run
|
|
36
|
+
bun run release:library
|
|
93
37
|
```
|
|
94
38
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
Granular secondary entrypoints are now the required component and navigation
|
|
98
|
-
surface. If your app previously imported from the removed
|
|
99
|
-
`@your-scope/angular/component` or `@your-scope/angular/navigation` barrels,
|
|
100
|
-
migrate in this order:
|
|
101
|
-
|
|
102
|
-
1. Confirm the package root you install in the consumer app. Keep that same
|
|
103
|
-
root in every `ng add`, `ng update`, stylesheet import, and TypeScript
|
|
104
|
-
import.
|
|
105
|
-
2. Replace broad barrel imports such as `@your-scope/angular/component` with
|
|
106
|
-
the smallest matching subpath, for example
|
|
107
|
-
`@your-scope/angular/component/button` or
|
|
108
|
-
`@your-scope/angular/component/dropdown-menu`.
|
|
109
|
-
3. Replace removed navigation imports such as `@your-scope/angular/navigation`
|
|
110
|
-
with the matching navigation subpath, for example
|
|
111
|
-
`@your-scope/angular/navigation/sidebar`,
|
|
112
|
-
`@your-scope/angular/navigation/topbar`,
|
|
113
|
-
`@your-scope/angular/navigation/service`, or
|
|
114
|
-
`@your-scope/angular/navigation/types`.
|
|
115
|
-
4. Update any internal helper imports to their new granular subpaths as well,
|
|
116
|
-
including utilities such as `@your-scope/angular/component/utils`.
|
|
117
|
-
5. Update schematic commands in the same way. The package name before the
|
|
118
|
-
colon must match the installed target.
|
|
119
|
-
|
|
120
|
-
Example migration:
|
|
121
|
-
|
|
122
|
-
```ts
|
|
123
|
-
import { ButtonComponent } from '@your-scope/angular/component/button';
|
|
124
|
-
import { DropdownMenuComponent } from '@your-scope/angular/component/dropdown-menu';
|
|
125
|
-
import { SidebarComponent } from '@your-scope/angular/navigation/sidebar';
|
|
126
|
-
import { NavigationService } from '@your-scope/angular/navigation/service';
|
|
127
|
-
import { UiNavIconComponent } from '@your-scope/angular/navigation/icon';
|
|
128
|
-
```
|
|
39
|
+
The script will:
|
|
129
40
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
```ts
|
|
140
|
-
import { AvatarComponent, AvatarFallbackComponent, AvatarImageComponent } from '@your-scope/angular/component/avatar';
|
|
141
|
-
import { ButtonComponent } from '@your-scope/angular/component/button';
|
|
142
|
-
import { PopoverContentDirective, PopoverTriggerDirective } from '@your-scope/angular/component/popover';
|
|
143
|
-
import { cn } from '@your-scope/angular/component/utils';
|
|
144
|
-
import { UiNavIconComponent } from '@your-scope/angular/navigation/icon';
|
|
145
|
-
```
|
|
41
|
+
- reject the release if the git worktree is dirty
|
|
42
|
+
- reject the release if the current branch still has commits that are not pushed, is behind, or is diverged from its upstream branch
|
|
43
|
+
- ask for a version bump using `X`, `Y`, or `Z`
|
|
44
|
+
- map `X` to major, `Y` to minor, and `Z` to patch, then increment the current version automatically
|
|
45
|
+
- ask for a final confirmation before continuing
|
|
46
|
+
- run `bun run build:library`
|
|
47
|
+
- commit the version bump and generated SDK updates with `update version ke {{version}}`
|
|
48
|
+
- push the commit
|
|
49
|
+
- publish `dist/library` to the public npm registry
|
|
146
50
|
|
|
147
|
-
|
|
148
|
-
barrels have been removed. Consumers should use granular
|
|
149
|
-
`@your-scope/angular/component/<slug>` and
|
|
150
|
-
`@your-scope/angular/navigation/<part>` imports.
|
|
151
|
-
|
|
152
|
-
Navigation now follows the same granular pattern:
|
|
153
|
-
`@your-scope/angular/navigation/types`,
|
|
154
|
-
`@your-scope/angular/navigation/service`,
|
|
155
|
-
`@your-scope/angular/navigation/sidebar`,
|
|
156
|
-
`@your-scope/angular/navigation/topbar`,
|
|
157
|
-
`@your-scope/angular/navigation/item`,
|
|
158
|
-
`@your-scope/angular/navigation/icon`, and
|
|
159
|
-
`@your-scope/angular/navigation/demo-data`.
|
|
160
|
-
|
|
161
|
-
The same subpaths are preserved for branded packages. For example, a consumer
|
|
162
|
-
built from the EDSIS release uses:
|
|
163
|
-
|
|
164
|
-
```ts
|
|
165
|
-
import { ButtonComponent } from '@edsis/angular/component/button';
|
|
166
|
-
import { cn } from '@edsis/angular/component/utils';
|
|
167
|
-
import { UiNavIconComponent } from '@edsis/angular/navigation/icon';
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
To verify the generated package still publishes smaller entrypoints after a
|
|
171
|
-
build, run:
|
|
51
|
+
For a non-interactive release, provide the bump and confirmation flags explicitly:
|
|
172
52
|
|
|
173
53
|
```bash
|
|
174
|
-
bun run
|
|
175
|
-
bun run report:entrypoints -- --check
|
|
54
|
+
bun run release:library --bump Z --yes
|
|
176
55
|
```
|
|
177
56
|
|
|
178
|
-
|
|
179
|
-
entrypoint resolves to its own module and that the removed `./component` and
|
|
180
|
-
`./navigation` parent barrels do not return in the published exports.
|
|
181
|
-
|
|
182
|
-
## Navigation primitives
|
|
183
|
-
|
|
184
|
-
The navigation library now publishes only granular child entrypoints, so each
|
|
185
|
-
part can be consumed independently.
|
|
186
|
-
|
|
187
|
-
```ts
|
|
188
|
-
import { SidebarComponent } from '@your-scope/angular/navigation/sidebar';
|
|
189
|
-
import { TopbarComponent } from '@your-scope/angular/navigation/topbar';
|
|
190
|
-
import { NavigationService } from '@your-scope/angular/navigation/service';
|
|
191
|
-
import type { NavigationItem, SidebarVariant } from '@your-scope/angular/navigation/types';
|
|
192
|
-
import { UiNavIconComponent } from '@your-scope/angular/navigation/icon';
|
|
193
|
-
```
|
|
57
|
+
Preview the release plan without changing files:
|
|
194
58
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
```html
|
|
199
|
-
<sidebar [ariaLabel]="'Primary'" [variant]="'default'">
|
|
200
|
-
<div sidebar-header>Brand</div>
|
|
201
|
-
<div sidebar-footer>Footer actions</div>
|
|
202
|
-
</sidebar>
|
|
59
|
+
```bash
|
|
60
|
+
bun run release:library:dry-run --bump Y --yes
|
|
203
61
|
```
|
|
204
62
|
|
|
205
|
-
|
|
63
|
+
## Versioning
|
|
206
64
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
After `@edsis/angular` is installed, a consumer workspace can scaffold an
|
|
210
|
-
SDK config file under `config/sdk.config.json` and generate an Angular SDK directly from the published
|
|
211
|
-
schematics:
|
|
65
|
+
Update the publishable package version in `library/angular/package.json` with:
|
|
212
66
|
|
|
213
67
|
```bash
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
68
|
+
bun run version:library patch
|
|
69
|
+
bun run version:library minor
|
|
70
|
+
bun run version:library 1.2.3
|
|
71
|
+
bun run version:library prerelease --preid beta
|
|
217
72
|
```
|
|
218
73
|
|
|
219
|
-
The
|
|
220
|
-
|
|
74
|
+
The version script only updates the source package manifest. The built package in
|
|
75
|
+
`dist/library` picks up the version on the next `bun run build:library`.
|
|
221
76
|
|
|
222
|
-
|
|
77
|
+
## Pack and publish locally
|
|
223
78
|
|
|
224
|
-
|
|
225
|
-
{
|
|
226
|
-
"scripts": {
|
|
227
|
-
"gen:sdk:init": "ng generate @your-scope/angular:sdk-init",
|
|
228
|
-
"gen:sdk": "ng generate @your-scope/angular:sdk"
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
```
|
|
232
|
-
|
|
233
|
-
Consumers do not need a `gen:sdk:build` step because the npm package already
|
|
234
|
-
ships the compiled schematic runtime.
|
|
235
|
-
|
|
236
|
-
Common follow-up options:
|
|
79
|
+
Run the interactive local publish workflow with:
|
|
237
80
|
|
|
238
81
|
```bash
|
|
239
|
-
|
|
240
|
-
ng generate @your-scope/angular:sdk --config=config/my-sdk.config.json --dry-run
|
|
82
|
+
bun run publish
|
|
241
83
|
```
|
|
242
84
|
|
|
243
|
-
|
|
85
|
+
The script will:
|
|
244
86
|
|
|
245
|
-
|
|
87
|
+
- verify the active npm login against the public npm registry
|
|
88
|
+
- ask for a version bump using `X`, `Y`, or `Z`
|
|
89
|
+
- update `library/sdk/package.json`, `config/sdk.config.json`, and `library/angular/package.json`
|
|
90
|
+
- run `bun run build:library`, which builds the UI package, then the SDK, and finally the library
|
|
91
|
+
- publish `dist/sdk` and then `dist/library` to npm public with `--access public`
|
|
246
92
|
|
|
247
|
-
|
|
248
|
-
bun run ng generate component component-name
|
|
249
|
-
```
|
|
250
|
-
|
|
251
|
-
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
93
|
+
For a non-interactive publish, provide the bump and confirmation flags explicitly:
|
|
252
94
|
|
|
253
95
|
```bash
|
|
254
|
-
bun run
|
|
96
|
+
bun run publish --bump Z --yes
|
|
255
97
|
```
|
|
256
98
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
To build the library, run:
|
|
99
|
+
Preview the publish plan without changing files:
|
|
260
100
|
|
|
261
101
|
```bash
|
|
262
|
-
bun run
|
|
102
|
+
bun run publish --dry-run --bump Y --yes
|
|
263
103
|
```
|
|
264
104
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
To inspect the generated entrypoint sizes after a build, run:
|
|
105
|
+
Publish only the SDK package:
|
|
268
106
|
|
|
269
107
|
```bash
|
|
270
|
-
bun run
|
|
108
|
+
bun run publish --sdk --bump Z --yes
|
|
271
109
|
```
|
|
272
110
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
Publish the scoped package to the public npm registry from the workspace root.
|
|
276
|
-
|
|
277
|
-
First, log in to npm:
|
|
111
|
+
Publish only the library package:
|
|
278
112
|
|
|
279
113
|
```bash
|
|
280
|
-
|
|
114
|
+
bun run publish --lib --bump Z --yes
|
|
281
115
|
```
|
|
282
116
|
|
|
283
|
-
|
|
117
|
+
Preview the npm tarball:
|
|
284
118
|
|
|
285
119
|
```bash
|
|
286
|
-
bun run
|
|
120
|
+
bun run pack:library
|
|
287
121
|
```
|
|
288
122
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
Release targets are configured in `config/release.config.json`. Each entry can override the published
|
|
292
|
-
package name plus `repository`, `homepage`, and `bugs` metadata so npm shows the correct package identity.
|
|
293
|
-
|
|
294
|
-
To publish the `edsis` target from that config, run:
|
|
123
|
+
Publish to npm:
|
|
295
124
|
|
|
296
125
|
```bash
|
|
297
|
-
bun run publish
|
|
126
|
+
bun run publish
|
|
127
|
+
bun run publish --tag next
|
|
128
|
+
bun run publish:sdk
|
|
129
|
+
bun run publish:library
|
|
298
130
|
```
|
|
299
131
|
|
|
300
|
-
|
|
132
|
+
Run a local publish dry-run:
|
|
301
133
|
|
|
302
134
|
```bash
|
|
303
|
-
bun run publish
|
|
135
|
+
bun run publish:sdk:dry-run
|
|
136
|
+
bun run publish:library:dry-run
|
|
304
137
|
```
|
|
305
138
|
|
|
306
|
-
`bun
|
|
307
|
-
|
|
308
|
-
That flow rebuilds `dist/angular` for each configured target, rewrites published package references, applies
|
|
309
|
-
the target-specific npm metadata, smoke-tests the tarball, then publishes it to npm.
|
|
310
|
-
|
|
311
|
-
### EDSIS Verification Flow
|
|
312
|
-
|
|
313
|
-
To validate the EDSIS package locally without publishing, use:
|
|
139
|
+
When updating `@ojiepermana/angular`, use the helper below instead of a plain `bun update` so the version pin, patch mapping, install step, and SDK build verification stay in sync:
|
|
314
140
|
|
|
315
141
|
```bash
|
|
316
|
-
bun run
|
|
317
|
-
bun run smoke:pack -- --package @edsis/angular
|
|
142
|
+
bun run update:edsis
|
|
318
143
|
```
|
|
319
144
|
|
|
320
|
-
|
|
145
|
+
If a specific version needs to be tested:
|
|
321
146
|
|
|
322
147
|
```bash
|
|
323
|
-
|
|
324
|
-
bun add @edsis/angular
|
|
148
|
+
bun run update:edsis 21.1.11
|
|
325
149
|
```
|
|
326
150
|
|
|
327
|
-
|
|
328
|
-
finishes.
|
|
329
|
-
|
|
330
|
-
## Running unit tests
|
|
151
|
+
`publish` publishes `@edsis/sdk` before `@edsis/angular`. `publish:sdk` and `publish:library` use the same helper with `--sdk` or `--lib` and force `--access public`.
|
|
331
152
|
|
|
332
|
-
|
|
153
|
+
For local publishes, the script does not add `--provenance` by default because npm provenance generation is not supported outside compatible CI providers. If you need provenance in a supported CI environment, pass it explicitly:
|
|
333
154
|
|
|
334
155
|
```bash
|
|
335
|
-
bun run
|
|
156
|
+
bun run publish --provenance
|
|
336
157
|
```
|
|
337
158
|
|
|
338
|
-
##
|
|
159
|
+
## GitHub publish workflow
|
|
339
160
|
|
|
340
|
-
|
|
161
|
+
The repository includes `.github/workflows/publish-library.yml`.
|
|
341
162
|
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
163
|
+
It supports:
|
|
164
|
+
|
|
165
|
+
- pushing a tag named `library-vX.Y.Z`
|
|
166
|
+
- manual `workflow_dispatch` runs with an npm tag and optional dry-run
|
|
345
167
|
|
|
346
|
-
|
|
168
|
+
The workflow uses npm trusted publishing via GitHub Actions OIDC, so it does
|
|
169
|
+
not require a repository `NPM_TOKEN` secret. The npm package must be configured
|
|
170
|
+
to trust this repository workflow as a publisher. On tag pushes, the tag
|
|
171
|
+
version must match `library/angular/package.json`.
|
|
347
172
|
|
|
348
|
-
|
|
173
|
+
Recommended local release flow:
|
|
349
174
|
|
|
350
|
-
|
|
175
|
+
1. Run `bun run release:library`.
|
|
176
|
+
2. Select `X`, `Y`, or `Z`, then confirm the computed version.
|
|
177
|
+
3. Let the script build, commit, push, and publish the package.
|