Skip to content

shiftEscape/astro-integrations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“¦ astro-integrations

A monorepo of Astro integrations by @shiftEscape.

Packages

Package Description npm
@shiftescape/astro-bundle-budget Build-time JS/CSS bundle size budgets β€” fails the build when pages exceed your thresholds npm
@shiftescape/astro-env-inspector Dev toolbar panel that shows your environment variables grouped, masked, and searchable npm

Structure

astro-integrations/
β”œβ”€β”€ packages/
β”‚   β”œβ”€β”€ astro-bundle-budget/   # @shiftescape/astro-bundle-budget
β”‚   └── astro-env-inspector/   # @shiftescape/astro-env-inspector
└── demo/                      # shared Astro site for local testing

Getting started

Install all workspace dependencies from the root:

npm install

Development workflow

1. Build a package (required before testing in the demo):

npm run build:bundle-budget
npm run build:env-inspector
# or build all at once
npm run build:all

Or keep a package watching in a separate terminal:

cd packages/astro-bundle-budget && npm run dev
cd packages/astro-env-inspector && npm run dev

2. Start the demo to test both integrations live:

npm run dev:demo

3. Test bundle budgets (requires a full build):

npm run build:demo

Running tests

# all packages
npm test --workspace=packages/astro-bundle-budget
npm test --workspace=packages/astro-env-inspector

License

MIT Β© Alvin James Bellero

About

πŸ“¦ A collection of Astro Integration packages built by shiftEscape

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

 
 
 

Contributors