Skip to content
This repository was archived by the owner on Jul 13, 2023. It is now read-only.

Commit 15fc3bd

Browse files
fix: npm release packaging
previous @stoplight/scripts was not targeting the dist folder properly
1 parent 4d8d22b commit 15fc3bd

File tree

2 files changed

+25
-22
lines changed

2 files changed

+25
-22
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@
5050
"urijs": "1.19.x"
5151
},
5252
"devDependencies": {
53-
"@stoplight/scripts": "1.1.x",
53+
"@stoplight/scripts": "1.1.2",
5454
"@types/lodash": "4.x.x",
5555
"@types/urijs": "1.15.x",
5656
"benchmark": "2.x.x",
5757
"typescript": "3.1.6"
5858
},
5959
"lint-staged": {
60-
"src/*.ts": [
60+
"*.ts": [
6161
"yarn lint.fix",
6262
"git add"
6363
]
@@ -77,5 +77,8 @@
7777
"extends": [
7878
"@commitlint/config-conventional"
7979
]
80+
},
81+
"release": {
82+
"extends": "@stoplight/scripts/release"
8083
}
8184
}

yarn.lock

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -966,12 +966,12 @@
966966
integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==
967967

968968
"@oclif/command@1.5.x", "@oclif/command@^1.5.4":
969-
version "1.5.4"
970-
resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.5.4.tgz#659456def965454e1c0115e8265533980eefb200"
971-
integrity sha512-R76o9r2nMYLmpiRyEGDyIlwWIs5n+7aL6TncnqHCtjk990bN4ax5GyKf1S/+vw+2GswwOzNJ/wvxy5gbB3QZbg==
969+
version "1.5.5"
970+
resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.5.5.tgz#7d37cd8cc96191ceb82d42b8ca1487f9558750bf"
971+
integrity sha512-qx3hk59Gj9uc50Nv7o/lnv6bfol0sgFcCVCZiP1c4ieALtUqkT9XpGI6S06vxhkVVye0h4+XGRvMdeJh4+2A+w==
972972
dependencies:
973973
"@oclif/errors" "^1.2.2"
974-
"@oclif/parser" "^3.6.1"
974+
"@oclif/parser" "^3.7.0"
975975
debug "^4.1.0"
976976
semver "^5.6.0"
977977

@@ -999,7 +999,7 @@
999999
resolved "https://registry.yarnpkg.com/@oclif/linewrap/-/linewrap-1.0.0.tgz#aedcb64b479d4db7be24196384897b5000901d91"
10001000
integrity sha512-Ups2dShK52xXa8w6iBWLgcjPJWjais6KPJQq3gQ/88AY6BXoTX+MIGFPrWQO1KLMiQfoTpcLnUwloN4brrVUHw==
10011001

1002-
"@oclif/parser@^3.6.1":
1002+
"@oclif/parser@^3.7.0":
10031003
version "3.7.0"
10041004
resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.7.0.tgz#cda3eea341e87cc7390511cf369a0126d0b39a93"
10051005
integrity sha512-CtRbCBJQ8prt9o3nCTSRi/UEw68t7mUf19vu3QKbh6sGc6BkD7OAX6Hfjxif636LSlR+N8eh3PELw9SxHdJcbQ==
@@ -1009,17 +1009,17 @@
10091009
tslib "^1.9.3"
10101010

10111011
"@oclif/plugin-help@2.1.x":
1012-
version "2.1.3"
1013-
resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-2.1.3.tgz#7ef67a0b520f63c1b4ca54f3a2c117a9852a8699"
1014-
integrity sha512-PLowyoPv/piB9jb2CF7UExL/uRq+mOKtNqVfJel3uD3NX2n9bKFYzo5Wxqcf9trQx/S/dI883CPRtwv5dLKP0g==
1012+
version "2.1.4"
1013+
resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-2.1.4.tgz#b530fa3147d5ae91ba9c84d085f53a829b2914dc"
1014+
integrity sha512-wG4eR/UxYangQlyn4XvslVV4wpBNQrEC/PvRibQq+0jNop/7zfK3jdWuK5PVB0mxZfhPwBSMZzV/3ur6DN+Bbg==
10151015
dependencies:
10161016
"@oclif/command" "^1.5.4"
10171017
chalk "^2.4.1"
10181018
indent-string "^3.2.0"
10191019
lodash.template "^4.4.0"
10201020
string-width "^2.1.1"
10211021
strip-ansi "^5.0.0"
1022-
widest-line "^2.0.0"
1022+
widest-line "^2.0.1"
10231023
wrap-ansi "^4.0.0"
10241024

10251025
"@oclif/screen@^1.0.3":
@@ -1142,10 +1142,10 @@
11421142
resolved "https://registry.yarnpkg.com/@stoplight/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz#faf12b804aef7ab2acc460edd40d23f7bb5cb3b8"
11431143
integrity sha1-+vErgErverKsxGDt1A0j97tcs7g=
11441144

1145-
"@stoplight/scripts@1.1.x":
1146-
version "1.1.0"
1147-
resolved "https://registry.yarnpkg.com/@stoplight/scripts/-/scripts-1.1.0.tgz#7c07102b884217bc70d68d81f1d79945b506d635"
1148-
integrity sha512-m9hLO3rWMPiZyyvYkpcr2jP10QwkbUDVRocFJhRIowNq/oQNQFP1vziIyuUj64hrYi5CyQF9As8uWAouAUgrsg==
1145+
"@stoplight/scripts@1.1.2":
1146+
version "1.1.2"
1147+
resolved "https://registry.yarnpkg.com/@stoplight/scripts/-/scripts-1.1.2.tgz#c4caa97b4e6038342f072fcc6400d1a87a5326a5"
1148+
integrity sha512-HNTeDGiThBWhf9cMFC7+aG1AbviSYw4x5zIz8723KQw4y+He+pgLF3RDgvqtJZ2rljCgLs1lyDZnLGvxnNaKug==
11491149
dependencies:
11501150
"@babel/core" "7.1.x"
11511151
"@commitlint/cli" "7.2.x"
@@ -1547,9 +1547,9 @@
15471547
integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==
15481548

15491549
"@types/node@*", "@types/node@10.12.x":
1550-
version "10.12.5"
1551-
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.12.5.tgz#7e7ea1a9b34d2c8d704cb0b755dffbcda34741ad"
1552-
integrity sha512-GzdHjq3t3eGLMv92Al90Iq+EoLL+86mPfQhuglbBFO7HiLdC/rkt+zrzJJumAiBF6nsrBWhou22rPW663AAyFw==
1550+
version "10.12.6"
1551+
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.12.6.tgz#7fc213c1b811c90fc9a3edb6206742b95d697678"
1552+
integrity sha512-+ZWB5Ec1iki99xQFzBlivlKxSZQ+fuUKBott8StBOnLN4dWbRHlgdg1XknpW6g0tweniN5DcOqA64CJyOUPSAw==
15531553

15541554
"@types/prop-types@*":
15551555
version "15.5.6"
@@ -5414,9 +5414,9 @@ global@^4.3.2:
54145414
process "~0.5.1"
54155415

54165416
globals@^11.1.0:
5417-
version "11.8.0"
5418-
resolved "https://registry.yarnpkg.com/globals/-/globals-11.8.0.tgz#c1ef45ee9bed6badf0663c5cb90e8d1adec1321d"
5419-
integrity sha512-io6LkyPVuzCHBSQV9fmOwxZkUk6nIaGmxheLDgmuFv89j0fm2aqDbIXKAGfzCMHqz3HLF2Zf8WSG6VqMh2qFmA==
5417+
version "11.9.0"
5418+
resolved "https://registry.yarnpkg.com/globals/-/globals-11.9.0.tgz#bde236808e987f290768a93d065060d78e6ab249"
5419+
integrity sha512-5cJVtyXWH8PiJPVLZzzoIizXx944O4OmRro5MWKx5fT4MgcN7OfaMutPeaTdJCCURwbWdhhcCWcKIffPnmTzBg==
54205420

54215421
globals@^9.18.0:
54225422
version "9.18.0"
@@ -11907,7 +11907,7 @@ wide-align@^1.1.0:
1190711907
dependencies:
1190811908
string-width "^1.0.2 || 2"
1190911909

11910-
widest-line@^2.0.0:
11910+
widest-line@^2.0.0, widest-line@^2.0.1:
1191111911
version "2.0.1"
1191211912
resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-2.0.1.tgz#7438764730ec7ef4381ce4df82fb98a53142a3fc"
1191311913
integrity sha512-Ba5m9/Fa4Xt9eb2ELXt77JxVDV8w7qQrH0zS/TWSJdLyAwQjWoOzpzj5lwVftDz6n/EOu3tNACS84v509qwnJA==

0 commit comments

Comments
 (0)