Skip to content

Commit fdfddab

Browse files
authored
Merge pull request #145 from code-hike/next
New version
2 parents 3544015 + 4d4298e commit fdfddab

File tree

287 files changed

+35355
-8873
lines changed

Some content is hidden

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

287 files changed

+35355
-8873
lines changed

.github/workflows/release.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
release:
8+
runs-on: ubuntu-latest
9+
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
10+
steps:
11+
- uses: actions/checkout@v2
12+
with:
13+
fetch-depth: 10 # 👈 Required to retrieve git history
14+
15+
- name: Prepare repository
16+
run: git fetch --unshallow --tags
17+
18+
- name: Use Node.js 14.x
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: 14.x
22+
23+
- name: Cache node modules
24+
uses: actions/cache@v1
25+
with:
26+
path: node_modules
27+
key: yarn-deps-${{ hashFiles('yarn.lock') }}
28+
restore-keys: |
29+
yarn-deps-${{ hashFiles('yarn.lock') }}
30+
31+
- name: Create Release
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
35+
run: |
36+
yarn install --frozen-lockfile 2>&1 | grep -v '^[warning|info]'
37+
yarn build
38+
yarn release
39+
# - name: Publish to Chromatic
40+
# uses: chromaui/action@v1
41+
# with:
42+
# token: ${{ secrets.GITHUB_TOKEN }}
43+
# projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
44+
# workingDir: packages/storybook

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
node_modules
22
.next
33
todo.md
4+
current.md
45
dist
56
yarn-error.log
6-
site/out
7+
.prettierignore
8+
.env
9+
.vscode
10+
storybook-static
11+
packages/playground/out
12+
packages/starter

.gitmodules

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

.gitpod.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This configuration file was automatically generated by Gitpod.
2+
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
3+
# and commit this file to your remote git repository to share the goodness with others.
4+
5+
tasks:
6+
- init: yarn install && yarn run build
7+
command: yarn run playground
8+
9+

.prettierignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

demos/hooks-talk-demo

Lines changed: 0 additions & 1 deletion
This file was deleted.

demos/nextjs-post-demo

Lines changed: 0 additions & 1 deletion
This file was deleted.

demos/swr-minidocs-demo

Lines changed: 0 additions & 1 deletion
This file was deleted.

demos/the-x-in-mdx

Lines changed: 0 additions & 1 deletion
This file was deleted.

lerna.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": "0.3.0-next.0",
3+
"npmClient": "yarn",
4+
"packages": ["packages/*"],
5+
"useWorkspaces": true,
6+
"command": {
7+
"publish": {
8+
"verifyAccess": false
9+
}
10+
}
11+
}

0 commit comments

Comments
 (0)