diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d352af..90494d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,4 +2,19 @@ +## 0.1.1 + +([Full Changelog](https://github.com/mahendrapaipuri/jupyter-power-usage/compare/3b718a62b80160933904e991b2ebde25598434a5...d8fc444ef94e53dab89ce84192927d215558a82e)) + +### Maintenance and upkeep improvements + +- Update `package.json` config and README [#2](https://github.com/mahendrapaipuri/jupyter-power-usage/pull/2) ([@mahendrapaipuri](https://github.com/mahendrapaipuri)) +- Add CI workflows [#1](https://github.com/mahendrapaipuri/jupyter-power-usage/pull/1) ([@mahendrapaipuri](https://github.com/mahendrapaipuri)) + +### Contributors to this release + +([GitHub contributors page for this release](https://github.com/mahendrapaipuri/jupyter-power-usage/graphs/contributors?from=2023-10-01&to=2023-10-12&type=c)) + +[@mahendrapaipuri](https://github.com/search?q=repo%3Amahendrapaipuri%2Fjupyter-power-usage+involves%3Amahendrapaipuri+updated%3A2023-10-01..2023-10-12&type=Issues) + diff --git a/package.json b/package.json index ab1e6c2..05b95fe 100644 --- a/package.json +++ b/package.json @@ -1,166 +1,181 @@ { - "name": "@mahendrapaipuri/jupyter-power-usage", - "version": "0.0.0", - "description": "Extension that shows system power usage", - "keywords": [ - "jupyter", - "jupyterlab", - "jupyterlab-extension" - ], - "homepage": "https://github.com/mahendrapaipuri/jupyter-power-usage", - "bugs": { - "url": "https://github.com/mahendrapaipuri/jupyter-power-usage/issues" - }, - "license": "Apache-2.0", - "author": { - "name": "Mahendra Paipuri", - "email": "mahendra.paipuri@cnrs.fr" - }, - "files": [ - "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", - "style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}", - "style/index.js" - ], - "main": "lib/index.js", - "types": "lib/index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/mahendrapaipuri/jupyter-power-usage.git" - }, - "scripts": { - "build": "jlpm run build:lib && jlpm run build:labextension:dev", - "build:labextension": "jupyter labextension build .", - "build:labextension:dev": "jupyter labextension build --development True .", - "build:lib": "tsc", - "build:prod": "jlpm run build:lib && jlpm run build:labextension", - "clean": "jlpm run clean:lib", - "clean:all": "jlpm run clean:lib && jlpm run clean:labextension", - "clean:labextension": "rimraf jupyter_power_usage/labextension jupyter_power_usage/_version.py", - "clean:lib": "rimraf lib tsconfig.tsbuildinfo", - "eslint": "eslint . --ext .ts,.tsx --fix", - "eslint:check": "eslint . --ext .ts,.tsx", - "lint": "jlpm run eslint && jlpm run prettier && jlpm stylelint", - "lint:check": "jlpm run eslint:check && jlpm run prettier:check && jlpm stylelint:check", - "prettier": "prettier --write \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"", - "prettier:check": "prettier --list-different \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"", - "stylelint": "jlpm stylelint:check --fix", - "stylelint:check": "stylelint --cache \"style/**/*.css\"", - "stylelint:files": "stylelint --fix", - "install:extension": "jupyter labextension develop --overwrite .", - "watch": "run-p watch:src watch:labextension", - "watch:labextension": "jupyter labextension watch .", - "watch:src": "tsc -w" - }, - "dependencies": { - "@jupyterlab/application": "^3.5.0", - "@lumino/widgets": "^1.16.1", - "@lumino/coreutils": "^1.5.3", - "@lumino/polling": "^1.3.3", - "@lumino/signaling": "^1.4.3", - "jupyterlab-topbar": "^0.6.0", - "react": "^17.0.1", - "react-dom": "^17.0.1", - "react-sparklines": "^1.7.0" - }, - "devDependencies": { - "@jupyterlab/builder": "^3.5.0", - "@typescript-eslint/eslint-plugin": "^4.8.1", - "@typescript-eslint/parser": "^4.8.1", - "@types/react": "17.0.0", - "@types/react-dom": "^17.0.0", - "@types/react-sparklines": "^1.7.0", - "eslint": "^7.14.0", - "eslint-config-prettier": "^6.15.0", - "eslint-plugin-prettier": "^3.1.4", - "npm-run-all": "^4.1.5", - "prettier": "^2.1.1", - "stylelint": "^14.9.1", - "stylelint-config-prettier": "^9.0.4", - "stylelint-config-recommended": "^8.0.0", - "stylelint-config-standard": "^26.0.0", - "stylelint-prettier": "^2.0.0", - "rimraf": "^3.0.2", - "typescript": "~4.1.3" - }, - "resolutions": { - "@jupyterlab/rendermime-interfaces": "3.6.6", - "**/@types/react": "17.0.0" - }, - "jupyterlab": { - "extension": true, - "schemaDir": "schema", - "outputDir": "jupyter_power_usage/labextension" - }, - "styleModule": "style/index.js", - "eslintIgnore": [ - "**/*.d.ts", - "dist", - "*node_modules*", - "coverage", - "tests", - "venv", - ".venv" - ], - "prettier": { - "singleQuote": true - }, - "eslintConfig": { - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/eslint-recommended", - "plugin:@typescript-eslint/recommended", - "plugin:prettier/recommended" + "name": "@mahendrapaipuri/jupyter-power-usage", + "version": "0.1.1", + "description": "Extension that shows system power usage", + "keywords": [ + "jupyter", + "jupyterlab", + "jupyterlab-extension" ], - "parser": "@typescript-eslint/parser", - "parserOptions": { - "project": "tsconfig.json", - "sourceType": "module", - "tsconfigRootDir": "." + "homepage": "https://github.com/mahendrapaipuri/jupyter-power-usage", + "bugs": { + "url": "https://github.com/mahendrapaipuri/jupyter-power-usage/issues" }, - "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" - } - }, - "stylelint": { - "extends": [ - "stylelint-config-recommended", - "stylelint-config-standard", - "stylelint-prettier/recommended" + "license": "Apache-2.0", + "author": { + "name": "Mahendra Paipuri", + "email": "mahendra.paipuri@cnrs.fr" + }, + "files": [ + "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", + "style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}", + "style/index.js" + ], + "main": "lib/index.js", + "types": "lib/index.d.ts", + "repository": { + "type": "git", + "url": "https://github.com/mahendrapaipuri/jupyter-power-usage.git" + }, + "scripts": { + "build": "jlpm run build:lib && jlpm run build:labextension:dev", + "build:labextension": "jupyter labextension build .", + "build:labextension:dev": "jupyter labextension build --development True .", + "build:lib": "tsc", + "build:prod": "jlpm run build:lib && jlpm run build:labextension", + "clean": "jlpm run clean:lib", + "clean:all": "jlpm run clean:lib && jlpm run clean:labextension", + "clean:labextension": "rimraf jupyter_power_usage/labextension jupyter_power_usage/_version.py", + "clean:lib": "rimraf lib tsconfig.tsbuildinfo", + "eslint": "eslint . --ext .ts,.tsx --fix", + "eslint:check": "eslint . --ext .ts,.tsx", + "lint": "jlpm run eslint && jlpm run prettier && jlpm stylelint", + "lint:check": "jlpm run eslint:check && jlpm run prettier:check && jlpm stylelint:check", + "prettier": "prettier --write \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"", + "prettier:check": "prettier --list-different \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"", + "stylelint": "jlpm stylelint:check --fix", + "stylelint:check": "stylelint --cache \"style/**/*.css\"", + "stylelint:files": "stylelint --fix", + "install:extension": "jupyter labextension develop --overwrite .", + "watch": "run-p watch:src watch:labextension", + "watch:labextension": "jupyter labextension watch .", + "watch:src": "tsc -w" + }, + "dependencies": { + "@jupyterlab/application": "^3.5.0", + "@lumino/widgets": "^1.16.1", + "@lumino/coreutils": "^1.5.3", + "@lumino/polling": "^1.3.3", + "@lumino/signaling": "^1.4.3", + "jupyterlab-topbar": "^0.6.0", + "react": "^17.0.1", + "react-dom": "^17.0.1", + "react-sparklines": "^1.7.0" + }, + "devDependencies": { + "@jupyterlab/builder": "^3.5.0", + "@typescript-eslint/eslint-plugin": "^4.8.1", + "@typescript-eslint/parser": "^4.8.1", + "@types/react": "17.0.0", + "@types/react-dom": "^17.0.0", + "@types/react-sparklines": "^1.7.0", + "eslint": "^7.14.0", + "eslint-config-prettier": "^6.15.0", + "eslint-plugin-prettier": "^3.1.4", + "npm-run-all": "^4.1.5", + "prettier": "^2.1.1", + "stylelint": "^14.9.1", + "stylelint-config-prettier": "^9.0.4", + "stylelint-config-recommended": "^8.0.0", + "stylelint-config-standard": "^26.0.0", + "stylelint-prettier": "^2.0.0", + "rimraf": "^3.0.2", + "typescript": "~4.1.3" + }, + "resolutions": { + "@jupyterlab/rendermime-interfaces": "3.6.6", + "**/@types/react": "17.0.0" + }, + "jupyterlab": { + "extension": true, + "schemaDir": "schema", + "outputDir": "jupyter_power_usage/labextension" + }, + "styleModule": "style/index.js", + "eslintIgnore": [ + "**/*.d.ts", + "dist", + "*node_modules*", + "coverage", + "tests", + "venv", + ".venv" ], - "rules": { - "no-empty-source": null, - "selector-class-pattern": null, - "property-no-vendor-prefix": null, - "selector-no-vendor-prefix": null, - "value-no-vendor-prefix": null - } - }, - "//": [ - "These are comments that will survive: https://groups.google.com/g/nodejs/c/NmL7jdeuw0M/m/yTqI05DRQrIJ?pli=1", - "Nested deps in resolutions: https://github.com/yarnpkg/rfcs/blob/master/implemented/0000-selective-versions-resolutions.md#package-designation", - "Fix @types/react version. Else it will pull different versions for different packages and emit duplicating types errors" - ] + "prettier": { + "singleQuote": true + }, + "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", + "tsconfigRootDir": "." + }, + "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" + } + }, + "stylelint": { + "extends": [ + "stylelint-config-recommended", + "stylelint-config-standard", + "stylelint-prettier/recommended" + ], + "rules": { + "no-empty-source": null, + "selector-class-pattern": null, + "property-no-vendor-prefix": null, + "selector-no-vendor-prefix": null, + "value-no-vendor-prefix": null + } + }, + "//": [ + "These are comments that will survive: https://groups.google.com/g/nodejs/c/NmL7jdeuw0M/m/yTqI05DRQrIJ?pli=1", + "Nested deps in resolutions: https://github.com/yarnpkg/rfcs/blob/master/implemented/0000-selective-versions-resolutions.md#package-designation", + "Fix @types/react version. Else it will pull different versions for different packages and emit duplicating types errors" + ] }