Skip to content

Commit 85b1077

Browse files
author
farfromrefug
committed
chore: preparing community package
1 parent a355a78 commit 85b1077

10 files changed

+3211
-36
lines changed

.yarnrc.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
compressionLevel: mixed

CHANGELOG.md

+27-27
Original file line numberDiff line numberDiff line change
@@ -2,59 +2,59 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5-
### [1.0.29](https://github.com/halfnelson/svelte-native/compare/v1.0.28...v1.0.29) (2024-11-07)
5+
### [1.0.29](https://github.com/nativescript-community/svelte-native/compare/v1.0.28...v1.0.29) (2024-11-07)
66

77

88
### Bug Fixes
99

10-
* potential error while using `goBack` ([33eebc8](https://github.com/halfnelson/svelte-native/commit/33eebc8b0d2c699c5b7ad5acf69eec3cbf7fb697))
10+
* potential error while using `goBack` ([33eebc8](https://github.com/nativescript-community/svelte-native/commit/33eebc8b0d2c699c5b7ad5acf69eec3cbf7fb697))
1111

12-
### [1.0.28](https://github.com/halfnelson/svelte-native/compare/v1.0.27...v1.0.28) (2024-10-16)
12+
### [1.0.28](https://github.com/nativescript-community/svelte-native/compare/v1.0.27...v1.0.28) (2024-10-16)
1313

1414

1515
### Bug Fixes
1616

17-
* allow to extend `IntrinsicElements` ([45978dd](https://github.com/halfnelson/svelte-native/commit/45978ddfc0d0072081cbbc8f40c9e9e00073dac9))
18-
* expose `AsComponent` for custom Template classes ([c72688c](https://github.com/halfnelson/svelte-native/commit/c72688cf0130f8ba5c05e0a175ec53f78f927517))
19-
* expose ios / android components (wrapping #if __ANDROID__/__IOS__) ([acc7289](https://github.com/halfnelson/svelte-native/commit/acc72899471ad3760c05e4bb98138e678ebc971a))
17+
* allow to extend `IntrinsicElements` ([45978dd](https://github.com/nativescript-community/svelte-native/commit/45978ddfc0d0072081cbbc8f40c9e9e00073dac9))
18+
* expose `AsComponent` for custom Template classes ([c72688c](https://github.com/nativescript-community/svelte-native/commit/c72688cf0130f8ba5c05e0a175ec53f78f927517))
19+
* expose ios / android components (wrapping #if __ANDROID__/__IOS__) ([acc7289](https://github.com/nativescript-community/svelte-native/commit/acc72899471ad3760c05e4bb98138e678ebc971a))
2020

21-
### [1.0.27](https://github.com/halfnelson/svelte-native/compare/v1.0.26...v1.0.27) (2024-07-04)
21+
### [1.0.27](https://github.com/nativescript-community/svelte-native/compare/v1.0.26...v1.0.27) (2024-07-04)
2222

2323

2424
### Bug Fixes
2525

26-
* agnostic `resolveComponentElement` and typings to fit all cases ([e642093](https://github.com/halfnelson/svelte-native/commit/e6420938d2f56c4c70b5b8e13261edfd172796bd))
27-
* call `initializeDom` in dom file because some users might not use top level index ([baa0361](https://github.com/halfnelson/svelte-native/commit/baa036136a53dcbf088bd04dc93569559f5a4522))
28-
* use window.document in all cases ([184475d](https://github.com/halfnelson/svelte-native/commit/184475d827bcb20bd7be06be1f7ec38bd5c595b3))
26+
* agnostic `resolveComponentElement` and typings to fit all cases ([e642093](https://github.com/nativescript-community/svelte-native/commit/e6420938d2f56c4c70b5b8e13261edfd172796bd))
27+
* call `initializeDom` in dom file because some users might not use top level index ([baa0361](https://github.com/nativescript-community/svelte-native/commit/baa036136a53dcbf088bd04dc93569559f5a4522))
28+
* use window.document in all cases ([184475d](https://github.com/nativescript-community/svelte-native/commit/184475d827bcb20bd7be06be1f7ec38bd5c595b3))
2929

30-
### [1.0.26](https://github.com/halfnelson/svelte-native/compare/v1.0.25...v1.0.26) (2024-07-02)
30+
### [1.0.26](https://github.com/nativescript-community/svelte-native/compare/v1.0.25...v1.0.26) (2024-07-02)
3131

3232

3333
### Bug Fixes
3434

35-
* missing exports (sorry for the 3 releases back to back ...) ([8269bbd](https://github.com/halfnelson/svelte-native/commit/8269bbd0be853f011a72bf90664ea29d682a4031))
35+
* missing exports (sorry for the 3 releases back to back ...) ([8269bbd](https://github.com/nativescript-community/svelte-native/commit/8269bbd0be853f011a72bf90664ea29d682a4031))
3636

37-
### [1.0.25](https://github.com/halfnelson/svelte-native/compare/v1.0.24...v1.0.25) (2024-07-02)
37+
### [1.0.25](https://github.com/nativescript-community/svelte-native/compare/v1.0.24...v1.0.25) (2024-07-02)
3838

3939

4040
### Bug Fixes
4141

42-
* export navigation util methods like `resolveFrame` and `resolveComponentElement` ([019a835](https://github.com/halfnelson/svelte-native/commit/019a835617f15e21415b19737e9107963c93c6dc))
42+
* export navigation util methods like `resolveFrame` and `resolveComponentElement` ([019a835](https://github.com/nativescript-community/svelte-native/commit/019a835617f15e21415b19737e9107963c93c6dc))
4343

44-
### [1.0.24](https://github.com/halfnelson/svelte-native/compare/v1.0.23...v1.0.24) (2024-07-02)
44+
### [1.0.24](https://github.com/nativescript-community/svelte-native/compare/v1.0.23...v1.0.24) (2024-07-02)
4545

4646

4747
### Bug Fixes
4848

49-
* allow `backStackEntry` to be passed directly to `goBack` ([8e59028](https://github.com/halfnelson/svelte-native/commit/8e590280832934aaf4ff703e865fb9fbc3d94455))
49+
* allow `backStackEntry` to be passed directly to `goBack` ([8e59028](https://github.com/nativescript-community/svelte-native/commit/8e590280832934aaf4ff703e865fb9fbc3d94455))
5050

51-
### [1.0.23](https://github.com/halfnelson/svelte-native/compare/v1.0.21...v1.0.23) (2024-06-26)
51+
### [1.0.23](https://github.com/nativescript-community/svelte-native/compare/v1.0.21...v1.0.23) (2024-06-26)
5252

5353

5454
### Bug Fixes
5555

56-
* dont crash on exit if no root page instance ([7065006](https://github.com/halfnelson/svelte-native/commit/7065006c05ec9141f0e78fcb9608bce4bb503174))
57-
* update peer deps ([0f23241](https://github.com/halfnelson/svelte-native/commit/0f23241888c6ca3fc9a1a802baff367b5c0e4ea0))
56+
* dont crash on exit if no root page instance ([7065006](https://github.com/nativescript-community/svelte-native/commit/7065006c05ec9141f0e78fcb9608bce4bb503174))
57+
* update peer deps ([0f23241](https://github.com/nativescript-community/svelte-native/commit/0f23241888c6ca3fc9a1a802baff367b5c0e4ea0))
5858

5959
## [1.0.22]
6060
- fix: dont crash on exit if no root page instance
@@ -181,7 +181,7 @@ All notable changes to this project will be documented in this file. See [standa
181181
- Resolve [Object object] in listview when using itemTemplateSelector
182182

183183
## [0.8.5]
184-
- Resolve Formatted string reactivity [#166](https://github.com/halfnelson/svelte-native/issues/166)
184+
- Resolve Formatted string reactivity [#166](https://github.com/nativescript-community/svelte-native/issues/166)
185185
- Prevent resolving of log messages when trace is not enabled
186186

187187
## [0.8.4]
@@ -196,14 +196,14 @@ All notable changes to this project will be documented in this file. See [standa
196196
- Fix event bubbling with less monkey patching.
197197

198198
## [0.8.1]
199-
- Fix event bubbling [#124](https://github.com/halfnelson/svelte-native/issues/124)
199+
- Fix event bubbling [#124](https://github.com/nativescript-community/svelte-native/issues/124)
200200

201201

202202
## [0.8.0]
203-
- Fix bug in segmented bar (re)creation closes [#118](https://github.com/halfnelson/svelte-native/issues/118) and [#119](https://github.com/halfnelson/svelte-native/issues/119)
203+
- Fix bug in segmented bar (re)creation closes [#118](https://github.com/nativescript-community/svelte-native/issues/118) and [#119](https://github.com/nativescript-community/svelte-native/issues/119)
204204
- Correctly handle multiple child text nodes
205-
- Added ability to override nativescript tags with your own. Closes [#105](https://github.com/halfnelson/svelte-native/issues/105)
206-
- Swap to @nativescript/core from tns-core-modules. Closes [#103](https://github.com/halfnelson/svelte-native/issues/103)
205+
- Added ability to override nativescript tags with your own. Closes [#105](https://github.com/nativescript-community/svelte-native/issues/105)
206+
- Swap to @nativescript/core from tns-core-modules. Closes [#103](https://github.com/nativescript-community/svelte-native/issues/103)
207207
- Internal logger now skips evaluation of template strings when logging is disabled
208208
- Upgrade to nativescript 6.4
209209
- Upgrade to svelte 3.19.*
@@ -225,7 +225,7 @@ All notable changes to this project will be documented in this file. See [standa
225225

226226
## [0.7.0]
227227
- Support for Nativescript 6.2
228-
- Clear history when frame direct child change causes a navigation, closes [#96](https://github.com/halfnelson/svelte-native/issues/96)
228+
- Clear history when frame direct child change causes a navigation, closes [#96](https://github.com/nativescript-community/svelte-native/issues/96)
229229

230230
## [0.6.1]
231231
- Restored custom TabStrip element implementation to work around [problem with tabstripitem view creation](https://github.com/NativeScript/NativeScript/issues/7608)
@@ -257,10 +257,10 @@ into
257257

258258

259259
## [0.5.3]
260-
- Add support for itemTemplateSelector closes [#86](https://github.com/halfnelson/svelte-native/issues/86)
260+
- Add support for itemTemplateSelector closes [#86](https://github.com/nativescript-community/svelte-native/issues/86)
261261

262262
## [0.5.2]
263-
- Fix frame not found by Id [#82](https://github.com/halfnelson/svelte-native/issues/82)
263+
- Fix frame not found by Id [#82](https://github.com/nativescript-community/svelte-native/issues/82)
264264

265265
## [0.5.1]
266266
- Fix animations when using latest svelte

Readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Svelte-Native includes Svelte specific integrations such as
2222
While Svelte Native is feature complete, there are some items outstanding to bring it to the level of other Nativescript library integrations
2323

2424
- [x] At least 1 emoji in readme.md :+1:
25-
- [ ] More Tests 😳 [#54](https://github.com/halfnelson/svelte-native/issues/54)
25+
- [ ] More Tests 😳 [#54](https://github.com/nativescript-community/svelte-native/issues/54)
2626

2727

2828
## Installation

docs_src/content/blog/2019-03-04-svelte-native-quick-start.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Svelte-Native really is native, so it needs a mobile device to run. The build se
3131

3232
## Create a new Svelte-Native app
3333

34-
The easiest way to get started is to use the [latest template app](https://github.com/halfnelson/svelte-native-template):
34+
The easiest way to get started is to use the [latest template app](https://github.com/nativescript-community/svelte-native-template):
3535

3636
```bash
3737
$ ns create myapp --svelte
@@ -54,6 +54,6 @@ You will need to scan the ascii art QR code using the "Playground" app you insta
5454

5555
## Draw the rest of the owl
5656

57-
You can check out the [Grocery App Example](https://github.com/halfnelson/svelte-native-grocery) for an example of a larger application.
57+
You can check out the [Grocery App Example](https://github.com/nativescript-community/svelte-native-grocery) for an example of a larger application.
5858

5959
Jump into the [Docs](/docs) or follow the [Tutorial](/tutorial) to get started.

docs_src/src/routes/_layout.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<Icon name="message-square"/>
3434
</NavItem>
3535

36-
<NavItem external="https://github.com/halfnelson/svelte-native" title="GitHub Repo">
36+
<NavItem external="https://github.com/nativescript-community/svelte-native" title="GitHub Repo">
3737
<Icon name="github"/>
3838
</NavItem>
3939
</Nav>

docs_src/src/routes/index.svelte

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ ns run android
100100
<div class="examples">
101101

102102

103-
<Example imageUrl="https://raw.githubusercontent.com/halfnelson/svelte-native-grocery/master/nativescript-svelte-grocery.gif">
103+
<Example imageUrl="https://raw.githubusercontent.com/nativescript-community/svelte-native-grocery/master/nativescript-svelte-grocery.gif">
104104
<h2>Svelte Native Grocery</h2>
105105
<p>
106106
Grocery app example. Manage and sync grocery items.
107107

108108
</p>
109-
<a href="https://github.com/halfnelson/svelte-native-grocery" class="github-link">Repository</a>
109+
<a href="https://github.com/nativescript-community/svelte-native-grocery" class="github-link">Repository</a>
110110
</Example>
111111

112112
<Example imageUrl="https://raw.githubusercontent.com/halfnelson/svelte-native-realworld/master/nativescript-svelte-realworld.gif">

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
2-
"name": "svelte-native",
2+
"name": "@nativescript-community/svelte-native",
33
"version": "1.0.29",
44
"description": "Svelte integration for NativeScript",
55
"sideEffects": false,
66
"private": true,
77
"repository": {
88
"type": "git",
9-
"url": "https://github.com/halfnelson/svelte-native.git"
9+
"url": "https://github.com/nativescript-community/svelte-native.git"
1010
},
11-
"homepage": "https://github.com/halfnelson/svelte-native",
11+
"homepage": "https://github.com/nativescript-community/svelte-native",
1212
"keywords": [
1313
"nativescript",
1414
"svelte"

src/components/android.svelte

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{#if __ANDROID__}
2+
<slot />
3+
{/if}

src/components/ios.svelte

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{#if __IOS__}
2+
<slot />
3+
{/if}

0 commit comments

Comments
 (0)