Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from yarn to npm #2

Merged
merged 3 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Install Dependencies
run: yarn install
run: npm install

# test and build prior to release
# test and build prior to release
- name: Unit Test & Linting
run: yarn test
run: npm run test

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

- name: Release
env:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build and Deploy Documentation
on:
on:
workflow_run:
workflows: ["Release"]
workflows: ['Release']
types: [completed]
branches:
- master
Expand All @@ -19,11 +19,11 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 'lts/*'

- name: Install and Build 🔧
run: | # Install npm packages and build the Storybook files
yarn install --frozen-lockfile
yarn build-storybook
npm install --frozen-lockfile
npm run build-storybook

- name: Deploy 🚀
# https://github.com/JamesIves/github-pages-deploy-action
Expand All @@ -33,4 +33,4 @@ jobs:
folder: storybook-static # The folder that the build-storybook script generates files.
target-folder: examples
clean: true # Automatically remove deleted files from the deploy branch
commit-message: 'docs: update documentation site'
commit-message: 'docs: update documentation site'
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Test

on: [pull_request]


jobs:
test:
name: Test
Expand All @@ -17,10 +16,10 @@ jobs:
node-version: '18.13.0'

- name: Install Dependencies
run: yarn install
run: npm install

- name: Unit Test & Linting
run: yarn test
run: npm run test

- name: Build
run: yarn build
run: npm run build
7 changes: 1 addition & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,4 @@ node_modules
.idea

# Mac OS X
.DS_Store

# Yarn Cache
.yarn
# Yarn NodeLinker
.yarnrc.yml
.DS_Store
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Inspired by [Full Calendar](http://fullcalendar.io/).

## Use and Setup

`yarn add react-big-calendar` or `npm install --save react-big-calendar`
`npm install --save react-big-calendar`

Include `react-big-calendar/lib/css/react-big-calendar.css` for styles, and make sure your calendar's container
element has a height, or the calendar won't be visible. To provide your own custom styling, see the [Custom Styling](#custom-styling) topic.
Expand All @@ -28,8 +28,8 @@ element has a height, or the calendar won't be visible. To provide your own cust
```sh
$ git clone [email protected]:jquense/react-big-calendar.git
$ cd react-big-calendar
$ yarn
$ yarn storybook
$ npm run
$ npm run storybook
```

- Open [localhost:3000/examples/index.html](http://localhost:3000/examples/index.html).
Expand Down
167 changes: 0 additions & 167 deletions docs/README-ar.md

This file was deleted.

Loading
Loading