@nsshunt/stsconfig 1.3.1 → 1.3.5
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.
- package/.github/workflows/npm-publish.yml +16 -16
- package/package.json +4 -3
- package/stsconfig.js +3 -0
|
@@ -35,19 +35,19 @@ jobs:
|
|
|
35
35
|
env:
|
|
36
36
|
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
37
37
|
|
|
38
|
-
publish-gpr:
|
|
39
|
-
needs: build
|
|
40
|
-
runs-on: ubuntu-latest
|
|
41
|
-
permissions:
|
|
42
|
-
contents: read
|
|
43
|
-
packages: write
|
|
44
|
-
steps:
|
|
45
|
-
- uses: actions/checkout@v2
|
|
46
|
-
- uses: actions/setup-node@v2
|
|
47
|
-
with:
|
|
48
|
-
node-version: 16
|
|
49
|
-
registry-url: https://npm.pkg.github.com/
|
|
50
|
-
- run: npm ci
|
|
51
|
-
- run: npm publish
|
|
52
|
-
env:
|
|
53
|
-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
38
|
+
# publish-gpr:
|
|
39
|
+
# needs: build
|
|
40
|
+
# runs-on: ubuntu-latest
|
|
41
|
+
# permissions:
|
|
42
|
+
# contents: read
|
|
43
|
+
# packages: write
|
|
44
|
+
# steps:
|
|
45
|
+
# - uses: actions/checkout@v2
|
|
46
|
+
# - uses: actions/setup-node@v2
|
|
47
|
+
# with:
|
|
48
|
+
# node-version: 16
|
|
49
|
+
# registry-url: https://npm.pkg.github.com/
|
|
50
|
+
# - run: npm ci
|
|
51
|
+
# - run: npm publish
|
|
52
|
+
# env:
|
|
53
|
+
# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nsshunt/stsconfig",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "stsconfig.js",
|
|
6
6
|
"dependencies": {
|
|
7
|
+
"colors": "^1.4.0",
|
|
7
8
|
"debug": "^4.3.2",
|
|
8
9
|
"dotenv": "^10.0.0",
|
|
9
10
|
"yaml": "^1.10.2"
|
|
@@ -16,8 +17,8 @@
|
|
|
16
17
|
"@babel/eslint-parser": "^7.15.8",
|
|
17
18
|
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
|
18
19
|
"@babel/plugin-proposal-private-methods": "^7.14.5",
|
|
19
|
-
"eslint": "^8.0.
|
|
20
|
-
"jest": "^27.
|
|
20
|
+
"eslint": "^8.0.1",
|
|
21
|
+
"jest": "^27.3.0"
|
|
21
22
|
},
|
|
22
23
|
"scripts": {
|
|
23
24
|
"lint": "eslint . --ext js,jsx,ts,tsx --fix",
|
package/stsconfig.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const YAML = require('yaml');
|
|
2
2
|
const { accessSync, constants, readFileSync } = require('fs');
|
|
3
3
|
const debug = require('debug')(`proc:${process.pid}`);
|
|
4
|
+
require('colors');
|
|
4
5
|
|
|
5
6
|
// Add tthe STSENVFILE to script run commands in order to use the require .env file for configuration
|
|
6
7
|
let envfile = (process.env.STSENVFILE === undefined ? '../stsglobalresources/.env' : process.env.STSENVFILE);
|
|
@@ -121,6 +122,8 @@ const defconfig =
|
|
|
121
122
|
,rest01email: (process.env.REST01_EMAIL === undefined ? "K6TestUser@sts" : process.env.REST01_EMAIL)
|
|
122
123
|
// STSREST01 Server (UICS) username password
|
|
123
124
|
,rest01password: (process.env.REST01_PASSWORD === undefined ? "K6TestUserPassword" : process.env.REST01_PASSWORD)
|
|
125
|
+
// STSREST01 Service Name
|
|
126
|
+
,rest01servicename: (process.env.REST01_SERVICE_NAME === undefined ? "STSRest01" : process.env.REST01_SERVICE_NAME)
|
|
124
127
|
|
|
125
128
|
// UI Console Server (UICS) endpoint
|
|
126
129
|
,uicsendpoint: (process.env.UICS_ENDPOINT === undefined ? "http://localhost" : process.env.UICS_ENDPOINT)
|