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_modules
and temp folders with compiled files (if necessary) npm install
(from the root of this project)npm run clean:all
cd examples/angular-cli-18
npm install
cd ../..
cd examples/universal
npm install
cd ../..
cd examples/angular-cli-material
npm install
cd ../..
npm run build:all
npm test
npm start
=> if everything is ok (also in browser's console), kill the process and go to the next stepnpm run build:main:dev
cd 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:prod
cd 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-18
npm start
=> if everything is ok (also in browser's console), kill the process and go to the next stepnpm run build:dev
cd 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:prod
cd 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-material
npm start
=> if everything is ok (also in browser's console), kill the process and go to the next stepnpm run build:dev
cd 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:prod
cd 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/universal
npm run start
=> if everything is ok (also in browser's console), kill the process and go to the next stepnpm run build:dev
cd dist/universal/browser && lite-server
=> if everything is ok (also in browser's console), kill the process and go to the next stepcd ../../..
npm run build:prod
cd dist/universal/browser && lite-server
=> if everything is ok (also in browser's console), kill the process and go to the next stepcd ../../..
npm run serve:ssr
=> 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-gallery
npm version patch
(x.x.1) ornpm version minor
(x.1.0) ornpm version major
(5.x.x)cd ../..
npm run clean:all
npm run build:lib
cd @ks89/angular-modal-gallery
npm publish
git push origin master
git 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.json
with either this formatx.x.x-beta.x
orx.x.x-rc.x
(also respect semver!) cd ../..
npm run clean:all
npm run build:lib
cd @ks89/angular-modal-gallery
npm publish --tag beta
cd projects/ks89/angular-modal-gallery
- Manually change the version of
./package.json
with this formatx.x.x-alpha.x
(also respect semver!) cd ../..
npm run clean:all
npm run build:lib
cd @ks89/angular-modal-gallery
npm publish --tag next