Skip to content

Commit

Permalink
move to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
amcdnl committed Aug 8, 2023
1 parent fe75248 commit b38022f
Show file tree
Hide file tree
Showing 7 changed files with 33,528 additions and 10,281 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
version: 18.x
node-version: 18.x

- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1

- name: Lint
run: yarn lint
run: npm run lint

- name: Build Prod
run: yarn build
run: npm run build

- name: Build Storybook
run: yarn build-storybook
run: npm run build-storybook
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ jobs:
uses: bahmutov/npm-install@v1

- name: Build Prod
run: yarn build
run: npm run build

- name: Build Storybook
run: yarn build-storybook
run: npm run build-storybook

# - name: Publish Chromatic
# run: yarn chromatic

- name: Copy Domain
run: yarn copy
run: npm run copy

- name: Publish Storybook to GH Pages
if: success()
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
npx lint-staged
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ Checkout an example on [CodeSandbox](https://codesandbox.io/s/reagraph-example-m
If you want to run reagraph locally, its super easy!

- Clone the repo
- `yarn install`
- `yarn start`
- `npm i`
- `npm start`
- Browser opens to Storybook page

## ❤️ Contributors
Expand Down
6 changes: 3 additions & 3 deletions docs/Installing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ The project uses Storybook for its demos and development
environment. To run it locally:

- Clone repo
- `yarn install`
- `yarn start`
- `npm i`
- `npm start`

Once started the browser will open to the storybook url.
From here you can tweak the charts and see them build
and reload in real time.

We use Rollup to build and package for distribution.
You can run this by doing `yarn build` and it will
You can run this by doing `npm run build` and it will
create a `dist` folder with the type definitions, bundled
javascript and css files.
Loading

0 comments on commit b38022f

Please sign in to comment.