This commit is contained in:
Raymond Wang 2022-10-26 09:04:46 -07:00
commit 955f3be62a
5 changed files with 15314 additions and 15342 deletions

11
.github/dependabot.yml vendored Normal file
View file

@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"

View file

@ -2,7 +2,7 @@ name: deploy-production
on:
push:
branches: [firebase]
branches: [main]
jobs:
build-and-deploy:

View file

@ -1,39 +0,0 @@
# This is a basic workflow to help you get started with Actions
name: build-page-branch
# Controls when the workflow will run
on:
push:
branches: [main]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
# Builds the react site for github pages
- name: Build Static Pages
run: |
npm ci
npm run build
mv CNAME build/public
mv build/public docs
echo "# DO NOT MANUALLY PUSH TO THIS BRANCH, ANY WORK DONE WILL BE ERASED. ITS WORK COMES FROM MASTER AND IT WILL BE REWRITTEN THE NEXT TIME AN ACTION OCCURS ON THE MASTER BRANCH" > README.md
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git stash
git checkout -b page
git stash pop
git add .
git commit -m "Deploy Site"
git push origin page --force

14
package-lock.json generated
View file

@ -23,7 +23,7 @@
"@babel/core": "^7.19.6",
"@babel/preset-env": "^7.19.4",
"@babel/preset-react": "^7.14.5",
"@types/react": "^18.0.22",
"@types/react": "^18.0.23",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0",
"babel-loader": "^8.2.3",
@ -3041,9 +3041,9 @@
"integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw=="
},
"node_modules/@types/react": {
"version": "18.0.22",
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.22.tgz",
"integrity": "sha512-4yWc5PyCkZN8ke8K9rQHkTXxHIWHxLzzW6RI1kXVoepkD3vULpKzC2sDtAMKn78h92BRYuzf+7b/ms7ajE6hFw==",
"version": "18.0.23",
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.23.tgz",
"integrity": "sha512-R1wTULtCiJkudAN2DJGoYYySbGtOdzZyUWAACYinKdiQC8auxso4kLDUhQ7AJ2kh3F6A6z4v69U6tNY39hihVQ==",
"dependencies": {
"@types/prop-types": "*",
"@types/scheduler": "*",
@ -11117,9 +11117,9 @@
"integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw=="
},
"@types/react": {
"version": "18.0.22",
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.22.tgz",
"integrity": "sha512-4yWc5PyCkZN8ke8K9rQHkTXxHIWHxLzzW6RI1kXVoepkD3vULpKzC2sDtAMKn78h92BRYuzf+7b/ms7ajE6hFw==",
"version": "18.0.23",
"resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.23.tgz",
"integrity": "sha512-R1wTULtCiJkudAN2DJGoYYySbGtOdzZyUWAACYinKdiQC8auxso4kLDUhQ7AJ2kh3F6A6z4v69U6tNY39hihVQ==",
"requires": {
"@types/prop-types": "*",
"@types/scheduler": "*",

View file

@ -29,7 +29,7 @@
"@babel/core": "^7.19.6",
"@babel/preset-env": "^7.19.4",
"@babel/preset-react": "^7.14.5",
"@types/react": "^18.0.22",
"@types/react": "^18.0.23",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0",
"babel-loader": "^8.2.3",