Skip to content

Commit 6880b25

Browse files
committed
Rename to scoped @nanostores/svelte-runes after org adoption
The repo moved to github.com/nanostores/svelte-runes, so restore the scoped package name and point repository at the org. Drop the files allowlist for parity with sibling org repos (react/preact), which rely on .npmignore plus the clean-npm-project release action.
1 parent 56f548f commit 6880b25

3 files changed

Lines changed: 10 additions & 14 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ stores.
1919

2020
```svelte
2121
<script>
22-
import { useStore } from 'nanostores-svelte-runes'
22+
import { useStore } from '@nanostores/svelte-runes'
2323
2424
import { profile } from '../stores/profile.js'
2525
@@ -34,15 +34,15 @@ stores.
3434

3535
---
3636

37-
<img src="https://cdn.evilmartians.com/badges/logo-no-label.svg" alt="" width="22" height="16" /> Made at <b><a href="https://evilmartians.com/devtools?utm_source=nanostores-svelte&utm_campaign=devtools-button&utm_medium=github">Evil Martians</a></b>, product consulting for <b>developer tools</b>.
37+
<img src="https://cdn.evilmartians.com/badges/logo-no-label.svg" alt="" width="22" height="16" /> Made at <b><a href="https://evilmartians.com/devtools?utm_source=nanostores-svelte-runes&utm_campaign=devtools-button&utm_medium=github">Evil Martians</a></b>, product consulting for <b>developer tools</b>.
3838

3939
---
4040

4141

4242
## Install
4343

4444
```sh
45-
npm install nanostores nanostores-svelte-runes
45+
npm install nanostores @nanostores/svelte-runes
4646
```
4747

4848
Requires Svelte `>=5.7.0` (when [`createSubscriber`] was added).
@@ -56,7 +56,7 @@ value. As long as you read `.current` inside a reactive context — markup,
5656

5757
```svelte
5858
<script>
59-
import { useStore } from 'nanostores-svelte-runes'
59+
import { useStore } from '@nanostores/svelte-runes'
6060
6161
import { router } from '../stores/router.js'
6262
@@ -75,7 +75,7 @@ from any other rune:
7575

7676
```svelte
7777
<script>
78-
import { useStore } from 'nanostores-svelte-runes'
78+
import { useStore } from '@nanostores/svelte-runes'
7979
8080
import { profile } from '../stores/profile.js'
8181
@@ -118,7 +118,7 @@ export let profile = atom({ name: 'Anna' })
118118

119119
```svelte
120120
<script>
121-
import { useStore } from 'nanostores-svelte-runes'
121+
import { useStore } from '@nanostores/svelte-runes'
122122
123123
import { $profile as profile } from '../stores/profile.js'
124124
@@ -137,7 +137,7 @@ For [`map`](https://github.com/nanostores/nanostores#maps) and
137137

138138
```svelte
139139
<script>
140-
import { useStore } from 'nanostores-svelte-runes'
140+
import { useStore } from '@nanostores/svelte-runes'
141141
142142
import { settings } from '../stores/settings.js'
143143

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface UseStoreOptions<SomeStore> {
2020
*
2121
* ```svelte
2222
* <script>
23-
* import { useStore } from 'nanostores-svelte-runes'
23+
* import { useStore } from '@nanostores/svelte-runes'
2424
*
2525
* import { profile } from '../stores/profile.js'
2626
*

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "nanostores-svelte-runes",
2+
"name": "@nanostores/svelte-runes",
33
"version": "1.0.0",
44
"description": "Svelte 5 runes integration for Nano Stores, a tiny state manager with many atomic tree-shakable stores",
55
"keywords": [
@@ -11,7 +11,7 @@
1111
],
1212
"license": "MIT",
1313
"author": "Firat Ciftci <2052855+firatciftci@users.noreply.github.com>",
14-
"repository": "firatciftci/nanostores-svelte-runes",
14+
"repository": "nanostores/svelte-runes",
1515
"funding": [
1616
{
1717
"type": "github",
@@ -22,10 +22,6 @@
2222
"sideEffects": false,
2323
"types": "./index.d.ts",
2424
"svelte": "./index.js",
25-
"files": [
26-
"index.js",
27-
"index.d.ts"
28-
],
2925
"exports": {
3026
".": {
3127
"types": "./index.d.ts",

0 commit comments

Comments
 (0)