Skip to content

Commit 53be9e5

Browse files
authored
chore: use public packages from @deepnote/ org in npm (#154)
* chore: use public packages from @deepnote/ org in npm * fix: package lock drift
1 parent e53b235 commit 53be9e5

File tree

8 files changed

+36
-71
lines changed

8 files changed

+36
-71
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010
permissions:
1111
actions: read
1212
contents: read
13-
packages: read
1413

1514
concurrency:
1615
group: ${{ github.workflow }}-${{ github.ref }}
@@ -30,13 +29,9 @@ jobs:
3029
with:
3130
cache: 'npm'
3231
node-version-file: '.nvmrc'
33-
registry-url: 'https://npm.pkg.github.com'
34-
scope: '@deepnote'
3532

3633
- name: Install dependencies
3734
run: npm ci --prefer-offline --no-audit
38-
env:
39-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4035

4136
- name: Run ESLint
4237
run: npm run lint
@@ -57,13 +52,9 @@ jobs:
5752
with:
5853
cache: 'npm'
5954
node-version-file: '.nvmrc'
60-
registry-url: 'https://npm.pkg.github.com'
61-
scope: '@deepnote'
6255

6356
- name: Install dependencies
6457
run: npm ci --prefer-offline --no-audit
65-
env:
66-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6758

6859
- name: Run TypeScript type checking
6960
run: npm run typecheck
@@ -95,7 +86,6 @@ jobs:
9586
permissions:
9687
id-token: write
9788
contents: read
98-
packages: read
9989
steps:
10090
- name: Checkout
10191
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
@@ -105,13 +95,9 @@ jobs:
10595
with:
10696
cache: 'npm'
10797
node-version-file: '.nvmrc'
108-
registry-url: 'https://npm.pkg.github.com'
109-
scope: '@deepnote'
11098

11199
- name: Install dependencies
112100
run: npm ci --prefer-offline --no-audit
113-
env:
114-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
115101

116102
- name: Compile TypeScript
117103
run: npm run compile
@@ -155,13 +141,9 @@ jobs:
155141
with:
156142
cache: 'npm'
157143
node-version-file: '.nvmrc'
158-
registry-url: 'https://npm.pkg.github.com'
159-
scope: '@deepnote'
160144

161145
- name: Install dependencies
162146
run: npm ci
163-
env:
164-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
165147

166148
- name: Check Licenses
167149
run: npm run check-licenses
@@ -179,13 +161,9 @@ jobs:
179161
with:
180162
cache: 'npm'
181163
node-version-file: '.nvmrc'
182-
registry-url: 'https://npm.pkg.github.com'
183-
scope: '@deepnote'
184164

185165
- name: Install dependencies
186166
run: npm ci --prefer-offline --no-audit
187-
env:
188-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
189167

190168
- name: Run spell check
191169
run: npm run spell-check
@@ -203,13 +181,9 @@ jobs:
203181
with:
204182
cache: 'npm'
205183
node-version-file: '.nvmrc'
206-
registry-url: 'https://npm.pkg.github.com'
207-
scope: '@deepnote'
208184

209185
- name: Install dependencies
210186
run: npm install
211-
env:
212-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
213187

214188
- name: Check package lock drift
215189
run: |
@@ -228,13 +202,9 @@ jobs:
228202
with:
229203
cache: 'npm'
230204
node-version-file: '.nvmrc'
231-
registry-url: 'https://npm.pkg.github.com'
232-
scope: '@deepnote'
233205

234206
- name: Install dependencies
235207
run: npm ci --prefer-offline --no-audit
236-
env:
237-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
238208

239209
- name: Run audit for production dependencies
240210
run: npm audit --production
@@ -252,13 +222,9 @@ jobs:
252222
with:
253223
cache: 'npm'
254224
node-version-file: '.nvmrc'
255-
registry-url: 'https://npm.pkg.github.com'
256-
scope: '@deepnote'
257225

258226
- name: Install dependencies
259227
run: npm ci --prefer-offline --no-audit
260-
env:
261-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
262228

263229
- name: Run audit for all dependencies
264230
run: npm audit

.github/workflows/copilot-setup-steps.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
permissions:
3131
# If you want to clone the repository as part of your setup steps, for example to install dependencies, you'll need the `contents: read` permission. If you don't clone the repository in your setup steps, Copilot will do this for you automatically after the steps complete.
3232
contents: read
33-
packages: read
3433

3534
# You can define any steps you want, and they will run before the agent starts.
3635
# If you do not check out your code, Copilot will do this for you.
@@ -42,8 +41,6 @@ jobs:
4241
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
4342
with:
4443
node-version-file: '.nvmrc'
45-
registry-url: 'https://npm.pkg.github.com'
46-
scope: '@deepnote'
4744

4845
- name: Cache npm files
4946
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
@@ -61,8 +58,6 @@ jobs:
6158
# Let that happen in other jobs, this job needs to be fast
6259
- name: npm ci
6360
run: npm ci --ignore-scripts --prefer-offline --no-audit
64-
env:
65-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6661

6762
- name: npm run postinstall
6863
run: npm run postinstall

.github/workflows/deps.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
permissions:
1010
actions: read
1111
contents: read
12-
packages: read
1312

1413
concurrency:
1514
group: ${{ github.workflow }}-${{ github.ref }}
@@ -28,13 +27,9 @@ jobs:
2827
with:
2928
cache: 'npm'
3029
node-version-file: '.nvmrc'
31-
registry-url: 'https://npm.pkg.github.com'
32-
scope: '@deepnote'
3330

3431
- name: Install dependencies
3532
run: npm ci --prefer-offline --no-audit
36-
env:
37-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3833

3934
- name: Run security audit
4035
run: npm audit --json > audit-report.json || true

.github/workflows/package.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99

1010
permissions:
1111
contents: read
12-
packages: read
1312

1413
concurrency:
1514
group: ${{ github.workflow }}-${{ github.ref }}
@@ -29,13 +28,9 @@ jobs:
2928
with:
3029
cache: 'npm'
3130
node-version-file: '.nvmrc'
32-
registry-url: 'https://npm.pkg.github.com'
33-
scope: '@deepnote'
3431

3532
- name: Install dependencies
3633
run: npm ci --prefer-offline --no-audit
37-
env:
38-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3934

4035
- name: Install vsce
4136
run: npm install -g @vscode/vsce

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

package-lock.json

Lines changed: 34 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2370,8 +2370,8 @@
23702370
},
23712371
"dependencies": {
23722372
"@c4312/evt": "^0.1.1",
2373-
"@deepnote/blocks": "^1.2.0",
2374-
"@deepnote/convert": "^1.1.0",
2373+
"@deepnote/blocks": "^1.3.5",
2374+
"@deepnote/convert": "^1.2.0",
23752375
"@enonic/fnv-plus": "^1.3.0",
23762376
"@jupyter-widgets/base": "^6.0.8",
23772377
"@jupyter-widgets/controls": "^5.0.9",

renovate.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"minimumReleaseAge": "3 days",
2323
"enabled": true
2424
},
25-
"npmrc": "@deepnote:registry=https://npm.pkg.github.com\nalways-auth=true\n",
2625
"ignoreDeps": [
2726
"@apollo/client",
2827
"@chakra-ui/react",

0 commit comments

Comments
 (0)