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
95 lines (95 loc) · 2.75 KB
/
workspace-scripts.js
File metadata and controls
95 lines (95 loc) · 2.75 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
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: {
clean: {
script: 'nx clean demo',
description: '⚆ Clean 🧹',
},
ios: {
script: 'nx debug demo ios',
description: '⚆ Run iOS ',
},
android: {
script: 'nx debug demo android',
description: '⚆ Run Android 🤖',
},
},
'...Angular...': {
script: `npx cowsay "Test all the Angles!"`,
description: ` 🔻 Angular`,
},
'demo-angular': {
clean: {
script: 'nx clean demo-angular',
description: '⚆ Clean 🧹',
},
ios: {
script: 'nx debug demo-angular ios',
description: '⚆ Run iOS ',
},
android: {
script: 'nx debug demo-angular 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/appwrite
appwrite: {
build: {
script: 'nx run appwrite:build.all',
description: '@nativescript/appwrite: 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: {
appwrite: {
script: 'nx run appwrite:focus',
description: 'Focus on @nativescript/appwrite',
},
reset: {
script: 'nx g @nativescript/plugin-tools:focus-packages',
description: 'Reset Focus',
},
},
'.....................': {
script: `npx cowsay "That's all for now folks ~"`,
description: '.....................',
},
},
};