@dotcom-tool-kit/cloudsmith 1.0.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.
Files changed (3) hide show
  1. package/.toolkitrc.yml +33 -0
  2. package/package.json +31 -0
  3. package/readme.md +28 -0
package/.toolkitrc.yml ADDED
@@ -0,0 +1,33 @@
1
+ version: 2
2
+
3
+ plugins:
4
+ - '@dotcom-tool-kit/circleci-deploy'
5
+
6
+ options:
7
+ hooks:
8
+ - CircleCi:
9
+ workflows:
10
+ - name: 'tool-kit'
11
+ jobs:
12
+ - name: 'deploy-review'
13
+ custom:
14
+ cloudsmith-org: financial-times
15
+ !toolkit/if-defined '@dotcom-tool-kit/cloudsmith.serviceAccount':
16
+ cloudsmith-service-account: !toolkit/option '@dotcom-tool-kit/cloudsmith.serviceAccount'
17
+ - name: 'deploy-staging'
18
+ custom:
19
+ cloudsmith-org: financial-times
20
+ !toolkit/if-defined '@dotcom-tool-kit/cloudsmith.serviceAccount':
21
+ cloudsmith-service-account: !toolkit/option '@dotcom-tool-kit/cloudsmith.serviceAccount'
22
+ - name: 'deploy-production'
23
+ custom:
24
+ cloudsmith-org: financial-times
25
+ !toolkit/if-defined '@dotcom-tool-kit/cloudsmith.serviceAccount':
26
+ cloudsmith-service-account: !toolkit/option '@dotcom-tool-kit/cloudsmith.serviceAccount'
27
+ - name: 'nightly'
28
+ jobs:
29
+ - name: 'deploy-review'
30
+ custom:
31
+ cloudsmith-org: financial-times
32
+ !toolkit/if-defined '@dotcom-tool-kit/cloudsmith.serviceAccount':
33
+ cloudsmith-service-account: !toolkit/option '@dotcom-tool-kit/cloudsmith.serviceAccount'
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "@dotcom-tool-kit/cloudsmith",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "lib",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "keywords": [],
10
+ "author": "FT.com Platforms Team <platforms-team.customer-products@ft.com>",
11
+ "license": "ISC",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/financial-times/dotcom-tool-kit.git",
15
+ "directory": "plugins/cloudsmith"
16
+ },
17
+ "bugs": "https://github.com/financial-times/dotcom-tool-kit/issues",
18
+ "homepage": "https://github.com/financial-times/dotcom-tool-kit/tree/main/plugins/cloudsmith",
19
+ "files": [
20
+ "/lib",
21
+ ".toolkitrc.yml"
22
+ ],
23
+ "engines": {
24
+ "node": "18.x || 20.x",
25
+ "npm": "7.x || 8.x || 9.x || 10.x"
26
+ },
27
+ "peerDependencies": {
28
+ "dotcom-tool-kit": "4.x"
29
+ }
30
+ }
31
+
package/readme.md ADDED
@@ -0,0 +1,28 @@
1
+ # @dotcom-tool-kit/cloudsmith
2
+
3
+ ## Installation & Usage
4
+
5
+ With Tool Kit [already set up](https://github.com/financial-times/dotcom-tool-kit#installing-and-using-tool-kit), install this plugin as a dev dependency:
6
+
7
+ ```sh
8
+ npm install --save-dev @dotcom-tool-kit/cloudsmith
9
+ ```
10
+
11
+ And add it to your repo's `.toolkitrc.yml`:
12
+
13
+ ```yml
14
+ plugins:
15
+ - '@dotcom-tool-kit/cloudsmith'
16
+ ```
17
+
18
+ <!-- begin autogenerated docs -->
19
+ ## Plugin-wide options
20
+
21
+ ### `@dotcom-tool-kit/cloudsmith`
22
+
23
+ | Property | Description | Type |
24
+ | :--------------- | :---------------------------------------------------------------------------------------------------------------------------------------- | :------- |
25
+ | `serviceAccount` | the Cloudsmith service account. this will probably be your team name followed by the permissions access, e.g., cp-reliability-read-write. | `string` |
26
+
27
+ _All properties are optional._
28
+ <!-- end autogenerated docs -->