diff --git a/DEVELOPER.md b/DEVELOPER.md index e8e69c65..23677ef8 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -112,6 +112,9 @@ You may need to have the following: ## Release ```sh +# Change to `lib` directory +cd lib + # this will create a new version and push to remote repository npm version [ | major | minor | patch] diff --git a/package.json b/package.json index 025c1bf7..7fddb11d 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "demo:test-ci": "ng test --no-watch --no-progress --browsers=ChromeHeadless", "lib:schematics:build": "rimraf dist/lib/schematics && tsc -p lib/schematics/tsconfig.json && copyfiles lib/schematics/{src/collection.json,src/ng-add/schema.json} dist", "demo:build:prod": "npm run clean && ng build angular-datatables-demo --configuration production --base-href=/angular-datatables", - "version": "npm run build && git add -A", + "version": "npm run build:lib && git add -A", "postversion": "git push && git push --tags" }, "keywords": [