Skip to content

Commit 790dbbe

Browse files
authored
chore: move to yalc-less test infra (#849)
1 parent 93ec5f9 commit 790dbbe

File tree

2 files changed

+5
-116
lines changed

2 files changed

+5
-116
lines changed

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,9 @@
3939
"scripts": {
4040
"test": "run-s -c test:pre \"test:exec {@}\" test:post --",
4141
"test:webpack-4": "cross-env WEBPACK_VERSION=4 yarn test",
42-
"test:pre": "run-s yalc:publish yalc:add",
42+
"test:pre": "yarn add -D file:./",
4343
"test:exec": "node scripts/test.js",
44-
"test:post": "yarn yalc:clean",
45-
"yalc:add": "yalc add --dev @pmmmwh/react-refresh-webpack-plugin",
46-
"yalc:clean": "yalc remove --all",
47-
"yalc:publish": "yalc publish --no-scripts",
44+
"test:post": "yarn remove @pmmmwh/react-refresh-webpack-plugin",
4845
"lint": "eslint --report-unused-disable-directives --ext .js,.jsx .",
4946
"lint:fix": "yarn lint --fix",
5047
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
@@ -108,7 +105,6 @@
108105
"webpack-hot-middleware": "^2.25.0",
109106
"webpack-plugin-serve": "^1.4.1",
110107
"webpack-v4": "npm:[email protected]",
111-
"yalc": "^1.0.0-pre.53",
112108
"yn": "^4.0.0"
113109
},
114110
"peerDependencies": {

yarn.lock

Lines changed: 3 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -683,17 +683,6 @@
683683
resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.1.1.tgz#1ec17e2edbec25c8306d424ecfbf13c7de1aaa31"
684684
integrity sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==
685685

686-
"@pmmmwh/react-refresh-webpack-plugin@file:.yalc/@pmmmwh/react-refresh-webpack-plugin":
687-
version "0.5.13"
688-
dependencies:
689-
ansi-html "^0.0.9"
690-
core-js-pure "^3.23.3"
691-
error-stack-parser "^2.0.6"
692-
html-entities "^2.1.0"
693-
loader-utils "^2.0.4"
694-
schema-utils "^4.2.0"
695-
source-map "^0.7.3"
696-
697686
"@puppeteer/[email protected]":
698687
version "2.2.3"
699688
resolved "https://registry.yarnpkg.com/@puppeteer/browsers/-/browsers-2.2.3.tgz#ad6b79129c50825e77ddaba082680f4dad0b674e"
@@ -2338,15 +2327,6 @@ cliui@^5.0.0:
23382327
strip-ansi "^5.2.0"
23392328
wrap-ansi "^5.1.0"
23402329

2341-
cliui@^7.0.2:
2342-
version "7.0.4"
2343-
resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f"
2344-
integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==
2345-
dependencies:
2346-
string-width "^4.2.0"
2347-
strip-ansi "^6.0.0"
2348-
wrap-ansi "^7.0.0"
2349-
23502330
cliui@^8.0.1:
23512331
version "8.0.1"
23522332
resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa"
@@ -2965,11 +2945,6 @@ [email protected], destroy@^1.0.4:
29652945
resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015"
29662946
integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==
29672947

2968-
detect-indent@^6.0.0:
2969-
version "6.1.0"
2970-
resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.1.0.tgz#592485ebbbf6b3b1ab2be175c8393d04ca0d57e6"
2971-
integrity sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==
2972-
29732948
detect-newline@^3.0.0:
29742949
version "3.1.0"
29752950
resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651"
@@ -3873,15 +3848,6 @@ fs-extra@^11.2.0:
38733848
jsonfile "^6.0.1"
38743849
universalify "^2.0.0"
38753850

3876-
fs-extra@^8.0.1:
3877-
version "8.1.0"
3878-
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0"
3879-
integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==
3880-
dependencies:
3881-
graceful-fs "^4.2.0"
3882-
jsonfile "^4.0.0"
3883-
universalify "^0.1.0"
3884-
38853851
fs-monkey@^1.0.4:
38863852
version "1.0.6"
38873853
resolved "https://registry.yarnpkg.com/fs-monkey/-/fs-monkey-1.0.6.tgz#8ead082953e88d992cf3ff844faa907b26756da2"
@@ -4047,7 +4013,7 @@ glob@^10.3.7:
40474013
minipass "^7.0.4"
40484014
path-scurry "^1.10.2"
40494015

4050-
glob@^7.0.3, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6:
4016+
glob@^7.0.3, glob@^7.1.3, glob@^7.1.4:
40514017
version "7.2.3"
40524018
resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b"
40534019
integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==
@@ -4462,14 +4428,7 @@ iferr@^0.1.5:
44624428
resolved "https://registry.yarnpkg.com/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501"
44634429
integrity sha512-DUNFN5j7Tln0D+TxzloUjKB+CtVu6myn0JEFak6dG18mNt9YkQ6lzGCdafwofISZ1lLF3xRHJ98VKy9ynkcFaA==
44644430

4465-
ignore-walk@^3.0.3:
4466-
version "3.0.4"
4467-
resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.4.tgz#c9a09f69b7c7b479a5d74ac1a3c0d4236d2a6335"
4468-
integrity sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==
4469-
dependencies:
4470-
minimatch "^3.0.4"
4471-
4472-
ignore@^5.0.4, ignore@^5.2.0, ignore@^5.2.4:
4431+
ignore@^5.2.0, ignore@^5.2.4:
44734432
version "5.3.1"
44744433
resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.1.tgz#5073e554cd42c5b33b394375f538b8593e34d4ef"
44754434
integrity sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==
@@ -4531,11 +4490,6 @@ [email protected]:
45314490
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
45324491
integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==
45334492

4534-
ini@^2.0.0:
4535-
version "2.0.0"
4536-
resolved "https://registry.yarnpkg.com/ini/-/ini-2.0.0.tgz#e5fd556ecdd5726be978fa1001862eacb0a94bc5"
4537-
integrity sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==
4538-
45394493
internal-ip@^4.3.0:
45404494
version "4.3.0"
45414495
resolved "https://registry.yarnpkg.com/internal-ip/-/internal-ip-4.3.0.tgz#845452baad9d2ca3b69c635a137acb9a0dad0907"
@@ -5551,13 +5505,6 @@ json5@^2.1.2, json5@^2.2.3:
55515505
resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283"
55525506
integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==
55535507

5554-
jsonfile@^4.0.0:
5555-
version "4.0.0"
5556-
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb"
5557-
integrity sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==
5558-
optionalDependencies:
5559-
graceful-fs "^4.1.6"
5560-
55615508
jsonfile@^6.0.1:
55625509
version "6.1.0"
55635510
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae"
@@ -6331,28 +6278,6 @@ normalize-path@^3.0.0, normalize-path@~3.0.0:
63316278
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
63326279
integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==
63336280

6334-
npm-bundled@^1.1.1:
6335-
version "1.1.2"
6336-
resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.2.tgz#944c78789bd739035b70baa2ca5cc32b8d860bc1"
6337-
integrity sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==
6338-
dependencies:
6339-
npm-normalize-package-bin "^1.0.1"
6340-
6341-
npm-normalize-package-bin@^1.0.1:
6342-
version "1.0.1"
6343-
resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2"
6344-
integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==
6345-
6346-
npm-packlist@^2.1.5:
6347-
version "2.2.2"
6348-
resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-2.2.2.tgz#076b97293fa620f632833186a7a8f65aaa6148c8"
6349-
integrity sha512-Jt01acDvJRhJGthnUJVF/w6gumWOZxO7IkpY/lsX9//zqQgnF7OJaxgQXcerd4uQOLu7W5bkb4mChL9mdfm+Zg==
6350-
dependencies:
6351-
glob "^7.1.6"
6352-
ignore-walk "^3.0.3"
6353-
npm-bundled "^1.1.1"
6354-
npm-normalize-package-bin "^1.0.1"
6355-
63566281
npm-run-all@^4.1.5:
63576282
version "4.1.5"
63586283
resolved "https://registry.yarnpkg.com/npm-run-all/-/npm-run-all-4.1.5.tgz#04476202a15ee0e2e214080861bff12a51d98fba"
@@ -8548,11 +8473,6 @@ unique-slug@^2.0.0:
85488473
dependencies:
85498474
imurmurhash "^0.1.4"
85508475

8551-
universalify@^0.1.0:
8552-
version "0.1.2"
8553-
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"
8554-
integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==
8555-
85568476
universalify@^0.2.0:
85578477
version "0.2.0"
85588478
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0"
@@ -9246,20 +9166,6 @@ y18n@^5.0.5:
92469166
resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55"
92479167
integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==
92489168

9249-
yalc@^1.0.0-pre.53:
9250-
version "1.0.0-pre.53"
9251-
resolved "https://registry.yarnpkg.com/yalc/-/yalc-1.0.0-pre.53.tgz#c51db2bb924a6908f4cb7e82af78f7e5606810bc"
9252-
integrity sha512-tpNqBCpTXplnduzw5XC+FF8zNJ9L/UXmvQyyQj7NKrDNavbJtHvzmZplL5ES/RCnjX7JR7W9wz5GVDXVP3dHUQ==
9253-
dependencies:
9254-
chalk "^4.1.0"
9255-
detect-indent "^6.0.0"
9256-
fs-extra "^8.0.1"
9257-
glob "^7.1.4"
9258-
ignore "^5.0.4"
9259-
ini "^2.0.0"
9260-
npm-packlist "^2.1.5"
9261-
yargs "^16.1.1"
9262-
92639169
yallist@^3.0.2:
92649170
version "3.1.1"
92659171
resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
@@ -9278,7 +9184,7 @@ yargs-parser@^13.1.2:
92789184
camelcase "^5.0.0"
92799185
decamelize "^1.2.0"
92809186

9281-
yargs-parser@^20.2.2, yargs-parser@^20.2.9:
9187+
yargs-parser@^20.2.9:
92829188
version "20.2.9"
92839189
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee"
92849190
integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==
@@ -9317,19 +9223,6 @@ yargs@^13.3.2:
93179223
y18n "^4.0.0"
93189224
yargs-parser "^13.1.2"
93199225

9320-
yargs@^16.1.1:
9321-
version "16.2.0"
9322-
resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66"
9323-
integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==
9324-
dependencies:
9325-
cliui "^7.0.2"
9326-
escalade "^3.1.1"
9327-
get-caller-file "^2.0.5"
9328-
require-directory "^2.1.1"
9329-
string-width "^4.2.0"
9330-
y18n "^5.0.5"
9331-
yargs-parser "^20.2.2"
9332-
93339226
yauzl@^2.10.0:
93349227
version "2.10.0"
93359228
resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9"

0 commit comments

Comments
 (0)