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" ⚠️-->
2
-
[](#demos-and-development)
3
-
4
-
## Demos and Development
5
-
6
-
7
-
### Repo Setup
8
-
9
-
The repo uses submodules. If you did not clone with ` --recursive` then you need to call
10
-
```
11
-
git submodule update --init
12
-
```
13
-
14
-
The package manager used to install and link dependencies must be `pnpm` or `yarn`. `npm` wont work.
15
-
16
-
To develop and test:
17
-
if you use `yarn` then run `yarn`
18
-
if you use `pnpm` then run `pnpm i`
19
-
20
-
**Interactive Menu:**
21
-
22
-
To start the interactive menu, run `npm start` (or `yarn start` or `pnpm start`). This will list all of the commonly used scripts.
23
-
24
-
### Build
25
-
26
-
```bash
27
-
npm run build.all
28
-
```
29
-
30
-
### Demos
31
-
32
-
```bash
33
-
npm run demo.[ng|react|svelte|vue].[ios|android]
34
-
35
-
npm run demo.svelte.ios # Example
36
-
```
37
-
38
-
39
-
[](#contributing)
40
-
41
-
## Contributing
42
-
43
-
### Update repo
44
-
45
-
You can update the repo files quite easily
46
-
47
-
First update the submodules
48
-
49
-
```bash
50
-
npm run update
51
-
```
52
-
53
-
Then commit the changes
54
-
Then update common files
55
-
56
-
```bash
57
-
npm run sync
58
-
```
59
-
Then you can run `yarn|pnpm`, commit changed files if any
60
-
61
-
### Publish
62
-
63
-
The publishing is completely handled by `lerna` (you can add `-- --bump major` to force a major release)
64
-
Simply run
65
-
```shell
66
-
npm run publish
67
-
```
68
-
<br><br><!-- ⚠️ This README has been generated from the file(s) "blueprint.md" ⚠️-->
1
+
<!-- ⚠️ This README has been generated from the file(s) "blueprint.md" ⚠️--><!-- ⚠️ This README has been generated from the file(s) "blueprint.md" ⚠️-->
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).
391
+
392
+
[](#demos-and-development)
393
+
394
+
## Demos and Development
395
+
396
+
397
+
### Repo Setup
398
+
399
+
The repo uses submodules. If you did not clone with ` --recursive` then you need to call
400
+
```
401
+
git submodule update --init
402
+
```
403
+
404
+
The package manager used to install and link dependencies must be `pnpm` or `yarn`. `npm` wont work.
405
+
406
+
To develop and test:
407
+
if you use `yarn` then run `yarn`
408
+
if you use `pnpm` then run `pnpm i`
409
+
410
+
**Interactive Menu:**
411
+
412
+
To start the interactive menu, run `npm start` (or `yarn start` or `pnpm start`). This will list all of the commonly used scripts.
413
+
414
+
### Build
415
+
416
+
```bash
417
+
npm run build.all
418
+
```
419
+
WARNING: it seems `yarn build.all` wont always work (not finding binaries in `node_modules/.bin`) which is why the doc explicitly uses `npm run`
420
+
421
+
### Demos
422
+
423
+
```bash
424
+
npm run demo.[ng|react|svelte|vue].[ios|android]
425
+
426
+
npm run demo.svelte.ios # Example
427
+
```
428
+
429
+
Demo setup is a bit special in the sense that if you want to modify/add demos you dont work directly in `demo-[ng|react|svelte|vue]`
430
+
Instead you work in `demo-snippets/[ng|react|svelte|vue]`
431
+
You can start from the `install.ts` of each flavor to see how to register new demos
432
+
433
+
434
+
[](#contributing)
435
+
436
+
## Contributing
437
+
438
+
### Update repo
439
+
440
+
You can update the repo files quite easily
441
+
442
+
First update the submodules
443
+
444
+
```bash
445
+
npm run update
446
+
```
447
+
448
+
Then commit the changes
449
+
Then update common files
450
+
451
+
```bash
452
+
npm run sync
453
+
```
454
+
Then you can run `yarn|pnpm`, commit changed files if any
455
+
456
+
### Update readme
457
+
```bash
458
+
npm run readme
459
+
```
460
+
461
+
### Update doc
462
+
```bash
463
+
npm run doc
464
+
```
465
+
466
+
### Publish
467
+
468
+
The publishing is completely handled by `lerna` (you can add `-- --bump major` to force a major release)
469
+
Simply run
470
+
```shell
471
+
npm run publish
472
+
```
473
+
474
+
### modifying submodules
475
+
476
+
The repo uses https:// for submodules which means you won't be able to push directly into the submodules.
477
+
One easy solution is t modify `~/.gitconfig` and add
0 commit comments