File tree Expand file tree Collapse file tree 5 files changed +26
-18
lines changed
Expand file tree Collapse file tree 5 files changed +26
-18
lines changed Original file line number Diff line number Diff line change 1- node_modules
1+ / node_modules /
22/package-lock.json
33/.vscode-test /
4- /build /
4+ /build /
5+ /.DS_Store
Original file line number Diff line number Diff line change 1+ # FOLDERS
12.vscode /**
23.vscode-test /**
34test /**
4- .gitignore
5- .yarnrc
6- vsc-extension-quickstart.md
5+ node_modules
76** /jsconfig.json
87** /* .map
98** /.eslintrc.json
9+
10+ # FILES
11+ .gitignore
12+ .yarnrc
13+ vsc-extension-quickstart.md
1014** /* .js.map
15+
Original file line number Diff line number Diff line change 11{
22 "name" : " react-labyrinth" ,
33 "displayName" : " React Labyrinth" ,
4- "description" : " React Server Components visualization tool" ,
4+ "description" : " React Component Type hierarchy tree visualization tool" ,
55 "version" : " 0.0.1" ,
6+ "icon" : " ./media/reactLbayrinthFinal.png" ,
67 "publisher" : " ReactLabyrinthDev" ,
8+ "preview" : false ,
79 "engines" : {
810 "vscode" : " ^1.85.1"
911 },
1012 "repository" : {
1113 "type" : " git" ,
12- "url" : " https://github.com/oslabs-beta/React-Labyrinth"
14+ "url" : " https://github.com/oslabs-beta/React-Labyrinth/tree/main "
1315 },
1416 "categories" : [
1517 " Other"
1618 ],
1719 "keywords" : [
1820 " react" ,
1921 " rsc" ,
22+ " react components" ,
2023 " hierarchy tree" ,
2124 " parent-child" ,
2225 " visualizer" ,
23- " server component"
26+ " server component" ,
27+ " client component"
2428 ],
2529 "license" : " MIT" ,
2630 "pricing" : " Free" ,
27- "activationEvents" : [],
31+ "activationEvents" : [
32+ " onStartupFinished"
33+ ],
2834 "main" : " ./build/extension.js" ,
2935 "contributes" : {
3036 "commands" : [
5359 {
5460 "id" : " metrics-file" ,
5561 "name" : " Metrics"
56- },
57- {
58- "id" : " test" ,
59- "name" : " Test"
6062 }
6163 ]
6264 },
6870 ]
6971 },
7072 "scripts" : {
73+ "vscode:prepublish" : " build" ,
7174 "lint" : " eslint ." ,
7275 "pretest" : " npm run lint" ,
7376 "test" : " npx tsc ; node ./build/src/test/runTest.js" ,
74- "dev " : " webpack --watch" ,
75- "webpack " : " webpack"
77+ "watch " : " webpack --mode development --config webpack.config.ts --watch" ,
78+ "build " : " webpack --mode production --config webpack.config.ts "
7679 },
7780 "devDependencies" : {
7881 "@babel/preset-typescript" : " ^7.23.3" ,
Original file line number Diff line number Diff line change 2020 " node_modules" ,
2121 " .vscode-test" ,
2222 " src/webviews" ,
23- " node_modules/@types/mocha/index.d.ts"
23+ " node_modules/@types/mocha/index.d.ts" ,
24+ " src/test/test_cases"
2425 ]
2526}
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ const extConfig: webpack.Configuration = {
1212 resolve : { extensions : [ '.ts' , '.js' ] } ,
1313 module : { rules : [ { test : / \. t s $ / , loader : 'ts-loader' } ] } ,
1414 externals : { vscode : 'vscode' } ,
15- mode : 'development'
1615} ;
1716
1817const webviewConfig : webpack . Configuration = {
@@ -34,7 +33,6 @@ const webviewConfig: webpack.Configuration = {
3433 } ,
3534 ] ,
3635 } ,
37- mode : 'development'
3836} ;
3937
4038export default [ webviewConfig , extConfig ] ;
You can’t perform that action at this time.
0 commit comments