Skip to content

Commit 7ee3688

Browse files
committed
Add @arethetypeswrong/core
1 parent 26676b6 commit 7ee3688

File tree

3 files changed

+41
-14
lines changed

3 files changed

+41
-14
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/package.json b/package.json
2+
index 60791b6ccd3575279eddef2ac795802bd5044abd..41be518d2f21a659ca71095850cb18264a814f8d 100644
3+
--- a/package.json
4+
+++ b/package.json
5+
@@ -25,6 +25,7 @@
6+
"prepublishOnly": "npm run tsc && npm run test"
7+
},
8+
"type": "module",
9+
+ "types": "./dist/index.d.ts",
10+
"exports": {
11+
".": {
12+
"development": "./src/index.ts",

examples/publish-ci/are-the-types-wrong/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@
44
"type": "module",
55
"dependencies": {
66
"@tanstack/react-table": "^8.7.9",
7-
"are-the-types-wrong-core": "file:.yalc/are-the-types-wrong-core",
87
"ink": "^4.0.0",
98
"object-hash": "^3.0.0",
109
"react": "^18.2.0"
1110
},
1211
"devDependencies": {
12+
"@arethetypeswrong/core": "^0.0.4",
1313
"@types/react": "^18.0.28",
1414
"shelljs": "^0.8.5",
1515
"tsx": "^3.12.5"
16+
},
17+
"resolutions": {
18+
"@arethetypeswrong/core@^0.0.4": "patch:@arethetypeswrong/core@npm%3A0.0.4#./.yarn/patches/@arethetypeswrong-core-npm-0.0.4-edb717a66b.patch"
1619
}
1720
}

examples/publish-ci/are-the-types-wrong/yarn.lock

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,30 @@ __metadata:
1212
languageName: node
1313
linkType: hard
1414

15+
"@arethetypeswrong/core@npm:0.0.4":
16+
version: 0.0.4
17+
resolution: "@arethetypeswrong/core@npm:0.0.4"
18+
dependencies:
19+
"@andrewbranch/untar.js": ^1.0.0
20+
fetch-ponyfill: ^7.1.0
21+
fflate: ^0.7.4
22+
typescript: ^5.0.0-dev.20230207
23+
checksum: dc9ea074e5f2e7d2df7d700cb7c727892204df5939008a059ec24247779ffc5cde57eec8dded21a852a3fa76b4058cfcaee7fc7789d265754c39c3f45394277e
24+
languageName: node
25+
linkType: hard
26+
27+
"@arethetypeswrong/core@patch:@arethetypeswrong/core@npm%3A0.0.4#./.yarn/patches/@arethetypeswrong-core-npm-0.0.4-edb717a66b.patch::locator=are-the-types-wrong%40workspace%3A.":
28+
version: 0.0.4
29+
resolution: "@arethetypeswrong/core@patch:@arethetypeswrong/core@npm%3A0.0.4#./.yarn/patches/@arethetypeswrong-core-npm-0.0.4-edb717a66b.patch::version=0.0.4&hash=d09a56&locator=are-the-types-wrong%40workspace%3A."
30+
dependencies:
31+
"@andrewbranch/untar.js": ^1.0.0
32+
fetch-ponyfill: ^7.1.0
33+
fflate: ^0.7.4
34+
typescript: ^5.0.0-dev.20230207
35+
checksum: 7d0034bf02cfd1473cbf6beeaabbb84057be26068cfdd2ed351cacbd8b8945dc8403965b3140524c7f3c41d6608c01988c2396300e01436fc77ca52ebfd2359c
36+
languageName: node
37+
linkType: hard
38+
1539
"@esbuild-kit/cjs-loader@npm:^2.4.2":
1640
version: 2.4.2
1741
resolution: "@esbuild-kit/cjs-loader@npm:2.4.2"
@@ -355,25 +379,13 @@ __metadata:
355379
languageName: node
356380
linkType: hard
357381

358-
"are-the-types-wrong-core@file:.yalc/are-the-types-wrong-core::locator=are-the-types-wrong%40workspace%3A.":
359-
version: 0.0.3
360-
resolution: "are-the-types-wrong-core@file:.yalc/are-the-types-wrong-core#.yalc/are-the-types-wrong-core::hash=b1277b&locator=are-the-types-wrong%40workspace%3A."
361-
dependencies:
362-
"@andrewbranch/untar.js": ^1.0.0
363-
fetch-ponyfill: ^7.1.0
364-
fflate: ^0.7.4
365-
typescript: ^5.0.0-dev.20230207
366-
checksum: 399a94f9862d7eba5bf0f41cb17038e72d5daed4a7ead3b5feb113ac2fb4c90190bb06942c637674758acdbefcfc742020bee345ef0a2f9a0fbe5aee757d0cc5
367-
languageName: node
368-
linkType: hard
369-
370382
"are-the-types-wrong@workspace:.":
371383
version: 0.0.0-use.local
372384
resolution: "are-the-types-wrong@workspace:."
373385
dependencies:
386+
"@arethetypeswrong/core": ^0.0.4
374387
"@tanstack/react-table": ^8.7.9
375388
"@types/react": ^18.0.28
376-
are-the-types-wrong-core: "file:.yalc/are-the-types-wrong-core"
377389
ink: ^4.0.0
378390
object-hash: ^3.0.0
379391
react: ^18.2.0

0 commit comments

Comments
 (0)