Sometimes, shy developers have wonderful ideas. So don't be shy and open an issue! :)
If you want to help me, modify the source code, but before to create a pull request, follow these steps
Attention! This is really important
Every time you'll run npm install inside an example's folder, you must rebuild all with npm run build:all
npm install -g lite-server @angular/cli@latest- remove all
node_modulesand temp folders with compiled files (if necessary) npm install(from the root of this project)npm run clean:allcd examples/angular-cli-22npm installcd ../..cd examples/universalnpm installcd ../..cd examples/angular-cli-materialnpm installcd ../..npm run build:allnpm test
npm start=> if everything is ok (also in browser's console), kill the process and go to the next stepnpm run build:main:devcd dist/angular-modal-gallery/browser && lite-server=> if everything is ok (also in browser's console), kill the process and go to the next stepcd ../../..npm run build:main:prodcd dist/angular-modal-gallery/browser && lite-server=> if everything is ok (also in browser's console), kill the process and go to the next stepcd ../../../../..
cd examples/angular-cli-22npm start=> if everything is ok (also in browser's console), kill the process and go to the next stepnpm run build:devcd dist/angular-cli/browser && lite-server=> if everything is ok (also in browser's console), kill the process and go to the next stepcd ../../..npm run build:prodcd dist/angular-cli/browser && lite-server=> if everything is ok (also in browser's console), kill the process and go to the next stepcd ../../../../..
cd examples/angular-cli-materialnpm start=> if everything is ok (also in browser's console), kill the process and go to the next stepnpm run build:devcd dist/angular-cli/browser && lite-server=> if everything is ok (also in browser's console), kill the process and go to the next stepcd ../../..npm run build:prodcd dist/angular-cli/browser && lite-server=> if everything is ok (also in browser's console), kill the process and go to the next stepcd ../../../../..
cd examples/universalnpm start=> if everything is ok (also in browser's console), kill the process and go to the next stepnpm run build:devnpm run serve:ssr:universal=> if everything is ok (also in browser's console), kill the process and go to the next stepnpm run build:prodnpm run serve:ssr:universal=> if everything is ok (also in browser's console), kill the process and go to the next stepcd ../..
- If it is ok, create your pull request specifying all the details
cd projects/ks89/angular-modal-gallerynpm version patch(x.x.1) ornpm version minor(x.1.0) ornpm version major(5.x.x)cd ../..npm run clean:allnpm run build:libcd @ks89/angular-modal-gallerynpm publishgit push origin mastergit push origin vx.x.x<-- tag name created by npm version (for instance v5.0.1)
cd projects/ks89/angular-modal-gallery- Manually change the version of
./package.jsonwith either this formatx.x.x-beta.xorx.x.x-rc.x(also respect semver!) cd ../..npm run clean:allnpm run build:libcd @ks89/angular-modal-gallerynpm publish --tag beta
cd projects/ks89/angular-modal-gallery- Manually change the version of
./package.jsonwith this formatx.x.x-alpha.x(also respect semver!) cd ../..npm run clean:allnpm run build:libcd @ks89/angular-modal-gallerynpm publish --tag next