-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
15e1334
commit 4044018
Showing
42 changed files
with
7,084 additions
and
534 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules | ||
lib | ||
pixi_kernel | ||
kernels |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"arrowParens": "avoid", | ||
"endOfLine": "auto", | ||
"overrides": [ | ||
{ | ||
"files": "package.json", | ||
"options": { | ||
"tabWidth": 4 | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "JupyterLab", | ||
"type": "debugpy", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/.venv/bin/jupyter-lab", | ||
"console": "integratedTerminal", | ||
"args": [ | ||
"-y", | ||
"--no-browser", | ||
"--ContentsManager.allow_hidden=True", | ||
"--notebook-dir", | ||
"../notebooks" | ||
], | ||
"justMyCode": false | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nodeLinker: node-modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
import typescriptEslint from "@typescript-eslint/eslint-plugin"; | ||
import tsParser from "@typescript-eslint/parser"; | ||
import js from "@eslint/js"; | ||
import { FlatCompat } from "@eslint/eslintrc"; | ||
|
||
const compat = new FlatCompat({ | ||
baseDirectory: process.cwd(), | ||
recommendedConfig: js.configs.recommended, | ||
}); | ||
|
||
export default [{ | ||
ignores: [ | ||
".tox", | ||
"lib", | ||
".venv", | ||
"node_modules", | ||
"dist", | ||
"coverage", | ||
"**/*.d.ts", | ||
"kernels", | ||
"pixi_kernel", | ||
"eslint.config.mjs", | ||
"tests" | ||
] | ||
}, ...compat.extends( | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:prettier/recommended", | ||
), { | ||
plugins: { | ||
"@typescript-eslint": typescriptEslint, | ||
}, | ||
|
||
languageOptions: { | ||
parser: tsParser, | ||
ecmaVersion: 5, | ||
sourceType: "module", | ||
|
||
parserOptions: { | ||
project: "tsconfig.json", | ||
}, | ||
}, | ||
|
||
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", | ||
|
||
curly: ["error", "all"], | ||
eqeqeq: "error", | ||
"prefer-arrow-callback": "error", | ||
}, | ||
}]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"ServerApp": { | ||
"jpserver_extensions": { | ||
"pixi_kernel": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
{ | ||
"name": "pixi-kernel", | ||
"version": "0.6.0", | ||
"description": "Jupyter kernels using Pixi for reproducible notebooks.", | ||
"keywords": [ | ||
"kernel", | ||
"jupyter", | ||
"jupyterlab", | ||
"jupyterlab-extension", | ||
"pixi" | ||
], | ||
"homepage": "https://github.com/renan-r-santos/pixi-kernel", | ||
"bugs": { | ||
"url": "https://github.com/renan-r-santos/pixi-kernel/issues" | ||
}, | ||
"license": "MIT", | ||
"author": { | ||
"name": "Renan Rodrigues dos Santos", | ||
"email": "renan.engmec@gmail.com" | ||
}, | ||
"files": [ | ||
"lib/**/*.{d.ts,js,js.map,json}", | ||
"src/**/*.{ts,tsx}", | ||
"schema/*.json" | ||
], | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:renan-r-santos/pixi-kernel.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", | ||
"clean:labextension": "rimraf pixi_kernel/labextension", | ||
"clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache", | ||
"eslint": "jlpm eslint:check --fix", | ||
"eslint:check": "eslint . --cache", | ||
"install:extension": "jlpm build", | ||
"lint": "jlpm prettier && jlpm eslint", | ||
"lint: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", | ||
"watch": "run-p watch:src watch:labextension", | ||
"watch:src": "tsc -w --sourceMap", | ||
"watch:labextension": "jupyter labextension watch ." | ||
}, | ||
"dependencies": { | ||
"@jupyterlab/application": "^4.3.4", | ||
"@jupyterlab/coreutils": "^6.3.4", | ||
"@jupyterlab/notebook": "^4.3.4", | ||
"@jupyterlab/services": "^7.3.4", | ||
"@rjsf/utils": "^5.23.2", | ||
"react": "^18.3.1" | ||
}, | ||
"devDependencies": { | ||
"@eslint/eslintrc": "^3.2.0", | ||
"@eslint/js": "^9.17.0", | ||
"@jupyterlab/builder": "^4.3.4", | ||
"@types/json-schema": "^7.0.15", | ||
"@types/react": "^18.3.1", | ||
"@types/react-addons-linked-state-mixin": "^0.14.27", | ||
"@typescript-eslint/eslint-plugin": "^8.18.1", | ||
"@typescript-eslint/parser": "^8.18.1", | ||
"eslint": "^9.17.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.2.1", | ||
"npm-run-all2": "^7.0.2", | ||
"prettier": "^3.4.2", | ||
"rimraf": "^6.0.1", | ||
"source-map-loader": "^5.0.0", | ||
"typescript": "~5.7.2" | ||
}, | ||
"jupyterlab": { | ||
"discovery": { | ||
"server": { | ||
"managers": [ | ||
"pip" | ||
], | ||
"base": { | ||
"name": "pixi_kernel" | ||
} | ||
} | ||
}, | ||
"extension": true, | ||
"outputDir": "pixi_kernel/labextension", | ||
"schemaDir": "schema" | ||
} | ||
} |
Oops, something went wrong.