pascal-vscode 0.0.0 → 0.1.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- # Changesets
2
-
3
- Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4
- with multi-package repos, or single-package repos to help you version and publish your code. You can
5
- find the full documentation for it [in our repository](https://github.com/changesets/changesets).
6
-
7
- We have a quick list of common questions to get you started engaging with this project in
8
- [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md).
1
+ # Changesets
2
+
3
+ Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4
+ with multi-package repos, or single-package repos to help you version and publish your code. You can
5
+ find the full documentation for it [in our repository](https://github.com/changesets/changesets).
6
+
7
+ We have a quick list of common questions to get you started engaging with this project in
8
+ [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md).
@@ -1,12 +1,12 @@
1
- {
2
- "$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
3
- "changelog": ["@changesets/changelog-github", { "repo": "hadez8877/pascal" }],
4
- "commit": false,
5
- "linked": [],
6
- "access": "public",
7
- "baseBranch": "origin/main",
8
- "updateInternalDependencies": "patch",
9
- "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
10
- "onlyUpdatePeerDependentsWhenOutOfRange": true
11
- }
12
- }
1
+ {
2
+ "$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
3
+ "changelog": ["@changesets/changelog-github", { "repo": "hadez8877/pascal" }],
4
+ "commit": false,
5
+ "linked": [],
6
+ "access": "public",
7
+ "baseBranch": "origin/main",
8
+ "updateInternalDependencies": "patch",
9
+ "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
10
+ "onlyUpdatePeerDependentsWhenOutOfRange": true
11
+ }
12
+ }
@@ -0,0 +1,5 @@
1
+ ---
2
+ 'pascal-vscode': minor
3
+ ---
4
+
5
+ Retry failed bump
@@ -1,10 +1,10 @@
1
- {
2
- "mode": "pre",
3
- "tag": "alpha",
4
- "initialVersions": {
5
- "pascal-vscode": "0.0.1"
6
- },
7
- "changesets": [
8
- "better-showers-knock"
9
- ]
10
- }
1
+ {
2
+ "mode": "pre",
3
+ "tag": "beta",
4
+ "initialVersions": {
5
+ "pascal-vscode": "0.0.2"
6
+ },
7
+ "changesets": [
8
+ "little-seas-strive"
9
+ ]
10
+ }
package/.editorconfig CHANGED
@@ -1,15 +1,15 @@
1
- # https://EditorConfig.org
2
-
3
- # top-most EditorConfig file
4
- root = true
5
-
6
- [*]
7
- charset = utf-8
8
- end_of_line = lf
9
- indent_size = 2
10
- indent_style = tab
11
- insert_final_newline = true
12
- trim_trailing_whitespace = false
13
-
14
- [{.*,*.md,*.json,*.toml,*.yml,*.json5}]
1
+ # https://EditorConfig.org
2
+
3
+ # top-most EditorConfig file
4
+ root = true
5
+
6
+ [*]
7
+ charset = utf-8
8
+ end_of_line = lf
9
+ indent_size = 2
10
+ indent_style = tab
11
+ insert_final_newline = true
12
+ trim_trailing_whitespace = false
13
+
14
+ [{.*,*.md,*.json,*.toml,*.yml,*.json5}]
15
15
  indent_style = space
@@ -1,6 +1,6 @@
1
- # These are supported funding model platforms
2
-
3
- ko_fi: hadez8877
4
- github: hadez8877
5
- open_collective: hadez
6
- thanks_dev: u/gh/hadez8877
1
+ # These are supported funding model platforms
2
+
3
+ ko_fi: hadez8877
4
+ github: hadez8877
5
+ open_collective: hadez
6
+ thanks_dev: u/gh/hadez8877
@@ -1,5 +1,5 @@
1
- ## What's Changed?
2
- <!-- If you're fixing a UI issue, make sure you take two screenshots. One that shows the actual bug and another that shows how you fixed it. -->
3
-
4
- ## Fixes Issue
5
- <!-- Add the issue number here, e.g., Fixes #123 -->
1
+ ## What's Changed?
2
+ <!-- If you're fixing a UI issue, make sure you take two screenshots. One that shows the actual bug and another that shows how you fixed it. -->
3
+
4
+ ## Fixes Issue
5
+ <!-- Add the issue number here, e.g., Fixes #123 -->
@@ -1,49 +1,49 @@
1
- name: 'Setup Git Committer'
2
- description: 'Create app token and configure git user'
3
-
4
- inputs:
5
- pascal-client-id:
6
- description: 'Pascal GitHub Client ID'
7
- required: true
8
- pascal-app-secret:
9
- description: 'Pascal GitHub App private key'
10
- required: true
11
-
12
- outputs:
13
- token:
14
- description: 'GitHub App token'
15
- value: ${{ steps.apptoken.outputs.token }}
16
- app-slug:
17
- description: 'GitHub App slug'
18
- value: ${{ steps.apptoken.outputs.app-slug }}
19
-
20
- runs:
21
- using: 'composite'
22
-
23
- steps:
24
- - name: Create app token
25
- id: apptoken
26
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
27
- with:
28
- client-id: ${{ inputs.pascal-client-id }}
29
- private-key: ${{ inputs.pascal-app-secret }}
30
- owner: ${{ github.repository_owner }}
31
- permission-contents: write
32
- permission-pull-requests: write
33
-
34
- - name: Configure git user
35
- run: |
36
- slug='${{ steps.apptoken.outputs.app-slug }}'
37
- git config --global user.name '${slug}[bot]'
38
- git config --global user.email '${slug}[bot]@users.noreply.github.com'
39
- shell: bash
40
-
41
- - name: Clear checkout auth
42
- run: |
43
- git config --local --unset-all http.https://github.com/.extraheader || true
44
- shell: bash
45
-
46
- - name: Configure git remote
47
- run: |
48
- git remote set-url origin https://x-access-token:${{ steps.apptoken.outputs.token }}@github.com/${{ github.repository }}
49
- shell: bash
1
+ name: 'Setup Git Committer'
2
+ description: 'Create app token and configure git user'
3
+
4
+ inputs:
5
+ pascal-client-id:
6
+ description: 'Pascal GitHub Client ID'
7
+ required: true
8
+ pascal-app-secret:
9
+ description: 'Pascal GitHub App private key'
10
+ required: true
11
+
12
+ outputs:
13
+ token:
14
+ description: 'GitHub App token'
15
+ value: ${{ steps.apptoken.outputs.token }}
16
+ app-slug:
17
+ description: 'GitHub App slug'
18
+ value: ${{ steps.apptoken.outputs.app-slug }}
19
+
20
+ runs:
21
+ using: 'composite'
22
+
23
+ steps:
24
+ - name: Create app token
25
+ id: apptoken
26
+ uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
27
+ with:
28
+ client-id: ${{ inputs.pascal-client-id }}
29
+ private-key: ${{ inputs.pascal-app-secret }}
30
+ owner: ${{ github.repository_owner }}
31
+ permission-contents: write
32
+ permission-pull-requests: write
33
+
34
+ - name: Configure git user
35
+ run: |
36
+ slug='${{ steps.apptoken.outputs.app-slug }}'
37
+ git config --global user.name '${slug}[bot]'
38
+ git config --global user.email '${slug}[bot]@users.noreply.github.com'
39
+ shell: bash
40
+
41
+ - name: Clear checkout auth
42
+ run: |
43
+ git config --local --unset-all http.https://github.com/.extraheader || true
44
+ shell: bash
45
+
46
+ - name: Configure git remote
47
+ run: |
48
+ git remote set-url origin https://x-access-token:${{ steps.apptoken.outputs.token }}@github.com/${{ github.repository }}
49
+ shell: bash
@@ -1,42 +1,42 @@
1
- name: 'pnpm install'
2
- description: 'Run pnpm install with cache enabled'
3
- runs:
4
- using: 'composite'
5
- steps:
6
- - name: Set up swap space
7
- if: runner.os == 'Linux'
8
- uses: pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c # v1.0
9
- with:
10
- swap-size-gb: 10
11
-
12
- - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
13
- name: Install pnpm
14
- with:
15
- run_install: false
16
-
17
- - name: Expose pnpm config(s) through "$GITHUB_OUTPUT"
18
- id: pnpm-config
19
- shell: bash
20
- run: |
21
- echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
22
-
23
- - name: Cache rotation keys
24
- id: cache-rotation
25
- shell: bash
26
- run: |
27
- echo "YEAR_MONTH=$(/bin/date -u "+%Y%m")" >> $GITHUB_OUTPUT
28
-
29
- - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
30
- name: Setup pnpm cache
31
- with:
32
- path: ${{ steps.pnpm-config.outputs.STORE_PATH }}
33
- key: ${{ runner.os }}-pnpm-store-cache-${{ steps.cache-rotation.outputs.YEAR_MONTH }}-${{ hashFiles('**/pnpm-lock.yaml') }}
34
- restore-keys: |
35
- ${{ runner.os }}-pnpm-store-cache-${{ steps.cache-rotation.outputs.YEAR_MONTH }}-
36
-
37
- - name: Install dependencies
38
- shell: bash
39
- run: |
40
- pnpm install --frozen-lockfile --prefer-offline --loglevel error
41
- env:
42
- HUSKY: '0'
1
+ name: 'pnpm install'
2
+ description: 'Run pnpm install with cache enabled'
3
+ runs:
4
+ using: 'composite'
5
+ steps:
6
+ - name: Set up swap space
7
+ if: runner.os == 'Linux'
8
+ uses: pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c # v1.0
9
+ with:
10
+ swap-size-gb: 10
11
+
12
+ - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
13
+ name: Install pnpm
14
+ with:
15
+ run_install: false
16
+
17
+ - name: Expose pnpm config(s) through "$GITHUB_OUTPUT"
18
+ id: pnpm-config
19
+ shell: bash
20
+ run: |
21
+ echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
22
+
23
+ - name: Cache rotation keys
24
+ id: cache-rotation
25
+ shell: bash
26
+ run: |
27
+ echo "YEAR_MONTH=$(/bin/date -u "+%Y%m")" >> $GITHUB_OUTPUT
28
+
29
+ - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
30
+ name: Setup pnpm cache
31
+ with:
32
+ path: ${{ steps.pnpm-config.outputs.STORE_PATH }}
33
+ key: ${{ runner.os }}-pnpm-store-cache-${{ steps.cache-rotation.outputs.YEAR_MONTH }}-${{ hashFiles('**/pnpm-lock.yaml') }}
34
+ restore-keys: |
35
+ ${{ runner.os }}-pnpm-store-cache-${{ steps.cache-rotation.outputs.YEAR_MONTH }}-
36
+
37
+ - name: Install dependencies
38
+ shell: bash
39
+ run: |
40
+ pnpm install --frozen-lockfile --prefer-offline --loglevel error
41
+ env:
42
+ HUSKY: '0'
@@ -1,48 +1,48 @@
1
- {
2
- "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
- "extends": [
4
- "config:recommended",
5
- "schedule:weekly",
6
- ":disablePeerDependencies",
7
- "regexManagers:biomeVersions",
8
- "helpers:pinGitHubActionDigestsToSemver"
9
- ],
10
- "labels": ["dependencies"],
11
- "rangeStrategy": "bump",
12
- "postUpdateOptions": ["pnpmDedupe"],
13
- "toolSettings": {
14
- "nodeMaxMemory": 3072
15
- },
16
- "lockFileMaintenance": {
17
- "enabled": true
18
- },
19
- "ignorePaths": ["**/node_modules/**"],
20
- "packageRules": [
21
- //#region Infra groups
22
- {
23
- "groupName": "lockfile maintenance",
24
- "matchUpdateTypes": ["lockFileMaintenance"]
25
- },
26
- {
27
- "groupName": "github-actions",
28
- "matchManagers": ["github-actions"]
29
- },
30
- {
31
- "matchManagers": ["npm"],
32
- "matchDepTypes": ["engines"],
33
- "enabled": false
34
- },
35
- //#endregion
36
- ],
37
- "ignoreDeps": [
38
- // manually bumping deps
39
- "@biomejs/biome",
40
- "@types/node",
41
- "@types/vscode",
42
-
43
- // manually bumping workflow actions
44
- "actions/labeler",
45
- "github/issue-labeler"
46
- ],
47
- "minimumReleaseAge": "3 days"
48
- }
1
+ {
2
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
+ "extends": [
4
+ "config:recommended",
5
+ "schedule:weekly",
6
+ ":disablePeerDependencies",
7
+ "regexManagers:biomeVersions",
8
+ "helpers:pinGitHubActionDigestsToSemver"
9
+ ],
10
+ "labels": ["dependencies"],
11
+ "rangeStrategy": "bump",
12
+ "postUpdateOptions": ["pnpmDedupe"],
13
+ "toolSettings": {
14
+ "nodeMaxMemory": 3072
15
+ },
16
+ "lockFileMaintenance": {
17
+ "enabled": true
18
+ },
19
+ "ignorePaths": ["**/node_modules/**"],
20
+ "packageRules": [
21
+ //#region Infra groups
22
+ {
23
+ "groupName": "lockfile maintenance",
24
+ "matchUpdateTypes": ["lockFileMaintenance"]
25
+ },
26
+ {
27
+ "groupName": "github-actions",
28
+ "matchManagers": ["github-actions"]
29
+ },
30
+ {
31
+ "matchManagers": ["npm"],
32
+ "matchDepTypes": ["engines"],
33
+ "enabled": false
34
+ },
35
+ //#endregion
36
+ ],
37
+ "ignoreDeps": [
38
+ // manually bumping deps
39
+ "@biomejs/biome",
40
+ "@types/node",
41
+ "@types/vscode",
42
+
43
+ // manually bumping workflow actions
44
+ "actions/labeler",
45
+ "github/issue-labeler"
46
+ ],
47
+ "minimumReleaseAge": "3 days"
48
+ }
@@ -1,46 +1,46 @@
1
- name: Cleanup cache
2
-
3
- on:
4
- schedule:
5
- - cron: '0 11 * * *'
6
-
7
- pull_request:
8
- types:
9
- - closed
10
- workflow_dispatch:
11
-
12
- jobs:
13
- cleanup:
14
- runs-on: ubuntu-latest
15
-
16
- steps:
17
- - name: Checkout
18
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19
-
20
- - name: Cleanup caches older than 5 days
21
- if: github.event_name == 'schedule'
22
- uses: MyAlbum/purge-cache@881eb5957687193fa612bf74c0042adc78ea5e54 # v2.2.0
23
- with:
24
- max-age: 432000
25
-
26
- # https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#force-deleting-cache-entries
27
- - name: Cleanup caches
28
- run: |
29
- gh extension install actions/gh-actions-cache
30
-
31
- REPO=${{ github.repository }}
32
- BRANCH="refs/pull/${{ github.event.pull_request.number }}/merge"
33
-
34
- echo "Fetching list of cache key"
35
- cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )
36
-
37
- ## Setting this to not fail the workflow while deleting cache keys.
38
- set +e
39
- echo "Deleting caches..."
40
- for cacheKey in $cacheKeysForPR
41
- do
42
- gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm
43
- done
44
- echo "Done"
45
- env:
46
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1
+ name: Cleanup cache
2
+
3
+ on:
4
+ schedule:
5
+ - cron: '0 11 * * *'
6
+
7
+ pull_request:
8
+ types:
9
+ - closed
10
+ workflow_dispatch:
11
+
12
+ jobs:
13
+ cleanup:
14
+ runs-on: ubuntu-latest
15
+
16
+ steps:
17
+ - name: Checkout
18
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19
+
20
+ - name: Cleanup caches older than 5 days
21
+ if: github.event_name == 'schedule'
22
+ uses: MyAlbum/purge-cache@881eb5957687193fa612bf74c0042adc78ea5e54 # v2.2.0
23
+ with:
24
+ max-age: 432000
25
+
26
+ # https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#force-deleting-cache-entries
27
+ - name: Cleanup caches
28
+ run: |
29
+ gh extension install actions/gh-actions-cache
30
+
31
+ REPO=${{ github.repository }}
32
+ BRANCH="refs/pull/${{ github.event.pull_request.number }}/merge"
33
+
34
+ echo "Fetching list of cache key"
35
+ cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )
36
+
37
+ ## Setting this to not fail the workflow while deleting cache keys.
38
+ set +e
39
+ echo "Deleting caches..."
40
+ for cacheKey in $cacheKeysForPR
41
+ do
42
+ gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm
43
+ done
44
+ echo "Done"
45
+ env:
46
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -1,26 +1,26 @@
1
- name: Diff Dependencies
2
-
3
- on:
4
- pull_request_target:
5
- paths-ignore:
6
- - ".vscode/**"
7
- - "**/*.md"
8
- - ".github/ISSUE_TEMPLATE/**"
9
-
10
- jobs:
11
- diff_dependencies:
12
- runs-on: ubuntu-latest
13
- permissions:
14
- contents: read
15
- pull-requests: write
16
- steps:
17
- - name: Checkout
18
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
19
- with:
20
- fetch-depth: 0 # allows the diff action to access git history
21
-
22
- - name: Create Diff
23
- uses: e18e/action-dependency-diff@8e9b8c1957ab066d36235a43f4c1ff1522e1bdbc # v1.6.1
24
- with:
25
- # We’re using this package primarily to track size changes, not as worried about duplicates
26
- duplicate-threshold: 100
1
+ name: Diff Dependencies
2
+
3
+ on:
4
+ pull_request_target:
5
+ paths-ignore:
6
+ - ".vscode/**"
7
+ - "**/*.md"
8
+ - ".github/ISSUE_TEMPLATE/**"
9
+
10
+ jobs:
11
+ diff_dependencies:
12
+ runs-on: ubuntu-latest
13
+ permissions:
14
+ contents: read
15
+ pull-requests: write
16
+ steps:
17
+ - name: Checkout
18
+ uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
19
+ with:
20
+ fetch-depth: 0 # allows the diff action to access git history
21
+
22
+ - name: Create Diff
23
+ uses: e18e/action-dependency-diff@8e9b8c1957ab066d36235a43f4c1ff1522e1bdbc # v1.6.1
24
+ with:
25
+ # We’re using this package primarily to track size changes, not as worried about duplicates
26
+ duplicate-threshold: 100
@@ -1,45 +1,45 @@
1
- name: Format
2
-
3
- on:
4
- workflow_dispatch:
5
- push:
6
- branches:
7
- - main
8
-
9
- jobs:
10
- format:
11
- if: ${{ github.repository_owner == 'hadez8877' }}
12
- runs-on: ubuntu-latest
13
- env:
14
- NODE_OPTIONS: "--max_old_space_size=4096"
15
- steps:
16
- - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
17
- with:
18
- ref: ${{ github.head_ref }}
19
-
20
- - name: Setup git commiter
21
- id: commiter
22
- uses: ./.github/actions/setup-git-commiter
23
- with:
24
- pascal-client-id: ${{ vars.PASCAL_CLIENT_ID }}
25
- pascal-app-secret: ${{ secrets.PASCAL_APP_SECRET }}
26
-
27
- - name: setup PNPM
28
- uses: ./.github/actions/setup-pnpm
29
-
30
- - name: Setup Node
31
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
32
- with:
33
- node-version: 24.16.0
34
-
35
- - name: Format code
36
- run: pnpm run format
37
-
38
- - name: Commit changes
39
- uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7.1.0
40
- with:
41
- commit_message: "[ci] format"
42
- branch: ${{ github.head_ref }}
43
- commit_user_name: ${{ steps.commiter.outputs.app-slug }}[bot]
44
- commit_user_email: ${{ steps.commiter.outputs.app-slug }}[bot]@users.noreply.github.com
45
- commit_author: ${{ github.event.commits[0].author.name }} <${{ github.actor }}@users.noreply.github.com>
1
+ name: Format
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches:
7
+ - main
8
+
9
+ jobs:
10
+ format:
11
+ if: ${{ github.repository_owner == 'hadez8877' }}
12
+ runs-on: ubuntu-latest
13
+ env:
14
+ NODE_OPTIONS: "--max_old_space_size=4096"
15
+ steps:
16
+ - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
17
+ with:
18
+ ref: ${{ github.head_ref }}
19
+
20
+ - name: Setup git commiter
21
+ id: commiter
22
+ uses: ./.github/actions/setup-git-commiter
23
+ with:
24
+ pascal-client-id: ${{ vars.PASCAL_CLIENT_ID }}
25
+ pascal-app-secret: ${{ secrets.PASCAL_APP_SECRET }}
26
+
27
+ - name: setup PNPM
28
+ uses: ./.github/actions/setup-pnpm
29
+
30
+ - name: Setup Node
31
+ uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
32
+ with:
33
+ node-version: 24.16.0
34
+
35
+ - name: Format code
36
+ run: pnpm run format
37
+
38
+ - name: Commit changes
39
+ uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7.1.0
40
+ with:
41
+ commit_message: "[ci] format"
42
+ branch: ${{ github.head_ref }}
43
+ commit_user_name: ${{ steps.commiter.outputs.app-slug }}[bot]
44
+ commit_user_email: ${{ steps.commiter.outputs.app-slug }}[bot]@users.noreply.github.com
45
+ commit_author: ${{ github.event.commits[0].author.name }} <${{ github.actor }}@users.noreply.github.com>