diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 33b32a7ad..8225ab3c7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -50,6 +50,12 @@ jobs: id: package-version uses: martinbeentjes/npm-get-version-action@master + - name: Deploy + + run: npm run prepublish:lib + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} + - name: Deploy run: npm run publish:lib diff --git a/angular.json b/angular.json index b2b0b9466..7e1720092 100644 --- a/angular.json +++ b/angular.json @@ -109,7 +109,7 @@ } } }, - "@swimlane/ngx-datatable": { + "@rbtechdev/ngx-datatable": { "projectType": "library", "root": "projects/swimlane/ngx-datatable", "sourceRoot": "projects/swimlane/ngx-datatable/src", diff --git a/package.json b/package.json index ec71cfeef..cd9d97154 100644 --- a/package.json +++ b/package.json @@ -5,13 +5,13 @@ "ng": "ng", "start": "ng serve", "build": "ng build", - "build:lib:prod": "ng build @swimlane/ngx-datatable --configuration production", + "build:lib:prod": "ng build @rbtechdev/ngx-datatable --configuration production", "copy-files": "cp README.md dist/swimlane/ngx-datatable/README.md && cp LICENSE dist/swimlane/ngx-datatable/LICENSE && cpx \"src/assets/**/*\" \"dist/swimlane/ngx-datatable/assets\" && cpx \"projects/swimlane/ngx-datatable/src/lib/themes/**/*\" \"dist/swimlane/ngx-datatable/themes\"", "build:css": "scss-bundle -c ./scss-bundle.config.json && node-sass -o dist/swimlane/ngx-datatable/themes dist/swimlane/ngx-datatable/themes && node-sass -o dist/swimlane/ngx-datatable dist/swimlane/ngx-datatable", "test": "run-p lint test:unit", - "test:unit": "ng test @swimlane/ngx-datatable --watch=false", - "test:watch": "ng test @swimlane/ngx-datatable", - "test:ci": "ng test @swimlane/ngx-datatable --watch=false --progress=false --browsers=ChromeHeadlessCI", + "test:unit": "ng test @rbtechdev/ngx-datatable --watch=false", + "test:watch": "ng test @rbtechdev/ngx-datatable", + "test:ci": "ng test @rbtechdev/ngx-datatable --watch=false --progress=false --browsers=ChromeHeadlessCI", "ci": "run-s lint prettier:ci test:ci", "lint": "ng lint", "e2e": "ng e2e", diff --git a/projects/swimlane/ngx-datatable/package.json b/projects/swimlane/ngx-datatable/package.json index 41624c01e..3d420f165 100644 --- a/projects/swimlane/ngx-datatable/package.json +++ b/projects/swimlane/ngx-datatable/package.json @@ -1,6 +1,6 @@ { "name": "@rbtechdev/ngx-datatable", - "version": "20.0.1", + "version": "20.0.2", "description": "ngx-datatable is an Angular table grid component for presenting large and complex data.", "peerDependencies": { "@angular/common": ">=11.0.2", diff --git a/tsconfig.json b/tsconfig.json index 2f36424d0..92a022b7b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,8 +17,8 @@ "esModuleInterop": true, "allowSyntheticDefaultImports": true, "paths": { - "@swimlane/ngx-datatable": ["dist/swimlane/ngx-datatable"], - "@swimlane/ngx-datatable/*": ["dist/swimlane/ngx-datatable/*"] + "@rbtechdev/ngx-datatable": ["dist/swimlane/ngx-datatable"], + "@rbtechdev/ngx-datatable/*": ["dist/swimlane/ngx-datatable/*"] } }, "angularCompilerOptions": {