Skip to content

Commit 1452640

Browse files
authored
Merge pull request #1 from bokuweb/master
Fork latest
2 parents 5a16b2a + 0bfd3a8 commit 1452640

Some content is hidden

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

65 files changed

+10914
-973
lines changed

.babelrc

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

.circleci/config.yml

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
2+
defaults: &defaults
3+
working_directory: ~/react-sortable-pane
4+
docker:
5+
- image: cypress/base:8
6+
environment:
7+
## this enables colors in the output
8+
TERM: xterm
9+
version: 2
10+
jobs:
11+
build:
12+
<<: *defaults
13+
steps:
14+
- checkout
15+
- run:
16+
name: Install dependencies
17+
command: yarn
18+
# - run:
19+
# name: Lint
20+
# command: yarn run lint
21+
- run:
22+
name: Build
23+
command: yarn run build
24+
- run:
25+
name: Test
26+
command: yarn run test
27+
#- run:
28+
# name: Screener test
29+
# command: yarn run test-storybook
30+
deploy:
31+
<<: *defaults
32+
steps:
33+
- checkout
34+
- run:
35+
name: Install dependencies
36+
command: yarn
37+
- add-ssh-keys:
38+
fingerprints:
39+
- "7c:17:bc:7b:8a:a2:ef:6b:11:f3:56:a0:ac:15:4c:9a"
40+
- run:
41+
name: Setup git
42+
command: |
43+
git config --global user.email "bokuweb12@gmail.com"
44+
git config --global user.name "bokuweb"
45+
- run:
46+
name: Deploy
47+
filters:
48+
branches:
49+
only: master
50+
command: yarn run deploy
51+
patch_release:
52+
<<: *defaults
53+
steps:
54+
- add-ssh-keys:
55+
fingerprints:
56+
- "7c:17:bc:7b:8a:a2:ef:6b:11:f3:56:a0:ac:15:4c:9a"
57+
- checkout
58+
- run:
59+
name: Install dependencies
60+
command: yarn
61+
- run:
62+
name: Build
63+
command: yarn run build
64+
- run:
65+
name: Setup git
66+
command: |
67+
git config --global user.email "bokuweb12@gmail.com"
68+
git config --global user.name "bokuweb"
69+
- run:
70+
name: Login npm
71+
command: |
72+
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > ~/.npmrc
73+
npm whoami
74+
- run:
75+
name: Publish to npm
76+
command: |
77+
sh deploy-patch.sh
78+
minor_release:
79+
<<: *defaults
80+
steps:
81+
- add-ssh-keys:
82+
fingerprints:
83+
- "7c:17:bc:7b:8a:a2:ef:6b:11:f3:56:a0:ac:15:4c:9a"
84+
- checkout
85+
- run:
86+
name: Install dependencies
87+
command: yarn
88+
- run:
89+
name: Build
90+
command: yarn run build
91+
- run:
92+
name: Setup git
93+
command: |
94+
git config --global user.email "bokuweb12@gmail.com"
95+
git config --global user.name "bokuweb"
96+
- run:
97+
name: Login npm
98+
command: |
99+
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}" > ~/.npmrc
100+
npm whoami
101+
- run:
102+
name: Publish to npm
103+
command: |
104+
sh deploy-minor.sh
105+
workflows:
106+
version: 2
107+
build_pipeline:
108+
jobs:
109+
- build
110+
- deploy:
111+
filters:
112+
branches:
113+
only: master
114+
- confirm_patch:
115+
type: approval
116+
filters:
117+
branches:
118+
only: master
119+
requires:
120+
- build
121+
- confirm_minor:
122+
type: approval
123+
filters:
124+
branches:
125+
only: master
126+
requires:
127+
- build
128+
- patch_release:
129+
filters:
130+
branches:
131+
only: master
132+
requires:
133+
- confirm_patch
134+
- minor_release:
135+
filters:
136+
branches:
137+
only: master
138+
requires:
139+
- confirm_minor

.codeclimate.yml

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

.eslintrc

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

.flowconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[ignore]
2+
.*/node_modules/babel-plugin-flow.*
3+
.*/node_modules/jss.*
4+
.*/node_modules/findup.*
5+
.*/node_modules/radium.*
6+
.*/node_modules/eslint-plugin-jsx-a11y.*
7+
./lib/react-sortable-pane.*.js
8+
[include]
9+
10+
[libs]
11+
12+
[options]
13+
suppress_comment=\\(.\\|\n\\)*\\s*\\$FlowIgnore.*
14+
munge_underscores=true
15+
module.ignore_non_literal_requires=true
16+
esproposal.decorators=ignore
17+
esproposal.class_static_fields=enable

.github/ISSUE_TEMPLATE.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<!-- PLEASE READ THE FOLLOWING INSTRUCTIONS -->
2+
3+
<!-- Is it a bug/feature/question or do you need help? -->
4+
<!-- If it's a bug, is it a browser bug? -->
5+
6+
### Overview of the problem
7+
8+
<!-- UNCOMMENT THE APPROPRIATE LINES -->
9+
10+
<!-- I'm using react-rnd **version** [x.x.x] -->
11+
<!-- My **browser** is: -->
12+
<!-- I am sure this issue is **not a duplicate**? -->
13+
<!-- https://codesandbox.io/s/oj4o9763y9 -->
14+
15+
### Description
16+
17+
<!-- Description of the bug, enhancement, or question -->
18+
19+
### Steps to Reproduce
20+
21+
<!--
22+
1. First Step
23+
2. Second Step
24+
3. and so on...
25+
-->
26+
27+
### Expected behavior
28+
29+
<!-- What you expected to happen -->
30+
31+
### Actual behavior
32+
33+
<!-- What actually happened -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!-- PLEASE READ THE FOLLOWING INSTRUCTIONS -->
2+
<!-- DO NOT REBUILD THE CSS OUTPUT IN YOUR PR -->
3+
4+
### Proposed solution
5+
<!-- Which specific problem does this PR solve and how? -->
6+
<!-- If it fixes a particular Issue, add "Fixes #ISSUE_NUMBER" in your title -->
7+
8+
### Tradeoffs
9+
<!-- What are the drawbacks of this solution? Are there alternative ones? -->
10+
<!-- Think of performance, build time, usability, complexity, coupling…) -->
11+
12+
13+
### Testing Done
14+
<!-- How have you confirmed this feature works? -->
15+
16+
<!-- BEFORE SUBMITTING YOUR PR, MAKE SURE TO FOLLOW THESE STEPS: -->
17+
<!-- 1. Pull the latest `master` branch -->
18+
<!-- 4. If your PR fixes an issue, reference that issue -->
19+
20+

.gitignore

100644100755
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
node_modules/
2-
lib/*.js
3-
example/dist/*.js
2+
lib/
3+
build/
4+
.DS_Store
5+
src/*.js
6+
.rpt2_cache
7+
*.d.ts
8+
cypress/videos

.prettierrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
printWidth: 120
2+
tabWidth: 2
3+
useTabs: false
4+
semi: true
5+
singleQuote: true
6+
trailingComma: all
7+
bracketSpacing: true
8+
arrowParens: avoid

.storybook/addons.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/* eslint-disable import/no-extraneous-dependencies, import/no-unresolved, import/extensions */
2+
3+
4+
import '@storybook/addon-actions/register';
5+
// import '@storybook/addon-storysource/register';
6+
import '@storybook/addon-links/register';

0 commit comments

Comments
 (0)