Skip to content

Commit

Permalink
v8.3.0 (#487)
Browse files Browse the repository at this point in the history
* build(deps-dev): bump @babel/core from 7.14.6 to 7.15.5
* build(deps-dev): bump @babel/preset-env from 7.14.7 to 7.15.6 (#486) 
* build(deps-app): bump @material-ui/core from 4.11.3 to 4.12.2
* build(deps-app): bump react-hook-form from 7.6.0 to 7.15.2
* build(deps-app): bump typescript from 4.2 to 4.4.3 in functions
* build(deps-app): bump firebase-admin from 9.10.0 to 9.11.1 in functions
* build(deps-app): bump firebase-functions from 3.14.1 to 3.15.5 in functions
* build(deps-app) bump back to rules-unit-testing from v1.3.10 to v1.3.15
  • Loading branch information
prescottprue authored Sep 13, 2021
1 parent 6606926 commit 4fe08c9
Show file tree
Hide file tree
Showing 46 changed files with 1,285 additions and 848 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected].0
uses: styfle/[email protected].1
with:
access_token: ${{ github.token }}

- name: Checkout code
uses: actions/checkout@v2

- name: Use Node 14
uses: actions/setup-node@v2.2.0
uses: actions/setup-node@v2.4.0
with:
node-version: 14
registry-url: https://registry.npmjs.org/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
node-version: [12.x, 14.x]
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected].0
uses: styfle/[email protected].1
with:
access_token: ${{ github.token }}

- name: Checkout code
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.2.0
uses: actions/setup-node@v2.4.0
with:
node-version: ${{ matrix.node-version }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState, useCallback, useEffect } from 'react'
import PropTypes from 'prop-types'
import CssBaseline from '@material-ui/core/CssBaseline';
import useMediaQuery from '@material-ui/core/useMediaQuery';
import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles'
import { MuiThemeProvider, createTheme } from '@material-ui/core/styles'
import ThemeSettings from '../../theme'
import ThemeContext from './ThemeContext'

Expand All @@ -16,7 +16,7 @@ export default function ThemeProvider({ children }) {

const theme = React.useMemo(
() =>
createMuiTheme({
createTheme({
...ThemeSettings,
palette: {
...ThemeSettings.palette,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function AccountEditor() {
}

return (
<Grid container spacing={2} justify="center">
<Grid container spacing={2} justifyContent="center">
<Grid item xs={12} md={6} lg={6} className={classes.gridItem}>
<img
className={classes.avatarCurrent}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function AccountEditor() {
}

return (
<Grid container spacing={2} justify="center">
<Grid container spacing={2} justifyContent="center">
<Grid item xs={12} md={6} lg={6} className={classes.gridItem}>
<img
className={classes.avatarCurrent}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function AccountPage() {
const classes = useStyles()

return (
<Grid container className={classes.root} justify="center">
<Grid container className={classes.root} justifyContent="center">
<Grid item xs={10} md={8} lg={6} className={classes.gridItem}>
<Paper className={classes.pane}>
<Typography variant="h4">Account</Typography>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function AccountPage() {
const classes = useStyles()

return (
<Grid container className={classes.root} justify="center">
<Grid container className={classes.root} justifyContent="center">
<Grid item xs={10} md={8} lg={6} className={classes.gridItem}>
<Paper className={classes.pane}>
<Typography variant="h4">Account</Typography>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function Home() {
Home Page
</Typography>
<Paper>
<Grid container justify="center">
<Grid container justifyContent="center">
<Grid item xs className={classes.section}>
<Typography variant="h6" gutterBottom>
Routing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function Home() {
Home Page
</Typography>
<Paper>
<Grid container justify="center">
<Grid container justifyContent="center">
<Grid item xs className={classes.section}>
<Typography variant="h6" gutterBottom>
Routing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
node-version: [14.x]
steps:
- name: Cancel previous runs
uses: styfle/[email protected].0
uses: styfle/[email protected].1
with:
access_token: ${{ github.token }}

- name: Checkout code
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v2.2.0
uses: actions/setup-node@v2.4.0
with:
node-version: ${{ matrix.node-version }}

Expand Down
4 changes: 2 additions & 2 deletions examples/react-firebase/.github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
timeout-minutes: 20
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected].0
uses: styfle/[email protected].1
with:
access_token: ${{ github.token }}

- name: Checkout Repo
uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v2.2.0
uses: actions/setup-node@v2.4.0
with:
node-version: 14

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
timeout-minutes: 20
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected].0
uses: styfle/[email protected].1
with:
access_token: ${{ github.token }}

- name: Checkout Repo
uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v2.2.0
uses: actions/setup-node@v2.4.0
with:
node-version: 14

Expand Down
6 changes: 3 additions & 3 deletions examples/react-firebase/.github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
timeout-minutes: 20
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected].0
uses: styfle/[email protected].1
with:
access_token: ${{ github.token }}

- name: Checkout Repo
uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v2.2.0
uses: actions/setup-node@v2.4.0
with:
node-version: 14

Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
# Throw a clear error if FIREBASE_TOKEN secret is not set
if [ -z "$FIREBASE_TOKEN" ];
then
missingTokenErrMsg="\"FIREBASE_TOKEN\" github secret is required to load project configuration. Visit https://github.com/${{ github.repository }}/settings/secrets to set."
missingTokenErrMsg="\"FIREBASE_TOKEN\" github secret is required to load project configuration. Generate by calling firebase login:ci then visit https://github.com/${{ github.repository }}/settings/secrets to set."
echo "::error ::$missingTokenErrMsg"
exit 1
fi
Expand Down
28 changes: 14 additions & 14 deletions examples/react-firebase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"start:dist": "yarn build && firebase emulators:start --only hosting",
"start:emulate": "cross-env NODE_APP_INSTANCE=emulators yarn start",
"test": "craco test",
"emulators": "firebase emulators:start --only firestore,database,pubsub",
"emulators:hosting": "firebase emulators:start --only firestore,database,hosting",
"emulators": "firebase emulators:start --only auth,firestore,database,pubsub",
"emulators:hosting": "firebase emulators:start --only auth,firestore,database,hosting",
"emulators:all": "firebase emulators:start",
"lint": "eslint .",
"lint:fix": "yarn lint --fix",
Expand All @@ -30,44 +30,44 @@
"author": "prescottprue (https://github.com/prescottprue)",
"license": "MIT",
"dependencies": {
"@material-ui/core": "^4.11.3",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.11.2",
"firebase": "^8.7.1",
"notistack": "^1.0.9",
"firebase": "^8.10.0",
"notistack": "^1.0.10",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-google-button": "^0.7.2",
"react-hook-form": "^7.6.0",
"react-router-dom": "^5.2.0",
"react-hook-form": "^7.15.2",
"react-router-dom": "^5.3.0",
"reactfire": "^3.0.0-rc.0"
},
"devDependencies": {
"@craco/craco": "6.2.0",
"@sentry/cli": "^1.67.1",
"@sentry/cli": "^1.68.0",
"babel-eslint": "^10.1.0",
"config": "^3.3.6",
"cross-env": "^7.0.3",
"env-cmd": "^10.1.0",
"eslint": "^7.30.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.3",
"eslint-config-standard-react": "^11.0.1",
"eslint-plugin-import": "^2.23.2",
"eslint-plugin-jsdoc": "^34.7.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsdoc": "^36.1.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-standard": "^5.0.0",
"firebase-ci": "^0.15.0",
"firebase-tools": "^9.16.0",
"husky": "^7.0.1",
"lint-staged": "^11.0.0",
"lint-staged": "^11.1.2",
"minimist": "1.2.5",
"prettier": "^2.3.0",
"prettier": "^2.3.2",
"react-scripts": "^4.0.3",
"react-test-renderer": "^17.0.2"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/react-firebase/src/modules/theme/ThemeProvider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState, useCallback, useEffect } from 'react'
import PropTypes from 'prop-types'
import CssBaseline from '@material-ui/core/CssBaseline'
import useMediaQuery from '@material-ui/core/useMediaQuery'
import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles'
import { MuiThemeProvider, createTheme } from '@material-ui/core/styles'
import ThemeSettings from '../../theme'
import ThemeContext from './ThemeContext'

Expand All @@ -16,7 +16,7 @@ export default function ThemeProvider({ children }) {

const theme = React.useMemo(
() =>
createMuiTheme({
createTheme({
...ThemeSettings,
palette: {
...ThemeSettings.palette,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function AccountEditor() {
}

return (
<Grid container spacing={2} justify="center">
<Grid container spacing={2} justifyContent="center">
<Grid item xs={12} md={6} lg={6} className={classes.gridItem}>
<img
className={classes.avatarCurrent}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function AccountPage() {
const classes = useStyles()

return (
<Grid container className={classes.root} justify="center">
<Grid container className={classes.root} justifyContent="center">
<Grid item xs={10} md={8} lg={6} className={classes.gridItem}>
<Paper className={classes.pane}>
<Typography variant="h4">Account</Typography>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function Home() {
Home Page
</Typography>
<Paper role="article">
<Grid container justify="center">
<Grid container justifyContent="center">
<Grid item xs className={classes.section}>
<Typography variant="h6" gutterBottom>
Routing
Expand Down
Loading

0 comments on commit 4fe08c9

Please sign in to comment.