@financial-times/cp-content-pipeline-client 0.3.8 → 0.4.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 +11 -0
- package/CHANGELOG.md +20 -0
- package/lib/generated/index.d.ts +2379 -62
- package/lib/generated/index.js +10 -1
- package/lib/generated/index.js.map +1 -1
- package/lib/index.js +23 -1
- package/lib/index.js.map +1 -1
- package/lib/schema-version.d.ts +1 -0
- package/lib/schema-version.js +6 -0
- package/lib/schema-version.js.map +1 -0
- package/package.json +6 -4
- package/queries/article.graphql +11 -4
- package/src/generated/index.ts +28 -10
- package/src/index.ts +32 -9
- package/src/schema-version.ts +2 -0
- package/tsconfig.tsbuildinfo +1 -1
package/.toolkitrc.yml
CHANGED
|
@@ -2,10 +2,16 @@ plugins:
|
|
|
2
2
|
- '@dotcom-tool-kit/npm'
|
|
3
3
|
- '../../tool-kit/graphql-code-generator'
|
|
4
4
|
- '../../tool-kit/placeholder-hook'
|
|
5
|
+
- '../../tool-kit/generate-version'
|
|
5
6
|
|
|
6
7
|
hooks:
|
|
7
8
|
build:local:
|
|
8
9
|
- GraphQLCodegen
|
|
10
|
+
- GenerateVersion
|
|
11
|
+
build:ci:
|
|
12
|
+
- GenerateVersion
|
|
13
|
+
build:remote:
|
|
14
|
+
- GenerateVersion
|
|
9
15
|
run:local:
|
|
10
16
|
- GraphQLCodegenWatch
|
|
11
17
|
test:local:
|
|
@@ -25,3 +31,8 @@ options:
|
|
|
25
31
|
- test:staged
|
|
26
32
|
- test:ci
|
|
27
33
|
- publish:tag
|
|
34
|
+
- build:ci
|
|
35
|
+
- build:remote
|
|
36
|
+
'../../tool-kit/generate-version':
|
|
37
|
+
input: '../schema/'
|
|
38
|
+
output: './src/schema-version.ts'
|
package/CHANGELOG.md
CHANGED
|
@@ -60,6 +60,26 @@
|
|
|
60
60
|
* devDependencies
|
|
61
61
|
* @financial-times/cp-content-pipeline-schema bumped from ^0.4.6 to ^0.4.7
|
|
62
62
|
|
|
63
|
+
## [0.4.0](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v0.3.8...cp-content-pipeline-client-v0.4.0) (2022-12-14)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
### ⚠ BREAKING CHANGES
|
|
67
|
+
|
|
68
|
+
* render main image outside of body
|
|
69
|
+
|
|
70
|
+
### Features
|
|
71
|
+
|
|
72
|
+
* generate a version number file for the schema package ([4368cbb](https://github.com/Financial-Times/cp-content-pipeline/commit/4368cbb7cebb3b9ff82a283de97341dbfd2a2c10))
|
|
73
|
+
* render main image outside of body ([980ff15](https://github.com/Financial-Times/cp-content-pipeline/commit/980ff15091f7ffd9df5c2dbe99bafc4aea5bb34e))
|
|
74
|
+
* request a specific version of the api ([af4a9c2](https://github.com/Financial-Times/cp-content-pipeline/commit/af4a9c23ffc3d82be312cc4bd3d4a6361e821033))
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
### Dependencies
|
|
78
|
+
|
|
79
|
+
* The following workspace dependencies were updated
|
|
80
|
+
* devDependencies
|
|
81
|
+
* @financial-times/cp-content-pipeline-schema bumped from ^0.4.7 to ^0.5.0
|
|
82
|
+
|
|
63
83
|
## [0.3.7](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v0.3.6...cp-content-pipeline-client-v0.3.7) (2022-11-29)
|
|
64
84
|
|
|
65
85
|
|