Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
notsidney committed Sep 1, 2021
1 parent 9014706 commit 4674262
Show file tree
Hide file tree
Showing 329 changed files with 22,849 additions and 22,850 deletions.
3 changes: 1 addition & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"trailingComma": "es5",
"proseWrap": "always"
"proseWrap": "always"
}
402 changes: 201 additions & 201 deletions LICENSE

Large diffs are not rendered by default.

68 changes: 34 additions & 34 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
steps:
- name: node:10.17.0
entrypoint: yarn
args: ["install"]
- name: node:10.17.0
entrypoint: yarn
args:
- env
- "${_PROJECT_ID}"
- "${_FIREBASE_WEB_API_KEY}"
- "${_ALGOLIA_APP_ID}"
- "${_ALGOLIA_APP_KEY}"
- name: node:10.17.0
entrypoint: yarn
args: ["build"]
- name: node:10.17.0
entrypoint: yarn
args:
- "target"
- "${_HOSTING_TARGET}"
- --project
- "${_PROJECT_ID}"
- name: node:10.17.0
entrypoint: yarn
args:
- deploy
- --project
- "${_PROJECT_ID}"
- --debug
- --token
- "${_FIREBASE_TOKEN}"
- --only
- hosting
- name: node:10.17.0
entrypoint: yarn
args: ["install"]
- name: node:10.17.0
entrypoint: yarn
args:
- env
- "${_PROJECT_ID}"
- "${_FIREBASE_WEB_API_KEY}"
- "${_ALGOLIA_APP_ID}"
- "${_ALGOLIA_APP_KEY}"
- name: node:10.17.0
entrypoint: yarn
args: ["build"]
- name: node:10.17.0
entrypoint: yarn
args:
- "target"
- "${_HOSTING_TARGET}"
- --project
- "${_PROJECT_ID}"
- name: node:10.17.0
entrypoint: yarn
args:
- deploy
- --project
- "${_PROJECT_ID}"
- --debug
- --token
- "${_FIREBASE_TOKEN}"
- --only
- hosting
substitutions:
_PROJECT_ID: "project-id" # default value
_PROJECT_ID: "project-id" # default value
options:
machineType: "N1_HIGHCPU_8"
machineType: "N1_HIGHCPU_8"
34 changes: 17 additions & 17 deletions craco.config.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
const CracoSwcPlugin = require("craco-swc");

module.exports = {
plugins: [
{
plugin: CracoSwcPlugin,
options: {
swcLoaderOptions: {
jsc: {
target: "es2019",
transform: {
react: {
runtime: "automatic",
},
},
},
},
},
},
],
plugins: [
{
plugin: CracoSwcPlugin,
options: {
swcLoaderOptions: {
jsc: {
target: "es2019",
transform: {
react: {
runtime: "automatic",
},
},
},
},
},
},
],
};
16 changes: 8 additions & 8 deletions createDotEnv.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
const fs = require("fs");

const main = (
projectID = "",
firebaseWebApiKey = "",
algoliaAppId = "",
algoliaSearhApiKey = ""
projectID = "",
firebaseWebApiKey = "",
algoliaAppId = "",
algoliaSearhApiKey = ""
) => {
return fs.writeFileSync(
".env",
`REACT_APP_FIREBASE_PROJECT_ID = ${projectID}
return fs.writeFileSync(
".env",
`REACT_APP_FIREBASE_PROJECT_ID = ${projectID}
REACT_APP_FIREBASE_PROJECT_WEB_API_KEY = ${firebaseWebApiKey}
REACT_APP_ALGOLIA_APP_ID = ${algoliaAppId}
REACT_APP_ALGOLIA_SEARCH_API_KEY = ${algoliaSearhApiKey}`
);
);
};

main(process.argv[2], process.argv[3], process.argv[4], process.argv[5]);
22 changes: 11 additions & 11 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"hosting": {
"target": "rowy",
"public": "build",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
"hosting": {
"target": "rowy",
"public": "build",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
6 changes: 3 additions & 3 deletions src/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import ReactDOM from "react-dom";
import App from "./App";

it("renders without crashing", () => {
const div = document.createElement("div");
ReactDOM.render(<App />, div);
ReactDOM.unmountComponentAtNode(div);
const div = document.createElement("div");
ReactDOM.render(<App />, div);
ReactDOM.unmountComponentAtNode(div);
});
Loading

0 comments on commit 4674262

Please sign in to comment.