Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Commit fc1cf50

Browse files
authored
feat(deploy): prepare for cloudflare pages (#978)
1 parent f1e3d1e commit fc1cf50

File tree

6 files changed

+6
-212
lines changed

6 files changed

+6
-212
lines changed

.github/workflows/deploy.yml

-32
This file was deleted.

.npmrc

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
enable-pre-post-scripts=true
1+
engine-strict=true
2+
enable-pre-post-scripts=true
3+
package-manager-strict=false

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20.15.0

CNAME

-1
This file was deleted.

package.json

+2-8
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,12 @@
44
"description": "This is a free quiz site made for developers by freeCodeCamp",
55
"version": "0.1.0",
66
"private": true,
7-
"engines": {
8-
"node": ">=20",
9-
"pnpm": "9"
10-
},
7+
"packageManager": "[email protected]",
118
"dependencies": {
129
"@testing-library/jest-dom": "^6.4.5",
1310
"@testing-library/react": "^12.1.2",
1411
"@testing-library/user-event": "^13.5.0",
1512
"bootstrap": "^5.1.3",
16-
"gh-pages": "^5.0.0",
1713
"react": "^18.2.0",
1814
"react-bootstrap": "^2.0.3",
1915
"react-confetti": "^6.1.0",
@@ -23,8 +19,6 @@
2319
},
2420
"type": "module",
2521
"scripts": {
26-
"predeploy": "pnpm run build && cp CNAME dist/CNAME",
27-
"deploy": "gh-pages -d dist",
2822
"start": "vite",
2923
"preview": "vite preview",
3024
"start:local-docker": "docker container run --rm -it -p 3000:3000 developer-quiz-site",
@@ -84,4 +78,4 @@
8478
"pre-commit": "lint-staged && pretty-quick --staged"
8579
}
8680
}
87-
}
81+
}

0 commit comments

Comments
 (0)