Skip to content

Commit

Permalink
Use "@prismicio/mock": "0.2.0"
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-mp committed Nov 12, 2024
1 parent 82c3833 commit 547727e
Show file tree
Hide file tree
Showing 8 changed files with 121 additions and 28 deletions.
2 changes: 1 addition & 1 deletion packages/adapter-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"pascal-case": "^3.1.2"
},
"devDependencies": {
"@prismicio/mock": "0.5.0-alpha.0",
"@prismicio/mock": "0.2.0",
"@size-limit/preset-small-lib": "8.2.4",
"@types/common-tags": "1.8.1",
"@types/react": "18.0.28",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"pascal-case": "^3.1.2"
},
"devDependencies": {
"@prismicio/mock": "0.5.0-alpha.0",
"@prismicio/mock": "0.2.0",
"@size-limit/preset-small-lib": "8.2.4",
"@types/common-tags": "1.8.1",
"@typescript-eslint/eslint-plugin": "5.55.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-nuxt2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"pascal-case": "^3.1.2"
},
"devDependencies": {
"@prismicio/mock": "0.5.0-alpha.0",
"@prismicio/mock": "0.2.0",
"@size-limit/preset-small-lib": "8.2.4",
"@typescript-eslint/eslint-plugin": "5.55.0",
"@typescript-eslint/parser": "5.55.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"prettier-plugin-svelte": "^3.0.3"
},
"devDependencies": {
"@prismicio/mock": "0.5.0-alpha.0",
"@prismicio/mock": "0.2.0",
"@size-limit/preset-small-lib": "8.2.4",
"@sveltejs/kit": "2.0.0",
"@sveltejs/package": "2.2.1",
Expand Down
4 changes: 2 additions & 2 deletions 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/mock": "0.5.0-alpha.0",
"@prismicio/mock": "0.2.0",
"@prismicio/types-internal": "^2.8.0",
"@segment/analytics-node": "^2.1.2",
"@slicemachine/plugin-kit": "workspace:*",
Expand All @@ -93,7 +93,7 @@
},
"devDependencies": {
"@amplitude/experiment-node-server": "1.8.1",
"@prismicio/mock": "0.5.0-alpha.0",
"@prismicio/mock": "0.2.0",
"@size-limit/preset-small-lib": "8.2.4",
"@types/cookie": "0.5.1",
"@types/express": "4.17.17",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"prismic-ts-codegen": "0.1.23-alpha.0"
},
"devDependencies": {
"@prismicio/mock": "0.5.0-alpha.0",
"@prismicio/mock": "0.2.0",
"@prismicio/types-internal": "2.8.0",
"@size-limit/preset-small-lib": "8.2.4",
"@types/common-tags": "1.8.1",
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 @@ -46,7 +46,7 @@
"@prismicio/editor-fields": "0.4.54",
"@prismicio/editor-support": "0.4.54",
"@prismicio/editor-ui": "0.4.54",
"@prismicio/mock": "0.5.0-alpha.0",
"@prismicio/mock": "0.2.0",
"@prismicio/mocks": "2.4.0",
"@prismicio/simulator": "0.1.4",
"@prismicio/types-internal": "2.9.0-alpha.3",
Expand Down
133 changes: 113 additions & 20 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6112,14 +6112,13 @@ __metadata:
languageName: node
linkType: hard

"@prismicio/mock@npm:0.5.0-alpha.0":
version: 0.5.0-alpha.0
resolution: "@prismicio/mock@npm:0.5.0-alpha.0"
"@prismicio/mock@npm:0.2.0":
version: 0.2.0
resolution: "@prismicio/mock@npm:0.2.0"
dependencies:
change-case: ^5.4.4
peerDependencies:
"@prismicio/client": ^7
checksum: b47da8582e21a0c66ea369ef599275456330a4f87a64df5cb8787a06e228eb622b2798c41ee72649861ecea6c6983400b6e17b2b6b82554e6980c097bcbc1f2d
"@prismicio/types": ^0.2.4
change-case: ^4.1.2
checksum: 2da6f9e99495ba2c8cb6380e1244c1d4a709b6a7714b71896ec6ec55c5a4d73c608f01642d71155321c10e6001eed40b7ba90012f306ae50e1e7ab5d1fd93e80
languageName: node
linkType: hard

Expand Down Expand Up @@ -8957,7 +8956,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@slicemachine/adapter-next@workspace:packages/adapter-next"
dependencies:
"@prismicio/mock": 0.5.0-alpha.0
"@prismicio/mock": 0.2.0
"@prismicio/simulator": ^0.1.4
"@prismicio/types-internal": ^2.8.0
"@size-limit/preset-small-lib": 8.2.4
Expand Down Expand Up @@ -9002,7 +9001,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@slicemachine/adapter-nuxt2@workspace:packages/adapter-nuxt2"
dependencies:
"@prismicio/mock": 0.5.0-alpha.0
"@prismicio/mock": 0.2.0
"@prismicio/simulator": ^0.1.4
"@prismicio/types-internal": ^2.8.0
"@size-limit/preset-small-lib": 8.2.4
Expand Down Expand Up @@ -9043,7 +9042,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@slicemachine/adapter-nuxt@workspace:packages/adapter-nuxt"
dependencies:
"@prismicio/mock": 0.5.0-alpha.0
"@prismicio/mock": 0.2.0
"@prismicio/simulator": ^0.1.4
"@prismicio/types-internal": ^2.8.0
"@size-limit/preset-small-lib": 8.2.4
Expand Down Expand Up @@ -9085,7 +9084,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@slicemachine/adapter-sveltekit@workspace:packages/adapter-sveltekit"
dependencies:
"@prismicio/mock": 0.5.0-alpha.0
"@prismicio/mock": 0.2.0
"@prismicio/simulator": ^0.1.4
"@prismicio/types-internal": ^2.8.0
"@size-limit/preset-small-lib": 8.2.4
Expand Down Expand Up @@ -9208,7 +9207,7 @@ __metadata:
"@antfu/ni": ^0.20.0
"@prismicio/client": ^7.11.0
"@prismicio/custom-types-client": 2.1.0
"@prismicio/mock": 0.5.0-alpha.0
"@prismicio/mock": 0.2.0
"@prismicio/types-internal": ^2.8.0
"@segment/analytics-node": ^2.1.2
"@size-limit/preset-small-lib": 8.2.4
Expand Down Expand Up @@ -9267,7 +9266,7 @@ __metadata:
resolution: "@slicemachine/plugin-kit@workspace:packages/plugin-kit"
dependencies:
"@prismicio/client": ^7.11.0
"@prismicio/mock": 0.5.0-alpha.0
"@prismicio/mock": 0.2.0
"@prismicio/types-internal": 2.8.0
"@size-limit/preset-small-lib": 8.2.4
"@types/common-tags": 1.8.1
Expand Down Expand Up @@ -14806,7 +14805,7 @@ __metadata:
languageName: node
linkType: hard

"camel-case@npm:^4.1.1":
"camel-case@npm:^4.1.1, camel-case@npm:^4.1.2":
version: 4.1.2
resolution: "camel-case@npm:4.1.2"
dependencies:
Expand Down Expand Up @@ -14896,6 +14895,17 @@ __metadata:
languageName: node
linkType: hard

"capital-case@npm:^1.0.4":
version: 1.0.4
resolution: "capital-case@npm:1.0.4"
dependencies:
no-case: ^3.0.4
tslib: ^2.0.3
upper-case-first: ^2.0.2
checksum: 41fa8fa87f6d24d0835a2b4a9341a3eaecb64ac29cd7c5391f35d6175a0fa98ab044e7f2602e1ec3afc886231462ed71b5b80c590b8b41af903ec2c15e5c5931
languageName: node
linkType: hard

"ccount@npm:^2.0.0":
version: 2.0.1
resolution: "ccount@npm:2.0.1"
Expand Down Expand Up @@ -14979,10 +14989,23 @@ __metadata:
languageName: node
linkType: hard

"change-case@npm:^5.4.4":
version: 5.4.4
resolution: "change-case@npm:5.4.4"
checksum: a22a25a763719658424ffbcd41e931d2d19cc22399cc765dca447fbe1eaf13e179d5e8ab1677af75f2e814dbddf74e42ffdecb526cd5bc906cc859f62aa154b2
"change-case@npm:^4.1.2":
version: 4.1.2
resolution: "change-case@npm:4.1.2"
dependencies:
camel-case: ^4.1.2
capital-case: ^1.0.4
constant-case: ^3.0.4
dot-case: ^3.0.4
header-case: ^2.0.4
no-case: ^3.0.4
param-case: ^3.0.4
pascal-case: ^3.1.2
path-case: ^3.0.4
sentence-case: ^3.0.4
snake-case: ^3.0.4
tslib: ^2.0.3
checksum: e4bc4a093a1f7cce8b33896665cf9e456e3bc3cc0def2ad7691b1994cfca99b3188d0a513b16855b01a6bd20692fcde12a7d4d87a5615c4c515bbbf0e651f116
languageName: node
linkType: hard

Expand Down Expand Up @@ -15737,6 +15760,17 @@ __metadata:
languageName: node
linkType: hard

"constant-case@npm:^3.0.4":
version: 3.0.4
resolution: "constant-case@npm:3.0.4"
dependencies:
no-case: ^3.0.4
tslib: ^2.0.3
upper-case: ^2.0.2
checksum: 6c3346d51afc28d9fae922e966c68eb77a19d94858dba230dd92d7b918b37d36db50f0311e9ecf6847e43e934b1c01406a0936973376ab17ec2c471fbcfb2cf3
languageName: node
linkType: hard

"constants-browserify@npm:^1.0.0":
version: 1.0.0
resolution: "constants-browserify@npm:1.0.0"
Expand Down Expand Up @@ -20364,6 +20398,16 @@ __metadata:
languageName: node
linkType: hard

"header-case@npm:^2.0.4":
version: 2.0.4
resolution: "header-case@npm:2.0.4"
dependencies:
capital-case: ^1.0.4
tslib: ^2.0.3
checksum: 571c83eeb25e8130d172218712f807c0b96d62b020981400bccc1503a7cf14b09b8b10498a962d2739eccf231d950e3848ba7d420b58a6acd2f9283439546cd9
languageName: node
linkType: hard

"headers-polyfill@npm:^3.1.0":
version: 3.1.2
resolution: "headers-polyfill@npm:3.1.2"
Expand Down Expand Up @@ -26150,7 +26194,7 @@ __metadata:
languageName: node
linkType: hard

"param-case@npm:^3.0.3":
"param-case@npm:^3.0.3, param-case@npm:^3.0.4":
version: 3.0.4
resolution: "param-case@npm:3.0.4"
dependencies:
Expand Down Expand Up @@ -26300,6 +26344,16 @@ __metadata:
languageName: node
linkType: hard

"path-case@npm:^3.0.4":
version: 3.0.4
resolution: "path-case@npm:3.0.4"
dependencies:
dot-case: ^3.0.4
tslib: ^2.0.3
checksum: 61de0526222629f65038a66f63330dd22d5b54014ded6636283e1d15364da38b3cf29e4433aa3f9d8b0dba407ae2b059c23b0104a34ee789944b1bc1c5c7e06d
languageName: node
linkType: hard

"path-dirname@npm:^1.0.0":
version: 1.0.2
resolution: "path-dirname@npm:1.0.2"
Expand Down Expand Up @@ -30768,6 +30822,17 @@ __metadata:
languageName: node
linkType: hard

"sentence-case@npm:^3.0.4":
version: 3.0.4
resolution: "sentence-case@npm:3.0.4"
dependencies:
no-case: ^3.0.4
tslib: ^2.0.3
upper-case-first: ^2.0.2
checksum: 3cfe6c0143e649132365695706702d7f729f484fa7b25f43435876efe7af2478243eefb052bacbcce10babf9319fd6b5b6bc59b94c80a1c819bcbb40651465d5
languageName: node
linkType: hard

"serialize-javascript@npm:^4.0.0":
version: 4.0.0
resolution: "serialize-javascript@npm:4.0.0"
Expand Down Expand Up @@ -31107,7 +31172,7 @@ __metadata:
"@prismicio/editor-fields": 0.4.54
"@prismicio/editor-support": 0.4.54
"@prismicio/editor-ui": 0.4.54
"@prismicio/mock": 0.5.0-alpha.0
"@prismicio/mock": 0.2.0
"@prismicio/mocks": 2.4.0
"@prismicio/simulator": 0.1.4
"@prismicio/types-internal": 2.9.0-alpha.3
Expand Down Expand Up @@ -31218,6 +31283,16 @@ __metadata:
languageName: node
linkType: hard

"snake-case@npm:^3.0.4":
version: 3.0.4
resolution: "snake-case@npm:3.0.4"
dependencies:
dot-case: ^3.0.4
tslib: ^2.0.3
checksum: 0a7a79900bbb36f8aaa922cf111702a3647ac6165736d5dc96d3ef367efc50465cac70c53cd172c382b022dac72ec91710608e5393de71f76d7142e6fd80e8a3
languageName: node
linkType: hard

"snapdragon-node@npm:^2.0.1":
version: 2.1.1
resolution: "snapdragon-node@npm:2.1.1"
Expand Down Expand Up @@ -33821,13 +33896,31 @@ __metadata:
languageName: node
linkType: hard

"upper-case-first@npm:^2.0.2":
version: 2.0.2
resolution: "upper-case-first@npm:2.0.2"
dependencies:
tslib: ^2.0.3
checksum: 4487db4701effe3b54ced4b3e4aa4d9ab06c548f97244d04aafb642eedf96a76d5a03cf5f38f10f415531d5792d1ac6e1b50f2a76984dc6964ad530f12876409
languageName: node
linkType: hard

"upper-case@npm:^1.1.1":
version: 1.1.3
resolution: "upper-case@npm:1.1.3"
checksum: 991c845de75fa56e5ad983f15e58494dd77b77cadd79d273cc11e8da400067e9881ae1a52b312aed79b3d754496e2e0712e08d22eae799e35c7f9ba6f3d8a85d
languageName: node
linkType: hard

"upper-case@npm:^2.0.2":
version: 2.0.2
resolution: "upper-case@npm:2.0.2"
dependencies:
tslib: ^2.0.3
checksum: 508723a2b03ab90cf1d6b7e0397513980fab821cbe79c87341d0e96cedefadf0d85f9d71eac24ab23f526a041d585a575cfca120a9f920e44eb4f8a7cf89121c
languageName: node
linkType: hard

"uri-js@npm:^4.2.2":
version: 4.4.1
resolution: "uri-js@npm:4.4.1"
Expand Down

0 comments on commit 547727e

Please sign in to comment.