@dotcom-tool-kit/circleci-npm 5.3.2 → 6.0.0-beta.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 +23 -2
- package/package.json +5 -6
- package/lib/index.d.ts +0 -10
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -26
package/.toolkitrc.yml
CHANGED
|
@@ -2,5 +2,26 @@ plugins:
|
|
|
2
2
|
- '@dotcom-tool-kit/circleci'
|
|
3
3
|
- '@dotcom-tool-kit/npm'
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
'publish:tag': NpmPublish
|
|
5
|
+
commands:
|
|
6
|
+
'publish:tag': NpmPublish
|
|
7
|
+
|
|
8
|
+
options:
|
|
9
|
+
hooks:
|
|
10
|
+
- CircleCi:
|
|
11
|
+
jobs:
|
|
12
|
+
- name: publish-tag
|
|
13
|
+
command: 'publish:tag'
|
|
14
|
+
workflows:
|
|
15
|
+
- name: 'tool-kit'
|
|
16
|
+
jobs:
|
|
17
|
+
- name: 'publish-tag'
|
|
18
|
+
requires:
|
|
19
|
+
- 'test'
|
|
20
|
+
splitIntoMatrix: true
|
|
21
|
+
custom:
|
|
22
|
+
context: 'npm-publish-token'
|
|
23
|
+
filters:
|
|
24
|
+
branches:
|
|
25
|
+
ignore: '/.*/'
|
|
26
|
+
|
|
27
|
+
version: 2
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dotcom-tool-kit/circleci-npm",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-beta.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib",
|
|
6
6
|
"scripts": {
|
|
@@ -10,9 +10,8 @@
|
|
|
10
10
|
"author": "FT.com Platforms Team <platforms-team.customer-products@ft.com>",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@dotcom-tool-kit/
|
|
14
|
-
"@dotcom-tool-kit/
|
|
15
|
-
"@dotcom-tool-kit/npm": "^3.3.1",
|
|
13
|
+
"@dotcom-tool-kit/circleci": "7.0.0-beta.0",
|
|
14
|
+
"@dotcom-tool-kit/npm": "4.0.0-beta.0",
|
|
16
15
|
"tslib": "^2.3.1"
|
|
17
16
|
},
|
|
18
17
|
"repository": {
|
|
@@ -27,10 +26,10 @@
|
|
|
27
26
|
".toolkitrc.yml"
|
|
28
27
|
],
|
|
29
28
|
"peerDependencies": {
|
|
30
|
-
"dotcom-tool-kit": "
|
|
29
|
+
"dotcom-tool-kit": "4.0.0-beta.0"
|
|
31
30
|
},
|
|
32
31
|
"engines": {
|
|
33
|
-
"node": "
|
|
32
|
+
"node": "18.x || 20.x",
|
|
34
33
|
"npm": "7.x || 8.x || 9.x || 10.x"
|
|
35
34
|
}
|
|
36
35
|
}
|
package/lib/index.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import CircleCiConfigHook from '@dotcom-tool-kit/circleci/lib/circleci-config';
|
|
2
|
-
declare class PublishHook extends CircleCiConfigHook {
|
|
3
|
-
static job: string;
|
|
4
|
-
config: import("type-fest/source/partial-deep").PartialObjectDeep<import("@dotcom-tool-kit/types/lib/circleci").CircleConfig, {}>;
|
|
5
|
-
}
|
|
6
|
-
export declare const hooks: {
|
|
7
|
-
'publish:tag': typeof PublishHook;
|
|
8
|
-
};
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAA6C,MAAM,+CAA+C,CAAA;AAEzG,cAAM,WAAY,SAAQ,kBAAkB;IAC1C,MAAM,CAAC,GAAG,SAAyB;IACnC,MAAM,4HAWJ;CACH;AAED,eAAO,MAAM,KAAK;;CAEjB,CAAA"}
|
package/lib/index.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.hooks = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const circleci_config_1 = tslib_1.__importStar(require("@dotcom-tool-kit/circleci/lib/circleci-config"));
|
|
6
|
-
class PublishHook extends circleci_config_1.default {
|
|
7
|
-
constructor() {
|
|
8
|
-
super(...arguments);
|
|
9
|
-
this.config = (0, circleci_config_1.generateConfigWithJob)({
|
|
10
|
-
name: PublishHook.job,
|
|
11
|
-
requires: ['tool-kit/test'],
|
|
12
|
-
splitIntoMatrix: false,
|
|
13
|
-
addToNightly: false,
|
|
14
|
-
additionalFields: {
|
|
15
|
-
context: 'npm-publish-token',
|
|
16
|
-
filters: {
|
|
17
|
-
branches: { ignore: '/.*/' }
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
PublishHook.job = 'tool-kit/publish-tag';
|
|
24
|
-
exports.hooks = {
|
|
25
|
-
'publish:tag': PublishHook
|
|
26
|
-
};
|