-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[migrate] replace MarkCell with Parcel MDX transformer
[migrate] replace Yarn with PNPM to reduce Disk Usage [add] GitHub actions of Vercel preview [optimize] upgrade Upstream packages
- Loading branch information
Showing
13 changed files
with
8,174 additions
and
8,719 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Commit preview | ||
on: | ||
push: | ||
branches-ignore: | ||
- main | ||
jobs: | ||
Build-and-Deploy: | ||
env: | ||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | ||
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | ||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: pnpm | ||
- name: Install & Build | ||
run: | | ||
pnpm i --frozen-lockfile | ||
pnpm build | ||
- name: Deploy to Vercel | ||
uses: amondnet/vercel-action@v25 | ||
if: ${{ env.VERCEL_TOKEN && env.VERCEL_ORG_ID && env.VERCEL_PROJECT_ID }} | ||
with: | ||
vercel-token: ${{ secrets.VERCEL_TOKEN }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} | ||
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} | ||
working-directory: ./dist |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
package-lock.json | ||
yarn.lock | ||
node_modules/ | ||
dist/ | ||
.cache/ | ||
.vscode/ | ||
.parcel-cache/ | ||
.vscode/settings.json |
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 @@ | ||
auto-install-peers = false |
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,7 @@ | ||
{ | ||
"extends": "@parcel/config-default", | ||
"transformers": { | ||
"*.{ts,tsx}": ["@parcel/transformer-typescript-tsc"], | ||
"*.{md,mdx}": ["parcel-transformer-mdx"] | ||
} | ||
} |
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 |
---|---|---|
@@ -1,15 +1,13 @@ | ||
# BootCell document | ||
|
||
Re-implemented Official **Document site** of [BootStrap][1] & [FontAwesome][2] | ||
based on [WebCell][3], [BootCell][4] & [MarkCell][5] | ||
based on [WebCell][3], [BootCell][4] & [MDX][5] | ||
|
||
[][6] | ||
[][7] | ||
[][6] | ||
|
||
[1]: https://getbootstrap.com/ | ||
[2]: https://fontawesome.com/ | ||
[3]: https://web-cell.dev/ | ||
[4]: https://web-cell.dev/BootCell/ | ||
[5]: https://github.com/EasyWebApp/MarkCell | ||
[6]: https://david-dm.org/EasyWebApp/BootCell-document | ||
[7]: https://github.com/EasyWebApp/BootCell-document/actions | ||
[5]: https://mdxjs.com/ | ||
[6]: https://github.com/EasyWebApp/BootCell-document/actions/workflows/main.yml |
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
Oops, something went wrong.
97528b6
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.
Deploy preview for bootcell-document ready!
✅ Preview
https://bootcell-document-axm06wcfr-techquery.vercel.app
Built with commit 97528b6.
This pull request is being automatically deployed with vercel-action