@financial-times/cp-content-pipeline-client 0.6.16 → 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 +37 -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 +22940 -4103
- package/lib/generated/index.js +68 -6
- package/lib/generated/index.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +45 -3
- 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 +3 -3
- package/queries/article.graphql +59 -1
- package/src/client-version.ts +2 -0
- package/src/generated/index.ts +141 -42
- package/src/index.test.ts +25 -0
- package/src/index.ts +64 -5
- 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,43 @@
|
|
|
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
|
+
|
|
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)
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
### Features
|
|
202
|
+
|
|
203
|
+
* add a user-agent header to the client to help debugging ([b09b1b2](https://github.com/Financial-Times/cp-content-pipeline/commit/b09b1b27d6c8e8f45cbaef1f18ab063f6d183bf0))
|
|
204
|
+
* add scrolly image breakpoints to query ([78236ee](https://github.com/Financial-Times/cp-content-pipeline/commit/78236ee0d191264e776e49df0f7fcb21e06a261a))
|
|
205
|
+
* parse imagesets in scrolly sections as scrolly images and add reference for them ([9cd5efa](https://github.com/Financial-Times/cp-content-pipeline/commit/9cd5efa91545777f7c6e3d51abb7dae8a383e2a1))
|
|
206
|
+
* provide audio media field on API ([961a356](https://github.com/Financial-Times/cp-content-pipeline/commit/961a356ef587358de79de7a90b7736fb643eb339))
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
### Bug Fixes
|
|
210
|
+
|
|
211
|
+
* print image captions if present ([e95e866](https://github.com/Financial-Times/cp-content-pipeline/commit/e95e866c2aefd058d28d760c4c4d5adc8621d52c))
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
### Dependencies
|
|
215
|
+
|
|
216
|
+
* The following workspace dependencies were updated
|
|
217
|
+
* devDependencies
|
|
218
|
+
* @financial-times/cp-content-pipeline-schema bumped from ^0.7.15 to ^0.7.16
|
|
219
|
+
|
|
183
220
|
## [0.6.15](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v0.6.14...cp-content-pipeline-client-v0.6.15) (2023-07-04)
|
|
184
221
|
|
|
185
222
|
|
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"}
|