From 132d9444789a696b55d7d502c16d473f792cc6b3 Mon Sep 17 00:00:00 2001 From: Hunter Johnston Date: Tue, 12 Mar 2024 12:12:54 -0400 Subject: [PATCH] withRunes -> runed --- .changeset/config.json | 2 +- .gitignore | 2 +- README.md | 22 ++++++------ package.json | 7 ++-- packages/{withrunes => runed}/.eslintignore | 0 packages/{withrunes => runed}/.eslintrc.cjs | 0 packages/{withrunes => runed}/.gitignore | 0 packages/{withrunes => runed}/.npmrc | 0 packages/{withrunes => runed}/.prettierignore | 0 packages/{withrunes => runed}/.prettierrc | 0 packages/{withrunes => runed}/CHANGELOG.md | 4 +-- packages/{withrunes => runed}/LICENSE | 0 packages/runed/README.md | 34 +++++++++++++++++++ packages/{withrunes => runed}/package.json | 11 +++--- .../{withrunes => runed}/playwright.config.ts | 0 packages/{withrunes => runed}/pnpm-lock.yaml | 0 .../{withrunes => runed}/postcss.config.cjs | 0 packages/{withrunes => runed}/src/app.d.ts | 0 packages/{withrunes => runed}/src/app.html | 0 packages/{withrunes => runed}/src/app.pcss | 0 .../{withrunes => runed}/src/index.test.ts | 0 .../src/lib/functions/index.ts | 0 .../src/lib/functions/withDebounce.svelte.ts | 0 .../lib/functions/withElementSize.svelte.ts | 0 .../{withrunes => runed}/src/lib/index.ts | 0 .../src/lib/internal/types.ts | 0 .../src/lib/internal/utils/boxed.svelte.ts | 0 .../src/lib/internal/utils/is.ts | 0 .../{withrunes => runed}/svelte.config.js | 0 .../{withrunes => runed}/tailwind.config.cjs | 0 packages/{withrunes => runed}/tests/test.ts | 0 packages/{withrunes => runed}/tsconfig.json | 3 +- packages/{withrunes => runed}/vite.config.ts | 0 packages/withrunes/README.md | 34 ------------------- pnpm-lock.yaml | 12 ++++--- sites/docs/CHANGELOG.md | 29 ---------------- sites/docs/README.md | 2 +- sites/docs/content/functions/with-debounce.md | 2 +- .../content/functions/with-element-size.md | 2 +- sites/docs/content/getting-started.md | 8 ++--- sites/docs/content/index.md | 4 +-- sites/docs/package.json | 8 ++--- .../lib/components/demos/with-debounce.svelte | 2 +- .../components/demos/with-element-size.svelte | 2 +- .../layout/navbar/navbar-logo.svelte | 2 +- sites/docs/src/lib/components/logos/index.ts | 4 +-- ...ithrunes-dark.svelte => runed-dark.svelte} | 0 ...hrunes-light.svelte => runed-light.svelte} | 0 sites/docs/src/lib/config/navigation.ts | 2 +- sites/docs/src/lib/config/site.ts | 14 ++++---- .../src/routes/docs/[...slug]/+page.server.ts | 2 +- 51 files changed, 96 insertions(+), 118 deletions(-) rename packages/{withrunes => runed}/.eslintignore (100%) rename packages/{withrunes => runed}/.eslintrc.cjs (100%) rename packages/{withrunes => runed}/.gitignore (100%) rename packages/{withrunes => runed}/.npmrc (100%) rename packages/{withrunes => runed}/.prettierignore (100%) rename packages/{withrunes => runed}/.prettierrc (100%) rename packages/{withrunes => runed}/CHANGELOG.md (64%) rename packages/{withrunes => runed}/LICENSE (100%) create mode 100644 packages/runed/README.md rename packages/{withrunes => runed}/package.json (91%) rename packages/{withrunes => runed}/playwright.config.ts (100%) rename packages/{withrunes => runed}/pnpm-lock.yaml (100%) rename packages/{withrunes => runed}/postcss.config.cjs (100%) rename packages/{withrunes => runed}/src/app.d.ts (100%) rename packages/{withrunes => runed}/src/app.html (100%) rename packages/{withrunes => runed}/src/app.pcss (100%) rename packages/{withrunes => runed}/src/index.test.ts (100%) rename packages/{withrunes => runed}/src/lib/functions/index.ts (100%) rename packages/{withrunes => runed}/src/lib/functions/withDebounce.svelte.ts (100%) rename packages/{withrunes => runed}/src/lib/functions/withElementSize.svelte.ts (100%) rename packages/{withrunes => runed}/src/lib/index.ts (100%) rename packages/{withrunes => runed}/src/lib/internal/types.ts (100%) rename packages/{withrunes => runed}/src/lib/internal/utils/boxed.svelte.ts (100%) rename packages/{withrunes => runed}/src/lib/internal/utils/is.ts (100%) rename packages/{withrunes => runed}/svelte.config.js (100%) rename packages/{withrunes => runed}/tailwind.config.cjs (100%) rename packages/{withrunes => runed}/tests/test.ts (100%) rename packages/{withrunes => runed}/tsconfig.json (81%) rename packages/{withrunes => runed}/vite.config.ts (100%) delete mode 100644 packages/withrunes/README.md delete mode 100644 sites/docs/CHANGELOG.md rename sites/docs/src/lib/components/logos/{withrunes-dark.svelte => runed-dark.svelte} (100%) rename sites/docs/src/lib/components/logos/{withrunes-light.svelte => runed-light.svelte} (100%) diff --git a/.changeset/config.json b/.changeset/config.json index 602a9560..a2d63ba3 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -2,7 +2,7 @@ "$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json", "changelog": [ "@svitejs/changesets-changelog-github-compact", - { "repo": "svecosystem/withrunes" } + { "repo": "svecosystem/runed" } ], "commit": false, "fixed": [], diff --git a/.gitignore b/.gitignore index 2294906e..79319cd5 100644 --- a/.gitignore +++ b/.gitignore @@ -75,4 +75,4 @@ web_modules/ .env.local sites/docs/.vercel -packages/withrunes/doc +packages/runed/doc diff --git a/README.md b/README.md index 797c2428..08fb7e71 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ -# WithRunes +# Runed - + -[![npm version](https://flat.badgen.net/npm/v/withrunes?color=green)](https://npmjs.com/package/withrunes) -[![npm downloads](https://flat.badgen.net/npm/dm/withrunes?color=green)](https://npmjs.com/package/withrunes) -[![license](https://flat.badgen.net/github/license/svecosystem/withrunes?color=green)](https://github.com/svecosystem/withrunes/blob/main/LICENSE) +[![npm version](https://flat.badgen.net/npm/v/runed?color=green)](https://npmjs.com/package/runed) +[![npm downloads](https://flat.badgen.net/npm/dm/runed?color=green)](https://npmjs.com/package/runed) +[![license](https://flat.badgen.net/github/license/svecosystem/runed?color=green)](https://github.com/svecosystem/runed/blob/main/LICENSE) -WithRunes provides utilities to power your applications using the magic of [Svelte Runes](https://svelte.dev/blog/runes). +Runed provides utilities to power your applications using the magic of [Svelte Runes](https://svelte.dev/blog/runes). ## Features @@ -17,7 +17,7 @@ WithRunes provides utilities to power your applications using the magic of [Svel ## Installation ```bash -npm install withrunes +npm install runed ``` ## Sponsors @@ -34,11 +34,11 @@ This project is supported by the following beautiful people/organizations: -Published under the [MIT](https://github.com/svecosystem/withrunes/blob/main/LICENSE) license. -Made by [@TGlide](https://github.com/tglide), [@huntabyte](https://github.com/huntabyte) and [community](https://github.com/svecosystem/withrunes/graphs/contributors) 💛 +Published under the [MIT](https://github.com/svecosystem/runed/blob/main/LICENSE) license. +Made by [@TGlide](https://github.com/tglide), [@huntabyte](https://github.com/huntabyte) and [community](https://github.com/svecosystem/runed/graphs/contributors) 💛

- - + + diff --git a/package.json b/package.json index 24941aee..d121b1cf 100644 --- a/package.json +++ b/package.json @@ -2,20 +2,21 @@ "name": "root", "private": true, "version": "0.0.0", - "description": "Monorepo for WithRunes.", + "description": "Monorepo for Runed.", "contributors": [ { "name": "Thomas G. Lopes", "url": "https://thomasglopes.com" }, { - "name": "Hunter Johnston" + "name": "Hunter Johnston", + "url": "https://x.com/huntabyte" } ], "main": "index.js", "repository": { "type": "git", - "url": "https://github.com/svecosystem/withrunes" + "url": "https://github.com/svecosystem/runed" }, "scripts": { "test": "pnpm -r test", diff --git a/packages/withrunes/.eslintignore b/packages/runed/.eslintignore similarity index 100% rename from packages/withrunes/.eslintignore rename to packages/runed/.eslintignore diff --git a/packages/withrunes/.eslintrc.cjs b/packages/runed/.eslintrc.cjs similarity index 100% rename from packages/withrunes/.eslintrc.cjs rename to packages/runed/.eslintrc.cjs diff --git a/packages/withrunes/.gitignore b/packages/runed/.gitignore similarity index 100% rename from packages/withrunes/.gitignore rename to packages/runed/.gitignore diff --git a/packages/withrunes/.npmrc b/packages/runed/.npmrc similarity index 100% rename from packages/withrunes/.npmrc rename to packages/runed/.npmrc diff --git a/packages/withrunes/.prettierignore b/packages/runed/.prettierignore similarity index 100% rename from packages/withrunes/.prettierignore rename to packages/runed/.prettierignore diff --git a/packages/withrunes/.prettierrc b/packages/runed/.prettierrc similarity index 100% rename from packages/withrunes/.prettierrc rename to packages/runed/.prettierrc diff --git a/packages/withrunes/CHANGELOG.md b/packages/runed/CHANGELOG.md similarity index 64% rename from packages/withrunes/CHANGELOG.md rename to packages/runed/CHANGELOG.md index 9d30569f..b7010062 100644 --- a/packages/withrunes/CHANGELOG.md +++ b/packages/runed/CHANGELOG.md @@ -1,7 +1,7 @@ -# withrunes +# runed ## 0.0.1 ### Patch Changes -- Initial release, including `withDebounce` and `withElementSize` ([`dd5815315c353d79f9481d54b9fdcbcab308aaeb`](https://github.com/svecosystem/withrunes/commit/dd5815315c353d79f9481d54b9fdcbcab308aaeb)) +- Initial release, including `withDebounce` and `withElementSize` ([`dd5815315c353d79f9481d54b9fdcbcab308aaeb`](https://github.com/svecosystem/runed/commit/dd5815315c353d79f9481d54b9fdcbcab308aaeb)) diff --git a/packages/withrunes/LICENSE b/packages/runed/LICENSE similarity index 100% rename from packages/withrunes/LICENSE rename to packages/runed/LICENSE diff --git a/packages/runed/README.md b/packages/runed/README.md new file mode 100644 index 00000000..4eb197d3 --- /dev/null +++ b/packages/runed/README.md @@ -0,0 +1,34 @@ +# Runed + + + +[![npm version](https://flat.badgen.net/npm/v/runed?color=green)](https://npmjs.com/package/runed) +[![npm downloads](https://flat.badgen.net/npm/dm/runed?color=green)](https://npmjs.com/package/runed) +[![license](https://flat.badgen.net/github/license/svecosystem/runed?color=green)](https://github.com/svecosystem/runed/blob/main/LICENSE) + + + +Runed provides utilities to power your applications using the magic of [Svelte Runes](https://svelte.dev/blog/runes). + +## Features + + + +## Installation + +```bash +npm install runed +``` + +## License + + + +Published under the [MIT](https://github.com/svecosystem/runed/blob/main/LICENSE) license. +Made by [@tglide](https://github.com/tglide), [@huntabyte](https://github.com/huntabyte) and [community](https://github.com/svecosystem/runed/graphs/contributors) 💛 +

+ + + + + diff --git a/packages/withrunes/package.json b/packages/runed/package.json similarity index 91% rename from packages/withrunes/package.json rename to packages/runed/package.json index 77279fb0..e3ef91d1 100644 --- a/packages/withrunes/package.json +++ b/packages/runed/package.json @@ -1,19 +1,20 @@ { - "name": "withrunes", - "version": "0.0.1", + "name": "runed", + "version": "0.0.0", "contributors": [ { "name": "Thomas G. Lopes", "url": "https://thomasglopes.com" }, { - "name": "Hunter Johnston" + "name": "Hunter Johnston", + "url": "https://x.com/huntabyte" } ], "repository": { "type": "git", - "url": "https://github.com/svecosystem/withrunes", - "directory": "packages/withrunes" + "url": "https://github.com/svecosystem/runed", + "directory": "packages/runed" }, "scripts": { "dev": "pnpm watch", diff --git a/packages/withrunes/playwright.config.ts b/packages/runed/playwright.config.ts similarity index 100% rename from packages/withrunes/playwright.config.ts rename to packages/runed/playwright.config.ts diff --git a/packages/withrunes/pnpm-lock.yaml b/packages/runed/pnpm-lock.yaml similarity index 100% rename from packages/withrunes/pnpm-lock.yaml rename to packages/runed/pnpm-lock.yaml diff --git a/packages/withrunes/postcss.config.cjs b/packages/runed/postcss.config.cjs similarity index 100% rename from packages/withrunes/postcss.config.cjs rename to packages/runed/postcss.config.cjs diff --git a/packages/withrunes/src/app.d.ts b/packages/runed/src/app.d.ts similarity index 100% rename from packages/withrunes/src/app.d.ts rename to packages/runed/src/app.d.ts diff --git a/packages/withrunes/src/app.html b/packages/runed/src/app.html similarity index 100% rename from packages/withrunes/src/app.html rename to packages/runed/src/app.html diff --git a/packages/withrunes/src/app.pcss b/packages/runed/src/app.pcss similarity index 100% rename from packages/withrunes/src/app.pcss rename to packages/runed/src/app.pcss diff --git a/packages/withrunes/src/index.test.ts b/packages/runed/src/index.test.ts similarity index 100% rename from packages/withrunes/src/index.test.ts rename to packages/runed/src/index.test.ts diff --git a/packages/withrunes/src/lib/functions/index.ts b/packages/runed/src/lib/functions/index.ts similarity index 100% rename from packages/withrunes/src/lib/functions/index.ts rename to packages/runed/src/lib/functions/index.ts diff --git a/packages/withrunes/src/lib/functions/withDebounce.svelte.ts b/packages/runed/src/lib/functions/withDebounce.svelte.ts similarity index 100% rename from packages/withrunes/src/lib/functions/withDebounce.svelte.ts rename to packages/runed/src/lib/functions/withDebounce.svelte.ts diff --git a/packages/withrunes/src/lib/functions/withElementSize.svelte.ts b/packages/runed/src/lib/functions/withElementSize.svelte.ts similarity index 100% rename from packages/withrunes/src/lib/functions/withElementSize.svelte.ts rename to packages/runed/src/lib/functions/withElementSize.svelte.ts diff --git a/packages/withrunes/src/lib/index.ts b/packages/runed/src/lib/index.ts similarity index 100% rename from packages/withrunes/src/lib/index.ts rename to packages/runed/src/lib/index.ts diff --git a/packages/withrunes/src/lib/internal/types.ts b/packages/runed/src/lib/internal/types.ts similarity index 100% rename from packages/withrunes/src/lib/internal/types.ts rename to packages/runed/src/lib/internal/types.ts diff --git a/packages/withrunes/src/lib/internal/utils/boxed.svelte.ts b/packages/runed/src/lib/internal/utils/boxed.svelte.ts similarity index 100% rename from packages/withrunes/src/lib/internal/utils/boxed.svelte.ts rename to packages/runed/src/lib/internal/utils/boxed.svelte.ts diff --git a/packages/withrunes/src/lib/internal/utils/is.ts b/packages/runed/src/lib/internal/utils/is.ts similarity index 100% rename from packages/withrunes/src/lib/internal/utils/is.ts rename to packages/runed/src/lib/internal/utils/is.ts diff --git a/packages/withrunes/svelte.config.js b/packages/runed/svelte.config.js similarity index 100% rename from packages/withrunes/svelte.config.js rename to packages/runed/svelte.config.js diff --git a/packages/withrunes/tailwind.config.cjs b/packages/runed/tailwind.config.cjs similarity index 100% rename from packages/withrunes/tailwind.config.cjs rename to packages/runed/tailwind.config.cjs diff --git a/packages/withrunes/tests/test.ts b/packages/runed/tests/test.ts similarity index 100% rename from packages/withrunes/tests/test.ts rename to packages/runed/tests/test.ts diff --git a/packages/withrunes/tsconfig.json b/packages/runed/tsconfig.json similarity index 81% rename from packages/withrunes/tsconfig.json rename to packages/runed/tsconfig.json index 6f788f16..ad859c30 100644 --- a/packages/withrunes/tsconfig.json +++ b/packages/runed/tsconfig.json @@ -10,6 +10,7 @@ "sourceMap": true, "strict": true, "module": "NodeNext", - "moduleResolution": "NodeNext" + "moduleResolution": "NodeNext", + "noUncheckedIndexedAccess": true } } diff --git a/packages/withrunes/vite.config.ts b/packages/runed/vite.config.ts similarity index 100% rename from packages/withrunes/vite.config.ts rename to packages/runed/vite.config.ts diff --git a/packages/withrunes/README.md b/packages/withrunes/README.md deleted file mode 100644 index 6c969779..00000000 --- a/packages/withrunes/README.md +++ /dev/null @@ -1,34 +0,0 @@ -# WithRunes - - - -[![npm version](https://flat.badgen.net/npm/v/withrunes?color=green)](https://npmjs.com/package/withrunes) -[![npm downloads](https://flat.badgen.net/npm/dm/withrunes?color=green)](https://npmjs.com/package/withrunes) -[![license](https://flat.badgen.net/github/license/svecosystem/withrunes?color=green)](https://github.com/svecosystem/withrunes/blob/main/LICENSE) - - - -WithRunes provides utilities to power your applications using the magic of [Svelte Runes](https://svelte.dev/blog/runes). - -## Features - - - -## Installation - -```bash -npm install withrunes -``` - -## License - - - -Published under the [MIT](https://github.com/svecosystem/withrunes/blob/main/LICENSE) license. -Made by [@tglide](https://github.com/tglide), [@huntabyte](https://github.com/huntabyte) and [community](https://github.com/svecosystem/withrunes/graphs/contributors) 💛 -

- - - - - diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1893b6a2..b35d42af 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,7 +15,7 @@ importers: specifier: ^1.1.0 version: 1.1.0 - packages/withrunes: + packages/runed: dependencies: nanoid: specifier: ^5.0.4 @@ -111,15 +111,15 @@ importers: rehype-slug: specifier: ^6.0.0 version: 6.0.0 + runed: + specifier: workspace:^ + version: link:../../packages/runed svelte-sonner: specifier: ^0.3.17 version: 0.3.17(svelte@5.0.0-next.75) vaul-svelte: specifier: ^0.2.3 version: 0.2.3(svelte@5.0.0-next.75) - withrunes: - specifier: workspace:^ - version: link:../../packages/withrunes devDependencies: '@sveltejs/adapter-cloudflare': specifier: ^4.1.0 @@ -576,6 +576,10 @@ packages: peerDependencies: '@effect-ts/otel-node': '*' peerDependenciesMeta: + '@effect-ts/core': + optional: true + '@effect-ts/otel': + optional: true '@effect-ts/otel-node': optional: true dependencies: diff --git a/sites/docs/CHANGELOG.md b/sites/docs/CHANGELOG.md deleted file mode 100644 index 12a33d95..00000000 --- a/sites/docs/CHANGELOG.md +++ /dev/null @@ -1,29 +0,0 @@ -# docs - -## 0.0.4 - -### Patch Changes - -- Updated dependencies [[`dd5815315c353d79f9481d54b9fdcbcab308aaeb`](https://github.com/svecosystem/withrunes/commit/dd5815315c353d79f9481d54b9fdcbcab308aaeb)]: - - withrunes@0.0.1 - -## 0.0.3 - -### Patch Changes - -- Updated dependencies [[`e30a0c1df0add8f0f3eb8e25944e9482b274a4fa`](https://github.com/svecosystem/withrunes/commit/e30a0c1df0add8f0f3eb8e25944e9482b274a4fa)]: - - withrunes@0.0.2 - -## 0.0.2 - -### Patch Changes - -- Updated dependencies [[`35e4f87d79c2b8dfd174e2a8ba627ce23cbebc20`](https://github.com/svecosystem/withrunes/commit/35e4f87d79c2b8dfd174e2a8ba627ce23cbebc20)]: - - withrunes@0.0.1 - -## 0.0.1 - -### Patch Changes - -- Updated dependencies [[`790f8d4c55d21826b873f185080b110c7dc7121a`](https://github.com/huntabyte/formsnap/commit/790f8d4c55d21826b873f185080b110c7dc7121a)]: - - formsnap@0.5.0 diff --git a/sites/docs/README.md b/sites/docs/README.md index 39a72958..bfa343ea 100644 --- a/sites/docs/README.md +++ b/sites/docs/README.md @@ -1 +1 @@ -# WithRunes Documentation +# Runed Documentation diff --git a/sites/docs/content/functions/with-debounce.md b/sites/docs/content/functions/with-debounce.md index 45851136..1ca704bf 100644 --- a/sites/docs/content/functions/with-debounce.md +++ b/sites/docs/content/functions/with-debounce.md @@ -15,7 +15,7 @@ import { WithDebounceDemo } from '$lib/components/demos'; ```svelte -WithRunes provides utilities to power your applications using the magic of [Svelte Runes](https://svelte.dev/blog/runes). +Runed provides utilities to power your applications using the magic of [Svelte Runes](https://svelte.dev/blog/runes). Here are some tools that are provided: @@ -17,4 +17,4 @@ Here are some tools that are provided: ## Next Steps -Start using WithRunes in your Svelte app by following the [Getting Started](/docs/getting-started) guide. If you have any questions or need help, feel free to ask in the [Discord](https://discord.gg/hbAGu6akVy)! +Start using Runed in your Svelte app by following the [Getting Started](/docs/getting-started) guide. If you have any questions or need help, feel free to ask in the [Discord](https://discord.gg/hbAGu6akVy)! diff --git a/sites/docs/package.json b/sites/docs/package.json index d65252df..eb09561d 100644 --- a/sites/docs/package.json +++ b/sites/docs/package.json @@ -1,7 +1,7 @@ { "name": "docs", - "description": "Docs for WithRunes", - "version": "0.0.4", + "description": "Docs for Runed", + "version": "0.0.0", "private": true, "scripts": { "dev": "concurrently \"pnpm:dev:content\" \"pnpm:dev:svelte\"", @@ -31,7 +31,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/svecosystem/withrunes.git" + "url": "https://github.com/svecosystem/runed.git" }, "devDependencies": { "@sveltejs/adapter-cloudflare": "^4.1.0", @@ -79,7 +79,7 @@ "@melt-ui/svelte": "^0.74.0", "bits-ui": "^0.18.1", "mode-watcher": "^0.2.1", - "withrunes": "workspace:^", + "runed": "workspace:^", "rehype-slug": "^6.0.0", "svelte-sonner": "^0.3.17", "vaul-svelte": "^0.2.3" diff --git a/sites/docs/src/lib/components/demos/with-debounce.svelte b/sites/docs/src/lib/components/demos/with-debounce.svelte index ca84dd6f..fc609d3e 100644 --- a/sites/docs/src/lib/components/demos/with-debounce.svelte +++ b/sites/docs/src/lib/components/demos/with-debounce.svelte @@ -1,5 +1,5 @@