plac-micro-common 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,35 @@
1
+ name: Publish to npm
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ paths:
8
+ - "src/**"
9
+ - "package.json"
10
+ - "tsconfig.json"
11
+
12
+ jobs:
13
+ publish:
14
+ runs-on: ubuntu-latest
15
+
16
+ steps:
17
+ - name: Checkout repository
18
+ uses: actions/checkout@v3
19
+
20
+ - name: Use Node.js
21
+ uses: actions/setup-node@v3
22
+ with:
23
+ node-version: 18
24
+ registry-url: "https://registry.npmjs.org/"
25
+
26
+ - name: Install dependencies
27
+ run: npm install
28
+
29
+ - name: Build package
30
+ run: npm run build
31
+
32
+ - name: Publish to npm
33
+ run: npm publish --access public
34
+ env:
35
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -1,4 +1,5 @@
1
1
  export declare enum APP_CODES {
2
2
  E_APP = "E-APP",
3
- HRMS = "HRMS"
3
+ HRMS = "HRMS",
4
+ PLAC_ADMIN = "PLAC-ADMIN"
4
5
  }
@@ -5,4 +5,5 @@ var APP_CODES;
5
5
  (function (APP_CODES) {
6
6
  APP_CODES["E_APP"] = "E-APP";
7
7
  APP_CODES["HRMS"] = "HRMS";
8
+ APP_CODES["PLAC_ADMIN"] = "PLAC-ADMIN";
8
9
  })(APP_CODES || (exports.APP_CODES = APP_CODES = {}));
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "plac-micro-common",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
7
7
  "build": "tsc",
8
- "version:patch": "npm version patch",
8
+ "v:patch": "npm version patch",
9
+ "v:minor": "npm version minor",
10
+ "v:major": "npm version major",
9
11
  "publish:public": "npm publish --access public",
10
12
  "test": "echo \"Error: no test specified\" && exit 1"
11
13
  },