-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build: use bun * build: replace SvelteKit with Astro
- Loading branch information
Showing
31 changed files
with
18,203 additions
and
1,688 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
.DS_Store | ||
.svelte-kit | ||
build-info.json | ||
lib | ||
node_modules | ||
build | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,19 +19,17 @@ git remote add upstream [email protected]:carbon-design-system/carbon-icons-svelte. | |
git remote -v | ||
``` | ||
|
||
Install the project dependencies: | ||
## Prerequisites | ||
|
||
```bash | ||
yarn install | ||
``` | ||
This repo uses `bun`. See the docs for [installation instructions](https://bun.sh/docs/installation). | ||
|
||
## Workflow | ||
|
||
### Building | ||
|
||
Icons are generated using `vitest` as a test runner. | ||
Icons are generated using `bun` as a test runner. | ||
|
||
Run `yarn prepack` to build the library. Icons should be emitted to the `lib` folder and tests should pass. | ||
Run `bun prepack` to build the library. Icons should be emitted to the `lib` folder and tests should pass. | ||
|
||
## Submitting a Pull Request | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import svelte from "@astrojs/svelte"; | ||
import { defineConfig } from "astro/config"; | ||
|
||
export default defineConfig({ | ||
integrations: [svelte()], | ||
}); |
Oops, something went wrong.