Skip to content

Latest commit

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

astro-integrations

CI

📦 A collection of Astro integrations by @shiftEscape.

Packages

PackageDescriptionnpm
@shiftescape/astro-bundle-budgetBuild-time JS/CSS bundle size budgets — fails the build when pages exceed your thresholdsnpm
@shiftescape/astro-env-inspectorDev toolbar panel that shows your environment variables grouped, masked, and searchablenpm
@shiftescape/astro-toolbar-routesDev toolbar route map — clickable list of every route in your project, grouped and searchablenpm
@shiftescape/astro-i18n-toolkitDev toolbar i18n debugger — translation coverage map across all locales and a one-click locale switcher, library-agnosticnpm

Structure

astro-integrations/
├── packages/
│ ├── astro-bundle-budget/ # @shiftescape/astro-bundle-budget
│ ├── astro-env-inspector/ # @shiftescape/astro-env-inspector
│ ├── astro-toolbar-routes/ # @shiftescape/astro-toolbar-routes
│ └── astro-i18n-toolkit/ # @shiftescape/astro-i18n-toolkit
└── demo/ # shared Astro site for local testing

Getting started

npm install

Development workflow

Build a package:

npm run build:bundle-budget
npm run build:env-inspector
npm run build:toolbar-routes
npm run build:i18n-toolkit
# or all at once:
npm run build:all

Start the demo:

npm run dev:demo

Test bundle budgets:

npm run build:demo

Running tests

npm test --workspace=packages/astro-bundle-budget
npm test --workspace=packages/astro-env-inspector
npm test --workspace=packages/astro-toolbar-routes
npm test --workspace=packages/astro-i18n-toolkit

CI runs all test suites first, then publishes only the matching package.

License

MIT © Alvin James Bellero

🙏 Acknowledgements

Built with the Astro Integration API and listed in the Astro Integrations Library. 🌟

About

📦 A collection of Astro Integration packages built by shiftEscape

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages