Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
232 commits
Select commit Hold shift + click to select a range
2f17275
added file to give site
Joyboy97 Oct 31, 2022
c806607
ignored any in games.ts
Joyboy97 Oct 31, 2022
9220ac1
vicbranch start
Joyboy97 Oct 31, 2022
15e1604
add switch and push
Oct 31, 2022
4bd860b
Merge pull request #1 from emba00/andrewBranch
andrewgeraci Oct 31, 2022
5f6b7a5
deploy
Oct 31, 2022
039aa9d
Merge pull request #2 from emba00/andrewBranch
andrewgeraci Oct 31, 2022
ad1523c
pushin pushin
emba00 Oct 31, 2022
35810de
pushin pushin
emba00 Nov 1, 2022
f566e4e
pushin pushin
emba00 Nov 1, 2022
426b741
changed the drag boxes
emba00 Nov 1, 2022
1c10faf
Merge pull request #3 from emba00/manny
emba00 Nov 1, 2022
f07bc6f
each box cahnges the name need this fixed
Joyboy97 Nov 1, 2022
5ce6404
index fixes
Joyboy97 Nov 1, 2022
c8da68b
zoere help w token
emba00 Nov 1, 2022
2085e14
Merge pull request #4 from emba00/manny
emba00 Nov 1, 2022
1eb4d30
vic deploy
Joyboy97 Nov 1, 2022
dd7c668
vic was here deploy
Joyboy97 Nov 1, 2022
003ede0
vic wasnt here deploy
Joyboy97 Nov 1, 2022
1e107a5
added photos for tools and blank car
Nov 3, 2022
e440638
Merge branch 'main' into andrewBranch
andrewgeraci Nov 3, 2022
eb6deb7
Merge pull request #5 from emba00/andrewBranch
andrewgeraci Nov 3, 2022
a57df06
I think i have a start on the save state of car
emba00 Nov 3, 2022
0be1fd8
drag and drop my menu
Joyboy97 Nov 4, 2022
c164336
merged main 11/4/2022
Joyboy97 Nov 4, 2022
01cb40d
merged andrew to vic 11/4/2022
Joyboy97 Nov 4, 2022
c37492e
change car color button
Nov 7, 2022
e34a00b
Merge branch 'main' of https://github.com/emba00/final-project-start …
Nov 7, 2022
3c2cd14
change car color button
Nov 7, 2022
26d96b7
Merge pull request #6 from emba00/andrewBranch
andrewgeraci Nov 7, 2022
d195aec
origin main
Joyboy97 Nov 8, 2022
b91b583
fixing car space
emba00 Nov 8, 2022
064c9f6
should deploy
emba00 Nov 8, 2022
bf21aee
deploy plz
emba00 Nov 8, 2022
2391a0d
trying to commit new branch changes
Joyboy97 Nov 8, 2022
3564d4b
deploy plzzz
emba00 Nov 8, 2022
47b6aa0
trying to deploy
emba00 Nov 8, 2022
8348085
should deploy
emba00 Nov 8, 2022
fe0ca85
ok should actually deploy
emba00 Nov 8, 2022
8b24b55
yml fixes
Joyboy97 Nov 8, 2022
e61b057
Merge pull request #1 from UD-CISC275-S22/ogrepo
Joyboy97 Nov 8, 2022
4c22db4
started on getting tools interacting w/ car
emba00 Nov 9, 2022
8ead7f1
trying to work
emba00 Nov 9, 2022
0ef5773
change background
Nov 11, 2022
f64d0b0
change background
Nov 11, 2022
1e16b35
Merge pull request #8 from emba00/andrewBranch
andrewgeraci Nov 11, 2022
4bc7fa7
made image folder
Nov 11, 2022
ccfe2d3
Merge pull request #9 from emba00/andrewBranch
andrewgeraci Nov 11, 2022
3231548
add pic to game
Joyboy97 Nov 15, 2022
bb60758
workin on car squares
emba00 Nov 15, 2022
1e6b8bc
Merge branch 'main' into mannycarsave2
emba00 Nov 15, 2022
cdd4db7
Merge pull request #10 from emba00/mannycarsave2
emba00 Nov 15, 2022
81f8a5d
car and carspace stuff
emba00 Nov 15, 2022
476ba5f
layout stuff
emba00 Nov 15, 2022
d10cb1d
tryna add images
Joyboy97 Nov 15, 2022
c12b6b2
vic merge
Joyboy97 Nov 16, 2022
e6ed2ae
vicbranchmerge
Joyboy97 Nov 16, 2022
285d340
commmented out car space while merging please fix this
Joyboy97 Nov 16, 2022
1b5d04c
board states?
Joyboy97 Nov 16, 2022
ac89822
can drag and make new image
Joyboy97 Nov 17, 2022
5ea3cb3
main merger
Joyboy97 Nov 17, 2022
660e66b
hey
Joyboy97 Nov 17, 2022
dfcfeef
interesting main
Joyboy97 Nov 17, 2022
6454140
DRAG AND DROP WORKS
Joyboy97 Nov 17, 2022
46b9da7
was testing stuff
emba00 Nov 17, 2022
ad49fd6
main merge to vic
Joyboy97 Nov 17, 2022
e9101b5
Car back
emba00 Nov 17, 2022
adcde3c
Merge pull request #11 from emba00/mannycarsave2
emba00 Nov 17, 2022
6e8497d
map for images in tool menu
Nov 17, 2022
d72a1f7
map for images in tool menu
Nov 17, 2022
5cf9a77
Merge branch 'main' of https://github.com/emba00/final-project-start …
Joyboy97 Nov 17, 2022
6693a54
pulled the main
Joyboy97 Nov 17, 2022
feaa630
Merge branch 'main' into andrewBranch
andrewgeraci Nov 17, 2022
0083f9e
Merge pull request #12 from emba00/andrewBranch
andrewgeraci Nov 17, 2022
1d31086
we can drag dirt now lol
Joyboy97 Nov 29, 2022
1994274
trashcan
emba00 Nov 29, 2022
f9b7155
merged vicbranch
Joyboy97 Nov 29, 2022
c8b56c7
i have to commit?
emba00 Nov 29, 2022
95c1712
trying to merge
Nov 29, 2022
40dd9db
Merge branch 'main' of https://github.com/emba00/final-project-start …
Nov 29, 2022
8ccfabe
added coords
emba00 Nov 29, 2022
9a14ba1
Merge pull request #13 from emba00/manny2
emba00 Nov 29, 2022
c583cb3
Merge branch 'main' of https://github.com/emba00/final-project-start …
Nov 29, 2022
1bcd1f2
DEPLOYING??
emba00 Nov 29, 2022
7cbe8eb
Merge pull request #14 from emba00/fordeploy
emba00 Nov 29, 2022
c5c5e20
SHOULD DEPLOY
emba00 Nov 29, 2022
3d127d2
Merge pull request #15 from emba00/fordeploy
emba00 Nov 30, 2022
a648233
ok should actually deploy
emba00 Nov 30, 2022
7064ff8
Merge pull request #16 from emba00/fordeploy
emba00 Nov 30, 2022
622e6c8
for mvp :)
emba00 Nov 30, 2022
9d86728
Merge pull request #17 from emba00/fordeploy
emba00 Nov 30, 2022
f94a20c
slashed tire images and window crack
Dec 1, 2022
0ee45eb
Merge branch 'main' of https://github.com/emba00/final-project-start …
Dec 1, 2022
4854b73
Merge pull request #19 from emba00/andrewBranch
andrewgeraci Dec 1, 2022
af5cb9d
deploy
Dec 1, 2022
a6b6473
Merge pull request #20 from emba00/andrewBranch
andrewgeraci Dec 1, 2022
89cae6a
tires and test button
Dec 1, 2022
8088512
Merge pull request #21 from emba00/andrewBranch
andrewgeraci Dec 1, 2022
148ab28
bottom lights?
Joyboy97 Dec 1, 2022
720d5cc
car has mouse tracker
Joyboy97 Dec 2, 2022
cd74959
build me site
Joyboy97 Dec 2, 2022
b84ebc1
build me site now
Joyboy97 Dec 2, 2022
4e3fd31
pain and suffering but it look prettier
Joyboy97 Dec 2, 2022
6a3c1b7
pain and suffering but it look prettier more
Joyboy97 Dec 2, 2022
d6298e5
tool file
Joyboy97 Dec 2, 2022
d34690c
yush
Joyboy97 Dec 2, 2022
e5b337b
yush 2
Joyboy97 Dec 2, 2022
23426c0
bruh
Joyboy97 Dec 2, 2022
6eff029
merge done
Joyboy97 Dec 2, 2022
b46b43d
merged to my laptop
Joyboy97 Dec 2, 2022
1d9c379
pic to board v1
Joyboy97 Dec 6, 2022
b3e6ac7
working dnd incoming
emba00 Dec 6, 2022
6c24836
add tools to drag
Joyboy97 Dec 7, 2022
6983622
DRAG WORKING
emba00 Dec 7, 2022
47d30cb
merge plz?
emba00 Dec 7, 2022
7df5b50
merge done ;)
emba00 Dec 7, 2022
878bdd7
Merge pull request #24 from emba00/manny3
emba00 Dec 7, 2022
9449944
working through drop
emba00 Dec 8, 2022
0df97b1
big merge
Joyboy97 Dec 8, 2022
21dff26
vicmain to main merge
Joyboy97 Dec 8, 2022
451bda4
trying to get on screen :(
emba00 Dec 8, 2022
aaf3745
git sMerge branch 'main' of https://github.com/emba00/final-project-s…
emba00 Dec 8, 2022
f0524a2
something
emba00 Dec 8, 2022
0cc21db
can add and move tools in zone.tsx
Joyboy97 Dec 8, 2022
6b6e8cc
Merge branch 'main' of https://github.com/emba00/final-project-start …
emba00 Dec 8, 2022
5c002e0
can add specific tools to a box and move them around
Joyboy97 Dec 8, 2022
2176a11
free flowin baby
Joyboy97 Dec 8, 2022
d0428dc
Merge branch 'main' of https://github.com/emba00/final-project-start …
emba00 Dec 8, 2022
9f3893c
Merge pull request #25 from emba00/manny5
andrewgeraci Dec 8, 2022
9748884
joyboy main pull
Joyboy97 Dec 8, 2022
60c3527
drag and drop spot
emba00 Dec 8, 2022
9e31c76
stashing
Dec 8, 2022
f896c99
Merge branch 'main' of https://github.com/emba00/final-project-start
emba00 Dec 8, 2022
087f911
stashing again
Dec 8, 2022
9bd17c4
Merge branch 'main' of https://github.com/emba00/final-project-start …
Dec 8, 2022
c99a0e0
Merge branch 'main' of github.com:emba00/final-project-start
Joyboy97 Dec 8, 2022
f6b4d0e
2 new modes and new images
Dec 9, 2022
267a196
Merge pull request #26 from emba00/andrewNewNew
andrewgeraci Dec 9, 2022
496b2f8
new car colors and tints
Dec 9, 2022
e3becb6
Merge pull request #27 from emba00/andrewNewNew
andrewgeraci Dec 9, 2022
3e2a5be
fixing some lint errors
Dec 9, 2022
2c06c57
Merge pull request #28 from emba00/andrewNewNew
andrewgeraci Dec 9, 2022
bc26fec
fixing more lint problems
Dec 9, 2022
282a075
Merge pull request #29 from emba00/andrewNewNew
andrewgeraci Dec 9, 2022
246beaa
dragging with pics
emba00 Dec 9, 2022
065071f
dragging match icons
emba00 Dec 9, 2022
26c99b4
starting with drag types
emba00 Dec 9, 2022
4e2774e
Merge branch 'main' into manny7
emba00 Dec 9, 2022
66cba34
Merge pull request #30 from emba00/manny7
emba00 Dec 9, 2022
e372eaf
Merge branch 'manny7' of https://github.com/emba00/final-project-star…
Dec 9, 2022
09b80ee
mini main touch ups
Joyboy97 Dec 9, 2022
6378df1
stash again
Dec 9, 2022
dea34df
main night
Joyboy97 Dec 9, 2022
9cc7fd4
images are back
Dec 9, 2022
589beb7
Merge pull request #31 from emba00/andrewNewNew
andrewgeraci Dec 9, 2022
071e6ed
the images are draggable
Dec 9, 2022
0fa09df
Merge pull request #32 from emba00/andrewNewNew
andrewgeraci Dec 9, 2022
18108bf
working through different drop types
emba00 Dec 9, 2022
98433c8
Merge branch 'main' into manny8
emba00 Dec 9, 2022
2e9e70d
Merge pull request #33 from emba00/manny8
emba00 Dec 9, 2022
fa7436f
car background
Joyboy97 Dec 9, 2022
928fd02
errors gone please
Dec 9, 2022
9ddacfb
Merge pull request #34 from emba00/andrewNewer
andrewgeraci Dec 9, 2022
926ea58
manny 8
Joyboy97 Dec 9, 2022
a6a3d73
ERRORS GNE
Dec 9, 2022
c13e673
Merge pull request #35 from emba00/andrewNewer
andrewgeraci Dec 9, 2022
3af01e9
please
Dec 9, 2022
d42292e
Merge pull request #36 from emba00/andrewNewer
andrewgeraci Dec 9, 2022
6847a52
working on bg img
emba00 Dec 9, 2022
9dbecde
bye bye main onto manny8.5 since you wanna act up
Joyboy97 Dec 9, 2022
a37591c
working backgrounds
emba00 Dec 9, 2022
f9c532a
Merge branch 'main' into manny10
emba00 Dec 9, 2022
8089e4f
Merge pull request #37 from emba00/manny10
emba00 Dec 9, 2022
5f24c66
stashing work
Dec 9, 2022
0fcdae5
colors might work now
Dec 9, 2022
044806e
Merge branch 'main' of https://github.com/emba00/final-project-start …
Dec 9, 2022
b5ae701
colors can maybe drag
Dec 9, 2022
76558b7
Merge pull request #38 from emba00/andrewManny8.5
andrewgeraci Dec 9, 2022
438ca1b
had to to switch
emba00 Dec 9, 2022
d2ed014
movin
emba00 Dec 9, 2022
402fe95
hundo fles resudue
Joyboy97 Dec 9, 2022
65ba31e
tool doesnt move box
emba00 Dec 9, 2022
39b85fb
Merge branch 'main' into manny11
emba00 Dec 9, 2022
8df874e
Merge pull request #39 from emba00/manny11
emba00 Dec 9, 2022
d479524
manny11
Joyboy97 Dec 9, 2022
f1f4408
a little more
Joyboy97 Dec 9, 2022
7a8ad24
onepose nomo?
Joyboy97 Dec 9, 2022
37def45
savedcars
Joyboy97 Dec 10, 2022
70f77ee
saved changes
Joyboy97 Dec 10, 2022
2b70bdc
done
Joyboy97 Dec 10, 2022
4e158df
huh
Joyboy97 Dec 10, 2022
36f7e97
Merge branch 'vicmain7'
Joyboy97 Dec 10, 2022
92db91f
done
Joyboy97 Dec 10, 2022
b93393b
picperil
Joyboy97 Dec 10, 2022
550ce60
Delete src/components/lowercase directory
Joyboy97 Dec 10, 2022
b673904
Delete yellow.png
andrewgeraci Dec 10, 2022
52dfad9
Delete wing.png
andrewgeraci Dec 10, 2022
3cb8208
Delete wing side.png
andrewgeraci Dec 10, 2022
d5f887e
Delete whitepoop.png
andrewgeraci Dec 10, 2022
cad40fc
Delete tandirt.png
andrewgeraci Dec 10, 2022
dd5ce85
Delete street.png
andrewgeraci Dec 10, 2022
ac6c15b
Delete redcar.png
andrewgeraci Dec 10, 2022
21c06c4
Delete red.png
andrewgeraci Dec 10, 2022
05cb5fc
Delete purple.png
andrewgeraci Dec 10, 2022
df9ee47
Delete orange.png
andrewgeraci Dec 10, 2022
f6c0e7c
Delete mountain.png
andrewgeraci Dec 10, 2022
10c86cb
Delete mediumtint.png
andrewgeraci Dec 10, 2022
f7a6ed1
Delete lighttint.png
andrewgeraci Dec 10, 2022
d291703
Delete greenpoop.png
andrewgeraci Dec 10, 2022
9a4a1f5
Delete greencar.png
andrewgeraci Dec 10, 2022
eb62dad
Delete green.png
andrewgeraci Dec 10, 2022
999e279
Delete garage.png
andrewgeraci Dec 10, 2022
b8cdddb
Delete forest.png
andrewgeraci Dec 10, 2022
b01689e
Delete alley.png
andrewgeraci Dec 10, 2022
558f38d
Delete dump.png
andrewgeraci Dec 10, 2022
02f1e57
Delete blackdirt.png
andrewgeraci Dec 10, 2022
b79f402
Delete blue.png
andrewgeraci Dec 10, 2022
b789fad
Delete bluecar.png
andrewgeraci Dec 10, 2022
8a8d009
Delete browndirt.png
andrewgeraci Dec 10, 2022
7f6e272
Delete brownpoop.png
andrewgeraci Dec 10, 2022
5d6ce26
Delete cave.png
andrewgeraci Dec 10, 2022
0a7651e
Delete city.png
andrewgeraci Dec 10, 2022
12ba41a
Delete crack.png
andrewgeraci Dec 10, 2022
b8ec55a
Delete darktint.png
andrewgeraci Dec 10, 2022
bc51580
page deployed
Joyboy97 Dec 10, 2022
252eeb0
added pics
Joyboy97 Dec 14, 2022
ab5b3ec
add cars
Joyboy97 Dec 14, 2022
3917449
add save part of cars
Joyboy97 Dec 14, 2022
1862ca4
Merge pull request #40 from emba00/vicmain8
Joyboy97 Dec 14, 2022
277d43f
found anoying boarder
Joyboy97 Dec 14, 2022
36feac1
Merge pull request #41 from emba00/vicmain8
Joyboy97 Dec 14, 2022
fee4091
no more header
Joyboy97 Jan 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# .gitattributes snippet to force users to use same line endings for project.
#
# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text=auto

#
# The above will handle all files NOT found below
# https://help.github.com/articles/dealing-with-line-endings/
# https://github.com/Danimoth/gitattributes/blob/master/Web.gitattributes



# These files are text and should be normalized (Convert crlf => lf)
*.php text
*.css text
*.js text
*.json text
*.htm text
*.html text
*.xml text
*.txt text
*.ini text
*.inc text
*.pl text
*.rb text
*.py text
*.scm text
*.sql text
.htaccess text
*.sh text
*.svg text

# These files are binary and should be left untouched
# (binary is a macro for -text -diff)
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.mov binary
*.mp4 binary
*.mp3 binary
*.flv binary
*.fla binary
*.swf binary
*.gz binary
*.zip binary
*.7z binary
*.ttf binary
*.pyc binary
60 changes: 60 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- id: get-repo-values
run: |
url=https://$(echo "${{github.repository}}" | sed "s/\//.github.io\//")
echo "::set-output name=url::$url"
- name: Update package.json homepage
uses: jossef/action-set-json-field@v1
with:
file: package.json
field: homepage
value: ${{ steps.get-repo-values.outputs.url }}
- run: npm ci

#- run: npm run lint
- run: npm run test -- --coverage |& tee ./public/test_report.txt

- run: echo "<html><head><meta http-equiv='refresh' content='0; URL=${{github.server_url}}/${{github.repository}}' /></head><body>Redirecting to repository</body></html>" > ./public/github.html
- name: GitInspector
run: |
git clone https://github.com/jpwhite3/gitinspector.git
git clone ${{github.server_url}}/${{github.repository}} original-src/
python ./gitinspector/gitinspector.py ./original-src/ -f tsx,ts --grading -F html -x ./gitinspector > ./public/git_report.html

- run: npm run build --if-present

- name: Deploy
run: |
git config --global user.name ${user_name}
git config --global user.email ${user_email}
git remote set-url origin https://${github_token}@github.com/${repository}
npm run deploy
env:
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"
github_token: ${{ secrets.GH_TOKEN }}
repository: ${{ github.repository }}
57 changes: 57 additions & 0 deletions .github/workflows/node.js_BACKUP_2640.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- id: get-repo-values
run: |
url=https://$(echo "${{github.repository}}" | sed "s/\//.github.io\//")
echo "::set-output name=url::$url"
- name: Update package.json homepage
uses: jossef/action-set-json-field@v1
with:
file: package.json
field: homepage
value: ${{ steps.get-repo-values.outputs.url }}
- run: npm ci

#- run: npm run lint
- run: npm run test -- --coverage |& tee ./public/test_report.txt
- run: echo "<html><head><meta http-equiv='refresh' content='0; URL=${{github.server_url}}/${{github.repository}}' /></head><body>Redirecting to repository</body></html>" > ./public/github.html
- name: GitInspector
run: |
git clone https://github.com/jpwhite3/gitinspector.git
git clone ${{github.server_url}}/${{github.repository}} original-src/
python ./gitinspector/gitinspector.py ./original-src/ -f tsx,ts --grading -F html -x ./gitinspector > ./public/git_report.html
- run: npm run build --if-present
- name: Deploy
run: |
git config --global user.name ${user_name}
git config --global user.email ${user_email}
git remote set-url origin https://${github_token}@github.com/${repository}
npm run deploy
env:
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"
github_token: ${{ secrets.GH_TOKEN }}
repository: ${{ github.repository }}
Empty file.
52 changes: 52 additions & 0 deletions .github/workflows/node.js_LOCAL_2640.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- id: get-repo-values
run: |
url=https://$(echo "${{github.repository}}" | sed "s/\//.github.io\//")
echo "::set-output name=url::$url"
- name: Update package.json homepage
uses: jossef/action-set-json-field@v1
with:
file: package.json
field: homepage
value: ${{ steps.get-repo-values.outputs.url }}
- run: npm ci
#- run: npm run lint
- run: npm run test -- --coverage |& tee ./public/test_report.txt
- run: echo "<html><head><meta http-equiv='refresh' content='0; URL=${{github.server_url}}/${{github.repository}}' /></head><body>Redirecting to repository</body></html>" > ./public/github.html
- run: npm run build --if-present

- name: Deploy
run: |
git config --global user.name ${user_name}
git config --global user.email ${user_email}
git remote set-url origin https://${github_token}@github.com/${repository}
npm run deploy
env:
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"
github_token: ${{ secrets.GH_TOKEN }}
repository: ${{ github.repository }}
57 changes: 57 additions & 0 deletions .github/workflows/node.js_REMOTE_2640.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- id: get-repo-values
run: |
url=https://$(echo "${{github.repository}}" | sed "s/\//.github.io\//")
echo "::set-output name=url::$url"
- name: Update package.json homepage
uses: jossef/action-set-json-field@v1
with:
file: package.json
field: homepage
value: ${{ steps.get-repo-values.outputs.url }}
- run: npm ci
- run: npm run lint
- run: npm run test -- --coverage |& tee ./public/test_report.txt
- run: echo "<html><head><meta http-equiv='refresh' content='0; URL=${{github.server_url}}/${{github.repository}}' /></head><body>Redirecting to repository</body></html>" > ./public/github.html
- name: GitInspector
run: |
git clone https://github.com/jpwhite3/gitinspector.git
git clone ${{github.server_url}}/${{github.repository}} original-src/
python ./gitinspector/gitinspector.py ./original-src/ -f tsx,ts --grading -F html -x ./gitinspector > ./public/git_report.html
- run: npm run build --if-present

- name: Deploy
run: |
git config --global user.name ${user_name}
git config --global user.email ${user_email}
git remote set-url origin https://${github_token}@github.com/${repository}
npm run deploy
env:
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"
github_token: ${{ secrets.GH_TOKEN }}
repository: ${{ github.repository }}
19 changes: 19 additions & 0 deletions .hintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"extends": ["development"],
"hints": {
"axe/text-alternatives": [
"default",
{
"image-alt": "off"
}
],

"axe/structure": [
"default",
{
"list": "off"
}
],
"no-inline-styles": "off"
}
}
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
<<<<<<< HEAD
# React DND TypeScript Starter Repo for CISC275 Fall 2022

Hello! This repository has been pre-configured with eslint and gh-pages to automatically deploy your app when you push to the main branch.

Fork, and execute necessary setup steps.

Watch this space for additional project requirements.
=======
# React TypeScript Starter Repo

Hello! This repository has been pre-configured with eslint and gh-pages to automatically deploy your app when you push to the main branch.

You will, however, need to finish setting up the deployment.

### 1. Generate a personal access token

1. Click on your picture -> `settings` in the top right of Github.
2. Then, scroll to `Developer Settings` and click `Personal access tokens`
3. Generate a new token with `repo` access and no expiration date.
4. Make sure you copy the created token as you will not be able to see it after this.

### 2. Add a secret to the forked repo

Back in this repository, go to `settings` -> `secrets` -> `Actions` and click the `New repository secret` button in the topright.

Name the secret "GH_TOKEN" and paste in the token you copied in the previous step.
>>>>>>> ad6c400 (Initial commit)
Loading