-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade extension to support jupyterlab v4 (#60)
* Upgrade extension to support jupyterlab v4 * Add fallback for os module * Extend jupyterlab's webpack config to set fallback for os module * Remove node install script * Add release script * Update ipywidget requires
- Loading branch information
1 parent
b5a2c83
commit 05f285a
Showing
10 changed files
with
5,265 additions
and
6,194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,3 +112,6 @@ dmypy.json | |
|
||
# OSX files | ||
.DS_Store | ||
|
||
# Yarn files | ||
.yarn/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
enableImmutableInstalls: false | ||
nodeLinker: node-modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
LATEST_GIT_TAG=$(git describe --tags --abbrev=0) | ||
# Remove "v" from the start of the tag e.g. v1.0.0 -> 1.0.0 | ||
LATEST_GIT_TAG="${LATEST_GIT_TAG:1}" | ||
# Update package.json's version field | ||
npm version $LATEST_GIT_TAG --no-commit-hooks --no-git-tag-version | ||
|
||
echo "Updating package.json with version $LATEST_GIT_TAG" | ||
if [[ $LATEST_GIT_TAG == *"beta"* ]]; | ||
then | ||
echo "Publishing beta version $LATEST_GIT_TAG to npm"; | ||
yarn publish --new-version $LATEST_GIT_TAG --no-git-tag-version --no-commit-hooks --access public --tag beta | ||
elif [[ $LATEST_GIT_TAG == *"alpha"* ]]; | ||
then | ||
echo "Publishing alpha version $LATEST_GIT_TAG to npm"; | ||
yarn publish --new-version $LATEST_GIT_TAG --no-git-tag-version --no-commit-hooks --access public --tag alpha | ||
else | ||
echo "Publishing new version $LATEST_GIT_TAG to npm"; | ||
yarn publish --new-version $LATEST_GIT_TAG --no-git-tag-version --no-commit-hooks --access public | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module.exports = { | ||
resolve: { | ||
fallback: { | ||
os: false | ||
} | ||
} | ||
}; |
Oops, something went wrong.