-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Create a prebuild script to generate next data. (#5461)
* chore: create a prebuild script * chore: fix double prebuild run * chore: fix EOF
- Loading branch information
Showing
3 changed files
with
13 additions
and
10 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
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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
'use strict'; | ||
|
||
import * as nextData from '../../next-data/index.mjs'; | ||
|
||
// generate the node.js releases json file | ||
await nextData.generateNodeReleasesJson(); | ||
|
||
// generate the data from blog posts | ||
await nextData.generateBlogPostsData(); |
6a0b0b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
nodejs-org – ./
nodejs-org-git-main-openjs.vercel.app
vercel.nodejs.org
node-js-org.vercel.app
nodejs-org-openjs.vercel.app
6a0b0b5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
nodejs-org-stories – ./
nodejs-org-stories-openjs.vercel.app
nodejs-org-storybook.vercel.app
nodejs-org-stories-git-main-openjs.vercel.app