Skip to content

About

Mirror of localgrid.dev, served from github.io

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

localgrid.proxy

Mirrors localgrid.dev to astrelitehq.github.io/localgrid.proxy/, alongside its custom-domain deployment. No app source lives here: it installs the @astrelitehq/localgrid npm package and builds that package's source with a different Vite base path baked in.

Staying up to date

localgrid.dev's release workflow dispatches a rebuild here on every new package version. Also rebuilds on push to main, or manually via workflow_dispatch. ci.yml builds (not deploys) on every push, any branch, to catch a broken build before it reaches main.

Build dependencies

@astrelitehq/localgrid's own build (tsc -b) type-checks its whole source tree, tests included, but npm never installs a dependency's devDependencies. So postinstall runs npm ci inside node_modules/@astrelitehq/localgrid, using the npm-shrinkwrap.json that localgrid.dev publishes with every release. The build then uses the exact devDependency versions localgrid.dev builds with, and this repo needs no devDependencies of its own.

Lockfile

Not committed yet (see .gitignore); generating one needs read:packages credentials to resolve @astrelitehq/localgrid. Once you have one, run npm install, commit package-lock.json, and switch pages.yml to npm ci.

Local development

export NODE_AUTH_TOKEN=<a PAT with read:packages on AstreliteHQ>
npm install
npm run dev      # base path defaults to /
npm run build    # production build at /localgrid.proxy/

About

Mirror of localgrid.dev, served from github.io

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors