Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
btholt committed Jul 3, 2024
1 parent af99210 commit f9ecf8e
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 95 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
1. Clone this repo
1. Run `npm install`
1. Run `npm run dev` to start the dev server
1. Open http://localhost:3000 in a browser
1. Open http://localhost:3000/<your production base path as defined in course.json> in a browser

_Instructions for deploying the course website to GitHub Pages are below_

Expand All @@ -32,7 +32,7 @@ This json file allows you to configure the details of the site. Update the info
- _social.github_ – Your GitHub user name. Optional.
- _description_ – The description you want to show up in search engine results.
- _keywords_ – The SEO keywords for this course. An array of strings
- _productionBaseUrl_ – Typically useful for GitHub Pages. This adds a base path to your project. For GitHub Pages, this will be the name of your repo. For example, this site's base URL is `/next-course-starter` because the production URL for this site is `btholt.github.io/next-course-starer`. Do note this will also make your dev server's base URL this as well so you can catch problems before they go to production.
- _productionBaseUrl_ – Typically useful for GitHub Pages. This adds a base path to your project. For GitHub Pages, this will be the name of your repo. For example, this site's base URL is `/next-course-starter` because the production URL for this site is `btholt.github.io/next-course-starer`. Do note this will also make your dev server's base URL this as well so you can catch problems before they go to production. **IF THIS IS SET, YOUR / PATH WILL 404**
- _csvPath_ – A CSV with the meta data for your lessons will be created at this path when you build or export the project. If you delete this config option it will not generate a CSV.

### styles/variables.css
Expand Down
2 changes: 1 addition & 1 deletion course.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"title": "Next.js Course Starter Kit",
"subtitle": "for Frontend Masters",
"frontendMastersLink": "https://frontendmasters.com/courses/complete-react-v6/",
"frontendMastersLink": "https://frontendmasters.com/courses/complete-react-v8/",
"social": {
"linkedin": "btholt",
"github": "btholt",
Expand Down
13 changes: 0 additions & 13 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,6 @@ const config = {
env: {
BASE_URL,
},
async redirects() {
if (BASE_URL) {
return [
{
source: "/",
destination: BASE_URL,
basePath: false,
permanent: false,
},
];
}
return [];
},
};

export default config;
161 changes: 90 additions & 71 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@
"seo": "node summary/index.js"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^6.5.1",
"@fortawesome/fontawesome-free": "^6.5.2",
"gray-matter": "^4.0.3",
"highlight.js": "^11.9.0",
"marked": "^11.1.1",
"marked-highlight": "^2.1.1",
"next": "^14.0.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"title-case": "^4.2.0"
"marked": "^13.0.1",
"marked-highlight": "^2.1.3",
"next": "^14.2.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"title-case": "^4.3.1"
},
"devDependencies": {
"chatgpt": "^5.2.5",
"convert-array-to-csv": "^2.0.0",
"dotenv": "^16.3.1"
"dotenv": "^16.4.5"
}
}

0 comments on commit f9ecf8e

Please sign in to comment.