Skip to content

Commit c1545db

Browse files
committed
First commit
Renaming to Jupyter
0 parents  commit c1545db

File tree

118 files changed

+22828
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+22828
-0
lines changed

.eslintignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# don't ever lint node_modules
2+
node_modules
3+
# don't lint distribute package output
4+
dist
5+
# don't lint build folder output
6+
build
7+
# don't lint coverage output
8+
coverage
9+
# don't lint storybook files
10+
.storybook/
11+
# don't lint stories
12+
*.stories.*

.eslintrc.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
extends: ['@microsoft/eslint-config-fast-dna', 'prettier'],
3+
rules: {
4+
'no-extra-boolean-cast': 'off',
5+
'@typescript-eslint/no-use-before-define': 'off',
6+
'@typescript-eslint/typedef': 'off',
7+
'@typescript-eslint/explicit-function-return-type': 'off',
8+
'@typescript-eslint/explicit-module-boundary-types': 'off',
9+
'@typescript-eslint/no-non-null-assertion': 'off',
10+
'@typescript-eslint/interface-name-prefix': 'off',
11+
},
12+
overrides: [
13+
{
14+
files: ['*.ts'],
15+
parserOptions: {
16+
project: ['./tsconfig.eslint.json'],
17+
},
18+
},
19+
],
20+
};

.github/workflows/ci.yml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
name: toolkit-ci
2+
3+
on: pull_request
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
timeout-minutes: 10
9+
steps:
10+
- name: Checkout 🛎️
11+
uses: actions/checkout@v2
12+
13+
- name: Setup Node 💾
14+
uses: actions/setup-node@v2
15+
with:
16+
node-version: '14'
17+
18+
- name: Install Dependencies 📥
19+
run: npm install
20+
21+
- name: Run Tests 🧪
22+
run: npm run test
23+
24+
lint:
25+
runs-on: ubuntu-latest
26+
timeout-minutes: 10
27+
steps:
28+
- name: Checkout 🛎️
29+
uses: actions/checkout@v2
30+
31+
- name: Setup Node 💾
32+
uses: actions/setup-node@v2
33+
with:
34+
node-version: '14'
35+
36+
- name: Install Dependencies 📥
37+
run: npm install
38+
39+
- name: Run Lint Check 🔍
40+
run: npm run lint
41+
42+
- name: Run Format Check 🌸
43+
run: npm run fmt
44+
45+
build-toolkit:
46+
runs-on: ubuntu-latest
47+
timeout-minutes: 10
48+
steps:
49+
- name: Checkout 🛎️
50+
uses: actions/checkout@v2
51+
52+
- name: Setup Node 💾
53+
uses: actions/setup-node@v2
54+
with:
55+
node-version: '14'
56+
57+
- name: Install Dependencies 📥
58+
run: npm install
59+
60+
- name: Build Toolkit 🏗
61+
run: npm run build
62+
63+
build-docs:
64+
runs-on: ubuntu-latest
65+
timeout-minutes: 10
66+
steps:
67+
- name: Checkout 🛎️
68+
uses: actions/checkout@v2
69+
70+
- name: Setup Node 💾
71+
uses: actions/setup-node@v2
72+
with:
73+
node-version: '14'
74+
75+
- name: Install Dependencies 📥
76+
run: npm install
77+
78+
- name: Build Docs 🏗
79+
run: npm run build:docs

.github/workflows/docs-cd.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy-docs:
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 10
12+
steps:
13+
- name: Checkout 🛎️
14+
uses: actions/checkout@v2
15+
16+
- name: Install Dependencies 📥
17+
run: npm install
18+
19+
- name: Build Docs 🔧
20+
run: npm run build:docs
21+
22+
- name: Deploy Docs 🚀
23+
uses: JamesIves/github-pages-deploy-action@4.1.3
24+
with:
25+
branch: gh-pages
26+
folder: storybook-static

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Dependencies
2+
node_modules/
3+
4+
# Production
5+
dist/
6+
storybook-static/
7+
8+
# Misc
9+
.DS_Store
10+
.vscode
11+
.env.local
12+
.env.development.local
13+
.env.test.local
14+
.env.production.local
15+
.eslintcache
16+
coverage/
17+
.npmrc
18+
19+
npm-debug.log*
20+
yarn-debug.log*
21+
yarn-error.log*
22+
23+
# Cache
24+
temp

.npmignore

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Source files
2+
src/
3+
4+
# Docs
5+
docs/
6+
samples/
7+
CODE_OF_CONDUCT.md
8+
SECURITY.md
9+
CONTRIBUTING.md
10+
11+
# Tests
12+
*.spec.*
13+
coverage/
14+
15+
# Builds
16+
build/
17+
storybook-static/
18+
19+
# Config files
20+
.vscode
21+
.github
22+
.eslintrc.js
23+
.eslintignore
24+
.prettierrc
25+
.prettierignore
26+
.storybook
27+
babel.config.js
28+
tsconfig.json
29+
tsconfig.build.json
30+
webpack.config.js
31+
rollup.config.js
32+
policheck
33+
azure-pipelines.yml
34+
api-extractor.json
35+
36+
# Cache
37+
temp

.prettierignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Dependencies
2+
node_modules/
3+
4+
# Production
5+
build/
6+
dist/
7+
storybook-static/
8+
9+
# Misc
10+
.DS_Store
11+
.vscode
12+
.env.local
13+
.env.development.local
14+
.env.test.local
15+
.env.production.local
16+
.eslintcache
17+
coverage/
18+
temp/
19+
docs/api-report.md
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*

.prettierrc

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"printWidth": 80,
3+
"tabWidth": 4,
4+
"useTabs": true,
5+
"semi": true,
6+
"singleQuote": true,
7+
"quoteProps": "consistent",
8+
"jsxSingleQuote": false,
9+
"trailingComma": "es5",
10+
"bracketSpacing": false,
11+
"arrowParens": "avoid",
12+
"overrides": [
13+
{
14+
"files": "docs/*.md",
15+
"options": {
16+
"printWidth": 130,
17+
"singleQuote": false,
18+
"useTabs": false,
19+
"tabWidth": 2,
20+
"bracketSpacing": true
21+
}
22+
},
23+
{
24+
"files": "src/data-grid/README.md",
25+
"options": {
26+
"printWidth": 110
27+
}
28+
},
29+
{
30+
"files": "src/design-tokens.ts",
31+
"options": {
32+
"printWidth": 200
33+
}
34+
}
35+
]
36+
}

LICENSE

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright (c) 2021 Project Jupyter Contributors
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are met:
6+
7+
1. Redistributions of source code must retain the above copyright notice, this
8+
list of conditions and the following disclaimer.
9+
10+
2. Redistributions in binary form must reproduce the above copyright notice,
11+
this list of conditions and the following disclaimer in the documentation
12+
and/or other materials provided with the distribution.
13+
14+
3. Neither the name of the copyright holder nor the names of its
15+
contributors may be used to endorse or promote products derived from
16+
this software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)