Skip to content

Commit 3c19649

Browse files
committed
chore: Run pnpm -w fix:meta for test-case-component
1 parent 8e925e2 commit 3c19649

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

packages/test-case-component/package.json

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,34 @@
33
"version": "0.0.1",
44
"type": "module",
55
"description": "Component for displaying results of test cases in cursorless-vscode-e2e",
6-
"main": "index.js",
6+
"main": "./out/index.js",
77
"scripts": {
88
"build": "tsx src/lib/buildDictionary",
99
"test": "jest",
10-
"test:watch": "jest --watch"
10+
"test:watch": "jest --watch",
11+
"compile:tsc": "tsc --build",
12+
"compile:esbuild": "esbuild ./src/index.ts --sourcemap --format=esm --bundle --packages=external --outfile=./out/index.js",
13+
"compile": "pnpm compile:tsc && pnpm compile:esbuild",
14+
"watch:tsc": "pnpm compile:tsc --watch",
15+
"watch:esbuild": "pnpm compile:esbuild --watch",
16+
"watch": "pnpm run --filter @cursorless/test-case-component --parallel '/^watch:.*/'",
17+
"clean": "rm -rf ./out tsconfig.tsbuildinfo ./dist ./build"
1118
},
1219
"keywords": [],
1320
"author": "",
14-
"license": "ISC",
21+
"license": "MIT",
1522
"dependencies": {
1623
"fs-extra": "11.1.0",
1724
"prettier": "2.8.4",
1825
"shiki": "0.14.3",
1926
"tsx": "3.12.7",
2027
"yaml": "2.2.1"
28+
},
29+
"types": "./out/index.d.ts",
30+
"exports": {
31+
".": {
32+
"cursorless:bundler": "./src/index.ts",
33+
"default": "./out/index.js"
34+
}
2135
}
2236
}

tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
{
3030
"path": "./packages/meta-updater"
3131
},
32+
{
33+
"path": "./packages/test-case-component"
34+
},
3235
{
3336
"path": "./packages/test-harness"
3437
},

0 commit comments

Comments
 (0)