Skip to content

Commit 6c56409

Browse files
1 parent 391cab5 commit 6c56409

File tree

6 files changed

+241
-19
lines changed

6 files changed

+241
-19
lines changed

.github/dependabot.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version: 2
2+
enable-beta-ecosystems: true
3+
4+
updates:
5+
- package-ecosystem: "github-actions"
6+
directory: "/"
7+
schedule:
8+
interval: "daily"
9+
10+
- package-ecosystem: "npm"
11+
directory: "/"
12+
schedule:
13+
interval: "daily"
14+
versioning-strategy: increase
15+
16+
- package-ecosystem: "pip"
17+
directory: "/"
18+
schedule:
19+
interval: "daily"
20+
versioning-strategy: increase

.github/workflows/Dependabot.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Dependabot
2+
3+
concurrency:
4+
group: Dependabot-${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
permissions:
8+
security-events: write
9+
contents: write
10+
pull-requests: write
11+
12+
on:
13+
workflow_dispatch:
14+
pull_request:
15+
16+
jobs:
17+
Approve:
18+
runs-on: ubuntu-latest
19+
20+
if: ${{ github.actor == 'dependabot[bot]' }}
21+
22+
steps:
23+
- uses: dependabot/fetch-metadata@v2.2.0
24+
with:
25+
github-token: "${{ secrets.GITHUB_TOKEN }}"
26+
27+
- run: gh pr review --approve "$PR_URL"
28+
env:
29+
PR_URL: ${{github.event.pull_request.html_url}}
30+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
31+
32+
Merge:
33+
runs-on: ubuntu-latest
34+
35+
if: ${{ github.actor == 'dependabot[bot]' }}
36+
37+
steps:
38+
- uses: dependabot/fetch-metadata@v2.2.0
39+
with:
40+
github-token: "${{ secrets.GITHUB_TOKEN }}"
41+
42+
- run: gh pr merge --auto --merge "$PR_URL"
43+
env:
44+
PR_URL: ${{github.event.pull_request.html_url}}
45+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/GitHub.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: GitHub
2+
3+
concurrency:
4+
group: GitHub-${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
permissions:
8+
issues: write
9+
pull-requests: write
10+
11+
on:
12+
issues:
13+
types: [opened]
14+
pull_request:
15+
types: [opened]
16+
17+
jobs:
18+
Assign:
19+
runs-on: ubuntu-latest
20+
21+
env:
22+
ADBLOCK: true
23+
ASTRO_TELEMETRY_DISABLED: 1
24+
AUTOMATEDLAB_TELEMETRY_OPTOUT: 1
25+
AZURE_CORE_COLLECT_TELEMETRY: 0
26+
CHOOSENIM_NO_ANALYTICS: 1
27+
DIEZ_DO_NOT_TRACK: 1
28+
DOTNET_CLI_TELEMETRY_OPTOUT: 1
29+
DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT: 1
30+
DO_NOT_TRACK: 1
31+
ET_NO_TELEMETRY: 1
32+
GATSBY_TELEMETRY_DISABLED: 1
33+
GATSBY_TELEMETRY_OPTOUT: 1
34+
GATSBY_TELEMETRY_OPT_OUT: 1
35+
GRIT_TELEMETRY_DISABLED: 1
36+
HASURA_GRAPHQL_ENABLE_TELEMETRY: false
37+
HINT_TELEMETRY: off
38+
HOMEBREW_NO_ANALYTICS: 1
39+
INFLUXD_REPORTING_DISABLED: true
40+
ITERATIVE_DO_NOT_TRACK: 1
41+
NEXT_TELEMETRY_DEBUG: 1
42+
NEXT_TELEMETRY_DISABLED: 1
43+
NG_CLI_ANALYTICS: false
44+
NUXT_TELEMETRY_DISABLED: 1
45+
PIN_DO_NOT_TRACK: 1
46+
POWERSHELL_TELEMETRY_OPTOUT: 1
47+
SAM_CLI_TELEMETRY: 0
48+
STNOUPGRADE: 1
49+
STRIPE_CLI_TELEMETRY_OPTOUT: 1
50+
TELEMETRY_DISABLED: 1
51+
TERRAFORM_TELEMETRY: 0
52+
VCPKG_DISABLE_METRICS: 1
53+
54+
steps:
55+
- uses: pozil/auto-assign-issue@v2.0.0
56+
with:
57+
repo-token: ${{ secrets.GITHUB_TOKEN }}
58+
assignees: NikolaRHristov
59+
numOfAssignee: 1

.github/workflows/Node.yml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
name: Node
2+
3+
concurrency:
4+
group: Node-${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
permissions:
8+
security-events: write
9+
contents: write
10+
pull-requests: write
11+
12+
on:
13+
workflow_dispatch:
14+
push:
15+
branches: [Current]
16+
pull_request:
17+
branches: [Current]
18+
workflow_call:
19+
20+
jobs:
21+
Pre-Publish:
22+
runs-on: ubuntu-latest
23+
24+
env:
25+
ADBLOCK: true
26+
ASTRO_TELEMETRY_DISABLED: 1
27+
AUTOMATEDLAB_TELEMETRY_OPTOUT: 1
28+
AZURE_CORE_COLLECT_TELEMETRY: 0
29+
CHOOSENIM_NO_ANALYTICS: 1
30+
DIEZ_DO_NOT_TRACK: 1
31+
DOTNET_CLI_TELEMETRY_OPTOUT: 1
32+
DOTNET_INTERACTIVE_CLI_TELEMETRY_OPTOUT: 1
33+
DO_NOT_TRACK: 1
34+
ET_NO_TELEMETRY: 1
35+
GATSBY_TELEMETRY_DISABLED: 1
36+
GATSBY_TELEMETRY_OPTOUT: 1
37+
GATSBY_TELEMETRY_OPT_OUT: 1
38+
GRIT_TELEMETRY_DISABLED: 1
39+
HASURA_GRAPHQL_ENABLE_TELEMETRY: false
40+
HINT_TELEMETRY: off
41+
HOMEBREW_NO_ANALYTICS: 1
42+
INFLUXD_REPORTING_DISABLED: true
43+
ITERATIVE_DO_NOT_TRACK: 1
44+
NEXT_TELEMETRY_DEBUG: 1
45+
NEXT_TELEMETRY_DISABLED: 1
46+
NG_CLI_ANALYTICS: false
47+
NUXT_TELEMETRY_DISABLED: 1
48+
PIN_DO_NOT_TRACK: 1
49+
POWERSHELL_TELEMETRY_OPTOUT: 1
50+
SAM_CLI_TELEMETRY: 0
51+
STNOUPGRADE: 1
52+
STRIPE_CLI_TELEMETRY_OPTOUT: 1
53+
TELEMETRY_DISABLED: 1
54+
TERRAFORM_TELEMETRY: 0
55+
VCPKG_DISABLE_METRICS: 1
56+
57+
strategy:
58+
matrix:
59+
node-version: [18, 19, 20]
60+
61+
steps:
62+
- uses: actions/checkout@v4.2.1
63+
64+
- uses: pnpm/action-setup@v4.0.0
65+
with:
66+
version: 9.3.0
67+
run_install: |
68+
- recursive: true
69+
args: [
70+
--link-workspace-packages=true,
71+
--lockfile-only,
72+
--prefer-frozen-lockfile=false,
73+
--shamefully-hoist=false,
74+
--shared-workspace-lockfile=true,
75+
--strict-peer-dependencies=false,
76+
--unsafe-perm=true
77+
]
78+
79+
- uses: actions/setup-node@v4.0.4
80+
with:
81+
node-version: ${{ matrix.node-version }}
82+
cache: "pnpm"
83+
cache-dependency-path: ./pnpm-lock.yaml
84+
85+
- run: pnpm install
86+
working-directory: .

vscode.proposed.debugVisualization.d.ts

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,26 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
7-
declare module 'vscode' {
6+
declare module "vscode" {
87
export namespace debug {
98
/**
109
* Registers a custom data visualization for variables when debugging.
1110
*
1211
* @param id The corresponding ID in the package.json `debugVisualizers` contribution point.
1312
* @param provider The {@link DebugVisualizationProvider} to register
1413
*/
15-
export function registerDebugVisualizationProvider<T extends DebugVisualization>(
16-
id: string,
17-
provider: DebugVisualizationProvider<T>
18-
): Disposable;
14+
export function registerDebugVisualizationProvider<
15+
T extends DebugVisualization,
16+
>(id: string, provider: DebugVisualizationProvider<T>): Disposable;
1917

2018
/**
2119
* Registers a tree that can be referenced by {@link DebugVisualization.visualization}.
2220
* @param id
2321
* @param provider
2422
*/
25-
export function registerDebugVisualizationTreeProvider<T extends DebugTreeItem>(
26-
id: string,
27-
provider: DebugVisualizationTree<T>
28-
): Disposable;
23+
export function registerDebugVisualizationTreeProvider<
24+
T extends DebugTreeItem,
25+
>(id: string, provider: DebugVisualizationTree<T>): Disposable;
2926
}
3027

3128
/**
@@ -76,7 +73,9 @@ declare module 'vscode' {
7673
/**
7774
* Provides a tree that can be referenced in debug visualizations.
7875
*/
79-
export interface DebugVisualizationTree<T extends DebugTreeItem = DebugTreeItem> {
76+
export interface DebugVisualizationTree<
77+
T extends DebugTreeItem = DebugTreeItem,
78+
> {
8079
/**
8180
* Gets the tree item for an element or the base context item.
8281
*/
@@ -116,7 +115,9 @@ declare module 'vscode' {
116115
constructor(name: string);
117116
}
118117

119-
export interface DebugVisualizationProvider<T extends DebugVisualization = DebugVisualization> {
118+
export interface DebugVisualizationProvider<
119+
T extends DebugVisualization = DebugVisualization,
120+
> {
120121
/**
121122
* Called for each variable when the debug session stops. It should return
122123
* any visualizations the extension wishes to show to the user.
@@ -125,7 +126,10 @@ declare module 'vscode' {
125126
* `debugVisualizers` contribution point in the `package.json` evaluates
126127
* to true.
127128
*/
128-
provideDebugVisualization(context: DebugVisualizationContext, token: CancellationToken): ProviderResult<T[]>;
129+
provideDebugVisualization(
130+
context: DebugVisualizationContext,
131+
token: CancellationToken,
132+
): ProviderResult<T[]>;
129133

130134
/**
131135
* Invoked for a variable when a user picks the visualizer.
@@ -135,7 +139,10 @@ declare module 'vscode' {
135139
* this function and instead trigger other actions in the UI, such as opening
136140
* a custom {@link WebviewView}.
137141
*/
138-
resolveDebugVisualization?(visualization: T, token: CancellationToken): ProviderResult<T>;
142+
resolveDebugVisualization?(
143+
visualization: T,
144+
token: CancellationToken,
145+
): ProviderResult<T>;
139146
}
140147

141148
export interface DebugVisualizationContext {

vscode.proposed.portsAttributes.d.ts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
declare module 'vscode' {
7-
6+
declare module "vscode" {
87
// https://github.com/microsoft/vscode/issues/115616 @alexr00
98

109
/**
@@ -30,7 +29,7 @@ declare module 'vscode' {
3029
/**
3130
* Do not forward the port.
3231
*/
33-
Ignore = 5
32+
Ignore = 5,
3433
}
3534

3635
/**
@@ -63,7 +62,10 @@ declare module 'vscode' {
6362
* @param commandLine The command line of the process that is listening on the port. If the command line is unknown, undefined will be passed.
6463
* @param token A cancellation token that indicates the result is no longer needed.
6564
*/
66-
providePortAttributes(attributes: { port: number; pid?: number; commandLine?: string }, token: CancellationToken): ProviderResult<PortAttributes>;
65+
providePortAttributes(
66+
attributes: { port: number; pid?: number; commandLine?: string },
67+
token: CancellationToken,
68+
): ProviderResult<PortAttributes>;
6769
}
6870

6971
/**
@@ -95,6 +97,9 @@ declare module 'vscode' {
9597
* If you don't specify a port selector your provider will be called for every port, which will result in slower port forwarding for the user.
9698
* @param provider The {@link PortAttributesProvider PortAttributesProvider}.
9799
*/
98-
export function registerPortAttributesProvider(portSelector: PortAttributesSelector, provider: PortAttributesProvider): Disposable;
100+
export function registerPortAttributesProvider(
101+
portSelector: PortAttributesSelector,
102+
provider: PortAttributesProvider,
103+
): Disposable;
99104
}
100105
}

0 commit comments

Comments
 (0)