You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- ⚠️ This README has been generated from the file(s) "blueprint.md" ⚠️--><!-- ⚠️ This README has been generated from the file(s) "blueprint.md" ⚠️-->
$ cd demo-ng # or demo-vue or demo-svelte or demo-react
280
+
$ ns run ios|android
281
+
```
282
+
283
+
284
+
[](#demos-and-development)
285
+
286
+
287
+
[](#demos-and-development)
288
+
289
+
## Demos and Development
290
+
291
+
292
+
### Repo Setup
293
+
294
+
The repo uses submodules. If you did not clone with ` --recursive` then you need to call
295
+
```
296
+
git submodule update --init
297
+
```
298
+
299
+
The package manager used to install and link dependencies must be `pnpm` or `yarn`. `npm` wont work.
300
+
301
+
To develop and test:
302
+
if you use `yarn` then run `yarn`
303
+
if you use `pnpm` then run `pnpm i`
304
+
305
+
**Interactive Menu:**
306
+
307
+
To start the interactive menu, run `npm start` (or `yarn start` or `pnpm start`). This will list all of the commonly used scripts.
308
+
309
+
### Build
310
+
311
+
```bash
179
312
npm run build.all
180
-
cd demo-ng # or demo-vue or demo-svelte or demo-react
181
-
ns run ios|android # or run `npx nativescript run ios|android` when you do not have nativescript installed globally
182
313
```
314
+
315
+
### Demos
316
+
317
+
```bash
318
+
npm run demo.[ng|react|svelte|vue].[ios|android]
319
+
320
+
npm run demo.svelte.ios # Example
321
+
```
322
+
323
+
324
+
[](#contributing)
325
+
326
+
327
+
[](#contributing)
328
+
329
+
## Contributing
330
+
331
+
### Update repo
332
+
333
+
You can update the repo files quite easily
334
+
335
+
First update the submodules
336
+
337
+
```bash
338
+
npm run update
339
+
```
340
+
341
+
Then commit the changes
342
+
Then update common files
343
+
344
+
```bash
345
+
npm run sync
346
+
```
347
+
Then you can run `yarn|pnpm`, commit changed files if any
348
+
349
+
### Update readme
350
+
```bash
351
+
npm run readme
352
+
```
353
+
354
+
### Update doc
355
+
```bash
356
+
npm run doc
357
+
```
358
+
359
+
### Publish
360
+
361
+
The publishing is completely handled by `lerna` (you can add `-- --bump major` to force a major release)
362
+
Simply run
363
+
```shell
364
+
npm run publish
365
+
```
366
+
367
+
368
+
[](#questions)
369
+
370
+
371
+
[](#questions)
372
+
373
+
## Questions
374
+
375
+
If you have any questions/issues/comments please feel free to create an issue or start a conversation in the [NativeScript Community Discord](https://nativescript.org/discord).
0 commit comments