@dotcom-tool-kit/cloudsmith 2.0.1 → 2.0.2-beta.1
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/lib/schema.js +1 -0
- package/lib/schema.js.map +1 -0
- package/package.json +5 -4
- package/readme.md +1 -1
- package/src/schema.ts +10 -0
package/lib/schema.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":";;;AAAA,+CAAwB;AAExB,kBAAe,CAAC,CAAC,MAAM,CAAC;IACtB,cAAc,EAAE,CAAC;SACd,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,2IAA2I,CAC5I;CACJ,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotcom-tool-kit/cloudsmith",
|
|
3
|
-
"version": "2.0.1",
|
|
3
|
+
"version": "2.0.2-beta.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib",
|
|
6
6
|
"scripts": {
|
|
@@ -18,17 +18,18 @@
|
|
|
18
18
|
"homepage": "https://github.com/financial-times/dotcom-tool-kit/tree/main/plugins/cloudsmith",
|
|
19
19
|
"files": [
|
|
20
20
|
"/lib",
|
|
21
|
+
"/src",
|
|
21
22
|
".toolkitrc.yml"
|
|
22
23
|
],
|
|
23
24
|
"engines": {
|
|
24
|
-
"node": ">=20.x"
|
|
25
|
-
"npm": "7.x || 8.x || 9.x || 10.x"
|
|
25
|
+
"node": ">=20.x"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"dotcom-tool-kit": "5.x"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
+
"@dotcom-tool-kit/circleci-deploy": "^6.0.6",
|
|
31
32
|
"tslib": "^2.8.1",
|
|
32
33
|
"zod": "^3.24.4"
|
|
33
34
|
}
|
|
34
|
-
}
|
|
35
|
+
}
|
package/readme.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Installation & Usage
|
|
4
4
|
|
|
5
|
-
With Tool Kit [already set up](https://github.com/financial-times/dotcom-tool-kit#installing-
|
|
5
|
+
With Tool Kit [already set up](https://github.com/financial-times/dotcom-tool-kit#installing-tool-kit), install this plugin as a dev dependency:
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
8
|
npm install --save-dev @dotcom-tool-kit/cloudsmith
|
package/src/schema.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as z from 'zod'
|
|
2
|
+
|
|
3
|
+
export default z.object({
|
|
4
|
+
serviceAccount: z
|
|
5
|
+
.string()
|
|
6
|
+
.optional()
|
|
7
|
+
.describe(
|
|
8
|
+
'the Cloudsmith service account. this will probably be your team name followed by the permissions access, e.g., cp-reliability-read-write.'
|
|
9
|
+
)
|
|
10
|
+
})
|