generated from NativeScript/plugin-seed
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathworkspace-scripts.js
More file actions
77 lines (77 loc) · 2.32 KB
/
workspace-scripts.js
File metadata and controls
77 lines (77 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
module.exports = {
message: 'NativeScript Plugins ~ made with ❤️ Choose a command to start...',
pageSize: 32,
scripts: {
default: 'nps-i',
nx: {
script: 'nx',
description: 'Execute any command with the @nrwl/cli',
},
format: {
script: 'nx format:write',
description: 'Format source code of the entire workspace (auto-run on precommit hook)',
},
'🔧': {
script: `npx cowsay "NativeScript plugin demos make developers 😊"`,
description: '_____________ Apps to demo plugins with _____________',
},
// demos
apps: {
'...Vanilla...': {
script: `npx cowsay "Nothing wrong with vanilla 🍦"`,
description: ` 🔻 Vanilla`,
},
'demo-solid': {
clean: {
script: 'nx clean demo-solid',
description: '⚆ Clean 🧹',
},
ios: {
script: 'nx debug demo-solid ios',
description: '⚆ Run iOS ',
},
android: {
script: 'nx debug demo-solid android',
description: '⚆ Run Android 🤖',
},
},
},
'⚙️': {
script: `npx cowsay "@nativescript/* packages will keep your ⚙️ cranking"`,
description: '_____________ @nativescript/* _____________',
},
// packages
// build output is always in dist/packages
'@nativescript': {
// @nativescript/tanstack-router
'tanstack-router': {
build: {
script: 'nx run tanstack-router:build.all',
description: '@nativescript/tanstack-router: Build',
},
},
'build-all': {
script: 'nx run-many --target=build.all --all',
description: 'Build all packages',
},
},
'⚡': {
script: `npx cowsay "Focus only on source you care about for efficiency ⚡"`,
description: '_____________ Focus (VS Code supported) _____________',
},
focus: {
'tanstack-router': {
script: 'nx run tanstack-router:focus',
description: 'Focus on @nativescript/tanstack-router',
},
reset: {
script: 'nx g @nativescript/plugin-tools:focus-packages',
description: 'Reset Focus',
},
},
'.....................': {
script: `npx cowsay "That's all for now folks ~"`,
description: '.....................',
},
},
};