Skip to content

Commit 7d9da0d

Browse files
author
Alejandro Maggi
committed
chore: upgrade dependencies
- upgrade dependencies - add lint workflow - add .nvmrc
1 parent d539b1b commit 7d9da0d

12 files changed

Lines changed: 69899 additions & 21415 deletions

File tree

β€Ž.github/workflows/lint.ymlβ€Ž

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
on: [push, pull_request]
2+
3+
permissions:
4+
contents: read
5+
pull-requests: read
6+
7+
jobs:
8+
run-linters:
9+
name: Run linters
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- name: Get npm cache directory
16+
id: npm-cache-directory
17+
run: |
18+
echo "::set-output name=dir::$(npm config get cache)"
19+
20+
- uses: actions/cache@v3
21+
id: npm-cache
22+
with:
23+
path: ${{ steps.npm-cache-directory.outputs.dir }}
24+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
25+
26+
- uses: actions/cache@v3
27+
id: eslintcache-cache
28+
with:
29+
path: .eslintcache
30+
key: ${{ runner.os }}-eslintcache
31+
32+
- name: Setup node
33+
uses: actions/setup-node@v2
34+
with:
35+
node-version-file: '.nvmrc'
36+
37+
- name: Install Node.js dependencies
38+
run: npm ci --no-audit --prefer-offline
39+
40+
- name: Eslint
41+
run: npm run lint
42+
43+
- name: TypeScript
44+
run: npm run typescript
45+
46+
- name: Jest
47+
run: npm run test

β€Ž.gitignoreβ€Ž

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ coverage/
2222
cache/jest/
2323

2424
# generated by bob
25-
lib/
25+
lib/
26+
27+
# TypeScript
28+
#
29+
tsconfig.tsbuildinfo

β€Ž.nvmrcβ€Ž

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

β€Ž.travis.ymlβ€Ž

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

β€ŽREADME.mdβ€Ž

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# React Native Month πŸ“†
22

3-
[![BuildStatus](https://img.shields.io/travis/maggialejandro/react-native-month/master.svg)](https://travis-ci.org/maggialejandro/react-native-month)
4-
[![NPM version](https://img.shields.io/npm/v/react-native-month.svg)](https://www.npmjs.com/package/react-native-month) [![npm](https://img.shields.io/npm/dw/react-native-month.svg)](https://github.com/maggialejandro/react-native-month) [![CodeFactor](https://www.codefactor.io/repository/github/maggialejandro/react-native-month/badge)](https://www.codefactor.io/repository/github/maggialejandro/react-native-month) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/832690f286a5451cacdae664d63be3b9)](https://www.codacy.com/app/maggialejandro/react-native-month?utm_source=github.com&utm_medium=referral&utm_content=maggialejandro/react-native-month&utm_campaign=Badge_Grade)
3+
![BuildStatus](https://github.com/maggialejandro/react-native-month/actions/workflows/lint.yml/badge.svg) [![NPM version](https://img.shields.io/npm/v/react-native-month.svg)](https://www.npmjs.com/package/react-native-month) [![npm](https://img.shields.io/npm/dm/react-native-month.svg)](https://github.com/maggialejandro/react-native-month) [![CodeFactor](https://www.codefactor.io/repository/github/maggialejandro/react-native-month/badge)](https://www.codefactor.io/repository/github/maggialejandro/react-native-month) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/832690f286a5451cacdae664d63be3b9)](https://www.codacy.com/app/maggialejandro/react-native-month?utm_source=github.com&utm_medium=referral&utm_content=maggialejandro/react-native-month&utm_campaign=Badge_Grade)
4+
5+
<p align="center">
6+
<img alt="Screenshot" src="https://github.com/maggialejandro/react-native-month/blob/master/month.png?raw=true" width="400" />
7+
</p>
58

69
## Installation
710

0 commit comments

Comments
Β (0)