Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Refactor extension organization #93

Merged
merged 116 commits into from Oct 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
66a5194
Refactor CSV viewer conversion
kgryte Sep 25, 2019
22da462
Update include filter to include subfolders
kgryte Sep 25, 2019
6f9650d
Fix typo
kgryte Sep 25, 2019
f070a70
Add interface and add debugging hack
kgryte Sep 25, 2019
77d2166
Remove extra space
kgryte Sep 25, 2019
889d8c6
Remove unused import
kgryte Sep 25, 2019
d1aa243
Add missing semicolon
kgryte Sep 25, 2019
fffc2c8
Fix indentation
kgryte Sep 25, 2019
a43d578
Add comment
kgryte Sep 25, 2019
6f9b2a6
Document type and create interface
kgryte Sep 25, 2019
8fb51bc
Fix asterisk alignment
kgryte Sep 25, 2019
735d9bc
Mark interface definition as private
kgryte Sep 25, 2019
3e9dac4
Mark internal class as private
kgryte Sep 25, 2019
ba84722
Convert type definition to interface
kgryte Sep 25, 2019
38cd017
Update comment
kgryte Sep 25, 2019
08b19ca
Update class description
kgryte Sep 25, 2019
e1833b1
Rename export
kgryte Sep 25, 2019
09f6435
Move converters to individual files
kgryte Sep 25, 2019
3cc9070
Use default export convention
kgryte Sep 26, 2019
72b5555
Remove MIME type database and use data type database as source of truth
kgryte Sep 26, 2019
44e8ccd
Cache function result
kgryte Sep 26, 2019
eb4e7c1
Move implementations to separate packages
kgryte Sep 27, 2019
37867f5
Add npm config file
kgryte Sep 28, 2019
b5d822f
Move packages to `packages` folder
kgryte Sep 28, 2019
5259a32
Update paths
kgryte Sep 28, 2019
7b7d424
Add root TypeScript config
kgryte Sep 28, 2019
8eaf37f
Add root ESLint config file
kgryte Sep 28, 2019
d13ae8d
Update script commands and remove ESLint config files
kgryte Sep 28, 2019
0e9a6cc
Update dev deps
kgryte Sep 28, 2019
45c1ec2
Add Lerna configuration file
kgryte Oct 1, 2019
a810581
Add meta package
kgryte Oct 1, 2019
62292fa
Update scripts
kgryte Oct 1, 2019
981b840
Update scripts
kgryte Oct 1, 2019
6a87977
Update settings
kgryte Oct 1, 2019
6c5f03c
Reformat to ensure consistent with other config files
kgryte Oct 1, 2019
285dfaa
Update configuration
kgryte Oct 1, 2019
f76fdbd
Update scripts
kgryte Oct 1, 2019
3f66a59
Set npm arguments
kgryte Oct 1, 2019
5b59b15
Update TypeScript configuration files and reformat relative paths
kgryte Oct 1, 2019
d284021
Remove meta package
kgryte Oct 1, 2019
cb7bfdd
Disable type checking of all declaration files
kgryte Oct 1, 2019
4418cf0
Remove unused import
kgryte Oct 1, 2019
6e03311
Use `any` as type return value to allow build
kgryte Oct 1, 2019
861fec1
Disable build after linking
kgryte Oct 1, 2019
5a88057
Disable building after unlink
kgryte Oct 1, 2019
c1f8423
Fix script for automatic recompilation
kgryte Oct 1, 2019
8481957
Allow dev deps to opt in to patch and minor upgrades
kgryte Oct 1, 2019
a0e7fc4
Allow deps to opt in to patch and minor upgrades
kgryte Oct 1, 2019
bf804b7
Disable TypeScript compiler errors for offending line
kgryte Oct 2, 2019
8fa491d
Switch to yarn
kgryte Oct 2, 2019
5904099
Update scripts to use `jlpm`
kgryte Oct 2, 2019
119f13b
Reorder fields
kgryte Oct 2, 2019
1924936
Remove relative path prefix due to Jupyter build path resolution bug
kgryte Oct 2, 2019
0945aa2
Remove exports for packages which are independently registered
kgryte Oct 2, 2019
2464bb7
Merge branch 'master' of https://github.com/jupyterlab/jupyterlab-dat…
kgryte Oct 3, 2019
dc552b0
Add dev dep to create a local registry proxy
kgryte Oct 3, 2019
ba6a6f6
Remove unused variable
kgryte Oct 3, 2019
86a3932
Fix typo
kgryte Oct 3, 2019
b195bc2
Fix duplicate identifier and obsolete import
kgryte Oct 3, 2019
d81aea9
Add scripts
kgryte Oct 3, 2019
6923e2f
Add scripts
kgryte Oct 3, 2019
3b82987
Simplify registry initialization script
kgryte Oct 3, 2019
d58f3ed
Add scripts
kgryte Oct 3, 2019
8cb2f10
Add development guide
kgryte Oct 3, 2019
e0fd7bd
Add organization and move core concepts
kgryte Oct 3, 2019
f18adf9
Add note
kgryte Oct 3, 2019
75d9a7e
Add link
kgryte Oct 3, 2019
151530d
Add links
kgryte Oct 3, 2019
d448079
Update copy
kgryte Oct 3, 2019
5d3f617
Update copy
kgryte Oct 3, 2019
c8977fd
Update copy
kgryte Oct 3, 2019
23c1732
Fix missing word
kgryte Oct 3, 2019
2bf3f74
Update copy
kgryte Oct 3, 2019
375ee78
Update copy
kgryte Oct 3, 2019
74491d9
Update copy
kgryte Oct 3, 2019
ff3ac38
Add word
kgryte Oct 3, 2019
4cc9a5f
Update copy
kgryte Oct 3, 2019
e39da02
Update copy
kgryte Oct 3, 2019
2f5fd7f
Fix broken links
kgryte Oct 3, 2019
35d62e3
Normalize list style
kgryte Oct 3, 2019
80a8126
Add EditorConfig
kgryte Oct 3, 2019
bd60f2b
Add link to EditorConfig
kgryte Oct 3, 2019
644b2df
Update copy and links
kgryte Oct 3, 2019
971b7d4
Fix link
kgryte Oct 3, 2019
b7761f1
Move assignment
kgryte Oct 3, 2019
8e85c03
Fix missing period
kgryte Oct 3, 2019
c9aed31
Merge branch 'master' of https://github.com/jupyterlab/jupyterlab-dat…
kgryte Oct 3, 2019
acfc7ef
Update lint scripts
kgryte Oct 3, 2019
4cb9db6
Resolve lint errors
kgryte Oct 3, 2019
bf2eaf6
Revert "Active URL fixes"
saulshanabrook Oct 3, 2019
ddac7f4
Merge origin/master into pr/kgryte/93
saulshanabrook Oct 3, 2019
bf40021
Remove duplicate dependencies
kgryte Oct 3, 2019
f933cf2
Ignore lockfiles
kgryte Oct 3, 2019
22c5750
Move images
kgryte Oct 3, 2019
5f6c834
Add contributing guide
kgryte Oct 3, 2019
114573e
Fix language
kgryte Oct 3, 2019
287c5db
Add backticks
kgryte Oct 3, 2019
19a2767
Fix command
kgryte Oct 3, 2019
1715b6c
Fix filter flags
kgryte Oct 3, 2019
51a95f2
Split registration into two commands
saulshanabrook Oct 3, 2019
cc1b8e5
Update dataregistry version
saulshanabrook Oct 3, 2019
df8bc5a
add dependency on dataregistry from csv viewer
saulshanabrook Oct 3, 2019
ba91ad0
Rename packages
kgryte Oct 3, 2019
23e52a7
Revert "add dependency on dataregistry from csv viewer"
saulshanabrook Oct 3, 2019
71f6d6c
Merge branch 'extension-folders' of https://github.com/kgryte/jupyter…
kgryte Oct 3, 2019
71d747d
Merge branch 'extension-folders' of https://github.com/kgryte/jupyter…
kgryte Oct 3, 2019
527bb13
Fix package names
kgryte Oct 3, 2019
bcefd94
Fix missing dep
kgryte Oct 3, 2019
55f126f
Add local registry
kgryte Oct 4, 2019
1ff0861
Add and update scripts
kgryte Oct 4, 2019
5f8e5a1
Add comment
kgryte Oct 4, 2019
ceb5e30
Remove script
kgryte Oct 4, 2019
a1838c5
Update script
kgryte Oct 4, 2019
1940f0d
Fix command
kgryte Oct 8, 2019
5d3e5f8
Remove local registry config so I dont get an error on initial install
saulshanabrook Oct 10, 2019
714cf7b
Move functions to parent scope
kgryte Oct 11, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
133 changes: 133 additions & 0 deletions .editorconfig
@@ -0,0 +1,133 @@
#/
# @license BSD-3-Clause
#
# Copyright (c) 2019 Project Jupyter Contributors.
# Distributed under the terms of the 3-Clause BSD License.
#/

# EditorConfig configuration file (see <http://editorconfig.org/>).

# Indicate that this file is a root-level configuration file:
root = true

# Set properties for all files:
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

# Set properties for JavaScript files:
[*.js]
indent_style = tab

# Set properties for TypeScript files:
[*.ts]
indent_style = tab

# Set properties for TSX files:
[*.tsx]
indent_style = tab

# Set properties for Python files:
[*.py]
indent_style = space
indent_size = 4

# Set properties for Julia files:
[*.jl]
indent_style = tab

# Set properties for R files:
[*.R]
indent_style = tab

# Set properties for C files:
[*.c]
indent_style = tab

# Set properties for C header files:
[*.h]
indent_style = tab

# Set properties for C++ files:
[*.cpp]
indent_style = tab

# Set properties for C++ header files:
[*.hpp]
indent_style = tab

# Set properties for Fortran files:
[*.f]
indent_style = space
indent_size = 2
insert_final_newline = false

# Set properties for shell files:
[*.sh]
indent_style = tab

# Set properties for AWK files:
[*.awk]
indent_style = tab

# Set properties for HTML files:
[*.html]
indent_style = tab
tab_width = 2

# Set properties for CSS files:
[*.css]
indent_style = tab

# Set properties for Makefiles:
[Makefile]
indent_style = tab

[*.mk]
indent_style = tab

# Set properties for Markdown files:
[*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false

# Set properties for `package.json` files:
[package.json]
indent_style = space
indent_size = 2

# Set properties for `datapackage.json` files:
[datapackage.json]
indent_style = space
indent_size = 2

# Set properties for `lerna.json` files:
[lerna.json]
indent_style = space
indent_size = 2

# Set properties for `tslint.json` files:
[tslint.json]
indent_style = space
indent_size = 2

# Set properties for `tsconfig.json` files:
[tsconfig.json]
indent_style = space
indent_size = 2

# Set properties for LaTeX files:
[*.tex]
indent_style = tab

# Set properties for LaTeX Bibliography files:
[*.bib]
indent_style = tab

# Set properties for YAML files:
[*.yml]
indent_style = space
indent_size = 2
30 changes: 17 additions & 13 deletions dataregistry-extension/.eslintrc.js → .eslintrc.js
Expand Up @@ -6,26 +6,30 @@
*/

module.exports = {
env: {
browser: true,
es6: true
"env": {
"browser": true,
"es6": true
},
extends: [
"extends": [
"plugin:@typescript-eslint/eslint-recommended",
"prettier",
"prettier/@typescript-eslint"
],
parser: "@typescript-eslint/parser",
parserOptions: {
project: "tsconfig.json",
ecmaFeatures: {
jsx: true
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"ecmaFeatures": {
"jsx": true
},
ecmaVersion: 2018,
sourceType: "module"
"ecmaVersion": 2018,
"sourceType": "module"
},
plugins: ["react", "react-hooks", "@typescript-eslint"],
rules: {
"plugins": [
"react",
"react-hooks",
"@typescript-eslint"
],
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
}
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Expand Up @@ -15,4 +15,6 @@ yarn-error.log
*.iml
.vscode

__pycache__/
__pycache__/
yarn.lock
package-lock.json
17 changes: 17 additions & 0 deletions .npmrc
@@ -0,0 +1,17 @@
#/
# @license BSD-3-Clause
#
# Copyright (c) 2019 Project Jupyter Contributors.
# Distributed under the terms of the 3-Clause BSD License.
#/

# Configuration for [npm][1].
#
# [1]: https://docs.npmjs.com/files/npmrc

# Disable the creation of a lock file:
package-lock = false
shrinkwrap = false

# Disable automatically "saving" dependencies on install:
save = false
6 changes: 6 additions & 0 deletions .stylelintrc.json
@@ -0,0 +1,6 @@
{
"extends": [
"stylelint-config-standard",
"stylelint-config-prettier"
]
}