Skip to content

Commit acc9835

Browse files
chore: sync biome and prettier configs from deepnote/deepnote (GRN-4938)
- Add [email protected] for TypeScript/JavaScript/JSON linting & formatting - Update prettier to 3.6.2 for Markdown/YAML formatting only - Remove ESLint dependencies and configuration - Add new scripts: biome:check, biome:check:fix, lintAndFormat, lintAndFormat:fix - Update lint-staged to use biome for TS/JS/JSON, prettier for MD/YAML, stylelint for CSS - Copy biome.json, .prettierrc, .prettierignore from main repo - Update .gitignore to exclude .biome/ cache - Apply biome formatting to codebase (single quotes, ES5 trailing commas, semicolons as needed) - Keep stylelint for CSS (biome doesn't support CSS) - Maintain jlpm compatibility (no packageManager field)
1 parent 36431a2 commit acc9835

28 files changed

+662
-1003
lines changed

.copier-answers.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ project_short_description: A Deepnote extension for JupyterLab
1111
python_name: jupyterlab_deepnote
1212
repository: https://github.com/deepnote/jupyterlab-deepnote
1313
test: true
14-

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
run: jlpm npm audit
106106
env:
107107
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
108-
108+
109109
license-check:
110110
name: License Check
111111
runs-on: ubuntu-latest

.github/workflows/prep-release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
name: "Step 1: Prep Release"
1+
name: 'Step 1: Prep Release'
22
on:
33
workflow_dispatch:
44
inputs:
55
version_spec:
6-
description: "New Version Specifier"
7-
default: "next"
6+
description: 'New Version Specifier'
7+
default: 'next'
88
required: false
99
branch:
10-
description: "The branch to target"
10+
description: 'The branch to target'
1111
required: false
1212
post_version_spec:
13-
description: "Post Version Specifier"
13+
description: 'Post Version Specifier'
1414
required: false
1515
# silent:
1616
# description: "Set a placeholder in the changelog and don't publish the release."
1717
# required: false
1818
# type: boolean
1919
since:
20-
description: "Use PRs with activity since this date or git reference"
20+
description: 'Use PRs with activity since this date or git reference'
2121
required: false
2222
since_last_stable:
23-
description: "Use PRs with activity since the last stable git tag"
23+
description: 'Use PRs with activity since the last stable git tag'
2424
required: false
2525
type: boolean
2626
jobs:
@@ -43,6 +43,6 @@ jobs:
4343
since: ${{ github.event.inputs.since }}
4444
since_last_stable: ${{ github.event.inputs.since_last_stable }}
4545

46-
- name: "** Next Step **"
46+
- name: '** Next Step **'
4747
run: |
4848
echo "Optional): Review Draft Release: ${{ steps.prep-release.outputs.release_url }}"

.github/workflows/publish-release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
name: "Step 2: Publish Release"
1+
name: 'Step 2: Publish Release'
22
on:
33
workflow_dispatch:
44
inputs:
55
branch:
6-
description: "The target branch"
6+
description: 'The target branch'
77
required: false
88
release_url:
9-
description: "The URL of the draft GitHub release"
9+
description: 'The URL of the draft GitHub release'
1010
required: false
1111
steps_to_skip:
12-
description: "Comma separated list of steps to skip"
12+
description: 'Comma separated list of steps to skip'
1313
required: false
1414

1515
jobs:
@@ -45,13 +45,13 @@ jobs:
4545
token: ${{ steps.app-token.outputs.token }}
4646
release_url: ${{ steps.populate-release.outputs.release_url }}
4747

48-
- name: "** Next Step **"
48+
- name: '** Next Step **'
4949
if: ${{ success() }}
5050
run: |
5151
echo "Verify the final release"
5252
echo ${{ steps.finalize-release.outputs.release_url }}
5353
54-
- name: "** Failure Message **"
54+
- name: '** Failure Message **'
5555
if: ${{ failure() }}
5656
run: |
5757
echo "Failed to Publish the Draft Release Url:"

.github/workflows/update-integration-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
github.event.comment.author_association == 'MEMBER'
2121
) && github.event.issue.pull_request && contains(github.event.comment.body, 'please update snapshots')
2222
runs-on: ubuntu-latest
23-
2423
steps:
2524
- name: React to the triggering comment
2625
run: |

0 commit comments

Comments
 (0)