@dotcom-tool-kit/cloudsmith 1.0.0 → 1.1.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/.toolkitrc.yml CHANGED
@@ -3,6 +3,8 @@ version: 2
3
3
  plugins:
4
4
  - '@dotcom-tool-kit/circleci-deploy'
5
5
 
6
+ optionsSchema: './lib/schema'
7
+
6
8
  options:
7
9
  hooks:
8
10
  - CircleCi:
@@ -10,16 +12,19 @@ options:
10
12
  - name: 'tool-kit'
11
13
  jobs:
12
14
  - name: 'deploy-review'
15
+ requires: []
13
16
  custom:
14
17
  cloudsmith-org: financial-times
15
18
  !toolkit/if-defined '@dotcom-tool-kit/cloudsmith.serviceAccount':
16
19
  cloudsmith-service-account: !toolkit/option '@dotcom-tool-kit/cloudsmith.serviceAccount'
17
20
  - name: 'deploy-staging'
21
+ requires: []
18
22
  custom:
19
23
  cloudsmith-org: financial-times
20
24
  !toolkit/if-defined '@dotcom-tool-kit/cloudsmith.serviceAccount':
21
25
  cloudsmith-service-account: !toolkit/option '@dotcom-tool-kit/cloudsmith.serviceAccount'
22
26
  - name: 'deploy-production'
27
+ requires: []
23
28
  custom:
24
29
  cloudsmith-org: financial-times
25
30
  !toolkit/if-defined '@dotcom-tool-kit/cloudsmith.serviceAccount':
@@ -27,6 +32,7 @@ options:
27
32
  - name: 'nightly'
28
33
  jobs:
29
34
  - name: 'deploy-review'
35
+ requires: []
30
36
  custom:
31
37
  cloudsmith-org: financial-times
32
38
  !toolkit/if-defined '@dotcom-tool-kit/cloudsmith.serviceAccount':
@@ -0,0 +1,10 @@
1
+ import * as z from 'zod';
2
+ declare const _default: z.ZodObject<{
3
+ serviceAccount: z.ZodOptional<z.ZodString>;
4
+ }, "strip", z.ZodTypeAny, {
5
+ serviceAccount?: string | undefined;
6
+ }, {
7
+ serviceAccount?: string | undefined;
8
+ }>;
9
+ export default _default;
10
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;;;;;;;;AAExB,wBAOE"}
package/lib/schema.js ADDED
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const z = tslib_1.__importStar(require("zod"));
5
+ exports.default = z.object({
6
+ serviceAccount: z
7
+ .string()
8
+ .optional()
9
+ .describe('the Cloudsmith service account. this will probably be your team name followed by the permissions access, e.g., cp-reliability-read-write.')
10
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotcom-tool-kit/cloudsmith",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "",
5
5
  "main": "lib",
6
6
  "scripts": {
@@ -26,6 +26,9 @@
26
26
  },
27
27
  "peerDependencies": {
28
28
  "dotcom-tool-kit": "4.x"
29
+ },
30
+ "dependencies": {
31
+ "tslib": "^2.8.1",
32
+ "zod": "^3.24.1"
29
33
  }
30
34
  }
31
-