@trustpayments/js-payments-card 2.2.1247 → 2.2.1249

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.
Files changed (2) hide show
  1. package/README.md +19 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -14,6 +14,25 @@ npm start
14
14
 
15
15
  Then open address `https://localhost:8443` in your web browser.
16
16
 
17
+ ## Private package registry (@trustpayments)
18
+
19
+ `@trustpayments/*` dependencies are pulled from the private GitLab group Package
20
+ Registry, not from public npmjs.org. The scope mapping is in the committed
21
+ `.npmrc` (no token in it). You configure the auth token once in your own
22
+ user-level `~/.npmrc`, outside this repo.
23
+
24
+ 1. Create a GitLab token with `read_package_registry` scope on the
25
+ `securetrading-gl/software-development-kit` group (a Group Access Token or a
26
+ Personal Access Token both work).
27
+ 2. Store it once in your user-level `~/.npmrc`:
28
+ ```
29
+ npm config set -- //gitlab.com/api/v4/groups/9992134/-/packages/npm/:_authToken=<token>
30
+ ```
31
+ 3. Run `npm install` as usual.
32
+
33
+ The token lives only in your `~/.npmrc` (never in this repo). The committed
34
+ `.npmrc` holds only the scope-to-registry mapping.
35
+
17
36
  ## Technology Stack:
18
37
 
19
38
  ##### Tools and languages:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trustpayments/js-payments-card",
3
- "version": "2.2.1247",
3
+ "version": "2.2.1249",
4
4
  "description": "TypeScript Payment Card",
5
5
  "author": "Trust Payments <support@trustpayments.com>",
6
6
  "homepage": "https://docs.trustpayments.com",
@@ -76,7 +76,7 @@
76
76
  "@typescript-eslint/eslint-plugin": "8.72.1",
77
77
  "@typescript-eslint/parser": "8.72.1",
78
78
  "@vitejs/plugin-basic-ssl": "2.3.0",
79
- "@vitest/coverage-v8": "5.0.5",
79
+ "@vitest/coverage-v8": "5.1.0",
80
80
  "@vitest/eslint-plugin": "1.6.28",
81
81
  "better-npm-audit": "3.11.0",
82
82
  "eslint-config-prettier": "10.1.8",
@@ -94,11 +94,11 @@
94
94
  "vite": "8.3.5",
95
95
  "vite-plugin-css-injected-by-js": "5.0.3",
96
96
  "vite-plugin-html": "3.2.2",
97
- "vitest": "5.0.5"
97
+ "vitest": "5.1.0"
98
98
  },
99
99
  "dependencies": {
100
100
  "@trustpayments/ts-iin-lookup": "2.0.734",
101
101
  "@trustpayments/ts-luhn-check": "2.0.734"
102
102
  },
103
- "gitHead": "705acb5c86602d11257a5335abea43cb3959f87c"
103
+ "gitHead": "b73cff083dba43b801a61bf452a973f5c9e43690"
104
104
  }