Skip to content
This repository was archived by the owner on Aug 31, 2022. It is now read-only.

Commit 2137208

Browse files
committed
Fix libnpmaccess problem and use exact versions
1 parent a2dd9ae commit 2137208

File tree

3 files changed

+85
-75
lines changed

3 files changed

+85
-75
lines changed

.yarnrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
save-prefix ''

package.json

+47-43
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,49 @@
11
{
2-
"name": "@synthetixio/ui",
3-
"version": "1.0.0",
4-
"description": "component library",
5-
"repository": "https://github.com/Synthetixio/ui",
6-
"license": "MIT",
7-
"private": false,
8-
"main": "./dist/cjs/index.js",
9-
"module": "./dist/esm/index.js",
10-
"types": "./dist/esm/index.d.ts",
11-
"files": [
12-
"/dist"
13-
],
14-
"scripts": {
15-
"build": "yarn build:esm && yarn build:cjs",
16-
"build:esm": "tsc",
17-
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
18-
"storybook": "start-storybook -p 6006 -c .storybook watch-css -s ./src",
19-
"build-storybook": "build-storybook"
20-
},
21-
"release": {
22-
"branches": [
23-
"main"
24-
]
25-
},
26-
"devDependencies": {
27-
"@storybook/addon-actions": "^6.4.18",
28-
"@storybook/addon-essentials": "^6.4.18",
29-
"@storybook/addon-links": "^6.4.18",
30-
"@storybook/react": "^6.4.18",
31-
"@types/react": "^17.0.39",
32-
"@types/styled-components": "^5.1.22",
33-
"html-webpack-plugin": "^5.5.0",
34-
"react": "^17.0.2",
35-
"react-dom": "^17.0.2",
36-
"semantic-release": "19.0.2",
37-
"styled-components": "^5.3.3",
38-
"typescript": "^4.5.5",
39-
"yalc": "^1.0.0-pre.53"
40-
},
41-
"peerDependencies": {
42-
"react": "^17.0.2",
43-
"react-dom": "^17.0.2"
44-
}
2+
"name": "@synthetixio/ui",
3+
"version": "1.0.0",
4+
"description": "component library",
5+
"repository": "https://github.com/Synthetixio/ui",
6+
"license": "MIT",
7+
"private": false,
8+
"main": "./dist/cjs/index.js",
9+
"module": "./dist/esm/index.js",
10+
"types": "./dist/esm/index.d.ts",
11+
"files": [
12+
"/dist"
13+
],
14+
"scripts": {
15+
"build": "yarn build:esm && yarn build:cjs",
16+
"build:esm": "tsc",
17+
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
18+
"storybook": "start-storybook -p 6006 -c .storybook watch-css -s ./src",
19+
"build-storybook": "build-storybook"
20+
},
21+
"release": {
22+
"branches": [
23+
"main"
24+
]
25+
},
26+
"devDependencies": {
27+
"@storybook/addon-actions": "6.4.18",
28+
"@storybook/addon-essentials": "6.4.18",
29+
"@storybook/addon-links": "6.4.18",
30+
"@storybook/react": "6.4.18",
31+
"@types/react": "17.0.39",
32+
"@types/styled-components": "5.1.22",
33+
"html-webpack-plugin": "5.5.0",
34+
"husky": "7.0.4",
35+
"react": "17.0.2",
36+
"react-dom": "17.0.2",
37+
"semantic-release": "19.0.2",
38+
"styled-components": "5.3.3",
39+
"typescript": "4.5.5",
40+
"yalc": "1.0.0-pre.53"
41+
},
42+
"peerDependencies": {
43+
"react": "17.0.2",
44+
"react-dom": "17.0.2"
45+
},
46+
"resolutions": {
47+
"libnpmaccess": "6.0.1"
48+
}
4549
}

yarn.lock

+37-32
Original file line numberDiff line numberDiff line change
@@ -1736,7 +1736,7 @@
17361736
lodash "^4.17.4"
17371737
read-pkg-up "^7.0.0"
17381738

1739-
"@storybook/[email protected]", "@storybook/addon-actions@^6.4.18":
1739+
"@storybook/[email protected]":
17401740
version "6.4.18"
17411741
resolved "https://registry.npmjs.org/@storybook/addon-actions/-/addon-actions-6.4.18.tgz"
17421742
integrity sha512-qPw5qfbWPmyOdaXxAVAbdVLVVE31gRrkH0ESUps+FXVNypRz1/0lJ6M2VrtOHMrFbGBl94SALdqsHOx6OYZKwg==
@@ -1849,9 +1849,9 @@
18491849
ts-dedent "^2.0.0"
18501850
util-deprecate "^1.0.2"
18511851

1852-
"@storybook/addon-essentials@^6.4.18":
1852+
"@storybook/[email protected]":
18531853
version "6.4.18"
1854-
resolved "https://registry.npmjs.org/@storybook/addon-essentials/-/addon-essentials-6.4.18.tgz"
1854+
resolved "https://registry.yarnpkg.com/@storybook/addon-essentials/-/addon-essentials-6.4.18.tgz#0f8a90a53887bfd5dfc0d147d634bf0ae19a9a5d"
18551855
integrity sha512-AWKF0Gn7HagzB4ZbZdSXauJ8rgjbIB0Y1jgNCYtReZ//9QDSmF9yrFE0fLJi8O0WBHiQOTeV8Vj+yooGGWRRWQ==
18561856
dependencies:
18571857
"@storybook/addon-actions" "6.4.18"
@@ -1869,9 +1869,9 @@
18691869
regenerator-runtime "^0.13.7"
18701870
ts-dedent "^2.0.0"
18711871

1872-
"@storybook/addon-links@^6.4.18":
1872+
"@storybook/[email protected]":
18731873
version "6.4.18"
1874-
resolved "https://registry.npmjs.org/@storybook/addon-links/-/addon-links-6.4.18.tgz"
1874+
resolved "https://registry.yarnpkg.com/@storybook/addon-links/-/addon-links-6.4.18.tgz#edb61db6c291056f7d3c64566aea436a6796c50a"
18751875
integrity sha512-yIbL57+tV1Ei2b7zTGU/T7muBFByTPm/8IN5SA5tSFYRTR9VtFuvBXco6I9Wz9GLN/REyVa4+AoDahokk7+vPQ==
18761876
dependencies:
18771877
"@storybook/addons" "6.4.18"
@@ -2427,9 +2427,9 @@
24272427
react-docgen-typescript "^2.0.0"
24282428
tslib "^2.0.0"
24292429

2430-
"@storybook/react@^6.4.18":
2430+
"@storybook/[email protected]":
24312431
version "6.4.18"
2432-
resolved "https://registry.npmjs.org/@storybook/react/-/react-6.4.18.tgz"
2432+
resolved "https://registry.yarnpkg.com/@storybook/react/-/react-6.4.18.tgz#22624af56a9873c6616b5dc6a1e30c968bac95d2"
24332433
integrity sha512-dKxwsvJEGTm/aNIJSJMI4MImsI4EhmBa42FtwVvtFkrokuMf2CsmTJsaaAh+1or9SKGTiFuGsYDGhX5joE3XUQ==
24342434
dependencies:
24352435
"@babel/preset-flow" "^7.12.1"
@@ -2739,7 +2739,7 @@
27392739
dependencies:
27402740
"@types/react" "*"
27412741

2742-
"@types/react@*", "@types/react@^17.0.39":
2742+
"@types/react@*", "@types/[email protected]":
27432743
version "17.0.39"
27442744
resolved "https://registry.npmjs.org/@types/react/-/react-17.0.39.tgz"
27452745
integrity sha512-UVavlfAxDd/AgAacMa60Azl7ygyQNRwC/DsHZmKgNvPmRR5p70AJ5Q9EAmL2NWOJmeV+vVUI4IAP7GZrN8h8Ug==
@@ -2763,9 +2763,9 @@
27632763
resolved "https://registry.npmjs.org/@types/source-list-map/-/source-list-map-0.1.2.tgz"
27642764
integrity sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA==
27652765

2766-
"@types/styled-components@^5.1.22":
2766+
27672767
version "5.1.22"
2768-
resolved "https://registry.npmjs.org/@types/styled-components/-/styled-components-5.1.22.tgz"
2768+
resolved "https://registry.yarnpkg.com/@types/styled-components/-/styled-components-5.1.22.tgz#ee6206582d3da11fa2f9951e858aefebee37ff20"
27692769
integrity sha512-zQzf/0aGtgFDjB942f8IaKA6UilFziDza9wXkAX5mpiSWA/FBZBU6yUavvczulTvoR6759h6CH8HuuIcJDBgZA==
27702770
dependencies:
27712771
"@types/hoist-non-react-statics" "*"
@@ -6314,6 +6314,17 @@ html-void-elements@^1.0.0:
63146314
resolved "https://registry.npmjs.org/html-void-elements/-/html-void-elements-1.0.5.tgz"
63156315
integrity sha512-uE/TxKuyNIcx44cIWnjr/rfIATDH7ZaOMmstu0CwhFG1Dunhlp4OC6/NMbhiwoq5BpW0ubi303qnEk/PZj614w==
63166316

6317+
6318+
version "5.5.0"
6319+
resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-5.5.0.tgz#c3911936f57681c1f9f4d8b68c158cd9dfe52f50"
6320+
integrity sha512-sy88PC2cRTVxvETRgUHFrL4No3UxvcH8G1NepGhqaTT+GXN2kTamqasot0inS5hXeg1cMbFDt27zzo9p35lZVw==
6321+
dependencies:
6322+
"@types/html-minifier-terser" "^6.0.0"
6323+
html-minifier-terser "^6.0.2"
6324+
lodash "^4.17.21"
6325+
pretty-error "^4.0.0"
6326+
tapable "^2.0.0"
6327+
63176328
html-webpack-plugin@^4.0.0:
63186329
version "4.5.2"
63196330
resolved "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-4.5.2.tgz"
@@ -6329,17 +6340,6 @@ html-webpack-plugin@^4.0.0:
63296340
tapable "^1.1.3"
63306341
util.promisify "1.0.0"
63316342

6332-
html-webpack-plugin@^5.5.0:
6333-
version "5.5.0"
6334-
resolved "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.5.0.tgz"
6335-
integrity sha512-sy88PC2cRTVxvETRgUHFrL4No3UxvcH8G1NepGhqaTT+GXN2kTamqasot0inS5hXeg1cMbFDt27zzo9p35lZVw==
6336-
dependencies:
6337-
"@types/html-minifier-terser" "^6.0.0"
6338-
html-minifier-terser "^6.0.2"
6339-
lodash "^4.17.21"
6340-
pretty-error "^4.0.0"
6341-
tapable "^2.0.0"
6342-
63436343
htmlparser2@^6.1.0:
63446344
version "6.1.0"
63456345
resolved "https://registry.npmjs.org/htmlparser2/-/htmlparser2-6.1.0.tgz"
@@ -6400,6 +6400,11 @@ humanize-ms@^1.2.1:
64006400
dependencies:
64016401
ms "^2.0.0"
64026402

6403+
6404+
version "7.0.4"
6405+
resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.4.tgz#242048245dc49c8fb1bf0cc7cfb98dd722531535"
6406+
integrity sha512-vbaCKN2QLtP/vD4yvs6iz6hBEo6wkSzs8HpRah1Z6aGmF2KW5PdYuAd7uX5a+OyBZHBhd+TFLqgjUgytQr4RvQ==
6407+
64036408
64046409
version "0.4.24"
64056410
resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz"
@@ -7279,7 +7284,7 @@ levn@~0.3.0:
72797284
prelude-ls "~1.1.2"
72807285
type-check "~0.3.2"
72817286

7282-
libnpmaccess@^6.0.2:
7287+
libnpmaccess@6.0.1, libnpmaccess@^6.0.2:
72837288
version "6.0.1"
72847289
resolved "https://registry.yarnpkg.com/libnpmaccess/-/libnpmaccess-6.0.1.tgz#76a67a84590be2143d8d05ee1ca3d3f332e2a9bb"
72857290
integrity sha512-IMQEFBpiBOODmON0XXNuDx5aAGw2EE1PuDsWOpZzFrlTCNDkINGDarGGRyunOQFapNjZd18UeApZjEJosLaXyQ==
@@ -9404,9 +9409,9 @@ react-docgen@^5.0.0:
94049409
node-dir "^0.1.10"
94059410
strip-indent "^3.0.0"
94069411

9407-
react-dom@^17.0.2:
9412+
94089413
version "17.0.2"
9409-
resolved "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz"
9414+
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23"
94109415
integrity sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==
94119416
dependencies:
94129417
loose-envify "^1.1.0"
@@ -9532,9 +9537,9 @@ react-textarea-autosize@^8.3.0:
95329537
use-composed-ref "^1.0.0"
95339538
use-latest "^1.0.0"
95349539

9535-
react@^17.0.2:
9540+
95369541
version "17.0.2"
9537-
resolved "https://registry.npmjs.org/react/-/react-17.0.2.tgz"
9542+
resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037"
95389543
integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==
95399544
dependencies:
95409545
loose-envify "^1.1.0"
@@ -10631,9 +10636,9 @@ [email protected], style-to-object@^0.3.0:
1063110636
dependencies:
1063210637
inline-style-parser "0.1.1"
1063310638

10634-
styled-components@^5.3.3:
10639+
1063510640
version "5.3.3"
10636-
resolved "https://registry.npmjs.org/styled-components/-/styled-components-5.3.3.tgz"
10641+
resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-5.3.3.tgz#312a3d9a549f4708f0fb0edc829eb34bde032743"
1063710642
integrity sha512-++4iHwBM7ZN+x6DtPPWkCI4vdtwumQ+inA/DdAsqYd4SVgUKJie5vXyzotA00ttcFdQkCng7zc6grwlfIfw+lw==
1063810643
dependencies:
1063910644
"@babel/helper-module-imports" "^7.0.0"
@@ -11024,9 +11029,9 @@ typedarray@^0.0.6:
1102411029
resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz"
1102511030
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
1102611031

11027-
typescript@^4.5.5:
11032+
1102811033
version "4.5.5"
11029-
resolved "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz"
11034+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.5.tgz#d8c953832d28924a9e3d37c73d729c846c5896f3"
1103011035
integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==
1103111036

1103211037
uglify-js@^3.1.4:
@@ -11637,9 +11642,9 @@ y18n@^5.0.5:
1163711642
resolved "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz"
1163811643
integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==
1163911644

11640-
yalc@^1.0.0-pre.53:
11645+
1164111646
version "1.0.0-pre.53"
11642-
resolved "https://registry.npmjs.org/yalc/-/yalc-1.0.0-pre.53.tgz"
11647+
resolved "https://registry.yarnpkg.com/yalc/-/yalc-1.0.0-pre.53.tgz#c51db2bb924a6908f4cb7e82af78f7e5606810bc"
1164311648
integrity sha512-tpNqBCpTXplnduzw5XC+FF8zNJ9L/UXmvQyyQj7NKrDNavbJtHvzmZplL5ES/RCnjX7JR7W9wz5GVDXVP3dHUQ==
1164411649
dependencies:
1164511650
chalk "^4.1.0"

0 commit comments

Comments
 (0)