@financial-times/cp-content-pipeline-client 0.6.17 → 0.6.18
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 +0 -13
- package/CHANGELOG.md +15 -0
- package/jest.config.js +3 -0
- package/lib/client-version.d.ts +1 -0
- package/lib/client-version.js +6 -0
- package/lib/client-version.js.map +1 -0
- package/lib/generated/index.d.ts +165 -0
- package/lib/generated/index.js +1 -0
- package/lib/generated/index.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +45 -4
- package/lib/index.js.map +1 -1
- package/lib/index.test.d.ts +1 -0
- package/lib/index.test.js +18 -0
- package/lib/index.test.js.map +1 -0
- package/lib/schema-version.d.ts +1 -1
- package/lib/schema-version.js +1 -1
- package/package.json +2 -2
- package/queries/article.graphql +1 -0
- package/src/client-version.ts +2 -0
- package/src/generated/index.ts +26 -15
- package/src/index.test.ts +25 -0
- package/src/index.ts +64 -6
- package/src/schema-version.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/.toolkitrc.yml
CHANGED
|
@@ -1,25 +1,12 @@
|
|
|
1
1
|
plugins:
|
|
2
2
|
- '@dotcom-tool-kit/npm'
|
|
3
3
|
- '../../tool-kit/placeholder-hook'
|
|
4
|
-
- '../../tool-kit/generate-version'
|
|
5
4
|
|
|
6
5
|
hooks:
|
|
7
|
-
build:local:
|
|
8
|
-
- GenerateVersion
|
|
9
|
-
build:ci:
|
|
10
|
-
- GenerateVersion
|
|
11
|
-
build:remote:
|
|
12
|
-
- GenerateVersion
|
|
13
6
|
publish:tag:
|
|
14
7
|
- NpmPublish
|
|
15
8
|
|
|
16
9
|
options:
|
|
17
10
|
'../../tool-kit/placeholder-hook':
|
|
18
11
|
hooks:
|
|
19
|
-
- test:ci
|
|
20
12
|
- publish:tag
|
|
21
|
-
- build:ci
|
|
22
|
-
- build:remote
|
|
23
|
-
'../../tool-kit/generate-version':
|
|
24
|
-
input: '../schema/'
|
|
25
|
-
output: './src/schema-version.ts'
|
package/CHANGELOG.md
CHANGED
|
@@ -180,6 +180,21 @@
|
|
|
180
180
|
* devDependencies
|
|
181
181
|
* @financial-times/cp-content-pipeline-schema bumped from ^0.7.14 to ^0.7.15
|
|
182
182
|
|
|
183
|
+
## [0.6.18](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v0.6.17...cp-content-pipeline-client-v0.6.18) (2023-07-18)
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
### Features
|
|
187
|
+
|
|
188
|
+
* if baseUrl has no version, append a version suffix ([1cde19f](https://github.com/Financial-Times/cp-content-pipeline/commit/1cde19fd96d173620344631575c82f14a0d778cf))
|
|
189
|
+
* return variant of follow button based page type ([cea5902](https://github.com/Financial-Times/cp-content-pipeline/commit/cea5902ad06b095d2d7390e121ef982ef3b20ad4))
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
### Dependencies
|
|
193
|
+
|
|
194
|
+
* The following workspace dependencies were updated
|
|
195
|
+
* devDependencies
|
|
196
|
+
* @financial-times/cp-content-pipeline-schema bumped from ^0.7.16 to ^0.7.17
|
|
197
|
+
|
|
183
198
|
## [0.6.17](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v0.6.16...cp-content-pipeline-client-v0.6.17) (2023-07-17)
|
|
184
199
|
|
|
185
200
|
|
package/jest.config.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const version = "0.6.18";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-version.js","sourceRoot":"","sources":["../src/client-version.ts"],"names":[],"mappings":";;;AAAA,2BAA2B;AACd,QAAA,OAAO,GAAG,QAAQ,CAAA"}
|