Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
22 changes: 22 additions & 0 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1222,6 +1222,7 @@ const cdkExplorer = configureProject(
'chokidar@^4',
'@jridgewell/trace-mapping@^0.3',
'convert-source-map@^2',
'p-limit@^3',
Comment thread
mrgrain marked this conversation as resolved.
],
devDeps: [
'vscode-languageserver-protocol@^3',
Expand All @@ -1245,6 +1246,27 @@ const cdkExplorer = configureProject(
}),
);
fixupTestTask(cdkExplorer);
cdkExplorer.eslint?.addOverride({
files: [
'lib/**',
],
rules: {
'no-restricted-imports': ['error', {
paths: [
{
name: 'url',
importNames: ['pathToFileURL'],
message: "Use pathToFileURL from './safe-url' instead.",
},
{
name: 'node:url',
importNames: ['pathToFileURL'],
message: "Use pathToFileURL from './safe-url' instead.",
},
],
}],
},
});

// #endregion
//////////////////////////////////////////////////////////////////////
Expand Down
28 changes: 28 additions & 0 deletions packages/@aws-cdk/cdk-explorer/.eslintrc.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions packages/@aws-cdk/cdk-explorer/.projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions packages/@aws-cdk/cdk-explorer/bin/cdk-lsp

@mrgrain mrgrain Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason for this duplicated binary?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Local iteration with tsx :)

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node
const { startLspServer } = require('../lib/lsp/main');
startLspServer();
Loading
Loading