Skip to content
Open
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
1 change: 1 addition & 0 deletions .github/workflows/test-tag-paths-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"extensions/positron-catalog-explorer/": ["@:catalog-explorer"],
"extensions/positron-code-cells/": [],
"extensions/positron-data-driver-duckdb/": ["@:connections"],
"extensions/positron-data-driver-pins/": ["@:connect"],
"extensions/positron-data-driver-postgresql/": ["@:connections"],
"extensions/positron-data-driver-sqlite/": ["@:connections"],
"extensions/positron-data-explorer-protocol/": ["@:data-explorer"],
Expand Down
5 changes: 5 additions & 0 deletions .vscode-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ const extensions = [
workspaceFolder: path.join(os.tmpdir(), `positron-data-driver-duckdb-${Math.floor(Math.random() * 100000)}`),
mocha: { timeout: 60_000 }
},
{
label: 'positron-data-driver-pins',
workspaceFolder: path.join(os.tmpdir(), `positron-data-driver-pins-${Math.floor(Math.random() * 100000)}`),
mocha: { timeout: 60_000 }
},
{
label: 'positron-data-driver-postgresql',
workspaceFolder: path.join(os.tmpdir(), `positron-data-driver-postgresql-${Math.floor(Math.random() * 100000)}`),
Expand Down
1 change: 1 addition & 0 deletions build/gulpfile.extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const compilations = [
'extensions/positron-duckdb/tsconfig.json',
'extensions/positron-environment/tsconfig.json',
'extensions/positron-data-driver-duckdb/tsconfig.json',
'extensions/positron-data-driver-pins/tsconfig.json',
'extensions/positron-data-driver-postgresql/tsconfig.json',
'extensions/positron-data-driver-sqlite/tsconfig.json',
'extensions/positron-environment-modules/tsconfig.json',
Expand Down
1 change: 1 addition & 0 deletions build/lib/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ function fromLocalEsbuild(extensionPath: string, esbuildConfigFileName: string):
'positron-catalog-explorer',
'positron-pdf-server',
'positron-data-driver-duckdb',
'positron-data-driver-pins',
'positron-data-driver-postgresql',
'positron-data-driver-sqlite'
];
Expand Down
1 change: 1 addition & 0 deletions build/npm/dirs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export let dirs = [
'extensions/positron-environment',
'extensions/positron-data-explorer-protocol',
'extensions/positron-data-driver-duckdb',
'extensions/positron-data-driver-pins',
'extensions/positron-data-driver-postgresql',
'extensions/positron-data-driver-sqlite',
'extensions/positron-environment-modules',
Expand Down
21 changes: 21 additions & 0 deletions extensions/positron-data-driver-pins/esbuild.mts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*---------------------------------------------------------------------------------------------
* Copyright (C) 2026 Posit Software, PBC. All rights reserved.
* Licensed under the Elastic License 2.0. See LICENSE.txt for license information.
*--------------------------------------------------------------------------------------------*/
import * as path from 'node:path';
import { run } from '../esbuild-extension-common.mts';

const srcDir = path.join(import.meta.dirname, 'src');
const outDir = path.join(import.meta.dirname, 'dist');

run({
platform: 'node',
entryPoints: {
'extension': path.join(srcDir, 'extension.ts'),
},
srcDir,
outdir: outDir,
additionalOptions: {
external: ['vscode', 'positron'],
},
}, process.argv);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I used the Connect logo here, so now the dialog to set up a Connection looks like this:

Image

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading