{"_id":"@capiter-tech/portal-schematics","_rev":"12-9c2751756b4f7c8ad96db8bf8abd657b","time":{"created":"2022-02-02T19:23:56.506Z","0.0.1":"2022-01-31T15:14:29.744Z","modified":"2022-05-22T08:06:29.541Z","1.4.0":"2022-01-31T15:19:06.854Z","1.4.1":"2022-01-31T15:21:44.690Z","1.0.0":"2022-01-31T17:21:56.703Z","1.0.1":"2022-02-02T19:23:56.778Z"},"name":"@capiter-tech/portal-schematics","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@capiter-tech/portal-schematics","version":"1.0.1","description":"Collection for capiter portal schematics.","scripts":{"build":"tsc -p tsconfig.json","watch":"tsc -p tsconfig.json --watch","test":"npm run build && jasmine src/**/*_spec.js","commit":"cz","acp":"git add . && npm run commit && git push","semantic-release":"semantic-release"},"keywords":["schematics"],"author":"","license":"MIT","schematics":"./src/collection.json","dependencies":{"@angular-devkit/core":"^13.1.2","@angular-devkit/schematics":"^13.1.2","@schematics/angular":"^13.1.2","typescript":"~4.5.2"},"devDependencies":{"@types/jasmine":"~3.10.0","@types/node":"^12.11.1","commitizen":"^4.2.4","cz-conventional-changelog":"^3.3.0","jasmine":"^3.5.0","semantic-release":"^19.0.2"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"repository":{"type":"git","url":"git+https://github.com/capiter-tech/portal-schematic.git"},"publishConfig":{"access":"public"},"gitHead":"8d6c9c52be93c433a720c580f6b3392bada2999d","bugs":{"url":"https://github.com/capiter-tech/portal-schematic/issues"},"homepage":"https://github.com/capiter-tech/portal-schematic#readme","_id":"@capiter-tech/portal-schematics@1.0.1","_nodeVersion":"14.18.3","_npmVersion":"8.4.0","dist":{"integrity":"sha512-cn0jcg2gfJef0GGjDkiXB9+pGpex4Ely85V2vWUo0uWhNsM/AcGIx52rQU4WrG9i5DvBKxo/Gt6He+xi6gN/9Q==","shasum":"c2cbfff35a6c8cf6a6e1234a9fe5a88c3083ff1d","tarball":"https://registry.npmjs.org/@capiter-tech/portal-schematics/-/portal-schematics-1.0.1.tgz","fileCount":18,"unpackedSize":21898,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+tpMCRA9TVsSAnZWagAAOi0P/iFWQ8e3I1lOuPh5nmqd\nFK/yjiKACXSl+Yz/KjJZvMi1mUgj8P+TJGk7JKFfMMvjaQdbVmhh8g+pNjmP\nWwuRO2RQSMgqhkBBWnuW191F6HY9k+U/Ytn13jp2EmMf0V8fYz+mxzdiZj3r\nYzggE9lCYZjWR0Q/38Jwa/yv42d2jVmgWldqnyFsIOjdwabjbQZDkeDAWMTe\n3aBI9L7ayrZNH7+iffUgx+PQhYixjJ3cLFBCbCAtt6LOE1oJXEDbvIVojGO9\nuUl2hswTqT7Y1QSPMQO6HEOJ0h1jKc7xXX8W2eP2LvP+zRCCR2IFQ5dWZ5Vu\nn/5hUCAgKCNw5RZc5ON5SCp75qcej+cXvQWQJ+bEtepBaycBOm88awmXDrb5\njj0sM5bcO8abk2IKRBZwYlrJ1CBtcLLYDJ17pV8frWkWgELpPC2EFsqZ6Hsf\nHUoGxHj4oZ1T4kRxT+ucEJRglMonhT+/5oRfQFD+OYDWt6hnWajeWAU3Kdki\n2Q6rj1aeEkKvoYcCUPE7SOlVNUBmeHIs58yYNRCn2h/nJmu1gLEnx+xuarJ2\npIwR2Etc43QSeGhZxshjX23m8AWyINk7DeDT1Nq1Krrbr39fLM1uIIjyqPoc\nZ4Whl3lMT58bsTXryuhrkWGziz51aGHGrtnl21Ii2wAkfDtEqm5o5GgzsN4D\nIwua\r\n=sw79\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGCFJ3qiLUYFT5e8Se1u5W3R6wX6+GflxiVSo+BNJc7RAiByeCziOfOBBRXbUcCkJ1sPG8w1DntSxB+MAcu790lNHQ=="}]},"_npmUser":{"name":"islam-rostom","email":"islam.rostom@capiter.net"},"directories":{},"maintainers":[{"name":"islam-rostom","email":"islam.rostom@capiter.net"},{"name":"raghdagamal","email":"raghda.gamal@capiter.net"},{"name":"mofathy","email":"mohamed.fathi@capiter.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/portal-schematics_1.0.1_1643829836565_0.06635603636960075"},"_hasShrinkwrap":false}},"maintainers":[{"email":"emad.shaikh@capiter.net","name":"emad.sheikh"},{"email":"omar.salem@capiter.net","name":"omarslaem"},{"email":"shady.abdelhamid@capiter.net","name":"shady-abdelhamid"},{"email":"islam.rostom@capiter.net","name":"islam-rostom"},{"email":"mohamed.fathi@capiter.net","name":"mofathy"}],"description":"Collection for capiter portal schematics.","homepage":"https://github.com/capiter-tech/portal-schematic#readme","keywords":["schematics"],"repository":{"type":"git","url":"git+https://github.com/capiter-tech/portal-schematic.git"},"bugs":{"url":"https://github.com/capiter-tech/portal-schematic/issues"},"license":"MIT","readme":"# @capiter-tech/portal-schematics\n\nThis package contains a collection of angular schematics developed for the internal [Capiter portal](https://github.com/capiter-tech/portal).\n\n@capiter-tech/portal-schematics extends the official @schematics/angular by default. so that you can call the schematics available in this collection the same way you call the official angular schematics, check the usage section for more info.\n\n## Installation\n\n1. Install portal-schematics\n\n   ```bash\n   npm i --save-dev @capiter-tech/portal-schematics\n   ```\n\n2. Aliases (Optional)\n\n   - set @capiter-tech/portal-schematics as the default collection. Update your project's `angular.json`:\n\n     ```json\n     \"cli\": {\n         \"defaultCollection\": \"@capiter-tech/portal-schematics\"\n     }\n     ```\n\n   - provide default options, in the same way they are supplied for @angular/schematics:\n\n     ```json\n     \"schematics\": {\n         \"@schematics/angular:component\": {\n             \"style\": \"scss\"\n         },\n         \"@portal-schematics:component\": {\n             \"style\": \"scss\"\n         }\n     },\n     ```\n\n3. Ready?\n\n## Usage\n\nif you followed step 2 in installation section then you can start using the schematics available in this collection the same way you use the offical Angular schematics\n\n```bash\nng g <schematic-name> <inputs>\n```\n\nExample:\n\n```bash\nng g listing-with-filter vendor-returns\n```\n\nif you didn't follow step 2 then you need to call the schematic this way\n\n```bash\nng g @capiter-tech/portal-schematics:<schematic-name> <inputs>\n```\n\nExample:\n\n```bash\nng g @capiter-tech/portal-schematics:listing-with-filter vendor-returns\n```\n\n## Schematics\n\n### Listing with filter\n\nthis schematic creates a listing component and a child filter component inside the module this schematic is executed in or by passing the path of the module you would like to create those components in.\n\n#### Inputs\n\n| key  | description                                              |\n| ---- | -------------------------------------------------------- |\n| name | name of the feature or the listing view you are building |\n\n#### Usage\n\n1. CD into the module then call ng g with the schematic name\n\n   ```bash\n   cd src/app/components/picking\n   ng g listing-with-filter products\n   ```\n\n2. or call it using the alias\n\n   ```bash\n   cd src/app/components/picking\n   ng g lf products\n   ```\n","readmeFilename":"README.md"}