Files
skeleton/packages/create-skeleton-app/README-MONO.md
2023-08-15 11:24:50 -05:00

1.0 KiB

create-skeleton-app

This is a special multi-repo version of the app created by CSA.

Differences from a normal CSA app:

  • @skeletonlabs/skeleton is a workspace link in package.json
  • Added install script for the site that will swap dependencies from workspace links to what is defined in deployConfig of 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 csa <foo>, make sure to git init, git add ., gh repo create and run pnpm dev.

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