mirror of
https://github.com/LukeHagar/skeleton.git
synced 2025-12-06 04:21:15 +00:00
* added scripts and deps * added version script for dev tag release * added action scripts * ignore dist and .temp files * added changeset config * format + lint * dont need that * simple cache * reverting back, this cache was more consistent * changed names * repo check * ignore empty arrow functions * fixed lint errors * added action to lint on PRs * added CSA * lockfile * update tw-settings.json after publish * ignore tw-settings.json in prettier * weird spacing that was breaking the ingore * added ignore path * ignore .vercel dir during formatting/linting * fixed line dupe on format * fix linting errors * fixed svelte check errors * added VERCEL_ENV for svelte-check * run both lint and check in parallel
1.0 KiB
1.0 KiB
create-skeleton-app
This is a special multi-repo version of the site created by CSA.
Differences from a normal CSA site:
- Vite alias to the @skeletonlabs/skeleton project
- Removed @skeletonlabs/skeleton from package.json
- Added Vercel deploy command to package.json
At this point it only supports deploying to Vercel.
Reminder
Since you have just created this site with pnpm site <foo>, make sure to git init, git add ., gh repo create and run pnpm dev at least once so that the alias gets setup in .svelte-kit
Deploying a site to Vercel
Repos that are not part of the main Skeleton repo will not work independently of the monorepo due to the adjustments to the @skeletonlabs/skeleton package noted above. Therefore to deploy a site, it is necessary to take advantage of the vercel build and vercel deploy of a local production build (or you can have fun setting up a GH deploy pipeline)
# ensure you have the vercel cli tool
pnpm i -g vercel
Two scripts have been added to package.json