Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
Renaming to Jupyter
  • Loading branch information
fcollonval committed Nov 21, 2021
0 parents commit c1545db
Show file tree
Hide file tree
Showing 118 changed files with 22,828 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# don't ever lint node_modules
node_modules
# don't lint distribute package output
dist
# don't lint build folder output
build
# don't lint coverage output
coverage
# don't lint storybook files
.storybook/
# don't lint stories
*.stories.*
20 changes: 20 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
extends: ['@microsoft/eslint-config-fast-dna', 'prettier'],
rules: {
'no-extra-boolean-cast': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/typedef': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/interface-name-prefix': 'off',
},
overrides: [
{
files: ['*.ts'],
parserOptions: {
project: ['./tsconfig.eslint.json'],
},
},
],
};
79 changes: 79 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: toolkit-ci

on: pull_request

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2

- name: Setup Node 💾
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install Dependencies 📥
run: npm install

- name: Run Tests 🧪
run: npm run test

lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2

- name: Setup Node 💾
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install Dependencies 📥
run: npm install

- name: Run Lint Check 🔍
run: npm run lint

- name: Run Format Check 🌸
run: npm run fmt

build-toolkit:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2

- name: Setup Node 💾
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install Dependencies 📥
run: npm install

- name: Build Toolkit 🏗
run: npm run build

build-docs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2

- name: Setup Node 💾
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install Dependencies 📥
run: npm install

- name: Build Docs 🏗
run: npm run build:docs
26 changes: 26 additions & 0 deletions .github/workflows/docs-cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: docs

on:
push:
branches:
- main

jobs:
deploy-docs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2

- name: Install Dependencies 📥
run: npm install

- name: Build Docs 🔧
run: npm run build:docs

- name: Deploy Docs 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: storybook-static
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Dependencies
node_modules/

# Production
dist/
storybook-static/

# Misc
.DS_Store
.vscode
.env.local
.env.development.local
.env.test.local
.env.production.local
.eslintcache
coverage/
.npmrc

npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Cache
temp
37 changes: 37 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Source files
src/

# Docs
docs/
samples/
CODE_OF_CONDUCT.md
SECURITY.md
CONTRIBUTING.md

# Tests
*.spec.*
coverage/

# Builds
build/
storybook-static/

# Config files
.vscode
.github
.eslintrc.js
.eslintignore
.prettierrc
.prettierignore
.storybook
babel.config.js
tsconfig.json
tsconfig.build.json
webpack.config.js
rollup.config.js
policheck
azure-pipelines.yml
api-extractor.json

# Cache
temp
23 changes: 23 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Dependencies
node_modules/

# Production
build/
dist/
storybook-static/

# Misc
.DS_Store
.vscode
.env.local
.env.development.local
.env.test.local
.env.production.local
.eslintcache
coverage/
temp/
docs/api-report.md

npm-debug.log*
yarn-debug.log*
yarn-error.log*
36 changes: 36 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"printWidth": 80,
"tabWidth": 4,
"useTabs": true,
"semi": true,
"singleQuote": true,
"quoteProps": "consistent",
"jsxSingleQuote": false,
"trailingComma": "es5",
"bracketSpacing": false,
"arrowParens": "avoid",
"overrides": [
{
"files": "docs/*.md",
"options": {
"printWidth": 130,
"singleQuote": false,
"useTabs": false,
"tabWidth": 2,
"bracketSpacing": true
}
},
{
"files": "src/data-grid/README.md",
"options": {
"printWidth": 110
}
},
{
"files": "src/design-tokens.ts",
"options": {
"printWidth": 200
}
}
]
}
27 changes: 27 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Copyright (c) 2021 Project Jupyter Contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Loading

0 comments on commit c1545db

Please sign in to comment.