diff --git a/.changeset/itchy-poems-crash.md b/.changeset/itchy-poems-crash.md new file mode 100644 index 0000000..d211f19 --- /dev/null +++ b/.changeset/itchy-poems-crash.md @@ -0,0 +1,5 @@ +--- +"@slatetech/design": patch +--- + +fix publish workflow to build dist diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a5d082c..a3925b1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,7 +22,11 @@ jobs: - run: bun install --frozen-lockfile - - run: bunx changeset version + - name: Build design package + run: bun run design build + + - name: Run changesets + run: bunx changeset version - name: Commit version updates run: | diff --git a/README.md b/README.md index a52b8e8..963d327 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ # Slate Web This is the monorepo containing all of Slate's web projects. Slate Web uses **Bun** as its runtime. + +## [Slate Design 1](/packages/design/README.md) +`**packages/design**` - `@slatetech/design` on npm + +Slate Design 1 is a Svelte 5 design system for building modern web applications. It provides a set of reusable components and styles that can be used to create consistent and visually appealing user interfaces. + +Visit the package to learn how to use in your projects. + +## [Slate Website](/apps/site/README.md) + +The public facing Slate website uses Astro + Svelte + Slate Design 1. diff --git a/apps/site/README.md b/apps/site/README.md index 7cf5d7c..82f2af9 100644 --- a/apps/site/README.md +++ b/apps/site/README.md @@ -1,43 +1,3 @@ -# Astro Starter Kit: Minimal +# Slate Website -```sh -bun create astro@latest -- --template minimal -``` - -> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun! - -## 🚀 Project Structure - -Inside of your Astro project, you'll see the following folders and files: - -```text -/ -├── public/ -├── src/ -│ └── pages/ -│ └── index.astro -└── package.json -``` - -Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. - -There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components. - -Any static assets, like images, can be placed in the `public/` directory. - -## 🧞 Commands - -All commands are run from the root of the project, from a terminal: - -| Command | Action | -| :-------------------- | :----------------------------------------------- | -| `bun install` | Installs dependencies | -| `bun dev` | Starts local dev server at `localhost:4321` | -| `bun build` | Build your production site to `./dist/` | -| `bun preview` | Preview your build locally, before deploying | -| `bun astro ...` | Run CLI commands like `astro add`, `astro check` | -| `bun astro -- --help` | Get help using the Astro CLI | - -## 👀 Want to learn more? - -Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). +The public facing Slate website uses Astro + Svelte + Slate Design 1.