Skip to content

Repository files navigation

Bedrock APIs - GitHub Pages

A modern GitHub Pages site built with raw HTML, TypeScript, and CSS, using Rolldown for bundling and code quality tools.

Tech Stack

  • Language: TypeScript + HTML/CSS
  • Bundler: Rolldown
  • Linter: Oxlint
  • Formatter: Oxfmt
  • Package Manager: pnpm
  • Output: /site folder (GitHub Pages root)

Project Structure

.
├── src/                 # TypeScript source files
│   └── main.ts         # Entry point
├── site/               # Output folder (GitHub Pages root)
│   ├── index.html      # Main HTML file
│   ├── style.css       # Stylesheet
│   └── bundle.js       # Generated bundle (built)
├── package.json        # Dependencies and scripts
├── tsconfig.json       # TypeScript configuration
├── rolldown.config.js  # Rolldown bundler config
├── .oxlintrc.json      # Oxlint configuration
└── .oxfmtrc.json       # Oxfmt configuration

Setup

Install dependencies:

pnpm install

Development

  • Build: pnpm build
  • Watch mode: pnpm dev
  • Lint: pnpm lint
  • Fix linting issues: pnpm lint:fix
  • Format code: pnpm format
  • Check formatting: pnpm format:check
  • Preview locally: pnpm preview

Deployment

The /site folder is configured as your GitHub Pages root. Commit and push to deploy automatically.

License

MIT

About

Online Pages

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages