Skip to content

Commit f863fe2

Browse files
committed
feat: Add support for all text blocks (using @deepnote/blocks).
1 parent ff7eed4 commit f863fe2

File tree

7 files changed

+9931
-36
lines changed

7 files changed

+9931
-36
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@deepnote:registry=https://npm.pkg.github.com

CONTRIBUTING.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,32 @@ cd vscode-jupyter
3232

3333
```
3434

35+
#### Install Recommended Extensions
36+
37+
First, install all the recommended VS Code extensions. Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P) and run:
38+
```
39+
Extensions: Show Recommended Extensions
40+
```
41+
Then install all the extensions listed under "Workspace Recommendations".
42+
43+
#### Configure Access to @deepnote/blocks Package
44+
45+
The `@deepnote/blocks` package is published on GitHub Packages. To install it, you'll need to authenticate with GitHub:
46+
47+
1. Create a GitHub Personal Access Token (classic) with `read:packages` scope:
48+
- Go to https://github.com/settings/tokens
49+
- Click "Generate new token (classic)"
50+
- Select the `read:packages` scope
51+
- Generate and copy the token
52+
53+
2. Add the token to your global `.npmrc` file:
54+
```shell
55+
echo "//npm.pkg.github.com/:_authToken=YOUR_TOKEN_HERE" >> ~/.npmrc
56+
```
57+
Replace `YOUR_TOKEN_HERE` with your actual token.
58+
59+
After completing these steps, you can install dependencies normally with `npm ci`. The project's `.npmrc` file is already configured to use GitHub Packages for the `@deepnote` scope.
60+
3561
On Apple Silicon, you will have to use system versions of `libsodium` and `libzmq` instead of the bundled ones:
3662

3763
```shell

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2098,6 +2098,7 @@
20982098
},
20992099
"dependencies": {
21002100
"@c4312/evt": "^0.1.1",
2101+
"@deepnote/blocks": "^1.0.0",
21012102
"@enonic/fnv-plus": "^1.3.0",
21022103
"@jupyter-widgets/base": "^6.0.8",
21032104
"@jupyter-widgets/controls": "^5.0.9",
@@ -2311,5 +2312,6 @@
23112312
"ws": "7.5.10"
23122313
},
23132314
"d3-color": "3.1.0"
2314-
}
2315+
},
2316+
"packageManager": "[email protected]+sha1.c85a4305534f76d461407b59277b954bac97b5c4"
23152317
}

0 commit comments

Comments
 (0)