Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into 1.0.x
Browse files Browse the repository at this point in the history
* upstream/main: (7628 commits)
  Adopt ruff format (jupyterlab#15499)
  Bump scipy from 1.11.3 to 1.11.4 (jupyterlab#15474)
  [pre-commit.ci] pre-commit autoupdate (jupyterlab#15491)
  Pin `actions/labeler` to v4 to fix failing CI action (jupyterlab#15496)
  Add npm provenance issue to the list of release postmortems (jupyterlab#15493)
  Fix URLs in debugger-extension (jupyterlab#15462)
  Bump tj-actions/changed-files from 40.0.2 to 40.2.0 (jupyterlab#15471)
  Bump dessant/lock-threads from 4 to 5 (jupyterlab#15472)
  Bump pandas from 2.1.2 to 2.1.3 (jupyterlab#15473)
  Bump actions/github-script from 6 to 7 (jupyterlab#15470)
  Bump matplotlib from 3.7.2 to 3.8.2 (jupyterlab#15475)
  Bump rjsf to 5.13.4 (jupyterlab#15469)
  Don't play with the focus when handling focus event (jupyterlab#15408)
  [ci skip] Publish 4.1.0a4
  Updated light theme visited link colour to make text visible (jupyterlab#15406)
  Load custom CSS functionality and documentation (jupyterlab#14743)
  Added alt descriptions to a few icon and images (jupyterlab#15265)
  More robust galata/UI tests (jupyterlab#15355)
  Fix Shift + L not working in stdin (jupyterlab#15440)
  Upgrade releaser workflows for silent support (jupyterlab#15446)
  ...
  • Loading branch information
chisangajm3 committed Dec 13, 2023
2 parents 79000e1 + 5ec3aa4 commit da3005a
Show file tree
Hide file tree
Showing 3,131 changed files with 269,078 additions and 247,579 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 4 additions & 4 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[bumpversion]
current_version = 1, 0, 10, 'final', 0
current_version = 1, 0, 4, 'final', 0
commit = False
tag = False
parse = (?P<major>\d+)\,\ (?P<minor>\d+)\,\ (?P<patch>\d+)\,\ \'(?P<release>\S+)\'\,\ (?P<build>\d+)
parse = (?P<major>\d+)\,\ (?P<minor>\d+)\,\ (?P<patch>\d+)\,\ \"(?P<release>\S+)\"\,\ (?P<build>\d+)
serialize =
{major}, {minor}, {patch}, '{release}', {build}
{major}, {minor}, {patch}, "{release}", {build}

[bumpversion:part:release]
optional_value = final
values =
alpha
beta
candidate
final

[bumpversion:part:build]

[bumpversion:file:jupyterlab/_version.py]
25 changes: 25 additions & 0 deletions .cleanignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# files that match any pattern from .cleanignore are NOT removed by
# the `jlpm clean:slate` command. Same syntax as .gitignore (plus the @).
#
# @: if a pattern starts with "@", some includes are automatically added,
# in addition to the base exclude pattern. For example:
#
# @*.foo
#
# will add:
#
# *.foo
# !packages/**/*.foo
# !**/node_modules/**/*.foo
#
# These help ensure that all node_modules dirs are cleaned and that
# sibling installs of labextensions are not cleaned.

# jetbrains IDE stuff
@*.iml
@.idea/

# ms IDE stuff
@*.code-workspace
@.history
@.vscode
59 changes: 42 additions & 17 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,49 @@
node_modules
**/node_modules
**/lib
**/build
**/lib
**/node_modules
**/mock_packages
**/static
jupyterlab/schemas
jupyterlab/themes
jupyterlab/geckodriver
jupyterlab/staging/yarn.js
jupyterlab/chrome-test.js
jupyterlab/staging/index.js
**/typings
**/schemas
**/themes
coverage
*.map.js
*.bundle.js

dev_mode/index.js
dev_mode/schemas
dev_mode/static
dev_mode/themes
!dev_mode/static/index.out.js
dev_mode/workspaces
examples/app/build
examples/app/themes
examples/app/schemas
examples/chrome-example-test.js
tests/**/coverage
docs/_build
docs/api
!dev_mode/static/index.out.js
docs/build
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/codemirror/test/foo*.js
packages/extensionmanager-extension/examples/listings
packages/nbconvert-css/raw.js
packages/services/dist
packages/ui-components/src/icon/iconimports.ts
tsconfigdoc.json

#TypeDoc
typedoc-theme/

# jetbrains IDE stuff
.idea/

# ms IDE stuff
.history/
.vscode/

# generated LSP interfaces
packages/lsp/src/_*
packages/lsp/schema.js
23 changes: 0 additions & 23 deletions .eslintrc

This file was deleted.

185 changes: 185 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
module.exports = {
env: {
browser: true,
es6: true,
commonjs: true,
node: true,
'jest/globals': true
},
globals: {
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',
'plugin:react/recommended'
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'ES2018',
project: ['./tsconfig.eslint.json']
},
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/naming-convention': [
'error',
{
selector: 'interface',
format: ['PascalCase'],
custom: {
regex: '^I[A-Z]',
match: true
}
}
],
'@typescript-eslint/no-unused-vars': ['warn', { args: 'none' }],
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/ban-ts-comment': ['warn', { 'ts-ignore': true }],
'@typescript-eslint/ban-types': 'warn',
'@typescript-eslint/no-non-null-asserted-optional-chain': 'warn',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/triple-slash-reference': 'warn',
'@typescript-eslint/no-inferrable-types': 'off',
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',
'needs_restart',
'orig_nbformat',
'output_mimetype',
'output_type',
'outputs_hidden',
'parent_header',
'per_page',
'plugin_name',
'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',
'no-control-regex': 'warn',
'no-undef': 'warn',
'no-case-declarations': 'warn',
'no-useless-escape': 'off',
'prefer-const': 'off',
'react/prop-types': 'warn',
'sort-imports': [
'error',
{
ignoreCase: true,
ignoreDeclarationSort: true,
ignoreMemberSort: false,
memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
allowSeparatedGroups: false
}
]
},
settings: {
react: {
version: 'detect'
}
}
};
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'
}
};
8 changes: 8 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# 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
14 changes: 14 additions & 0 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "My CodeQL config"

queries:
- uses: security-and-quality

paths-ignore:
- node_modules
# Ignore our vendored yarn.js
- jupyterlab/staging/yarn.js
# Ignore templates, which generate syntax error warnings
- '**/templates/*.html'
- examples/federated/core_package/index.js
- jupyterlab/staging/index.js
- dev_mode/index.js
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"

0 comments on commit da3005a

Please sign in to comment.