{"_id":"@briebug/mat-dialog-schematic","_rev":"8-e7a1aa2faeca24ed6e42f903b5153758","name":"@briebug/mat-dialog-schematic","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@briebug/mat-dialog-schematic","version":"1.0.0","keywords":["schematics","angular","material","dialog"],"author":{"name":"Briebug"},"license":"MIT","_id":"@briebug/mat-dialog-schematic@1.0.0","maintainers":[{"name":"anthonyjones0519","email":"anthonyjones0519@gmail.com"},{"name":"jessesanders","email":"jesse.sanders@briebug.com"},{"name":"schuchard","email":"schuchard.kevin@gmail.com"},{"name":"inorganik","email":"jamie.perkins@gmail.com"},{"name":"blove","email":"brian@brianflove.com"},{"name":"jrista","email":"jon.rista@briebug.com"}],"homepage":"https://github.com/briebug/mat-dialog-schematic","bugs":{"url":"https://github.com/briebug/mat-dialog-schematic/issues"},"dist":{"shasum":"6c09c8d0bad41c03735037cb4d9c2bf6354d646e","tarball":"https://registry.npmjs.org/@briebug/mat-dialog-schematic/-/mat-dialog-schematic-1.0.0.tgz","fileCount":28,"integrity":"sha512-6mRUPwZGSxy9VjGR70f37bV6Zvn1nW+Jjg3MSm4vbaJcug+8+Xkh8Th12ZLWDBrit54i3MDA9I2Ru8BXuhqzGw==","signatures":[{"sig":"MEQCIBfIgHhUD+n3USVw3M/7A0H+E1VLZjlEX3lwqLK/khIZAiBKUcyAz9QAWbIyDEbr1yZ1u0XxC2rdbenpUzImTE+tEw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":100333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTyJACRA9TVsSAnZWagAAR/EP/Arg1tXX6XErAT/1JNjf\n9VJoExPm9Fmkg29MXLad1dx5VXQ1zBqxuu1r8zvQveX/Wkc5MNx0iVdIh0ZW\npKB20yp5tU6LodnLZXhq7h3ZGqYUFso6olAH5RsT0QhkOPQPUqd37kxBTiq9\nQH5Fq8DEWCIvqi03S6JHl1aLgLogyaTe0zxbR2CifbJdAOk85xTD4cwRggci\nqNfzxOYQP24jpAMT4Coj5LnmLCBepvKI78Q9Ez0V5iWwTRpiMegtorh3i3z+\nQSGJbBW80LAUL//fgYjJeltlyeQkXlg/eYoeE9zX3pIb2HtPX8eCGZnPzAUq\nF1qFtkDiYocDTA9tZ9AjKDR9mu7XgZ6JGfNu+h2DgxGK9DJo4pv7Dp9xL5DF\nNhY7EudtgMdfjzHybgJYTE0VT5mCQIE3q5ogbfm0pL8EU/xx4kFIWOMlpLzu\nFZJYbr9hWr5OVgCqoighCHKJ2eiksUTqYCkid+a6h2IFVBbAxZdSMRrrapZ6\nt4Sv+h4oe7Jxigv2woNKGNI6AxBadexDZKXqkA311yVc4HXNCrccZmfIyA5Q\nwMawgBrib/LM4S8k+y3s58zFQzzg6wOGb6SqLkZDeARASsYaEmu+M47QmM1L\nXMq6ovFpkK9czUtMraGOT+9wcoSyjbEh8a/bMXrbfUYASD3ZicqVmSZAaGBr\nkIE6\r\n=23/H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/mat-dialog/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"gitHead":"15df9ade235ab41bedeb45fe1efc9dbb0108dc95","scripts":{"test":"yarn build:clean:launch && yarn test:sandbox && yarn clean","build":"tsc -p tsconfig.json","clean":"git checkout HEAD -- sandbox && git clean -f -d sandbox","launch":"cd sandbox && ng g @briebug/mat-dialog-schematic:mat-dialog","publish":"np","test:unit":"yarn build && jasmine src/**/*_spec.js","clean:launch":"yarn clean && yarn launch","test:sandbox":"cd sandbox && yarn lint && yarn test && yarn e2e && yarn build","link:schematic":"yarn link && cd sandbox && yarn link @briebug/mat-dialog-schematic","build:clean:launch":"yarn build && yarn clean:launch"},"_npmUser":{"name":"anthonyjones0519","email":"anthonyjones0519@gmail.com"},"repository":{"url":"git+https://github.com/briebug/mat-dialog-schematic.git","type":"git"},"schematics":"./src/collection.json","_npmVersion":"6.5.0","description":"A schematic for generating mat dialog components","directories":{},"lint-staged":{"*.{js,json,md,ts}":["git add"]},"_nodeVersion":"11.7.0","dependencies":{"rxjs":"^6.3.3","@schematics/angular":"^7.2.3","@angular-devkit/core":"^7.2.3","@angular-devkit/schematics":"^7.2.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"1.3.1","jasmine":"^3.3.1","prettier":"1.16.1","typescript":"~3.2.4","@types/node":"^10.12.18","lint-staged":"8.1.0","@types/jasmine":"^3.3.7","@angular/material":"^7.2.2"},"_npmOperationalInternal":{"tmp":"tmp/mat-dialog-schematic_1.0.0_1548689983637_0.6684496775064168","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@briebug/mat-dialog-schematic","version":"1.0.1","keywords":["schematics","angular","material","dialog"],"author":{"name":"Briebug"},"license":"MIT","_id":"@briebug/mat-dialog-schematic@1.0.1","maintainers":[{"name":"anthonyjones0519","email":"anthonyjones0519@gmail.com"},{"name":"blove","email":"brian@brianflove.com"},{"name":"inorganik","email":"jamie.perkins@gmail.com"},{"name":"jessesanders","email":"jesse.sanders@briebug.com"},{"name":"jrista","email":"jon.rista@briebug.com"},{"name":"schuchard","email":"schuchard.kevin@gmail.com"}],"homepage":"https://github.com/briebug/mat-dialog-schematic","bugs":{"url":"https://github.com/briebug/mat-dialog-schematic/issues"},"dist":{"shasum":"5e4f625fc6a1ed3fd15acb1121f6cbcae6cb886c","tarball":"https://registry.npmjs.org/@briebug/mat-dialog-schematic/-/mat-dialog-schematic-1.0.1.tgz","fileCount":34,"integrity":"sha512-w5KTyqCgGGAoJEKufvThzo65Bc4C5dZL5kTHn6vXVXKZL0yW/gZrL1kt15hTg5TEk2gn90rULw+FKxEhxz6mGw==","signatures":[{"sig":"MEUCIQDhjPfMII1bHOcjWrkYZfjZ5rhnP+UqQNfHNi6RRv5N8AIgaaGdNkcqYsFUeBy9oAw15aSG0RNTQm+ZBt4PkRNNf20=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32821,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT4bHCRA9TVsSAnZWagAAA3YP/1VIFJw074Nk6SORDZiZ\np01ElO7g1mSAOe7AbKV0mBOLMmCpSIIX4aC+/WtAFeB4fD9hVjI7wP/geJha\na2jcKfoCr4ChJ0hZ0F6k09KywpIvfmP0gIZryUyPDCjJr9n51viBPFj8OdRC\nMAZimFPR8DoLhZHlA4Za+XQuIwJ1M6/kIMHkSiqWX2RJKKQkaJ0leSJe4jZ+\na7KGXfkfp8Fal+jWt3YTnZB6yBGtj3P2q+AlcCXqO5hbhuu0uUFw5dcdCrdz\nrk2tfPLTpAUgVrCsuBLjZyVmI1EkcZ7s5Wh8l3axWNpVqbz4s0fOs18ziy5d\nU7VmTaO7ytQdnTaFLcqMIw8v8dX5+IgQlmlntVxRhxEIv5qWg23XLCjUBtkF\n+6UEUj8+SY8CIVYyNGdTyfLDoEpRvWkCyNQtM0F3Qpw43Kk9Ag/qBXhAj//Y\nuAebUGoYfJDy/55ScW9bjt5zFJ7KMoOXUWn82JBDoLRE969sx65HqwX88YEW\n/vIgIoAVKYwT+sAYhCaqgB3+kPIEyA9at74SWIotzSWDLiToV46Vz57eppc2\n9deIDRfReW4e0oN5gthjTb0KHZyVVoVtm+TcepqFS2bfRV2h+JIdIHOVkm3N\nwPHuWVRRqgQltVkBRlRMaxjuCIomI7hpMqCddczd8+DJnXRanJ3yscpAesm3\nR0vt\r\n=9Ycs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/mat-dialog/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"scripts":{"test":"yarn build:clean:launch && yarn test:sandbox && yarn clean","build":"tsc -p tsconfig.json","clean":"git checkout HEAD -- sandbox && git clean -f -d sandbox","launch":"cd sandbox && ng g @briebug/mat-dialog-schematic:mat-dialog test-name","publish":"np","test:unit":"yarn build && jasmine src/**/*_spec.js","clean:launch":"yarn clean && yarn launch","test:sandbox":"cd sandbox && yarn lint && yarn test && yarn e2e && yarn build","link:schematic":"yarn link && cd sandbox && yarn link @briebug/mat-dialog-schematic","build:clean:launch":"yarn build && yarn clean:launch"},"_npmUser":{"name":"anthonyjones0519","email":"anthonyjones0519@gmail.com"},"repository":{"url":"https://github.com/briebug/mat-dialog-schematic.git","type":"git"},"schematics":"./src/collection.json","description":"A schematic for generating mat dialog components","directories":{},"lint-staged":{"*.{js,json,md,ts}":["git add"]},"dependencies":{"rxjs":"^6.3.3","@angular/cdk":"^7.2.2","@angular/material":"^7.2.2","@schematics/angular":"^7.2.3","@angular-devkit/core":"^7.2.3","@angular-devkit/schematics":"^7.2.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"1.3.1","jasmine":"^3.3.1","prettier":"1.16.1","typescript":"~3.2.4","@types/node":"^10.12.18","lint-staged":"8.1.1","@types/jasmine":"^3.3.7"},"_npmOperationalInternal":{"tmp":"tmp/mat-dialog-schematic_1.0.1_1548715718965_0.1452918334294484","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@briebug/mat-dialog-schematic","version":"1.0.2","keywords":["schematics","angular","material","dialog"],"author":{"name":"Briebug"},"license":"MIT","_id":"@briebug/mat-dialog-schematic@1.0.2","maintainers":[{"name":"anthonyjones0519","email":"anthonyjones0519@gmail.com"},{"name":"blove","email":"brian@brianflove.com"},{"name":"inorganik","email":"jamie.perkins@gmail.com"},{"name":"jessesanders","email":"jesse.sanders@briebug.com"},{"name":"jrista","email":"jon.rista@briebug.com"},{"name":"schuchard","email":"schuchard.kevin@gmail.com"}],"homepage":"https://github.com/briebug/mat-dialog-schematic","bugs":{"url":"https://github.com/briebug/mat-dialog-schematic/issues"},"dist":{"shasum":"3c6da9a840bf1709e1ade0e0ad3680362da7c3d0","tarball":"https://registry.npmjs.org/@briebug/mat-dialog-schematic/-/mat-dialog-schematic-1.0.2.tgz","fileCount":34,"integrity":"sha512-fWkqNyntATciZp7aZ4hg2Mhff1VQos4M2UAP1rbp5HffnZi5EQ9vNAX+3FDwVKieyEVls+eTDaesTQ09AzpQmw==","signatures":[{"sig":"MEQCIBz4ao46Sz2kaAgWaE4KxahFcLtIJbKJmiGKX/XNDOmjAiBreEv8E/8V59aURxONXy4UOXhQr2U6UVDEBcFI9hQ0/w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT483CRA9TVsSAnZWagAAII4QAJk8pmiLK6U8iFq7zGoV\nqraOal1OKEdsLTP/7W1fcjlzU0kV98PLgJLZSEUR69Nk5DvCvsUihnVSaLb6\nnXvc534G9x70Fuh3rRT3ODPR9GFE0Ft82vfrkSm0bjqCTVeVwLYQ1eSvr/LQ\nGCpxDe/oZr1tXdDYy/yV0NMQX5u6TfUK+OZ5tc5Fh430FqTaILp4GbdJPJwC\n4AGHe65dtcfeLF4qj4QbE2TgsSjmDfxJcMHMv6Y4GLddEZbHQeXnjbe3j4fh\neb1Eazjcl3p8Muj6++Ql8IW3AIhfiNc0cS/QmtbfmNwPzTe7SKEKPWBz8SHg\nyTjzyi+DD3RKR0FgW0el4vYHivKxsJNelTqBRcysG1lS8SI+rcq9vHeAN7zx\nNG9AoFnH/sZaqpXruZLP4SCsExOIzdPYJAo4YRw7jof9dyuGjkpE/2jNxWv8\nx7EiurXjAPlQOsHkcSs5Qc2amkuSe0UqdxuF4xwSRdpp1WDhSC9VOeQEaq/r\n4LF3wwiy6hYz/IqzrjEF5HM8ajEOsxaIrf6g+y78G0yDanOEUm92sWcQ01rV\necvfB0B9ChSs8ih5nf380pocbOZGYzI2ZAmv6I0xA6ecVyH+6IFCHlTdUpvV\npooEEMDhHIJk2ZHkh6wB+OBiSMQ5HqONitFHqZGbNYNSKi0TdYzW14xCs6yY\nPbTd\r\n=luyb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/mat-dialog/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"scripts":{"test":"yarn build:clean:launch && yarn test:sandbox && yarn clean","build":"tsc -p tsconfig.json","clean":"git checkout HEAD -- sandbox && git clean -f -d sandbox","launch":"cd sandbox && ng g @briebug/mat-dialog-schematic:mat-dialog test-name","publish":"np","test:unit":"yarn build && jasmine src/**/*_spec.js","clean:launch":"yarn clean && yarn launch","test:sandbox":"cd sandbox && yarn lint && yarn test && yarn e2e && yarn build","link:schematic":"yarn link && cd sandbox && yarn link @briebug/mat-dialog-schematic","build:clean:launch":"yarn build && yarn clean:launch"},"_npmUser":{"name":"anthonyjones0519","email":"anthonyjones0519@gmail.com"},"repository":{"url":"https://github.com/briebug/mat-dialog-schematic.git","type":"git"},"schematics":"./src/collection.json","description":"A schematic for generating mat dialog components","directories":{},"lint-staged":{"*.{js,json,md,ts}":["git add"]},"dependencies":{"rxjs":"^6.3.3","@angular/cdk":"^7.2.2","@angular/material":"^7.2.2","@schematics/angular":"^7.2.3","@angular-devkit/core":"^7.2.3","@angular-devkit/schematics":"^7.2.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"1.3.1","jasmine":"^3.3.1","prettier":"1.16.1","typescript":"~3.2.4","@types/node":"^10.12.18","lint-staged":"8.1.1","@types/jasmine":"^3.3.7"},"_npmOperationalInternal":{"tmp":"tmp/mat-dialog-schematic_1.0.2_1548717879270_0.6364440111185363","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-01-28T15:39:43.464Z","modified":"2026-01-31T15:55:39.715Z","1.0.0":"2019-01-28T15:39:43.733Z","1.0.1":"2019-01-28T22:48:39.098Z","1.0.2":"2019-01-28T23:24:39.429Z"},"bugs":{"url":"https://github.com/briebug/mat-dialog-schematic/issues"},"author":{"name":"Briebug"},"license":"MIT","homepage":"https://github.com/briebug/mat-dialog-schematic","keywords":["schematics","angular","material","dialog"],"repository":{"url":"https://github.com/briebug/mat-dialog-schematic.git","type":"git"},"description":"A schematic for generating mat dialog components","maintainers":[{"email":"schuchard.kevin@gmail.com","name":"schuchard"},{"email":"anthonyjones0519@gmail.com","name":"anthonyjones0519"},{"email":"jesse.sanders@briebug.com","name":"jessesanders"}],"readme":"# Mat Dialog Angular Schematic\n\n[![npm (scoped)](https://img.shields.io/npm/v/@briebug/mat-dialog-schematic.svg)](https://www.npmjs.com/package/@briebug/mat-dialog-schematic)\n\nGenerate [Angular Material Dialogs](https://material.angular.io/components/dialog/overview) in an Angular CLI project\n\nThis schematic will:\n\n- install @angular/material if not already installed\n- generate a component from which the dialog is launched, as well as the dialog component itself\n- handle the declaration, export, and entryComponent requirements for the 2 components\n- import the MatButton, MatDialog, and BrowserAnimations modules if not already installed\n\n## Usage 🚀\n\nInstall globally\n\n```shell\nnpm install -g @briebug/mat-dialog-schematic\n```\n\nThen in an Angular CLI project run\n\n```shell\nng g @briebug/mat-dialog-schematic:mat-dialog {name}\n```\n\n## Issues\n\nIssues with this schematic can be filed [here](https://github.com/briebug/mat-dialog-schematic/issues/new/choose).\n\n## Development 🛠\n\n### Getting started\n\n⚙ [Yarn](https://yarnpkg.com/en/docs/install#mac-stable) is required for the scripts. Make sure it's installed on your machine.\n\n⬇ **Install** the dependencies for the schematic and the sandbox application\n\n```bash\nyarn && cd sandbox && yarn && cd ..\n```\n\n🖇 **Link** the schematic in the sandbox to run locally\n\n```bash\nyarn link:schematic\n```\n\n🏃 **Run** the schematic\n\n```bash\nyarn build:clean:launch\n```\n\nTo execute an example schematic, make sure you've ran the **Install** and **Link** steps above. Then run the following and inspect the changed files.\n\n```bash\ngit checkout component-license && yarn build:clean:launch\n```\n\n## E2E testing\n\nExecute the schematic against the sandbox. Then run linting, unit & e2e tests and a prod build in the sandbox.\n\n```bash\nyarn test\n```\n\n## Unit Testing\n\nRun the unit tests using Jasmine as a runner and test framework.\n\n```bash\nyarn test:unit\n```\n\n## Reset the sandbox\n\nRunning the schematic locally makes file system changes. The sandbox is version controlled so that viewing a diff of the changes is trivial. After the schematic has run locally, reset the sandbox with the following.\n\n```bash\nyarn clean\n```\n\n_Note: if you're using the `schematics` CLI mentioned below, you can execute the schematic in a dry run mode._\n\n## Change the Schematic name\n\n1. do a global search and replace for `schematic-starter` and `schematicStarter` with the new name.\n2. change the folder name from `./src/schematic-starter/...` to `./src/NEW_NAME/...`\n3. run `yarn link:schematic` to set up local package linking for the sandbox\n\n## Optional - Testing with the Schematics CLI\n\nTo test locally, install `@angular-devkit/schematics-cli` globally and use the `schematics` command line tool. That tool acts the same as the `generate` command of the Angular CLI but also has a debug mode.\n\nCheck the documentation with\n\n```bash\nschematics --help\n```\n\n## Publishing\n\nTo publish, simply do:\n\n```bash\nnpm run build\nnpm publish\n```\n","readmeFilename":"README.md"}