1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
From: Yadd <yadd@debian.org>
Date: Wed, 5 Jun 2024 15:52:53 +0200
Subject: don't try to update @jupyterlab/* libraries
Forwarded: not-needed
Last-Update: 2023-09-20
---
buildutils/src/update-core-mode.ts | 4 +++-
buildutils/tsconfig.json | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/buildutils/src/update-core-mode.ts b/buildutils/src/update-core-mode.ts
index 17acd97..16bc7bf 100644
--- a/buildutils/src/update-core-mode.ts
+++ b/buildutils/src/update-core-mode.ts
@@ -6,7 +6,7 @@
import * as fs from 'fs-extra';
import * as path from 'path';
import * as utils from './utils';
-import { upgradeLock } from './update-staging-lock';
+//import { upgradeLock } from './update-staging-lock';
// Run integrity to update the dev_mode package.json
utils.run('jlpm integrity');
@@ -64,10 +64,12 @@ fs.copySync(
path.join('.', 'jupyterlab', 'staging', 'yarn.lock')
);
process.env.YARN_UNSAFE_HTTP_WHITELIST = '0.0.0.0';
+/*
upgradeLock('@jupyterlab/*', {
lock: path.join(staging, 'yarn.lock'),
cwd: staging
});
+*/
utils.run('jlpm dlx yarn-berry-deduplicate --strategy fewerHighest', {
cwd: staging
});
diff --git a/buildutils/tsconfig.json b/buildutils/tsconfig.json
index ebff971..28bd085 100644
--- a/buildutils/tsconfig.json
+++ b/buildutils/tsconfig.json
@@ -6,6 +6,7 @@
"module": "commonjs",
"moduleResolution": "node"
},
+ "exclude": ["src/update-staging-lock.ts"],
"include": ["src/*"],
"references": []
}
|