Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Webpack bundling #37

Merged
merged 6 commits into from
Aug 1, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
cache: 'npm'
cache-dependency-path: ./package-lock.json
- run: npm install
- run: npm run compile
- run: npm run test-compile
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist
out
node_modules
client/server
Expand Down
8 changes: 3 additions & 5 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
"outFiles": ["${workspaceRoot}/client/out/**/*.js"],
"preLaunchTask": {
"type": "npm",
"script": "watch"
}
"preLaunchTask": "npm: webpack"
},
{
"name": "Language Server E2E Test",
Expand All @@ -24,7 +21,8 @@
"--extensionTestsPath=${workspaceRoot}/client/out/test/index",
"${workspaceRoot}/client/testFixture"
],
"outFiles": ["${workspaceRoot}/client/out/test/**/*.js"]
"outFiles": ["${workspaceRoot}/client/out/test/**/*.js"],
"preLaunchTask": "npm: test-compile"
}
]
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ TBD
### Testing

- Run `npm install` in this folder. This installs all necessary npm modules.
- Run `npm run compile` to compile the code & client tests.
- Run `npm run test-compile` to compile the code & client tests.
d-jeffery marked this conversation as resolved.
Show resolved Hide resolved
- Run `npm test` to execute the client test suite.

## Roadmap
Expand Down
3 changes: 2 additions & 1 deletion client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"lib": ["es2020", "dom"],
"outDir": "out",
"rootDir": "src",
"sourceMap": true
"sourceMap": true,
"moduleResolution": "NodeNext"
},
"include": ["src"],
"exclude": ["node_modules", ".vscode-test"]
Expand Down
Loading