fix(ci): use `storybook-deployer` package

This commit is contained in:
Rickard Andersson 2023-08-21 14:40:54 +03:00
parent 8e61e28672
commit ae9253ed98
2 changed files with 122 additions and 5 deletions

View File

@ -11,7 +11,7 @@
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test-storybook": "test-storybook",
"deploy-storybook": "gh-pages -d storybook-static"
"deploy-storybook": "storybook-to-ghpages"
},
"resolutions": {
"@tamagui/web": "1.36.4",
@ -49,6 +49,7 @@
"@storybook/cli": "^7.2.0",
"@storybook/react": "^7.2.0",
"@storybook/react-vite": "^7.2.0",
"@storybook/storybook-deployer": "^2.8.16",
"@storybook/test-runner": "^0.12.0",
"@storybook/testing-library": "^0.2.0",
"@types/react-color": "^3.0.6",

124
yarn.lock
View File

@ -5182,6 +5182,22 @@ __metadata:
languageName: node
linkType: hard
"@storybook/storybook-deployer@npm:^2.8.16":
version: 2.8.16
resolution: "@storybook/storybook-deployer@npm:2.8.16"
dependencies:
git-url-parse: ^12.0.0
glob: ^7.1.3
parse-repo: ^1.0.4
shelljs: ^0.8.1
yargs: ^15.0.0
bin:
storybook-to-aws-s3: bin/storybook_to_aws_s3
storybook-to-ghpages: bin/storybook_to_ghpages
checksum: 06d02d9da9e6242de89436973e0a0d8126bcac5a89e7356815b095073d7c3b8c5ec7e9216183b18a9ec9c120455634a08388ddf67b1192cda748577768f07bd2
languageName: node
linkType: hard
"@storybook/telemetry@npm:7.2.1, @storybook/telemetry@npm:^7.1.0-alpha.32":
version: 7.2.1
resolution: "@storybook/telemetry@npm:7.2.1"
@ -10915,6 +10931,25 @@ __metadata:
languageName: node
linkType: hard
"git-up@npm:^6.0.0":
version: 6.0.0
resolution: "git-up@npm:6.0.0"
dependencies:
is-ssh: ^1.4.0
parse-url: ^7.0.2
checksum: 145a1f546d7a078cdfc2616556e518e634d134e34a31c6bf2ed89e44158659cb525dbd451c338121f7107f55cef066d0b37a7bbf178555befc9304b3940b435e
languageName: node
linkType: hard
"git-url-parse@npm:^12.0.0":
version: 12.0.0
resolution: "git-url-parse@npm:12.0.0"
dependencies:
git-up: ^6.0.0
checksum: b4c8530b816202ecf9d4dabf755f785a314a096b56145018385b3d7171e862f9d0d9b38cce620c0af354b269750fe7b2d9aa95815c7150922090a11dac4ab1e6
languageName: node
linkType: hard
"github-slugger@npm:^1.0.0":
version: 1.5.0
resolution: "github-slugger@npm:1.5.0"
@ -10973,7 +11008,7 @@ __metadata:
languageName: node
linkType: hard
"glob@npm:^7.0.3, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0":
"glob@npm:^7.0.0, glob@npm:^7.0.3, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0":
version: 7.2.3
resolution: "glob@npm:7.2.3"
dependencies:
@ -11501,6 +11536,13 @@ __metadata:
languageName: node
linkType: hard
"interpret@npm:^1.0.0":
version: 1.4.0
resolution: "interpret@npm:1.4.0"
checksum: 2e5f51268b5941e4a17e4ef0575bc91ed0ab5f8515e3cf77486f7c14d13f3010df9c0959f37063dcc96e78d12dc6b0bb1b9e111cdfe69771f4656d2993d36155
languageName: node
linkType: hard
"invariant@npm:*, invariant@npm:^2.2.4":
version: 2.2.4
resolution: "invariant@npm:2.2.4"
@ -11823,6 +11865,15 @@ __metadata:
languageName: node
linkType: hard
"is-ssh@npm:^1.4.0":
version: 1.4.0
resolution: "is-ssh@npm:1.4.0"
dependencies:
protocols: ^2.0.1
checksum: 75eaa17b538bee24b661fbeb0f140226ac77e904a6039f787bea418431e2162f1f9c4c4ccad3bd169e036cd701cc631406e8c505d9fa7e20164e74b47f86f40f
languageName: node
linkType: hard
"is-stream@npm:^2.0.0":
version: 2.0.1
resolution: "is-stream@npm:2.0.1"
@ -13909,6 +13960,7 @@ __metadata:
"@storybook/cli": ^7.2.0
"@storybook/react": ^7.2.0
"@storybook/react-vite": ^7.2.0
"@storybook/storybook-deployer": ^2.8.16
"@storybook/test-runner": ^0.12.0
"@storybook/testing-library": ^0.2.0
"@tamagui/config": 1.36.4
@ -14075,6 +14127,13 @@ __metadata:
languageName: node
linkType: hard
"normalize-url@npm:^6.1.0":
version: 6.1.0
resolution: "normalize-url@npm:6.1.0"
checksum: 4a4944631173e7d521d6b80e4c85ccaeceb2870f315584fa30121f505a6dfd86439c5e3fdd8cd9e0e291290c41d0c3599f0cb12ab356722ed242584c30348e50
languageName: node
linkType: hard
"npm-run-path@npm:^4.0.1":
version: 4.0.1
resolution: "npm-run-path@npm:4.0.1"
@ -14434,6 +14493,34 @@ __metadata:
languageName: node
linkType: hard
"parse-path@npm:^5.0.0":
version: 5.0.0
resolution: "parse-path@npm:5.0.0"
dependencies:
protocols: ^2.0.0
checksum: e9f670559cd8e535f39f548bf5d41ad96a220190ea98df33d0babd9dfaa7c3c70ee2e55394078517d5e7e93c6a39c8eac1261ed3f9e68033656614fc954262e8
languageName: node
linkType: hard
"parse-repo@npm:^1.0.4":
version: 1.0.4
resolution: "parse-repo@npm:1.0.4"
checksum: b0d32a182cdb2287adfb1d9141f7f694890e0ad659e80f75ec2e266339c5a728328f08cb72caf85cb7524b5dbbc4122b17efdd48e0d17d96ed9863ec512e0141
languageName: node
linkType: hard
"parse-url@npm:^7.0.2":
version: 7.0.2
resolution: "parse-url@npm:7.0.2"
dependencies:
is-ssh: ^1.4.0
normalize-url: ^6.1.0
parse-path: ^5.0.0
protocols: ^2.0.1
checksum: 3e26852706bebe9fac409909316716dee52883d2fb5c82d65577effba1507abb7bc42bb59ce0ba6c8659168fb99acf89000bd8fe096ed3ad7124fa85227436d7
languageName: node
linkType: hard
"parseurl@npm:~1.3.2, parseurl@npm:~1.3.3":
version: 1.3.3
resolution: "parseurl@npm:1.3.3"
@ -14823,6 +14910,13 @@ __metadata:
languageName: node
linkType: hard
"protocols@npm:^2.0.0, protocols@npm:^2.0.1":
version: 2.0.1
resolution: "protocols@npm:2.0.1"
checksum: 4a9bef6aa0449a0245ded319ac3cbfd032c3e76ebb562777037a3a832c99253d0e8bc2847f7be350236df620a11f7d4fe683ea7f59a2cc14c69f746b6259eda4
languageName: node
linkType: hard
"proxy-addr@npm:~2.0.7":
version: 2.0.7
resolution: "proxy-addr@npm:2.0.7"
@ -15484,6 +15578,15 @@ __metadata:
languageName: node
linkType: hard
"rechoir@npm:^0.6.2":
version: 0.6.2
resolution: "rechoir@npm:0.6.2"
dependencies:
resolve: ^1.1.6
checksum: fe76bf9c21875ac16e235defedd7cbd34f333c02a92546142b7911a0f7c7059d2e16f441fe6fb9ae203f459c05a31b2bcf26202896d89e390eda7514d5d2702b
languageName: node
linkType: hard
"redux-thunk@npm:^2.4.2":
version: 2.4.2
resolution: "redux-thunk@npm:2.4.2"
@ -15704,7 +15807,7 @@ __metadata:
languageName: node
linkType: hard
"resolve@npm:^1.10.0, resolve@npm:^1.14.2, resolve@npm:^1.17.0, resolve@npm:^1.20.0, resolve@npm:^1.22.1":
"resolve@npm:^1.1.6, resolve@npm:^1.10.0, resolve@npm:^1.14.2, resolve@npm:^1.17.0, resolve@npm:^1.20.0, resolve@npm:^1.22.1":
version: 1.22.4
resolution: "resolve@npm:1.22.4"
dependencies:
@ -15717,7 +15820,7 @@ __metadata:
languageName: node
linkType: hard
"resolve@patch:resolve@^1.10.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.14.2#~builtin<compat/resolve>, resolve@patch:resolve@^1.17.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.20.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.22.1#~builtin<compat/resolve>":
"resolve@patch:resolve@^1.1.6#~builtin<compat/resolve>, resolve@patch:resolve@^1.10.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.14.2#~builtin<compat/resolve>, resolve@patch:resolve@^1.17.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.20.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.22.1#~builtin<compat/resolve>":
version: 1.22.4
resolution: "resolve@patch:resolve@npm%3A1.22.4#~builtin<compat/resolve>::version=1.22.4&hash=c3c19d"
dependencies:
@ -16009,6 +16112,19 @@ __metadata:
languageName: node
linkType: hard
"shelljs@npm:^0.8.1":
version: 0.8.5
resolution: "shelljs@npm:0.8.5"
dependencies:
glob: ^7.0.0
interpret: ^1.0.0
rechoir: ^0.6.2
bin:
shjs: bin/shjs
checksum: 7babc46f732a98f4c054ec1f048b55b9149b98aa2da32f6cf9844c434b43c6251efebd6eec120937bd0999e13811ebd45efe17410edb3ca938f82f9381302748
languageName: node
linkType: hard
"side-channel@npm:^1.0.4":
version: 1.0.4
resolution: "side-channel@npm:1.0.4"
@ -17697,7 +17813,7 @@ __metadata:
languageName: node
linkType: hard
"yargs@npm:^15.0.2, yargs@npm:^15.1.0":
"yargs@npm:^15.0.0, yargs@npm:^15.0.2, yargs@npm:^15.1.0":
version: 15.4.1
resolution: "yargs@npm:15.4.1"
dependencies: