Skip to content

Commit

Permalink
Upgrade dev dependencies (#599)
Browse files Browse the repository at this point in the history
* Upgrade dev dependencies

* Fix playwright browser installation

* Ignore browsers cache

* Ignore browser cache (eslint)

* Bump lerna, prettier and eslint
  • Loading branch information
fcollonval authored Jul 17, 2023
1 parent c639d9a commit 2c216e9
Show file tree
Hide file tree
Showing 69 changed files with 3,454 additions and 3,868 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ docs/source/api
# ms IDE stuff
.history/
.vscode/

# CI stuff
pw-browsers/
13 changes: 13 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,21 @@ jobs:
build:
runs-on: ubuntu-latest

env:
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/pw-browsers

steps:
- uses: actions/checkout@v3
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Set up browser cache
uses: actions/cache@v3
with:
path: |
${{ github.workspace }}/pw-browsers
key: ubuntu-latest-${{ hashFiles('./yarn.lock') }}

- name: Install dependencies
shell: bash
run: |
Expand All @@ -72,6 +83,8 @@ jobs:
set -eux
yarn minimize
yarn build:examples
# Install playwright for example tests
npx playwright install chromium
yarn test:examples
- name: Build Docs
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ docs/source/examples
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# CI stuff
pw-browsers/
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ tests/**/coverage
# ms IDE stuff
.history/
.vscode/

# CI stuff
pw-browsers/
8 changes: 4 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid"
}
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid"
}
873 changes: 0 additions & 873 deletions .yarn/releases/yarn-3.4.1.cjs

This file was deleted.

874 changes: 874 additions & 0 deletions .yarn/releases/yarn-3.6.0.cjs

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
yarnPath: .yarn/releases/yarn-3.4.1.cjs
nodeLinker: "node-modules"
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.6.0.cjs
4 changes: 2 additions & 2 deletions buildutils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"dependencies": {
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"postcss": "^8.4.14",
"rollup": "^3.9.1",
"postcss": "^8.4.24",
"rollup": "^3.25.1",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-styles": "^4.0.0"
Expand Down
9 changes: 6 additions & 3 deletions docs/source/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ div.wy-side-nav-search {
.rst-content img.jp-screenshot {
border: none;
/* MD Elevation 8 */
box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2),
box-shadow:
0px 5px 5px -3px rgba(0, 0, 0, 0.2),
0px 8px 10px 1px rgba(145, 145, 145, 0.14),
0px 3px 14px 2px rgba(0, 0, 0, 0.12);
margin-bottom: 24px;
Expand All @@ -55,8 +56,10 @@ div.wy-side-nav-search {
padding-bottom: 56.25%;
border: none;
/* MD Elevation 8 */
box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2),
0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);
box-shadow:
0px 5px 5px -3px rgba(0, 0, 0, 0.2),
0px 8px 10px 1px rgba(0, 0, 0, 0.14),
0px 3px 14px 2px rgba(0, 0, 0, 0.12);
margin-bottom: 24px;
}

Expand Down
34 changes: 0 additions & 34 deletions docs/source/_templates/breadcrumbs.html

This file was deleted.

2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def build_examples(out_dir):
epub_exclude_files = ['search.html']

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/': None}
intersphinx_mapping = {'python': ('https://docs.python.org/', None)}


def setup(app):
Expand Down
6 changes: 3 additions & 3 deletions examples/example-accordionpanel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
"rimraf": "^3.0.2",
"rollup": "^3.9.1",
"rimraf": "^5.0.1",
"rollup": "^3.25.1",
"rollup-plugin-styles": "^4.0.0",
"typescript": "~4.9.4"
"typescript": "~5.1.3"
}
}
6 changes: 3 additions & 3 deletions examples/example-datagrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
"rimraf": "^3.0.2",
"rollup": "^3.9.1",
"rimraf": "^5.0.1",
"rollup": "^3.25.1",
"rollup-plugin-styles": "^4.0.0",
"typescript": "~4.9.4"
"typescript": "~5.1.3"
}
}
6 changes: 3 additions & 3 deletions examples/example-dockpanel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
"rimraf": "^3.0.2",
"rollup": "^3.9.1",
"rimraf": "^5.0.1",
"rollup": "^3.25.1",
"rollup-plugin-styles": "^4.0.0",
"typescript": "~4.9.4"
"typescript": "~5.1.3"
}
}
6 changes: 3 additions & 3 deletions examples/example-menubar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
"rimraf": "^3.0.2",
"rollup": "^3.9.1",
"rimraf": "^5.0.1",
"rollup": "^3.25.1",
"rollup-plugin-styles": "^4.0.0",
"typescript": "~4.9.4"
"typescript": "~5.1.3"
}
}
3 changes: 1 addition & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"version": "independent",
"npmClient": "yarn",
"useWorkspaces": true
"npmClient": "yarn"
}
2 changes: 1 addition & 1 deletion notebooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"@babel/preset-typescript": "^7.7.2",
"@types/react": "^16.9.11",
"@types/react-dom": "^16.9.4",
"typescript": "~4.9.4"
"typescript": "~5.1.3"
}
}
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,20 @@
"prepare": "husky install"
},
"devDependencies": {
"@jupyterlab/buildutils": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.0",
"@jupyterlab/buildutils": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.0",
"lerna": "^6.3.0",
"lerna": "^7.1.4",
"lint-staged": "^13.1.0",
"prettier": "^2.7.1",
"prettier": "^3.0.0",
"shell-quote": "^1.7.2",
"typedoc": "^0.23.25",
"typedoc-plugin-resolve-crossmodule-references": "^0.3.3",
"typescript": "~4.9.4"
"typedoc": "^0.24.8",
"typedoc-plugin-mdn-links": "^3.0.3",
"typescript": "~5.1.3"
},
"jupyter-releaser": {
"hooks": {
Expand All @@ -73,5 +73,5 @@
"before-draft-release": "node scripts/tag-versions.js"
}
},
"packageManager": "yarn@3.4.1"
"packageManager": "yarn@3.6.0"
}
17 changes: 8 additions & 9 deletions packages/algorithm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"devDependencies": {
"@lumino/buildutils": "^2.0.0",
"@microsoft/api-extractor": "^7.6.0",
"@microsoft/api-extractor": "^7.36.0",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@types/chai": "^4.3.4",
Expand All @@ -58,16 +58,15 @@
"karma-mocha-reporter": "^2.2.5",
"karma-webkit-launcher": "^1.0.2",
"mocha": "^9.0.3",
"playwright": "^1.29.0",
"postcss": "^8.4.14",
"rimraf": "^3.0.2",
"rollup": "^3.9.1",
"playwright": "^1.35.0",
"postcss": "^8.4.24",
"rimraf": "^5.0.1",
"rollup": "^3.25.1",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-sourcemaps": "^0.6.3",
"terser": "^5.7.1",
"tslib": "^2.4.0",
"typedoc": "^0.23.25",
"typescript": "~4.9.4"
"terser": "^5.18.1",
"tslib": "^2.5.3",
"typescript": "~5.1.3"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 4 additions & 0 deletions packages/algorithm/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/
/**
* @packageDocumentation
* @module algorithm
*/
export * from './array';
export * from './chain';
export * from './empty';
Expand Down
17 changes: 8 additions & 9 deletions packages/application/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
},
"devDependencies": {
"@lumino/buildutils": "^2.0.0",
"@microsoft/api-extractor": "^7.6.0",
"@microsoft/api-extractor": "^7.36.0",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@types/chai": "^3.4.35",
Expand All @@ -63,16 +63,15 @@
"karma-mocha-reporter": "^2.2.5",
"karma-webkit-launcher": "^1.0.2",
"mocha": "^9.0.3",
"playwright": "^1.29.0",
"postcss": "^8.4.14",
"rimraf": "^3.0.2",
"rollup": "^3.9.1",
"playwright": "^1.35.0",
"postcss": "^8.4.24",
"rimraf": "^5.0.1",
"rollup": "^3.25.1",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-sourcemaps": "^0.6.3",
"terser": "^5.7.1",
"tslib": "^2.4.0",
"typedoc": "^0.23.25",
"typescript": "~4.9.4"
"terser": "^5.18.1",
"tslib": "^2.5.3",
"typescript": "~5.1.3"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 4 additions & 0 deletions packages/application/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/
/**
* @packageDocumentation
* @module application
*/
import { topologicSort } from '@lumino/algorithm';

import { CommandRegistry } from '@lumino/commands';
Expand Down
17 changes: 8 additions & 9 deletions packages/collections/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"devDependencies": {
"@lumino/buildutils": "^2.0.0",
"@microsoft/api-extractor": "^7.6.0",
"@microsoft/api-extractor": "^7.36.0",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@types/chai": "^3.4.35",
Expand All @@ -61,16 +61,15 @@
"karma-mocha-reporter": "^2.2.5",
"karma-webkit-launcher": "^1.0.2",
"mocha": "^9.0.3",
"playwright": "^1.29.0",
"postcss": "^8.4.14",
"rimraf": "^3.0.2",
"rollup": "^3.9.1",
"playwright": "^1.35.0",
"postcss": "^8.4.24",
"rimraf": "^5.0.1",
"rollup": "^3.25.1",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-sourcemaps": "^0.6.3",
"terser": "^5.7.1",
"tslib": "^2.4.0",
"typedoc": "^0.23.25",
"typescript": "~4.9.4"
"terser": "^5.18.1",
"tslib": "^2.5.3",
"typescript": "~5.1.3"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 4 additions & 0 deletions packages/collections/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/
/**
* @packageDocumentation
* @module collections
*/
export * from './linkedlist';
Loading

0 comments on commit 2c216e9

Please sign in to comment.