-
Notifications
You must be signed in to change notification settings - Fork 497
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
329 changed files
with
22,849 additions
and
22,850 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"proseWrap": "always" | ||
"proseWrap": "always" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.