diff --git a/package.json b/package.json index 0db257c..ba8bb1b 100644 --- a/package.json +++ b/package.json @@ -1,175 +1,175 @@ { - "name": "jupyterlab-blockly-ipylgbst", - "version": "0.1.0", - "description": "Blockly extension for JupyterLab to control the Lego Boost, using the ipylgbst library.", - "keywords": [ - "jupyter", - "jupyterlab", - "jupyterlab-extension", - "ipylgbst", - "Lego Boost", - "robot" + "name": "jupyterlab-blockly-ipylgbst", + "version": "0.1.0", + "description": "Blockly extension for JupyterLab to control the Lego Boost, using the ipylgbst library.", + "keywords": [ + "jupyter", + "jupyterlab", + "jupyterlab-extension", + "ipylgbst", + "Lego Boost", + "robot" + ], + "homepage": "https://github.com/jupyter-robotics/jupyterlab-blockly-ipylgbst", + "bugs": { + "url": "https://github.com/jupyter-robotics/jupyterlab-blockly-ipylgbst/issues" + }, + "license": "BSD-3-Clause", + "author": { + "name": "Denisa Checiu", + "email": "denisa.checiu@quantstack.net" + }, + "files": [ + "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", + "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" + ], + "main": "lib/index.js", + "types": "lib/index.d.ts", + "style": "style/index.css", + "repository": { + "type": "git", + "url": "https://github.com/jupyter-robotics/jupyterlab-blockly-ipylgbst.git" + }, + "scripts": { + "build": "jlpm build:lib && jlpm build:labextension:dev", + "build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension", + "build:labextension": "jupyter labextension build .", + "build:labextension:dev": "jupyter labextension build --development True .", + "build:lib": "tsc --sourceMap", + "build:lib:prod": "tsc", + "clean": "jlpm clean:lib", + "clean:lib": "rimraf lib tsconfig.tsbuildinfo", + "clean:lintcache": "rimraf .eslintcache .stylelintcache", + "clean:labextension": "rimraf jupyterlab_blockly_ipylgbst/labextension jupyterlab_blockly_ipylgbst/_version.py", + "clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache", + "eslint": "jlpm eslint:check --fix", + "eslint:check": "eslint . --cache --ext .ts,.tsx", + "install:extension": "jlpm build", + "lint": "jlpm stylelint && jlpm prettier && jlpm eslint", + "lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check", + "prettier": "jlpm prettier:base --write --list-different", + "prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"", + "prettier:check": "jlpm prettier:base --check", + "stylelint": "jlpm stylelint:check --fix", + "stylelint:check": "stylelint --cache \"style/**/*.css\"", + "watch": "run-p watch:src watch:labextension", + "watch:src": "tsc -w --sourceMap", + "watch:labextension": "jupyter labextension watch ." + }, + "dependencies": { + "@jupyterlab/application": "^4.2", + "blockly": "^11.1.1", + "jupyterlab-blockly": "^0.3.3" + }, + "devDependencies": { + "@jupyterlab/builder": "^4.2.4", + "@typescript-eslint/eslint-plugin": "^5.12.1", + "@typescript-eslint/parser": "^5.12.1", + "eslint": "^8.9.0", + "eslint-config-prettier": "^8.4.0", + "eslint-plugin-prettier": "^4.0.0", + "eslint-plugin-react": "^7.30.0", + "npm-run-all": "^4.1.5", + "prettier": "^2.5.1", + "rimraf": "^3.0.2", + "source-map-loader": "^4.0.1", + "stylelint": "^14.3.0", + "stylelint-config-prettier": "^9.0.4", + "stylelint-config-recommended": "^6.0.0", + "stylelint-config-standard": "~24.0.0", + "stylelint-prettier": "^2.0.0", + "typescript": "~5.0.2" + }, + "sideEffects": [ + "style/*.css", + "style/index.js" + ], + "styleModule": "style/index.js", + "publishConfig": { + "access": "public" + }, + "jupyterlab": { + "extension": true, + "outputDir": "jupyterlab_blockly_ipylgbst/labextension", + "webpackConfig": "./webpack.config.js" + }, + "eslintIgnore": [ + "node_modules", + "dist", + "coverage", + "**/*.d.ts", + "examples" + ], + "eslintConfig": { + "extends": [ + "eslint:recommended", + "plugin:@typescript-eslint/eslint-recommended", + "plugin:@typescript-eslint/recommended", + "plugin:prettier/recommended" ], - "homepage": "https://github.com/jupyter-robotics/jupyterlab-blockly-ipylgbst", - "bugs": { - "url": "https://github.com/jupyter-robotics/jupyterlab-blockly-ipylgbst/issues" + "parser": "@typescript-eslint/parser", + "parserOptions": { + "project": "tsconfig.json", + "sourceType": "module" }, - "license": "BSD-3-Clause", - "author": { - "name": "Denisa Checiu", - "email": "denisa.checiu@quantstack.net" - }, - "files": [ - "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", - "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" - ], - "main": "lib/index.js", - "types": "lib/index.d.ts", - "style": "style/index.css", - "repository": { - "type": "git", - "url": "https://github.com/jupyter-robotics/jupyterlab-blockly-ipylgbst.git" - }, - "scripts": { - "build": "jlpm build:lib && jlpm build:labextension:dev", - "build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension", - "build:labextension": "jupyter labextension build .", - "build:labextension:dev": "jupyter labextension build --development True .", - "build:lib": "tsc --sourceMap", - "build:lib:prod": "tsc", - "clean": "jlpm clean:lib", - "clean:lib": "rimraf lib tsconfig.tsbuildinfo", - "clean:lintcache": "rimraf .eslintcache .stylelintcache", - "clean:labextension": "rimraf jupyterlab_blockly_ipylgbst/labextension jupyterlab_blockly_ipylgbst/_version.py", - "clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache", - "eslint": "jlpm eslint:check --fix", - "eslint:check": "eslint . --cache --ext .ts,.tsx", - "install:extension": "jlpm build", - "lint": "jlpm stylelint && jlpm prettier && jlpm eslint", - "lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check", - "prettier": "jlpm prettier:base --write --list-different", - "prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"", - "prettier:check": "jlpm prettier:base --check", - "stylelint": "jlpm stylelint:check --fix", - "stylelint:check": "stylelint --cache \"style/**/*.css\"", - "watch": "run-p watch:src watch:labextension", - "watch:src": "tsc -w --sourceMap", - "watch:labextension": "jupyter labextension watch ." - }, - "dependencies": { - "@jupyterlab/application": "^4.2", - "blockly": "^11.0", - "jupyterlab-blockly": "^0.3.2" - }, - "devDependencies": { - "@jupyterlab/builder": "^4.2.4", - "@typescript-eslint/eslint-plugin": "^5.12.1", - "@typescript-eslint/parser": "^5.12.1", - "eslint": "^8.9.0", - "eslint-config-prettier": "^8.4.0", - "eslint-plugin-prettier": "^4.0.0", - "eslint-plugin-react": "^7.30.0", - "npm-run-all": "^4.1.5", - "prettier": "^2.5.1", - "rimraf": "^3.0.2", - "source-map-loader": "^4.0.1", - "stylelint": "^14.3.0", - "stylelint-config-prettier": "^9.0.4", - "stylelint-config-recommended": "^6.0.0", - "stylelint-config-standard": "~24.0.0", - "stylelint-prettier": "^2.0.0", - "typescript": "~5.0.2" - }, - "sideEffects": [ - "style/*.css", - "style/index.js" - ], - "styleModule": "style/index.js", - "publishConfig": { - "access": "public" - }, - "jupyterlab": { - "extension": true, - "outputDir": "jupyterlab_blockly_ipylgbst/labextension", - "webpackConfig": "./webpack.config.js" - }, - "eslintIgnore": [ - "node_modules", - "dist", - "coverage", - "**/*.d.ts", - "examples" + "plugins": [ + "@typescript-eslint" ], - "eslintConfig": { - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/eslint-recommended", - "plugin:@typescript-eslint/recommended", - "plugin:prettier/recommended" - ], - "parser": "@typescript-eslint/parser", - "parserOptions": { - "project": "tsconfig.json", - "sourceType": "module" - }, - "plugins": [ - "@typescript-eslint" - ], - "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-explicit-any": "off", - "@typescript-eslint/no-namespace": "off", - "@typescript-eslint/no-use-before-define": "off", - "@typescript-eslint/quotes": [ - "error", - "single", - { - "avoidEscape": true, - "allowTemplateLiterals": false - } - ], - "curly": [ - "error", - "all" - ], - "eqeqeq": "error", - "prefer-arrow-callback": "error" + "rules": { + "@typescript-eslint/naming-convention": [ + "error", + { + "selector": "interface", + "format": [ + "PascalCase" + ], + "custom": { + "regex": "^I[A-Z]", + "match": true + } } - }, - "prettier": { - "singleQuote": true, - "trailingComma": "none", - "arrowParens": "avoid", - "endOfLine": "auto" - }, - "stylelint": { - "extends": [ - "stylelint-config-recommended", - "stylelint-config-standard", - "stylelint-prettier/recommended" - ], - "rules": { - "property-no-vendor-prefix": null, - "selector-no-vendor-prefix": null, - "value-no-vendor-prefix": null + ], + "@typescript-eslint/no-unused-vars": [ + "warn", + { + "args": "none" } + ], + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-namespace": "off", + "@typescript-eslint/no-use-before-define": "off", + "@typescript-eslint/quotes": [ + "error", + "single", + { + "avoidEscape": true, + "allowTemplateLiterals": false + } + ], + "curly": [ + "error", + "all" + ], + "eqeqeq": "error", + "prefer-arrow-callback": "error" + } + }, + "prettier": { + "singleQuote": true, + "trailingComma": "none", + "arrowParens": "avoid", + "endOfLine": "auto" + }, + "stylelint": { + "extends": [ + "stylelint-config-recommended", + "stylelint-config-standard", + "stylelint-prettier/recommended" + ], + "rules": { + "property-no-vendor-prefix": null, + "selector-no-vendor-prefix": null, + "value-no-vendor-prefix": null } + } } diff --git a/pyproject.toml b/pyproject.toml index 3bc47db..692e98a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ classifiers = [ dependencies = [ "jupyterlab>=4.0.0,<5", "ipywidgets", - "jupyterlab-blockly>=0.3.2, <0.4", + "jupyterlab-blockly>=0.3.3, <0.4", "ipylgbst>=0.2.1, <0.3", ] dynamic = ["version", "description", "authors", "urls", "keywords"] diff --git a/yarn.lock b/yarn.lock index 316649c..856d4f2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2191,7 +2191,7 @@ __metadata: languageName: node linkType: hard -"blockly@npm:^11.0": +"blockly@npm:^11.0, blockly@npm:^11.1.1": version: 11.1.1 resolution: "blockly@npm:11.1.1" dependencies: @@ -4075,12 +4075,12 @@ __metadata: "@jupyterlab/builder": ^4.2.4 "@typescript-eslint/eslint-plugin": ^5.12.1 "@typescript-eslint/parser": ^5.12.1 - blockly: ^11.0 + blockly: ^11.1.1 eslint: ^8.9.0 eslint-config-prettier: ^8.4.0 eslint-plugin-prettier: ^4.0.0 eslint-plugin-react: ^7.30.0 - jupyterlab-blockly: ^0.3.2 + jupyterlab-blockly: ^0.3.3 npm-run-all: ^4.1.5 prettier: ^2.5.1 rimraf: ^3.0.2 @@ -4094,9 +4094,9 @@ __metadata: languageName: unknown linkType: soft -"jupyterlab-blockly@npm:^0.3.2": - version: 0.3.2 - resolution: "jupyterlab-blockly@npm:0.3.2" +"jupyterlab-blockly@npm:^0.3.3": + version: 0.3.3 + resolution: "jupyterlab-blockly@npm:0.3.3" dependencies: "@blockly/field-colour": 5.0.6 "@jupyterlab/apputils": ^4.2 @@ -4115,7 +4115,7 @@ __metadata: blockly: ^11.0 react: ^18.2 react-dom: ^18.2 - checksum: d3f0ec4d7d128c1d0defe7e2b46110924f3bb4216d5a77e587e3aa359ff68566d2c85259c56f65fa761f334ce0b2c82f1544cd3d872e1a775d3c5f4639922d24 + checksum: 78552cf073b865e02eed980167ae1f4613ebf3c46b3e6c37b9d9386bc902132b600f3a7cf11b2081ade7eb47bbdb2045e89d91ce9c93a1d08794dd2700cc07ed languageName: node linkType: hard