@decaf-ts/for-angular 0.1.0 → 0.1.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.
- package/package.json +15 -86
- package/.editorconfig +0 -31
- package/.gitlab-ci.yml +0 -197
- package/.hintrc +0 -19
- package/.prettierrc +0 -49
- package/.snyk +0 -13
- package/LICENSE.md +0 -260
- package/angular.json +0 -274
- package/bs-config.json +0 -5
- package/cli-module.js.map +0 -1
- package/dist/for-angular/cli/cli-module.d.ts +0 -22
- package/dist/for-angular/cli/cli-module.d.ts.map +0 -1
- package/dist/for-angular/cli/cli-module.js +0 -131
- package/dist/for-angular/cli/cli-module.js.map +0 -1
- package/dist/lib/README.md +0 -117
- package/eslint.config.mjs +0 -101
- package/ionic.config.json +0 -14
- package/jest.config.ts +0 -52
- package/jest.setup.ts +0 -50
- package/karma.conf.js +0 -50
- package/ng-package.json +0 -17
- package/ngsw-config.json +0 -30
- package/playwright.config.ts +0 -80
- package/resources/favicon.png +0 -0
- package/resources/favicon.svg +0 -29
- package/resources/icon-background.png +0 -0
- package/resources/icon-foreground.png +0 -0
- package/resources/icon-only.png +0 -0
- package/resources/icon-only.svg +0 -29
- package/resources/splash-dark.png +0 -0
- package/resources/splash-dark2.png +0 -0
- package/resources/splash.png +0 -0
- package/resources/splash2.png +0 -0
- package/resources/touch-icon.svg +0 -29
- package/schematics/README.md +0 -28
- package/schematics/collection.json +0 -20
- package/schematics/package-lock.json +0 -1501
- package/schematics/package.json +0 -37
- package/schematics/src/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.__style__.template +0 -0
- package/schematics/src/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.html.template +0 -3
- package/schematics/src/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.spec.ts.template +0 -40
- package/schematics/src/component/files/__name@dasherize@if-flat__/__name@dasherize__.__type@dasherize__.ts.template +0 -37
- package/schematics/src/component/files/__name@dasherize@if-flat__/__name@dasherize__.module.ts.template +0 -14
- package/schematics/src/component/index.js +0 -146
- package/schematics/src/component/schema.js +0 -2
- package/schematics/src/component/schema.json +0 -101
- package/schematics/src/page/files/__name@dasherize__.page.html.template +0 -15
- package/schematics/src/page/files/__name@dasherize__.page.scss.template +0 -0
- package/schematics/src/page/files/__name@dasherize__.page.ts.template +0 -19
- package/schematics/src/page/index.js +0 -71
- package/schematics/src/page/schema.json +0 -87
- package/schematics/src/schematics/index.js +0 -11
- package/schematics/src/schematics/index_spec.js +0 -13
- package/schematics/src/util/ast-util.js +0 -517
- package/schematics/src/util/change.js +0 -96
- package/schematics/src/util/index.js +0 -14
- package/settings.json +0 -112
- package/tsconfig.app.json +0 -22
- package/tsconfig.cli.json +0 -82
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -22
- package/webpack.config.js +0 -10
- package/workdocs/1-Header.md +0 -5
- package/workdocs/2-Badges.md +0 -30
- package/workdocs/4-Description.md +0 -4
- package/workdocs/5-HowToUse.md +0 -27
- package/workdocs/6-Related.md +0 -7
- package/workdocs/7-Social.md +0 -5
- package/workdocs/99-Footer.md +0 -28
- package/workdocs/Readme.md +0 -12
- package/workdocs/assets/apple-touch-icon.png +0 -0
- package/workdocs/assets/decaf-logo.svg +0 -54
- package/workdocs/assets/favicon.png +0 -0
- package/workdocs/assets/slogans.json +0 -182
- package/workdocs/confluence/.markdown-confluence.template.json +0 -6
- package/workdocs/confluence/Angular Module.md +0 -5
- package/workdocs/drawings/diagram.drawio +0 -24
- package/workdocs/prompts/bulk.md +0 -122
- package/workdocs/prompts/code.md +0 -47
- package/workdocs/prompts/documentation.md +0 -146
- package/workdocs/prompts/uml.md +0 -11
- package/workdocs/readme-md.json +0 -6
- package/workdocs/reports/CHANGELOG.md +0 -12
- package/workdocs/reports/DEPENDENCIES.md +0 -213
- package/workdocs/reports/RELEASE_NOTES.md +0 -24
- package/workdocs/reports/coverage/.gitkeep +0 -0
- package/workdocs/reports/coverage/clover.xml +0 -4107
- package/workdocs/reports/coverage/coverage-final.json +0 -76
- package/workdocs/reports/coverage/lcov-report/base.css +0 -224
- package/workdocs/reports/coverage/lcov-report/block-navigation.js +0 -87
- package/workdocs/reports/coverage/lcov-report/favicon.png +0 -0
- package/workdocs/reports/coverage/lcov-report/index.html +0 -551
- package/workdocs/reports/coverage/lcov-report/prettify.css +0 -1
- package/workdocs/reports/coverage/lcov-report/prettify.js +0 -2
- package/workdocs/reports/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/workdocs/reports/coverage/lcov-report/sorter.js +0 -210
- package/workdocs/reports/coverage/lcov-report/src/app/models/CategoryModel.ts.html +0 -277
- package/workdocs/reports/coverage/lcov-report/src/app/models/DemoModel.ts.html +0 -427
- package/workdocs/reports/coverage/lcov-report/src/app/models/UserModel.ts.html +0 -226
- package/workdocs/reports/coverage/lcov-report/src/app/models/index.html +0 -146
- package/workdocs/reports/coverage/lcov-report/src/cli-module.ts.html +0 -502
- package/workdocs/reports/coverage/lcov-report/src/environments/environment.ts.html +0 -166
- package/workdocs/reports/coverage/lcov-report/src/environments/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/index.html +0 -191
- package/workdocs/reports/coverage/lcov-report/src/karma-test.ts.html +0 -121
- package/workdocs/reports/coverage/lcov-report/src/lib/components/card/card.component.ts.html +0 -625
- package/workdocs/reports/coverage/lcov-report/src/lib/components/card/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/component-renderer/component-renderer.component.ts.html +0 -772
- package/workdocs/reports/coverage/lcov-report/src/lib/components/component-renderer/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/crud-field/crud-field.component.ts.html +0 -2698
- package/workdocs/reports/coverage/lcov-report/src/lib/components/crud-field/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/crud-form/constants.ts.html +0 -133
- package/workdocs/reports/coverage/lcov-report/src/lib/components/crud-form/crud-form.component.ts.html +0 -346
- package/workdocs/reports/coverage/lcov-report/src/lib/components/crud-form/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/empty-state/empty-state.component.ts.html +0 -1264
- package/workdocs/reports/coverage/lcov-report/src/lib/components/empty-state/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/fieldset/fieldset.component.ts.html +0 -2965
- package/workdocs/reports/coverage/lcov-report/src/lib/components/fieldset/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/file-upload/file-upload.component.ts.html +0 -2263
- package/workdocs/reports/coverage/lcov-report/src/lib/components/file-upload/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/filter/filter.component.ts.html +0 -2485
- package/workdocs/reports/coverage/lcov-report/src/lib/components/filter/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/for-angular-components.module.ts.html +0 -259
- package/workdocs/reports/coverage/lcov-report/src/lib/components/icon/icon.component.ts.html +0 -358
- package/workdocs/reports/coverage/lcov-report/src/lib/components/icon/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/index.html +0 -131
- package/workdocs/reports/coverage/lcov-report/src/lib/components/index.ts.html +0 -181
- package/workdocs/reports/coverage/lcov-report/src/lib/components/layout/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/layout/layout.component.ts.html +0 -943
- package/workdocs/reports/coverage/lcov-report/src/lib/components/list/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/list/list.component.ts.html +0 -4420
- package/workdocs/reports/coverage/lcov-report/src/lib/components/list-item/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/list-item/list-item.component.ts.html +0 -1741
- package/workdocs/reports/coverage/lcov-report/src/lib/components/modal/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/modal/modal.component.ts.html +0 -1984
- package/workdocs/reports/coverage/lcov-report/src/lib/components/model-renderer/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/model-renderer/model-renderer.component.ts.html +0 -373
- package/workdocs/reports/coverage/lcov-report/src/lib/components/pagination/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/pagination/pagination.component.ts.html +0 -1165
- package/workdocs/reports/coverage/lcov-report/src/lib/components/searchbar/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/searchbar/searchbar.component.ts.html +0 -1774
- package/workdocs/reports/coverage/lcov-report/src/lib/components/stepped-form/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/stepped-form/stepped-form.component.ts.html +0 -1219
- package/workdocs/reports/coverage/lcov-report/src/lib/components/table/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/lib/components/table/table.component.ts.html +0 -1054
- package/workdocs/reports/coverage/lcov-report/src/lib/directives/NgxSvgDirective.ts.html +0 -163
- package/workdocs/reports/coverage/lcov-report/src/lib/directives/collapsable.directive.ts.html +0 -268
- package/workdocs/reports/coverage/lcov-report/src/lib/directives/index.html +0 -131
- package/workdocs/reports/coverage/lcov-report/src/lib/directives/index.ts.html +0 -91
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/DynamicModule.ts.html +0 -133
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/MediaService.ts.html +0 -142
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/NgxBaseComponent.ts.html +0 -2194
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/NgxComponentDirective.ts.html +0 -3430
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/NgxCrudFormField.ts.html +0 -721
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/NgxDecafComponentDirective.ts.html +0 -1864
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/NgxDecafFormFieldDirective.ts.html +0 -952
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/NgxDecafFormService.ts.html +0 -3211
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/NgxEventHandler.ts.html +0 -307
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/NgxFormDirective.ts.html +0 -1366
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/NgxFormFieldDirective.ts.html +0 -1960
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/NgxFormService.ts.html +0 -3004
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/NgxModelPageDirective.ts.html +0 -1672
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/NgxPageDirective.ts.html +0 -748
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/NgxParentComponentDirective.ts.html +0 -775
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/NgxRenderableComponentDirective.ts.html +0 -727
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/NgxRenderingEngine.ts.html +0 -2005
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/NgxRepositoryDirective.ts.html +0 -1546
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/ValidatorFactory.ts.html +0 -817
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/constants.ts.html +0 -1120
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/decorators.ts.html +0 -376
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/helpers.ts.html +0 -694
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/index.html +0 -356
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/index.ts.html +0 -160
- package/workdocs/reports/coverage/lcov-report/src/lib/engine/overrides.ts.html +0 -502
- package/workdocs/reports/coverage/lcov-report/src/lib/for-angular-common.module.ts.html +0 -298
- package/workdocs/reports/coverage/lcov-report/src/lib/helpers/index.html +0 -131
- package/workdocs/reports/coverage/lcov-report/src/lib/helpers/index.ts.html +0 -121
- package/workdocs/reports/coverage/lcov-report/src/lib/helpers/utils.ts.html +0 -1603
- package/workdocs/reports/coverage/lcov-report/src/lib/i18n/FakeLoader.ts.html +0 -157
- package/workdocs/reports/coverage/lcov-report/src/lib/i18n/Loader.ts.html +0 -826
- package/workdocs/reports/coverage/lcov-report/src/lib/i18n/index.html +0 -146
- package/workdocs/reports/coverage/lcov-report/src/lib/i18n/index.ts.html +0 -91
- package/workdocs/reports/coverage/lcov-report/src/lib/index.html +0 -131
- package/workdocs/reports/coverage/lcov-report/src/lib/public-apis.ts.html +0 -157
- package/workdocs/reports/coverage/lcov-report/src/lib/services/NgxFormService.ts.html +0 -3460
- package/workdocs/reports/coverage/lcov-report/src/lib/services/NgxMediaService.ts.html +0 -1420
- package/workdocs/reports/coverage/lcov-report/src/lib/services/NgxRouterService.ts.html +0 -1243
- package/workdocs/reports/coverage/lcov-report/src/lib/services/NgxTranslateService.ts.html +0 -214
- package/workdocs/reports/coverage/lcov-report/src/lib/services/index.html +0 -176
- package/workdocs/reports/coverage/lcov-report/src/lib/services/index.ts.html +0 -91
- package/workdocs/reports/coverage/lcov-report/src/lib/utils/DecafFakerRepository.ts.html +0 -571
- package/workdocs/reports/coverage/lcov-report/src/lib/utils/helpers.ts.html +0 -1711
- package/workdocs/reports/coverage/lcov-report/src/lib/utils/index.html +0 -146
- package/workdocs/reports/coverage/lcov-report/src/lib/utils/index.ts.html +0 -124
- package/workdocs/reports/coverage/lcov-report/src/main.ts.html +0 -100
- package/workdocs/reports/coverage/lcov-report/src/polyfills.ts.html +0 -271
- package/workdocs/reports/coverage/lcov-report/src/stories/Configure.stories.ts.html +0 -1156
- package/workdocs/reports/coverage/lcov-report/src/stories/button.component.ts.html +0 -229
- package/workdocs/reports/coverage/lcov-report/src/stories/button.stories.ts.html +0 -235
- package/workdocs/reports/coverage/lcov-report/src/stories/crud-field.stories.ts.html +0 -325
- package/workdocs/reports/coverage/lcov-report/src/stories/header.stories.ts.html +0 -181
- package/workdocs/reports/coverage/lcov-report/src/stories/index.html +0 -281
- package/workdocs/reports/coverage/lcov-report/src/stories/list.stories.ts.html +0 -289
- package/workdocs/reports/coverage/lcov-report/src/stories/login.page.stories.ts.html +0 -175
- package/workdocs/reports/coverage/lcov-report/src/stories/model-renderer.stories.ts.html +0 -259
- package/workdocs/reports/coverage/lcov-report/src/stories/page.component.ts.html +0 -331
- package/workdocs/reports/coverage/lcov-report/src/stories/page.stories.ts.html +0 -193
- package/workdocs/reports/coverage/lcov-report/src/stories/setup.ts.html +0 -127
- package/workdocs/reports/coverage/lcov-report/src/stories/utils.ts.html +0 -247
- package/workdocs/reports/coverage/lcov-report/src/tests/index.html +0 -116
- package/workdocs/reports/coverage/lcov-report/src/tests/karmaErrorParser.ts.html +0 -190
- package/workdocs/reports/coverage/lcov-report/src/typings.d.ts.html +0 -88
- package/workdocs/reports/coverage/lcov-report/src/zone-flags.ts.html +0 -103
- package/workdocs/reports/coverage/lcov.info +0 -7898
- package/workdocs/reports/data/.gitkeep +0 -1
- package/workdocs/reports/html/.gitkeep +0 -0
- package/workdocs/reports/html/jest-html-reporters-attach/test-report/index.js +0 -3
- package/workdocs/reports/html/jest-html-reporters-attach/test-report/result.js +0 -1
- package/workdocs/reports/html/test-report.html +0 -1
- package/workdocs/reports/images/.gitkeep +0 -1
- package/workdocs/reports/jest.coverage.config.ts +0 -43
- package/workdocs/reports/junit/junit-report.xml +0 -91
- package/workdocs/resources/.gitlock +0 -0
- package/workdocs/resources/diagram-Actor.png +0 -0
- package/workdocs/resources/diagram-banner.png +0 -0
- package/workdocs/resources/diagram.png +0 -0
- package/workdocs/tutorials/Contributing.md +0 -64
- package/workdocs/tutorials/Documentation.md +0 -340
- package/workdocs/tutorials/For Developers.md +0 -337
- package/workdocs/uml/diagram.puml +0 -11
- package/www/1049.10b030f0de36543b.js +0 -1
- package/www/1102.67cedfb3e29f0a05.js +0 -1
- package/www/1107.6b592a1672821270.js +0 -1
- package/www/1459.cabc18e941afa5d7.js +0 -1
- package/www/1577.5221deebe3501e43.js +0 -1
- package/www/2075.b6dc4fbb89dd6afc.js +0 -1
- package/www/2348.c4cc27dadbec70ec.js +0 -1
- package/www/2375.318d0b24ab346271.js +0 -1
- package/www/2415.618d6968ffda319c.js +0 -1
- package/www/2460.1d97c6f48b898ee2.js +0 -1
- package/www/2560.2e7000dcf80b6b2c.js +0 -1
- package/www/2585.274d59d52bafc7ed.js +0 -1
- package/www/2885.d99b86afd1ff7aa8.js +0 -1
- package/www/3162.bbc401f4a5f82460.js +0 -1
- package/www/323.f64c512be5c8d797.js +0 -1
- package/www/3238.a3e7e8004c6b6667.js +0 -1
- package/www/3506.8c03f5589b33a4a6.js +0 -1
- package/www/3511.56b7e49bb6c2c936.js +0 -1
- package/www/3519.84fbb67dc803f702.js +0 -1
- package/www/3675.7ebfdcf145052232.js +0 -1
- package/www/3814.765c1794e1be63de.js +0 -1
- package/www/3rdpartylicenses.txt +0 -1344
- package/www/4171.a974bdbf9c97e4e1.js +0 -1
- package/www/4183.41ef1def450a2cc0.js +0 -1
- package/www/4406.0b2dd3839b8c1417.js +0 -1
- package/www/441.e1031657c7e5f0ff.js +0 -1
- package/www/4463.6ad7b857e5f34009.js +0 -1
- package/www/4591.42f34534d38b9b31.js +0 -1
- package/www/4699.8df8ea9806163d4c.js +0 -1
- package/www/5100.ed6483c55a157d67.js +0 -1
- package/www/5193.15ea6938534eceb1.js +0 -1
- package/www/5197.6733853529768a45.js +0 -1
- package/www/5222.8439a641c2c4b1c1.js +0 -1
- package/www/5373.d7878f708309f038.js +0 -1
- package/www/5467.f0e21031db47308c.js +0 -1
- package/www/5712.b08cf436ee8145ce.js +0 -1
- package/www/5887.3d038f564e925abb.js +0 -1
- package/www/5949.37330f20e95dee79.js +0 -1
- package/www/6024.c10cc3d1b341c748.js +0 -1
- package/www/6433.360fcff952bde822.js +0 -1
- package/www/6499.60169da9869db697.js +0 -1
- package/www/6521.fab1f34bfe6b8200.js +0 -1
- package/www/6631.eaa711da6e0aeed9.js +0 -1
- package/www/6717.9d970c383bb0cf1c.js +0 -1
- package/www/6840.7317cd962ab23932.js +0 -1
- package/www/7030.d115d82ca7468a4e.js +0 -1
- package/www/7076.cce20ed5c79ff305.js +0 -1
- package/www/7179.c0545989ce869b3d.js +0 -1
- package/www/7240.69aeb484d78eb24d.js +0 -1
- package/www/7372.94c62459e34f7303.js +0 -1
- package/www/7402.983a5ecff61e9a5d.js +0 -1
- package/www/7428.527ac48035a2f915.js +0 -1
- package/www/7676.d7db23d350e4b096.js +0 -1
- package/www/770.80af87d5eb0075d3.js +0 -1
- package/www/7720.0701576cb9966779.js +0 -1
- package/www/7927.ee869d0dc478250a.js +0 -1
- package/www/8066.894688fbb2e5c832.js +0 -1
- package/www/8193.7f09ecd40b6d42c2.js +0 -1
- package/www/8255.158098a6302c91c2.js +0 -1
- package/www/8314.596c1ccf26b9c93a.js +0 -1
- package/www/8357.c5406b92e6933d7a.js +0 -1
- package/www/8477.a3ccc11c25a642d3.js +0 -1
- package/www/8487.93b6f7465ae1b7ac.js +0 -1
- package/www/8584.b77ad478a5a7ac2a.js +0 -1
- package/www/8805.a87413652185ff8f.js +0 -1
- package/www/8814.b489a78ae8e926c4.js +0 -1
- package/www/8970.234b3db1f97528fe.js +0 -1
- package/www/9013.c2e6ba17a915bdd6.js +0 -1
- package/www/9073.16c4e42482d55a3c.js +0 -1
- package/www/9344.7d2d24b194b794e2.js +0 -1
- package/www/9364.9a028036dd89e3e7.js +0 -1
- package/www/944.7e4317348c48d4f4.js +0 -1
- package/www/964.9a979e1c1aad0f5b.js +0 -1
- package/www/9657.fbb680ad1064e91a.js +0 -1
- package/www/9956.2d00a2153e9a7799.js +0 -1
- package/www/9977.068cd5561462bc99.js +0 -1
- package/www/assets/i18n/en.json +0 -210
- package/www/assets/i18n/ew/en.json +0 -346
- package/www/assets/i18n/pt.json +0 -186
- package/www/assets/icons/icon-128.webp +0 -0
- package/www/assets/icons/icon-192.webp +0 -0
- package/www/assets/icons/icon-256.webp +0 -0
- package/www/assets/icons/icon-48.webp +0 -0
- package/www/assets/icons/icon-512.webp +0 -0
- package/www/assets/icons/icon-72.webp +0 -0
- package/www/assets/icons/icon-96.webp +0 -0
- package/www/assets/images/angular-logo.svg +0 -45
- package/www/assets/images/apple-touch-icon.png +0 -0
- package/www/assets/images/decaf-logo-black.svg +0 -22
- package/www/assets/images/decaf-logo-contrast.svg +0 -54
- package/www/assets/images/decaf-logo-white.svg +0 -22
- package/www/assets/images/decaf-logo.svg +0 -54
- package/www/assets/images/ew/product.txt +0 -1
- package/www/assets/images/favicon-contrast.svg +0 -7
- package/www/assets/images/favicon.png +0 -0
- package/www/assets/images/favicon.svg +0 -29
- package/www/assets/images/icons/document.svg +0 -7
- package/www/assets/images/icons/edit.svg +0 -1
- package/www/assets/images/icons/logout.svg +0 -4
- package/www/assets/images/icons/menu-collapse.svg +0 -5
- package/www/assets/images/icons/menu.svg +0 -3
- package/www/assets/images/icons/moon-stars.svg +0 -5
- package/www/assets/images/icons/trash.svg +0 -1
- package/www/cli-module.ts +0 -139
- package/www/common.e50b5f8708aca9a5.js +0 -1
- package/www/index.html +0 -29
- package/www/main.7814262e404641fd.js +0 -1
- package/www/polyfills.4c1e087fffe784e8.js +0 -1
- package/www/runtime.e81aa7ecff7177cd.js +0 -1
- package/www/styles.5a3cd83eba16afc9.css +0 -4
- package/www/tabler-icons.bfabe54eef86ae62.woff +0 -0
- package/www/tabler-icons.d9f65ab9439b4ffc.ttf +0 -0
- package/www/tabler-icons.f17d2c3b34a5deaa.woff2 +0 -0
- /package/{dist/lib/assets → assets}/i18n/en.json +0 -0
- /package/{dist/lib/assets → assets}/i18n/ew/en.json +0 -0
- /package/{dist/lib/assets → assets}/i18n/pt.json +0 -0
- /package/{dist/lib/assets → assets}/icons/icon-128.webp +0 -0
- /package/{dist/lib/assets → assets}/icons/icon-192.webp +0 -0
- /package/{dist/lib/assets → assets}/icons/icon-256.webp +0 -0
- /package/{dist/lib/assets → assets}/icons/icon-48.webp +0 -0
- /package/{dist/lib/assets → assets}/icons/icon-512.webp +0 -0
- /package/{dist/lib/assets → assets}/icons/icon-72.webp +0 -0
- /package/{dist/lib/assets → assets}/icons/icon-96.webp +0 -0
- /package/{dist/lib/assets → assets}/images/angular-logo.svg +0 -0
- /package/{dist/lib/assets → assets}/images/apple-touch-icon.png +0 -0
- /package/{dist/lib/assets → assets}/images/decaf-logo-black.svg +0 -0
- /package/{dist/lib/assets → assets}/images/decaf-logo-contrast.svg +0 -0
- /package/{dist/lib/assets → assets}/images/decaf-logo-white.svg +0 -0
- /package/{dist/lib/assets → assets}/images/decaf-logo.svg +0 -0
- /package/{dist/lib/assets → assets}/images/ew/product.txt +0 -0
- /package/{dist/lib/assets → assets}/images/favicon-contrast.svg +0 -0
- /package/{dist/lib/assets → assets}/images/favicon.png +0 -0
- /package/{dist/lib/assets → assets}/images/favicon.svg +0 -0
- /package/{dist/lib/assets → assets}/images/icons/document.svg +0 -0
- /package/{dist/lib/assets → assets}/images/icons/edit.svg +0 -0
- /package/{dist/lib/assets → assets}/images/icons/logout.svg +0 -0
- /package/{dist/lib/assets → assets}/images/icons/menu-collapse.svg +0 -0
- /package/{dist/lib/assets → assets}/images/icons/menu.svg +0 -0
- /package/{dist/lib/assets → assets}/images/icons/moon-stars.svg +0 -0
- /package/{dist/lib/assets → assets}/images/icons/trash.svg +0 -0
- /package/{dist/lib/fesm2022 → fesm2022}/decaf-ts-for-angular.mjs +0 -0
- /package/{dist/lib/fesm2022 → fesm2022}/decaf-ts-for-angular.mjs.map +0 -0
- /package/{dist/lib/index.d.ts → index.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,59 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decaf-ts/for-angular",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"scripts": {
|
|
5
|
-
"ng": "ng",
|
|
6
|
-
"start": "npx rimraf .angular && ng run for-angular-app:serve --host=localhost --port=8110",
|
|
7
|
-
"decaf": "npx decaf angular generate",
|
|
8
|
-
"schematics": "schematics",
|
|
9
|
-
"do-install": "NPM_TOKEN=$(cat .npmtoken) npm install",
|
|
10
|
-
"update-scripts": "npx update-scripts",
|
|
11
|
-
"on-first-run": "npx update-scripts --boot",
|
|
12
|
-
"set-git-auth": "git config url.\"https://api:$(cat .token)@github.com/\".insteadOf \"https://github.com/\" && git config url.\"https://ssh:$(cat .token)@github.com/\".insteadOf \"ssh://git@github.com/\" && git config url.\"https://git:$(cat .token)@github.com/\".insteadOf \"git@github.com:\"",
|
|
13
|
-
"flash-forward": "npx npm-check-updates -u && npm run do-install",
|
|
14
|
-
"update-dependencies": "NPM_TOKEN=$(cat .npmtoken) PREFIX=\"decaf-ts\"; npm ls | grep \"$PREFIX\" | awk -F/ '{print $NF}' | sed 's/@.*//' | xargs -I package npm update --force @\"$PREFIX\"/package && ng cache clean",
|
|
15
|
-
"update-decaf": "NPM_TOKEN=$(cat .npmtoken) PREFIX=\"decaf-ts\"; npm ls | grep \"$PREFIX\" | awk -F/ '{print $NF}' | sed 's/@.*//' | xargs -I package npm update @\"$PREFIX\"/package",
|
|
16
|
-
"reset": "rm -rf * && git checkout . && git pull && npm run do-install",
|
|
17
|
-
"build:prod": "npm run lint && ng build for-angular && ng build for-angular-app",
|
|
18
|
-
"build": "npx rimraf .angular && npm run lint && ng build for-angular --configuration development && ng build for-angular-app --configuration development && npm run build:cli",
|
|
19
|
-
"build:cli": "tsc --project tsconfig.cli.json --outDir dist/for-angular/cli",
|
|
20
|
-
"build:schematics": "node ./bin/build-schematics.js",
|
|
21
|
-
"server": "npm run start",
|
|
22
|
-
"watch": "ng build for-angular --watch --configuration development",
|
|
23
|
-
"test": "npm run test:all",
|
|
24
|
-
"test:all": "jest --runInBand --passWithNoTests",
|
|
25
|
-
"test:components": "jest --runInBand --passWithNoTests src/lib/components",
|
|
26
|
-
"test:services": "jest --runInBand --passWithNoTests src/lib/services",
|
|
27
|
-
"lint": "ng lint for-angular",
|
|
28
|
-
"lint-fix": "ng lint --fix",
|
|
29
|
-
"coverage": "npx rimraf ./workdocs/reports/data/*.json && npm run test:all -- --coverage --config=./workdocs/reports/jest.coverage.config.ts",
|
|
30
|
-
"prepare-pr": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
|
|
31
|
-
"prepare-release": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
|
|
32
|
-
"release": "./bin/tag-release.sh",
|
|
33
|
-
"clean-publish": "npx clean-publish",
|
|
34
|
-
"drawings": "for FILE in workdocs/drawings/*.drawio; do echo \"converting $FILE to image...\" && docker run --rm -v $(pwd):/data rlespinasse/drawio-export --format png $FILE; done && cp -rf workdocs/drawings/export/* workdocs/resources/",
|
|
35
|
-
"uml": "cd workdocs/uml && for FILE in ./*.puml; do docker run --rm -v $(pwd):/work -w /work miy4/plantuml -DPLANTUML_LIMIT_SIZE=8192 -tpng $FILE; done && cd ../.. && cp -fr workdocs/uml/*.png workdocs/resources/",
|
|
36
|
-
"docs": "npx rimraf ./docs && mkdir docs && npx build-scripts --docs",
|
|
37
|
-
"publish-docs": "docker run -it --rm --user $(id -u):$(id -g) -v \"$(pwd)/workdocs/confluence:/content\" -e ATLASSIAN_API_TOKEN=$(cat .confluence-token) ghcr.io/markdown-confluence/publish:latest",
|
|
38
|
-
"storybook": "ng run for-angular:storybook --debug-webpack",
|
|
39
|
-
"storybook:build": "ng run for-angular:build-storybook",
|
|
40
|
-
"playwright": "npx playwright test --config=./playwright.config.ts",
|
|
41
|
-
"playwright-ui": "npx playwright test --config=./playwright.config.ts --ui",
|
|
42
|
-
"playwright-setup": "npm init playwright@latest",
|
|
43
|
-
"increase:fs:watches": "sudo sysctl -n -w fs.inotify.max_user_watches=1048576 && sudo sysctl -n -w fs.inotify.max_user_instances=512",
|
|
44
|
-
"publish": "NPM_TOKEN=$(cat .npmtoken) npm publish ./dist/lib --access public",
|
|
45
|
-
"resources": "npm run resources:pwa",
|
|
46
|
-
"resources:android": "npx capacitor-assets generate --android --assetPath='resources' && npm run resources",
|
|
47
|
-
"resources:ios": "npx capacitor-assets generate --ios --assetPath='resources' && npm run resources",
|
|
48
|
-
"resources:pwa": "npx capacitor-assets generate --pwa --assetPath='resources' --pwaManifestPath='src/manifest.webmanifest'",
|
|
49
|
-
"repo:init": "codex exec \"$(cat ./.codex/prompts/repo-setup.md)\nbase_path is `./`, initialize the repository\"",
|
|
50
|
-
"repo:setup": "codex exec \"$(cat ./.codex/prompts/repo-setup.md)\nbase_path is ./\"",
|
|
51
|
-
"repo:doc": "codex exec \"$(cat ./.codex/prompts/doc.md) $(cat ./.codex/prompts/bulk-docs.md)\nbase_path is ./\"",
|
|
52
|
-
"repo:tests": "codex exec \"$(cat ./.codex/prompts/bulk-tests.md)\nbase_path is ./ and coverage is 95%\" -s workspace-write",
|
|
53
|
-
"repo:readme": "codex exec \"$(cat ./.codex/prompts/update-readme.md)\nbase_path is ./\"",
|
|
54
|
-
"repo:pr": "npm run repo:doc && npm run repo:tests && npm run repo:readme",
|
|
55
|
-
"sync-codex": "./bin/sync-codex.sh"
|
|
56
|
-
},
|
|
3
|
+
"version": "0.1.1",
|
|
57
4
|
"author": "Tiago Venceslau and Contributors",
|
|
58
5
|
"license": "MPL-2.0 OR AGPL-3.0",
|
|
59
6
|
"repository": {
|
|
@@ -64,36 +11,6 @@
|
|
|
64
11
|
"node": ">=20.0.0",
|
|
65
12
|
"npm": ">=10.0.0"
|
|
66
13
|
},
|
|
67
|
-
"devDependencies": {
|
|
68
|
-
"@angular-devkit/schematics": "^20.2.0",
|
|
69
|
-
"@angular-devkit/schematics-cli": "^20.2.0",
|
|
70
|
-
"@angular-eslint/builder": "^20.5.0",
|
|
71
|
-
"@angular-eslint/schematics": "^20.2.0",
|
|
72
|
-
"@angular/cli": "^20.3.9",
|
|
73
|
-
"@angular/compiler-cli": "^20.3.9",
|
|
74
|
-
"@decaf-ts/cli": "latest",
|
|
75
|
-
"@decaf-ts/utils": "latest",
|
|
76
|
-
"@faker-js/faker": "^9.9.0",
|
|
77
|
-
"@playwright/test": "^1.54.1",
|
|
78
|
-
"@storybook/addon-docs": "9.1.5",
|
|
79
|
-
"@storybook/addon-onboarding": "9.1.5",
|
|
80
|
-
"@storybook/angular": "9.1.5",
|
|
81
|
-
"@types/bwip-js": "^3.2.3",
|
|
82
|
-
"@types/jest": "^30.0.0",
|
|
83
|
-
"@types/node": "^22.15.24",
|
|
84
|
-
"angular-eslint": "^20.2.0",
|
|
85
|
-
"eslint": "^9.29.0",
|
|
86
|
-
"eslint-plugin-storybook": "9.1.5",
|
|
87
|
-
"eslint-plugin-unused-imports": "^4.4.1",
|
|
88
|
-
"ffmpeg-static": "5.2.0",
|
|
89
|
-
"jest-preset-angular": "^14.6.0",
|
|
90
|
-
"ng-packagr": "^20.3.0",
|
|
91
|
-
"storybook": "^9.1.17",
|
|
92
|
-
"ts-node": "^10.9.2",
|
|
93
|
-
"tslib": "^2.3.0",
|
|
94
|
-
"typescript": "~5.8.3",
|
|
95
|
-
"typescript-eslint": "8.34.1"
|
|
96
|
-
},
|
|
97
14
|
"peerDependencies": {
|
|
98
15
|
"@angular-builders/custom-webpack": "^20.0.0",
|
|
99
16
|
"@angular/animations": "^20.3.16",
|
|
@@ -138,7 +55,19 @@
|
|
|
138
55
|
"worker_threads": false,
|
|
139
56
|
"node:worker_threads": false
|
|
140
57
|
},
|
|
58
|
+
"module": "fesm2022/decaf-ts-for-angular.mjs",
|
|
59
|
+
"typings": "index.d.ts",
|
|
60
|
+
"exports": {
|
|
61
|
+
"./package.json": {
|
|
62
|
+
"default": "./package.json"
|
|
63
|
+
},
|
|
64
|
+
".": {
|
|
65
|
+
"types": "./index.d.ts",
|
|
66
|
+
"default": "./fesm2022/decaf-ts-for-angular.mjs"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"sideEffects": false,
|
|
141
70
|
"dependencies": {
|
|
142
|
-
"
|
|
71
|
+
"tslib": "^2.3.0"
|
|
143
72
|
}
|
|
144
|
-
}
|
|
73
|
+
}
|
package/.editorconfig
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# EditorConfig ajuda a manter estilos de código consistentes entre diferentes editores
|
|
2
|
-
|
|
3
|
-
root = true
|
|
4
|
-
|
|
5
|
-
[*]
|
|
6
|
-
charset = utf-8
|
|
7
|
-
indent_style = space
|
|
8
|
-
indent_size = 2
|
|
9
|
-
end_of_line = lf
|
|
10
|
-
insert_final_newline = true
|
|
11
|
-
trim_trailing_whitespace = true
|
|
12
|
-
|
|
13
|
-
# Arquivos Markdown não devem remover espaços no final
|
|
14
|
-
[*.md]
|
|
15
|
-
trim_trailing_whitespace = false
|
|
16
|
-
|
|
17
|
-
# HTML segue o mesmo padrão do Prettier
|
|
18
|
-
[*.html]
|
|
19
|
-
indent_size = 2
|
|
20
|
-
|
|
21
|
-
# SCSS, SASS e CSS com indentação consistente
|
|
22
|
-
[*.{scss,sass,css}]
|
|
23
|
-
indent_size = 2
|
|
24
|
-
|
|
25
|
-
# TypeScript e JavaScript
|
|
26
|
-
[*.{ts,tsx,js,jsx}]
|
|
27
|
-
indent_size = 2
|
|
28
|
-
|
|
29
|
-
# JSON e YAML
|
|
30
|
-
[*.{json,yml,yaml}]
|
|
31
|
-
indent_size = 2
|
package/.gitlab-ci.yml
DELETED
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
variables:
|
|
2
|
-
FF_USE_FASTZIP: 1
|
|
3
|
-
CACHE_COMPRESSION_LEVEL: "fastest"
|
|
4
|
-
ARTIFACT_COMPRESSION_LEVEL: "fast"
|
|
5
|
-
CACHE_REQUEST_TIMEOUT: 5
|
|
6
|
-
# Use TLS https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#tls-enabled
|
|
7
|
-
DOCKER_HOST: tcp://docker:2375
|
|
8
|
-
DOCKER_TLS_CERTDIR: ""
|
|
9
|
-
|
|
10
|
-
cache:
|
|
11
|
-
- key: apt-$CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
|
|
12
|
-
paths:
|
|
13
|
-
- apt-cache/
|
|
14
|
-
|
|
15
|
-
default:
|
|
16
|
-
image: node:20
|
|
17
|
-
before_script:
|
|
18
|
-
- |
|
|
19
|
-
if [[ ! -f package.json ]]; then
|
|
20
|
-
echo "No package.json found! A package.json file is required to publish a package to GitLab's NPM registry."
|
|
21
|
-
echo 'For more information, see https://docs.gitlab.com/ee/user/packages/npm_registry/#creating-a-project'
|
|
22
|
-
exit 1
|
|
23
|
-
fi
|
|
24
|
-
- NPM_PACKAGE_NAME=$(node -p "require('./package.json').name")
|
|
25
|
-
- NPM_PACKAGE_VERSION=$(node -p "require('./package.json').version")
|
|
26
|
-
- export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR
|
|
27
|
-
- apt-get update -yq && apt-get -o dir::cache::archives="$APT_CACHE_DIR" install wget libgbm-dev libnss3-dev libgdk-pixbuf2.0-dev libgtk-3-dev libxss-dev libasound2 -qy
|
|
28
|
-
|
|
29
|
-
stages:
|
|
30
|
-
- dependencies
|
|
31
|
-
- build
|
|
32
|
-
- test
|
|
33
|
-
- publish
|
|
34
|
-
|
|
35
|
-
install:
|
|
36
|
-
stage: dependencies
|
|
37
|
-
cache:
|
|
38
|
-
- key: dependencies-$CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
|
|
39
|
-
paths:
|
|
40
|
-
- node_modules/
|
|
41
|
-
- .npm/
|
|
42
|
-
script:
|
|
43
|
-
- npm ci --cache .npm --prefer-offline
|
|
44
|
-
interruptible: true
|
|
45
|
-
only:
|
|
46
|
-
changes:
|
|
47
|
-
- package-lock.json
|
|
48
|
-
- .gitlab-ci.yml
|
|
49
|
-
retry:
|
|
50
|
-
max: 2
|
|
51
|
-
when:
|
|
52
|
-
- runner_system_failure
|
|
53
|
-
- stuck_or_timeout_failure
|
|
54
|
-
|
|
55
|
-
build:
|
|
56
|
-
stage: build
|
|
57
|
-
cache:
|
|
58
|
-
- key: dependencies-$CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
|
|
59
|
-
paths:
|
|
60
|
-
- node_modules/
|
|
61
|
-
- .npm/
|
|
62
|
-
policy: pull
|
|
63
|
-
- key: build-$CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
|
|
64
|
-
paths:
|
|
65
|
-
- lib/
|
|
66
|
-
- dist/
|
|
67
|
-
policy: push
|
|
68
|
-
script:
|
|
69
|
-
- npm run build:prod
|
|
70
|
-
rules:
|
|
71
|
-
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_MESSAGE =~ /-no-ci/'
|
|
72
|
-
when: never
|
|
73
|
-
- if: '$CI_COMMIT_BRANCH == "master"'
|
|
74
|
-
changes:
|
|
75
|
-
- src/**/*
|
|
76
|
-
- tests/**/*
|
|
77
|
-
- package-lock.json
|
|
78
|
-
- tsconfig.json
|
|
79
|
-
- .gitlab-ci.yml
|
|
80
|
-
- if: '$CI_COMMIT_TAG'
|
|
81
|
-
interruptible: true
|
|
82
|
-
|
|
83
|
-
tests:
|
|
84
|
-
stage: test
|
|
85
|
-
needs: ["build"]
|
|
86
|
-
script:
|
|
87
|
-
- npm run coverage
|
|
88
|
-
cache:
|
|
89
|
-
- key: dependencies-$CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
|
|
90
|
-
paths:
|
|
91
|
-
- node_modules/
|
|
92
|
-
- .npm/
|
|
93
|
-
policy: pull
|
|
94
|
-
- key: build-$CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
|
|
95
|
-
paths:
|
|
96
|
-
- lib/
|
|
97
|
-
- dist/
|
|
98
|
-
policy: pull
|
|
99
|
-
- key: test-$CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
|
|
100
|
-
paths:
|
|
101
|
-
- workdocs/coverage/
|
|
102
|
-
- workdocs/badges/
|
|
103
|
-
policy: push
|
|
104
|
-
rules:
|
|
105
|
-
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_MESSAGE =~ /-no-ci/'
|
|
106
|
-
when: never
|
|
107
|
-
- if: '$CI_COMMIT_BRANCH == "master"'
|
|
108
|
-
changes:
|
|
109
|
-
- src/**/*
|
|
110
|
-
- tests/**/*
|
|
111
|
-
- package-lock.json
|
|
112
|
-
- tsconfig.json
|
|
113
|
-
- .gitlab-ci.yml
|
|
114
|
-
- if: '$CI_COMMIT_TAG'
|
|
115
|
-
artifacts:
|
|
116
|
-
when: always
|
|
117
|
-
reports:
|
|
118
|
-
junit:
|
|
119
|
-
- workdocs/coverage/junit-report.xml
|
|
120
|
-
coverage: '/^Statements.*?:.*?(\d+\.\d+)%/'
|
|
121
|
-
interruptible: true
|
|
122
|
-
|
|
123
|
-
npm-publish:
|
|
124
|
-
stage: publish
|
|
125
|
-
needs: ["tests", "build"]
|
|
126
|
-
cache:
|
|
127
|
-
- key: dependencies-$CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
|
|
128
|
-
paths:
|
|
129
|
-
- node_modules/
|
|
130
|
-
- .npm/
|
|
131
|
-
policy: pull
|
|
132
|
-
- key: build-$CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
|
|
133
|
-
paths:
|
|
134
|
-
- lib/
|
|
135
|
-
- dist/
|
|
136
|
-
policy: pull
|
|
137
|
-
script:
|
|
138
|
-
- echo "Attempting to publish package ${NPM_PACKAGE_NAME} version ${NPM_PACKAGE_VERSION} to GitLab's NPM registry."
|
|
139
|
-
- TOKEN=${CI_JOB_TOKEN} npm publish
|
|
140
|
-
rules:
|
|
141
|
-
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_MESSAGE =~ /-no-ci/'
|
|
142
|
-
when: never
|
|
143
|
-
- if: '$CI_COMMIT_TAG'
|
|
144
|
-
when: always
|
|
145
|
-
|
|
146
|
-
docker-publish:
|
|
147
|
-
stage: publish
|
|
148
|
-
needs: [ "tests", "build" ]
|
|
149
|
-
image: docker:20.10.21-dind
|
|
150
|
-
services:
|
|
151
|
-
- docker:20.10.21-dind
|
|
152
|
-
variables:
|
|
153
|
-
BASE_NAME: ts-workspace
|
|
154
|
-
LATEST_NAME: ${BASE_NAME}-latest
|
|
155
|
-
before_script:
|
|
156
|
-
- apk add jq
|
|
157
|
-
- VERSION=$(cat package.json | jq -r '.version')
|
|
158
|
-
- IMAGE_NAME="${IMAGE_BASE_NAME}-${VERSION}"
|
|
159
|
-
- echo "Image name is ${IMAGE_NAME}"
|
|
160
|
-
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
|
161
|
-
script:
|
|
162
|
-
- echo "Building docker image to be published on $CI_REGISTRY."
|
|
163
|
-
- docker build --network host -t $CI_REGISTRY/decaf-ts/ts-workspace:${IMAGE_NAME} -t $CI_REGISTRY/decaf-ts/ts-workspace:${LATEST_NAME} -f Dockerfile .
|
|
164
|
-
- docker push $CI_REGISTRY/decaf-ts/ts-workspace:${IMAGE_NAME}
|
|
165
|
-
- docker push $CI_REGISTRY/decaf-ts/ts-workspace:${LATEST_NAME}
|
|
166
|
-
rules:
|
|
167
|
-
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_MESSAGE =~ /-no-ci/'
|
|
168
|
-
when: never
|
|
169
|
-
- if: '$CI_COMMIT_BRANCH == "master"'
|
|
170
|
-
changes:
|
|
171
|
-
- Dockerfile
|
|
172
|
-
|
|
173
|
-
pages:
|
|
174
|
-
stage: publish
|
|
175
|
-
cache:
|
|
176
|
-
- key: dependencies-$CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
|
|
177
|
-
paths:
|
|
178
|
-
- node_modules/
|
|
179
|
-
- .npm/
|
|
180
|
-
policy: pull
|
|
181
|
-
- key: test-$CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
|
|
182
|
-
paths:
|
|
183
|
-
- workdocs/coverage/
|
|
184
|
-
- workdocs/badges/
|
|
185
|
-
policy: pull
|
|
186
|
-
script:
|
|
187
|
-
- npm run docs
|
|
188
|
-
- mv docs public
|
|
189
|
-
artifacts:
|
|
190
|
-
paths:
|
|
191
|
-
- public
|
|
192
|
-
rules:
|
|
193
|
-
- if: '$CI_COMMIT_BRANCH == "master"'
|
|
194
|
-
changes:
|
|
195
|
-
- workdocs/**/*
|
|
196
|
-
- if: '$CI_COMMIT_TAG'
|
|
197
|
-
interruptible: true
|
package/.hintrc
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": [
|
|
3
|
-
"development"
|
|
4
|
-
],
|
|
5
|
-
"hints": {
|
|
6
|
-
"no-inline-styles": "off",
|
|
7
|
-
"typescript-config/consistent-casing": "off",
|
|
8
|
-
"meta-viewport": "off",
|
|
9
|
-
"compat-api/css": "off"
|
|
10
|
-
},
|
|
11
|
-
"browserslist": [
|
|
12
|
-
"defaults",
|
|
13
|
-
"not ie 11",
|
|
14
|
-
"not chrome <= 109",
|
|
15
|
-
"not ios_saf <= 18.3",
|
|
16
|
-
"not safari <= 18.3",
|
|
17
|
-
"not samsung <= 27"
|
|
18
|
-
]
|
|
19
|
-
}
|
package/.prettierrc
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/prettierrc",
|
|
3
|
-
"tabWidth": 2,
|
|
4
|
-
"printWidth": 100,
|
|
5
|
-
"singleQuote": true,
|
|
6
|
-
"semi": true,
|
|
7
|
-
"trailingComma": "es5",
|
|
8
|
-
"bracketSpacing": true,
|
|
9
|
-
"arrowParens": "always",
|
|
10
|
-
"endOfLine": "lf",
|
|
11
|
-
|
|
12
|
-
"overrides": [
|
|
13
|
-
{
|
|
14
|
-
"files": ["*.ts", "*.tsx"],
|
|
15
|
-
"options": {
|
|
16
|
-
"printWidth": 120
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"files": ["*.js", "*.jsx"],
|
|
21
|
-
"options": {
|
|
22
|
-
"printWidth": 100
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"files": ["*.html", "*.htm"],
|
|
27
|
-
"options": {
|
|
28
|
-
"printWidth": 80,
|
|
29
|
-
"tabWidth": 2,
|
|
30
|
-
"htmlWhitespaceSensitivity": "ignore",
|
|
31
|
-
"singleAttributePerLine": true
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"files": ["*.json"],
|
|
36
|
-
"options": {
|
|
37
|
-
"printWidth": 100
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"files": ["*.css", "*.scss", "*.less"],
|
|
42
|
-
"options": {
|
|
43
|
-
"printWidth": 100,
|
|
44
|
-
"tabWidth": 2,
|
|
45
|
-
"singleQuote": false
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
}
|