Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate link variant mocks #1519

Merged
merged 3 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@antfu/ni": "^0.20.0",
"@prismicio/client": "^7.11.0",
"@prismicio/custom-types-client": "2.1.0",
"@prismicio/mocks": "2.5.0",
"@prismicio/mocks": "2.7.0-alpha.0",
"@prismicio/types-internal": "3.3.0",
"@segment/analytics-node": "^2.1.2",
"@slicemachine/plugin-kit": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ it("ignores plugins that implement `custom-type-library:read`", async (ctx) => {
const res = await manager.customTypes.readCustomType({ id: model.id });

expect(res).toStrictEqual({
// TODO: update prismic/mocks
model: { ...model, format: "custom" },
errors: [],
});
Expand Down
2 changes: 1 addition & 1 deletion packages/slice-machine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@prismicio/editor-support": "0.4.58",
"@prismicio/editor-ui": "0.4.58",
"@prismicio/mock": "0.3.3",
"@prismicio/mocks": "2.5.0",
"@prismicio/mocks": "2.7.0-alpha.0",
"@prismicio/simulator": "0.1.4",
"@prismicio/types-internal": "3.3.0",
"@radix-ui/react-hover-card": "1.0.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/start-slicemachine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
},
"bin": "./bin/start-slicemachine.js",
"dependencies": {
"@prismicio/mocks": "2.5.0",
"@prismicio/mocks": "2.7.0-alpha.0",
"@prismicio/types-internal": "3.3.0",
"@slicemachine/manager": "workspace:*",
"body-parser": "^1.20.3",
Expand Down
28 changes: 14 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5930,18 +5930,18 @@ __metadata:
languageName: node
linkType: hard

"@prismicio/api-renderer@npm:6.0.0":
version: 6.0.0
resolution: "@prismicio/api-renderer@npm:6.0.0"
"@prismicio/api-renderer@npm:6.1.0":
version: 6.1.0
resolution: "@prismicio/api-renderer@npm:6.1.0"
dependencies:
"@prismicio/types-internal": 3.1.0
"@prismicio/types-internal": 3.3.0
tslib: ^2.5.0
uuid: ^9.0.0
peerDependencies:
fp-ts: ^2.11.8
io-ts: ^2.2.16
io-ts-types: ^0.5.16
checksum: a206f1b5bef538e964d1580bfdaf6c5e021c89aab3f37a94148e826bdd8055957b26f35a5d49e41f6815e7ea1836f1bbe974df2d4f578fe3450c0456d8f1e9d5
checksum: e65fdf72d54d376eb36a329fc75cd9a4ef3114b2f3d4002b536dec6a8074ad1fe0b58b4a0006d308d09dc7a7eac1566cfd51d645d32c9e03729b21fbc191a9a6
languageName: node
linkType: hard

Expand Down Expand Up @@ -6145,12 +6145,12 @@ __metadata:
languageName: node
linkType: hard

"@prismicio/mocks@npm:2.5.0":
version: 2.5.0
resolution: "@prismicio/mocks@npm:2.5.0"
"@prismicio/mocks@npm:2.7.0-alpha.0":
version: 2.7.0-alpha.0
resolution: "@prismicio/mocks@npm:2.7.0-alpha.0"
dependencies:
"@prismicio/api-renderer": 6.0.0
"@prismicio/types-internal": 3.1.0
"@prismicio/api-renderer": 6.1.0
"@prismicio/types-internal": 3.3.0
fp-ts: ^2.11.8
io-ts: ^2.2.16
io-ts-types: ^0.5.16
Expand All @@ -6159,7 +6159,7 @@ __metadata:
newtype-ts: ^0.3.5
tslib: ^2.3.1
uuid: ^9.0.1
checksum: e18240377a29561d2937dbad3d1bbe98557c669ec5fb7aadfbee12284fed950b8a4aaeefd7294d40aa2f033341493615d156a5be68b44899e19b1fc605fc885c
checksum: 2c844b3b986623eacbb810429d64e43306a004140dfc82ec908aca77cf49241af64fbd7e242e8d820d64fa36fcd8128e334cc8c4f023f4939e30870eec6e2dac
languageName: node
linkType: hard

Expand Down Expand Up @@ -9230,7 +9230,7 @@ __metadata:
"@prismicio/client": ^7.11.0
"@prismicio/custom-types-client": 2.1.0
"@prismicio/mock": 0.2.0
"@prismicio/mocks": 2.5.0
"@prismicio/mocks": 2.7.0-alpha.0
"@prismicio/types-internal": 3.3.0
"@segment/analytics-node": ^2.1.2
"@size-limit/preset-small-lib": 8.2.4
Expand Down Expand Up @@ -31225,7 +31225,7 @@ __metadata:
"@prismicio/editor-support": 0.4.58
"@prismicio/editor-ui": 0.4.58
"@prismicio/mock": 0.3.3
"@prismicio/mocks": 2.5.0
"@prismicio/mocks": 2.7.0-alpha.0
"@prismicio/simulator": 0.1.4
"@prismicio/types-internal": 3.3.0
"@radix-ui/react-hover-card": 1.0.6
Expand Down Expand Up @@ -31704,7 +31704,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "start-slicemachine@workspace:packages/start-slicemachine"
dependencies:
"@prismicio/mocks": 2.5.0
"@prismicio/mocks": 2.7.0-alpha.0
"@prismicio/types-internal": 3.3.0
"@size-limit/preset-small-lib": 8.2.4
"@slicemachine/manager": "workspace:*"
Expand Down
Loading