This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #137 from jupyterlab/cleanup
Finish upgrading to new JupyterLab
- Loading branch information
Showing
61 changed files
with
435 additions
and
573 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
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
pandas | ||
jupyterlab>=1.0 | ||
jupyterlab>=2.0 | ||
vega_datasets |
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
children: | ||
- "test:///hi" | ||
- 'test:///hi' | ||
datasets: | ||
- url: "test:///hi" | ||
label: "Custom label!" | ||
- url: 'test:///hi' | ||
label: 'Custom label!' | ||
snippets: | ||
some code: "It's code!" | ||
other code: "It's code!" | ||
children: | ||
- "test:///other" | ||
- url: "test:///other" | ||
- 'test:///other' | ||
- url: 'test:///other' | ||
snippets: | ||
more code: "another code" | ||
more code: 'another code' |
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
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -6,37 +6,29 @@ | |
] | ||
}, | ||
"scripts": { | ||
"all": "jlpm run clean && jlpm run build && jlpm run build:jupyter", | ||
"all:watch": "jlpm run clean && jlpm run build && jlpm run build:jupyter:watch", | ||
"build": "jlpm run build:dev", | ||
"build:dev": "jlpm install && jlpm run clean:packages && lerna link && jlpm run build:packages && jlpm run link:packages && jupyter labextension list", | ||
"build:jupyter": "(jupyter lab build || (jlpm run build:jupyter:remediate && jupyter lab build)) && jupyter lab", | ||
"build:jupyter:remediate": "curr_dir=$PWD && (cd $(jupyter lab path | head -n1 | sed s/Application\\ directory:\\ *//)/staging && echo $PWD && echo '\"@jupyterlab:registry\" \"http://localhost:4873\"' >> .yarnrc && cat .yarnrc && YARN_REGISTRY=http://localhost:4873 node ./yarn.js install --non-interactive && cd $curr_dir) || cd $curr_dir", | ||
"build:jupyter:watch": "(jupyter lab build || (jlpm run build:jupyter:remediate && jupyter lab build)) && jupyter lab --watch", | ||
"build:packages": "lerna run build", | ||
"build:watch": "tsc --build --watch --listEmittedFiles packages/*", | ||
"build": "jlpm && lerna bootstrap --hoist && jlpm run build:packages && jlpm run build:packages:post && jlpm run link:packages", | ||
"build:packages": "tsc --build packages/*", | ||
"build:packages:post": "lerna run postBuild", | ||
"build:watch": "jlpm run build:packages --watch --listEmittedFiles", | ||
"clean": "jlpm run clean:jupyter && jlpm clean:packages && jlpm clean:node", | ||
"clean:jupyter": "jlpm run uninstall:extensions && (lerna run --no-bail unlink || echo 'At least one unlink command failed, but continuing...') && jupyter lab clean", | ||
"clean:node": "lerna clean --yes && rimraf node_modules", | ||
"clean:jupyter": "jlpm run uninstall:extensions && jupyter lab clean", | ||
"clean:node": "lerna clean --yes && rimraf node_modules yarn.lock", | ||
"clean:packages": "lerna run clean", | ||
"link:packages": "jupyter labextension link ./packages/* --no-build", | ||
"lint": "jlpm run lint:css && jlpm run lint:typescript", | ||
"lint:check": "jlpm run prettier:check && jlpm run lint:css:check && jlpm run lint:typescript:check", | ||
"lint:css": "stylelint packages/**/*.css --config ./etc/stylelint/.stylelintrc.json --fix", | ||
"lint": "jlpm run lint:css && jlpm run lint:typescript && jlpm run prettier:write", | ||
"lint:check": "jlpm run lint:css:check && jlpm run lint:typescript:check && jlpm run prettier", | ||
"lint:css": "jlpm run lint:css:check --fix", | ||
"lint:css:check": "stylelint packages/**/*.css --config ./etc/stylelint/.stylelintrc.json", | ||
"lint:typescript": "eslint --fix packages/**/src/*.ts --config ./etc/eslint/.eslintrc.js", | ||
"lint:typescript:check": "eslint packages/**/src/*.ts --config ./etc/eslint/.eslintrc.js", | ||
"prettier": "prettier --write '**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}' --config ./etc/prettier/.prettierrc --ignore-path ./etc/prettier/.prettierignore", | ||
"prettier:check": "prettier --list-different '**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}' --config ./etc/prettier/.prettierrc --ignore-path ./etc/prettier/.prettierignore", | ||
"lint:typescript": "jlpm run lint:typescript:check --fix", | ||
"lint:typescript:check": "eslint . --ext 'ts,tsx' --ignore-path .gitignore --config ./etc/eslint/.eslintrc.js", | ||
"prettier": "prettier . --config ./etc/prettier/.prettierrc --ignore-path .gitignore --check", | ||
"prettier:write": "jlpm run prettier --write", | ||
"rebuild:packages": "jlpm run clean:packages && jlpm run build:packages", | ||
"registry": "verdaccio", | ||
"registry:init": "jlpm run registry:adduser && jlpm run registry:register", | ||
"registry:adduser": "node ./scripts/registry.adduser.js", | ||
"registry:register": "env NPM_USER=foo NPM_PASS=bar [email protected] NPM_REGISTRY=http://localhost:4873 NPM_SCOPE=@jupyterlab npm-cli-login && lerna exec --scope @jupyterlab/dataregistry --scope @jupyterlab/dataregistry-extension --scope @jupyterlab/dataregistry-csvviewer-extension --scope @jupyterlab/dataregistry-registry-extension -- npm publish --registry http://localhost:4873", | ||
"test": "env JEST_PUPPETEER_CONFIG=./etc/jest/jest-puppeteer.config.js jest --runInBand --config ./etc/jest/jest.config.js", | ||
"test:debug": "env HEADLESS=false SLOWMO=true jlpm test", | ||
"uninstall:extensions": "jupyter labextension uninstall --all --no-build", | ||
"unlink:packages": "lerna run unlink" | ||
"test": "jlpm run test:packages && jlpm run test:integration", | ||
"test:packages": "lerna run test", | ||
"test:integration": "env JEST_PUPPETEER_CONFIG=./etc/jest/jest-puppeteer.config.js jest --runInBand --config ./etc/jest/jest.config.js", | ||
"test:integration:debug": "env HEADLESS=false SLOWMO=true jlpm test", | ||
"uninstall:extensions": "jupyter labextension uninstall --all" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
|
@@ -45,34 +37,31 @@ | |
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@rws-air/jestscreenshot": "^3.0.3", | ||
"@types/expect-puppeteer": "^3.3.2", | ||
"@types/jest": "^24.0.19", | ||
"@rws-air/jestscreenshot": "^4.0.4", | ||
"@types/expect-puppeteer": "^4.4.1", | ||
"@types/jest": "^25.2.1", | ||
"@types/jest-environment-puppeteer": "^4.3.1", | ||
"@types/puppeteer": "^1.20.2", | ||
"@typescript-eslint/eslint-plugin": "^2.11.0", | ||
"@typescript-eslint/parser": "^2.11.0", | ||
"@types/puppeteer": "^2.0.1", | ||
"@typescript-eslint/eslint-plugin": "^2.27.0", | ||
"@typescript-eslint/parser": "^2.27.0", | ||
"eslint": "^6.1.0", | ||
"eslint-config-prettier": "^6.0.0", | ||
"eslint-plugin-prettier": "^3.1.1", | ||
"eslint-plugin-react": "^7.14.3", | ||
"eslint-plugin-react-hooks": "^1.6.1", | ||
"husky": "^3.0.9", | ||
"jest": "^24.9.0", | ||
"jest-circus": "^24.9.0", | ||
"eslint-plugin-react-hooks": "^3.0.0", | ||
"husky": "^4.2.3", | ||
"jest": "^25.2.7", | ||
"jest-circus": "^25.2.7", | ||
"jest-puppeteer": "^4.3.0", | ||
"lerna": "^3.16.4", | ||
"lint-staged": "^9.4.2", | ||
"npm-cli-login": "^0.1.1", | ||
"npm-registry-client": "^8.6.0", | ||
"prettier": "^1.18.2", | ||
"lint-staged": "^10.1.2", | ||
"prettier": "^2.0.4", | ||
"puppeteer": "^2.0.0", | ||
"rimraf": "^2.6.2", | ||
"stylelint": "^11.0.0", | ||
"stylelint-config-prettier": "^6.0.0", | ||
"stylelint-config-standard": "^19.0.0", | ||
"ts-jest": "^24.1.0", | ||
"typescript": "^3.5.3", | ||
"verdaccio": "^4.3.2" | ||
"rimraf": "^3.0.2", | ||
"stylelint": "^13.3.0", | ||
"stylelint-config-prettier": "^8.0.1", | ||
"stylelint-config-standard": "^20.0.0", | ||
"ts-jest": "^25.3.1", | ||
"typescript": "^3.5.3" | ||
} | ||
} |
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
Oops, something went wrong.