Skip to content

Commit

Permalink
merge from 4.0.8 upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmarkarl committed Nov 23, 2023
2 parents 7e2da05 + 2c9dff7 commit fc335cb
Show file tree
Hide file tree
Showing 2,119 changed files with 130,427 additions and 225,227 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 3, 6, 6, "final", 0
current_version = 4, 0, 8, "final", 0
commit = False
tag = False
parse = (?P<major>\d+)\,\ (?P<minor>\d+)\,\ (?P<patch>\d+)\,\ \"(?P<release>\S+)\"\,\ (?P<build>\d+)
Expand Down
44 changes: 0 additions & 44 deletions .dockerignore

This file was deleted.

22 changes: 15 additions & 7 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,32 @@ dev_mode/workspaces
docs/_build
docs/api
docs/build
examples/chrome-example-test.js
examples/example.spec.ts
examples/federated/core_package/index.template.js
examples/federated/core_package/index.js
examples/federated/labextensions
galata/playwright-report
jupyterlab/chrome-test.js
jupyterlab/geckodriver
jupyterlab/staging/yarn.js
jupyterlab/staging/index.js
jupyterlab/staging/webpack.config.js
packages/extensionmanager-extension/examples/listings
packages/nbconvert-css/raw.js
packages/services/dist
packages/ui-components/src/icon/iconimports.ts
packages/ui-components/storybook-static
jupyterlab/staging/yarn.js
jupyterlab/staging/index.js
tsconfigdoc.json
galata/playwright-report
examples/federated/core_package/index.js
examples/federated/labextensions

#TypeDoc
typedoc-theme/

# jetbrains IDE stuff
.idea/

# ms IDE stuff
.history/
.vscode/

# generated LSP interfaces
packages/lsp/src/_*
packages/lsp/schema.js
122 changes: 112 additions & 10 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,46 @@ module.exports = {
'jest/globals': true
},
globals: {
JSX: 'readonly'
BigInt: 'readonly',
HTMLCollectionOf: 'readonly',
JSX: 'readonly',
NodeJS: 'readonly',
RequestInit: 'readonly',
RequestInfo: 'readonly',
ScrollLogicalPosition: 'readonly'
},
root: true,
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier/@typescript-eslint',
'plugin:react/recommended',
'plugin:jest/recommended'
'prettier',
'plugin:react/recommended'
],
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.eslint.json'
ecmaVersion: 'ES2018',
project: ['./tsconfig.eslint.json']
},
plugins: ['@typescript-eslint', 'jest'],
plugins: ['@typescript-eslint'],
overrides: [
{
files: ['packages/**/*.spec.ts', 'testutils/**/*.spec.ts'],
plugins: ['jest'],
extends: ['plugin:jest/recommended'],
rules: {
'jest/no-conditional-expect': 'warn',
'jest/valid-title': 'warn',
'jest/no-standalone-expect': [
'error',
{
additionalTestBlockFunctions: ['it']
}
]
}
}
],
rules: {
'@typescript-eslint/no-floating-promises': ['error', { ignoreVoid: true }],
'@typescript-eslint/naming-convention': [
'error',
{
Expand All @@ -38,7 +60,6 @@ module.exports = {
],
'@typescript-eslint/no-unused-vars': ['warn', { args: 'none' }],
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/camelcase': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-namespace': 'off',
Expand All @@ -51,8 +72,89 @@ module.exports = {
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/triple-slash-reference': 'warn',
'@typescript-eslint/no-inferrable-types': 'off',
'jest/no-conditional-expect': 'warn',
'jest/valid-title': 'warn',
camelcase: [
'error',
{
allow: [
'__webpack_public_path__',
'__webpack_share_scopes__',
'__webpack_init_sharing__',
'_jupyter_types_experimental',
'allow_stdin',
'allowed_extensions',
'allowed_extensions_uris',
'blocked_extensions',
'blocked_extensions_uris',
'bundles_extension',
'cell_type',
'check_update',
'clear_output',
'codemirror_mode',
'comm_close',
'comm_id',
'comm_msg',
'comm_open',
'copy_from',
'creation_date',
'cursor_end',
'cursor_pos',
'cursor_start',
'detail_level',
'display_data',
'display_id',
'display_name',
'embed_options',
'execute_input',
'execute_result',
'execution_count',
'execution_state',
'extension_data',
'extension_name',
'file_extension',
'help_links',
'hist_access_type',
'ids_only',
'implementation_version',
'installed_version',
'is_allowed',
'jlab_core',
'jupyterlab_extensions',
'jupyterlab_mime_extensions',
'kernel_spec',
'language_info',
'last_modified',
'last_update_date',
'latest_version',
'lineWrap_type',
'msg_type',
'msg_id',
'msgid_plural',
'nbconverter_exporter',
'nbformat_minor',
'orig_nbformat',
'output_mimetype',
'output_type',
'outputs_hidden',
'parent_header',
'per_page',
'pf_re',
'pkg_type',
'protocol_version',
'pygments_lexer',
'request_seq',
'slide_type',
'source_hidden',
'shutdown_reply',
'stop_on_error',
'store_history',
'target_name',
'target_module',
'UNSAFE_componentWillUpdate',
'UNSAFE_componentWillReceiveProps',
'user_expressions'
]
}
],
'id-match': ['error', '^[a-zA-Z_]+[a-zA-Z0-9_]*$'], // https://certitude.consulting/blog/en/invisible-backdoor/
'no-inner-declarations': 'off',
'no-prototype-builtins': 'off',
Expand Down
10 changes: 10 additions & 0 deletions .eslintrc.typecheck.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
extends: ['.eslintrc.js'],
parserOptions: {
project: 'tsconfig.eslint.json'
},
rules: {
'@typescript-eslint/no-floating-promises': ['error', { ignoreVoid: true }],
'jest/no-done-callback': 'off'
}
};
10 changes: 8 additions & 2 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# Run Black: https://github.com/jupyterlab/jupyterlab/pull/12282
cde0521528481befbb81fda0be8fee77dc5455df
# Run pre-commit with black: https://github.com/jupyterlab/jupyterlab/pull/12279
6df5e0b6e8ec740ffa2f84f198820d1968e4d74d
# Add linter rule for sorting import: https://github.com/jupyterlab/jupyterlab/pull/10344
dbdefed9db9332381fe4104bdf53ec314451951f
# Bump linters: https://github.com/jupyterlab/jupyterlab/pull/12582
b57ec962a7b8cda65bb89a72223f195564f8387a
# Add license header fix job: https://github.com/jupyterlab/jupyterlab/pull/12872
1bcbf90f26bc9141681965a094c75985b758a2c9
57 changes: 0 additions & 57 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

3 changes: 0 additions & 3 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,3 @@ paths-ignore:
- examples/federated/core_package/index.js
- jupyterlab/staging/index.js
- dev_mode/index.js
# TODO: remove when fixed upstream
# see https://github.com/jupyterlab/jupyterlab/issues/10522 for more info
- packages/services/src/kernel/messages.ts
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2
updates:
# Set update schedule for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every month
interval: "monthly"
# Set update schedule for pip
- package-ecosystem: "pip"
directory: "/"
schedule:
# Check for updates to GitHub Actions every month
# Align with pre-commit configuration .pre-commit-config.yaml
interval: "monthly"
3 changes: 3 additions & 0 deletions .github/jupyterlab-probot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
binderUrlSuffix: "?urlpath=lab"
addBinderLink: true
triageLabel: "status:Needs Triage"
Loading

0 comments on commit fc335cb

Please sign in to comment.