Skip to content

Commit 4a485d2

Browse files
committed
Merge branch 'master' into feature/color-scale
2 parents fd981c4 + 78fd702 commit 4a485d2

Some content is hidden

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

83 files changed

+12687
-7454
lines changed

.babelrc

Lines changed: 0 additions & 10 deletions
This file was deleted.

.circleci/config.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist

.eslintrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.flowconfig

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/ci.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: CI
5+
6+
on:
7+
push:
8+
branches: [master]
9+
pull_request:
10+
branches: [master]
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Use Node.js
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: 12.x
21+
- name: Cache node modules
22+
uses: actions/cache@v2
23+
with:
24+
path: |
25+
~/.npm
26+
node_modules
27+
key: ${{ runner.os }}-node-${{ hashFiles('yarn.lock') }}
28+
restore-keys: |
29+
${{ runner.os }}-node-
30+
- run: yarn
31+
- run: yarn check-format
32+
- run: yarn check-typing
33+
- run: yarn lint
34+
- run: yarn test
35+
- run: yarn push-coverage
36+
- run: yarn build
37+
env:
38+
NODE_ENV: production
39+
40+
timeout-minutes: 10

.gitignore

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ build/Release
3636
node_modules/
3737
jspm_packages/
3838

39-
# Flow declaration files
40-
flow-typed/
41-
42-
# Typescript v1 declaration files
43-
typings/
44-
4539
# Optional npm cache directory
4640
.npm
4741

.npmignore

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ src/
6767
# Test files
6868

6969
__tests__/
70+
__fixtures__/
7071

7172
# Scripts
7273

@@ -75,5 +76,9 @@ scripts/
7576
# Configuration
7677

7778
.vscode/
78-
.eslintrc
79-
.babelrc
79+
.eslint*
80+
babel.config*
81+
.github/
82+
rollup.config.js
83+
*.test.ts
84+
*.stories.ts

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
dist/

.storybook/index.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
body {
2+
font-family: sans-serif;
3+
}
4+
5+
.Spreadsheet__cell.select-cell {
6+
width: 200px;
7+
padding: 0;
8+
}

.storybook/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
stories: ["../src/**/*.stories.@(ts|tsx)"],
3+
addons: ["@storybook/addon-links", "@storybook/addon-essentials"],
4+
};

.storybook/preview.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import "./index.css";
2+
3+
export const parameters = {
4+
actions: { argTypesRegex: "^on[A-Z].*" },
5+
};

.vscode/extensions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
3+
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
4+
5+
// List of extensions which should be recommended for users of this workspace.
6+
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"],
7+
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
8+
"unwantedRecommendations": []
9+
}

.vscode/settings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"editor.formatOnSave": true,
3-
"flow.useNPMPackagedFlow": true,
4-
"flow.useLSP": true
3+
"editor.defaultFormatter": "esbenp.prettier-vscode"
54
}

.vscode/tasks.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "npm",
6+
"script": "build",
7+
"group": "build",
8+
"problemMatcher": [],
9+
"label": "npm: build",
10+
"detail": "rollup -c"
11+
}
12+
]
13+
}

__fixtures__/AsyncCell.js

Lines changed: 0 additions & 52 deletions
This file was deleted.

__fixtures__/Basic.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

__fixtures__/CellCommit.js

Lines changed: 0 additions & 53 deletions
This file was deleted.

__fixtures__/ColorScale.js

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)