@payzen/payzen-server-app 1.19.0 → 1.21.0
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/README.md +2 -2
- package/package.json +32 -25
package/README.md
CHANGED
|
@@ -25,8 +25,7 @@ After setting these values, run `pz publish` and `pz deploy`.
|
|
|
25
25
|
## Prerequisites
|
|
26
26
|
|
|
27
27
|
- **Payzen CLI**: Ensure that you have the Payzen CLI installed and configured correctly on your system.
|
|
28
|
-
|
|
29
|
-
Actions.
|
|
28
|
+
env Actions.
|
|
30
29
|
- **Kubernetes Authentication**: Proper authentication credentials for Kubernetes must be configured to allow
|
|
31
30
|
deployments on your infrastructure.
|
|
32
31
|
|
|
@@ -35,6 +34,7 @@ After setting these values, run `pz publish` and `pz deploy`.
|
|
|
35
34
|
Utilize the following Payzen CLI commands that have been tested and are supported:
|
|
36
35
|
|
|
37
36
|
- `pz publish`: Prepares and publishes the server image.
|
|
37
|
+
- publish is not currently configured for remote publish, so `--publish-mode local` is required
|
|
38
38
|
- `pz deploy`: Deploys the server on the Kubernetes infrastructure.
|
|
39
39
|
|
|
40
40
|
## Testing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@payzen/payzen-server-app",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.0",
|
|
4
4
|
"description": "k8s deployment descriptor files for pzs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -12,28 +12,22 @@
|
|
|
12
12
|
"deployment"
|
|
13
13
|
],
|
|
14
14
|
"engines": {
|
|
15
|
-
"node": ">=20"
|
|
15
|
+
"node": ">=20",
|
|
16
|
+
"pnpm": ">=10"
|
|
17
|
+
},
|
|
18
|
+
"devEngines": {
|
|
19
|
+
"packageManager": {
|
|
20
|
+
"name": "pnpm",
|
|
21
|
+
"onFail": "error"
|
|
22
|
+
}
|
|
16
23
|
},
|
|
17
24
|
"config": {
|
|
18
|
-
"pzsRevision": "
|
|
25
|
+
"pzsRevision": "812fe49117c91f123add7b600dfa1ac0c8a71fb3",
|
|
19
26
|
"pzsBranch": "production"
|
|
20
27
|
},
|
|
21
28
|
"publishConfig": {
|
|
22
29
|
"access": "restricted"
|
|
23
30
|
},
|
|
24
|
-
"scripts": {
|
|
25
|
-
"clean": "npm run clean:ts && rm -rf build tsconfig.build.tsbuildinfo",
|
|
26
|
-
"clean:ts": "tsc --build --clean",
|
|
27
|
-
"build": "npm run clean && npm run build:docker",
|
|
28
|
-
"build:ts": "tsc -p tsconfig.build.json",
|
|
29
|
-
"build:docker": "./publish-script.sh ${npm_package_config_pzsBranch} ${npm_package_config_pzsRevision} ${npm_package_version} build",
|
|
30
|
-
"test": "npm run lint && npm run test:jest",
|
|
31
|
-
"test:jest": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
|
|
32
|
-
"lint": "npm run lint:scripts",
|
|
33
|
-
"lint:scripts": "eslint test/",
|
|
34
|
-
"postpublish": "npm run publish:docker",
|
|
35
|
-
"publish:docker": "./publish-script.sh ${npm_package_config_pzsBranch} ${npm_package_config_pzsRevision} ${npm_package_version}"
|
|
36
|
-
},
|
|
37
31
|
"author": "Dima <dima@payzen.com>",
|
|
38
32
|
"license": "UNLICENSED",
|
|
39
33
|
"repository": {
|
|
@@ -42,32 +36,45 @@
|
|
|
42
36
|
},
|
|
43
37
|
"devDependencies": {
|
|
44
38
|
"@jest/globals": "^29.0.0",
|
|
45
|
-
"@payzen/buildkit": "^1.0
|
|
39
|
+
"@payzen/buildkit": "^1.14.0",
|
|
40
|
+
"@payzen/docker-compose-testkit": "^1.10.0",
|
|
46
41
|
"@payzen/docker-internal-utils": "^2.0.5",
|
|
47
42
|
"@payzen/eslint-plugin": "^6.0.0",
|
|
48
|
-
"@payzen/got-commons": "^7.0
|
|
49
|
-
"@payzen/jest-plugin": "^29.0
|
|
50
|
-
"@payzen/payzen-deployment": "^3.
|
|
43
|
+
"@payzen/got-commons": "^7.4.0",
|
|
44
|
+
"@payzen/jest-plugin": "^29.8.0",
|
|
45
|
+
"@payzen/payzen-deployment": "^3.31.3",
|
|
51
46
|
"@payzen/prettier-config": "^1.0.1",
|
|
52
47
|
"@payzen/typescript-config": "^3.0.2",
|
|
53
48
|
"@types/node": "^22.0.0",
|
|
54
|
-
"@payzen/docker-compose-testkit": "^1.0.4",
|
|
55
49
|
"eslint": "^9.15.0",
|
|
56
50
|
"got": "^14.4.5",
|
|
57
51
|
"jest": "^29.0.0",
|
|
58
52
|
"prettier": "^3.0.3",
|
|
59
53
|
"ts-jest": "^29.0.0",
|
|
54
|
+
"turbo": "^2.9.6",
|
|
60
55
|
"typescript": "^5.2.2"
|
|
61
56
|
},
|
|
62
57
|
"hash": {
|
|
63
58
|
"name": "bd05212a53cfc94aa988f6546421288675c38955c22fdf24d25e70aff8637ca2",
|
|
64
|
-
"version": "
|
|
59
|
+
"version": "4d69c7f981e6e433daa69c735f6d02ededccaf7014496dde9e078df94c4af184"
|
|
65
60
|
},
|
|
66
61
|
"payzen": {
|
|
67
62
|
"nameHash": "bd05212a53cfc94aa988f6546421288675c38955c22fdf24d25e70aff8637ca2",
|
|
68
|
-
"versionHash": "
|
|
69
|
-
"commitSha": "
|
|
63
|
+
"versionHash": "4d69c7f981e6e433daa69c735f6d02ededccaf7014496dde9e078df94c4af184",
|
|
64
|
+
"commitSha": "664bc38d242859eb16294fc441899f982396d46f",
|
|
70
65
|
"publishedFrom": "local",
|
|
71
|
-
"contentHash": "
|
|
66
|
+
"contentHash": "8326df218d06b79eba7b0f872e920de7cea399b007b4eacaff00e149e2bbd1fb"
|
|
67
|
+
},
|
|
68
|
+
"scripts": {
|
|
69
|
+
"clean": "pnpm run clean:ts && rm -rf build tsconfig.build.tsbuildinfo",
|
|
70
|
+
"clean:ts": "tsc --build --clean",
|
|
71
|
+
"build": "pnpm run clean && pnpm run build:docker",
|
|
72
|
+
"build:docker": "./publish-script.sh ${npm_package_config_pzsBranch} ${npm_package_config_pzsRevision} ${npm_package_version} build",
|
|
73
|
+
"test": "turbo run test:self --log-prefix=none",
|
|
74
|
+
"test:jest": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
|
|
75
|
+
"lint": "pnpm run lint:scripts",
|
|
76
|
+
"lint:scripts": "eslint test/",
|
|
77
|
+
"publish:docker": "./publish-script.sh ${npm_package_config_pzsBranch} ${npm_package_config_pzsRevision} ${npm_package_version}",
|
|
78
|
+
"test:self": "pnpm run lint && pnpm run test:jest"
|
|
72
79
|
}
|
|
73
80
|
}
|