Skip to content

Commit

Permalink
Merge pull request #150 from huntabyte/refactor/to-melt
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte authored Aug 19, 2023
2 parents d0d2a0d + ff4df5c commit 43d7415
Show file tree
Hide file tree
Showing 907 changed files with 30,641 additions and 6,621 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilled-years-collect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"shadcn-svelte": minor
---

Refactored to use the new registry system
58 changes: 0 additions & 58 deletions .github/workflows/build-components.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ web_modules/
.pnp.*
packages/cli/dist
dist/
dist
dist
6 changes: 5 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@ pnpm-lock.yaml
package-lock.json
yarn.lock

apps/www/src/routes/api/components/components.json
apps/www/src/routes/api/components/components.json
apps/www/static
apps/www/__registry__/index.js
apps/www/other/themes/dark.json
apps/www/other/themes/light.json
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"useTabs": true,
"singleQuote": false,
"trailingComma": "none",
"printWidth": 80,
"endOfLine": "lf",
"bracketSameLine": false
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img align="center" src="https://raw.githubusercontent.com/huntabyte/shadcn-svelte/main/apps/www/static/logo.svg" height="96" />
<img align="center" src="https://raw.githubusercontent.com/huntabyte/shadcn-svelte/main/apps/www/static/android-chrome-192x192.png" height="96" />
<h1 align="center">
shadcn-svelte
</h1>
Expand Down
19 changes: 18 additions & 1 deletion apps/www/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ module.exports = {
es2017: true,
node: true
},
globals: { $$Generic: "readable" },

globals: { $$Generic: "readable", _: "writable" },
overrides: [
{
files: ["*.svelte"],
Expand All @@ -30,11 +31,27 @@ module.exports = {
"@typescript-eslint/no-unused-vars": [
"warn",
{
argsIgnorePattern: "^_",
varsIgnorePattern:
"^\\$\\$(Props|Events|Slots|Generic)$"
}
]
}
},
{
files: ["*.ts"],
parser: "@typescript-eslint/parser",
rules: {
"@typescript-eslint/ban-types": [
"error",
{
extendDefaults: true,
types: {
"{}": false
}
}
]
}
}
]
};
6 changes: 5 additions & 1 deletion apps/www/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ yarn.lock
apps/www/src/routes/api/components/components.json
src/routes/api/components/components.json
static/site.webmanifest
.vercel
.vercel
static
__registry__/index.js
other/themes/dark.json
other/themes/light.json
1 change: 0 additions & 1 deletion apps/www/.prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"useTabs": true,
"tabWidth": 4,
"singleQuote": false,
"trailingComma": "none",
"printWidth": 80,
Expand Down
File renamed without changes.
Loading

1 comment on commit 43d7415

@vercel
Copy link

@vercel vercel bot commented on 43d7415 Aug 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.