-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathworkspace-scripts.js
More file actions
202 lines (201 loc) · 6.56 KB
/
workspace-scripts.js
File metadata and controls
202 lines (201 loc) · 6.56 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
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 run demo:clean',
description: '⚆ Clean 🧹',
},
ios: {
script: 'nx run demo:ios',
description: '⚆ Run iOS ',
},
android: {
script: 'nx run demo:android',
description: '⚆ Run Android 🤖',
},
},
'...Angular...': {
script: 'npx cowsay "Test all the Angles!"',
description: ' 🔻 Angular',
},
'demo-angular': {
clean: {
script: 'nx run demo-angular:clean',
description: '⚆ Clean 🧹',
},
ios: {
script: 'nx run demo-angular:ios',
description: '⚆ Run iOS ',
},
android: {
script: 'nx run demo-angular:android',
description: '⚆ Run Android 🤖',
},
},
'...React...': {
script: 'npx cowsay "You like your TS with an X..."',
description: ' 🔻 React',
},
'demo-react': {
clean: {
script: 'nx run demo-react:clean',
description: '⚆ Clean 🧹',
},
ios: {
script: 'nx run demo-react:ios',
description: '⚆ Run iOS ',
},
android: {
script: 'nx run demo-react:android',
description: '⚆ Run Android 🤖',
},
},
},
'⚙️': {
script: `npx cowsay "@vallemar/* packages will keep your ⚙️ cranking"`,
description: '_____________ @vallemar/* _____________',
},
// packages
// build output is always in dist/packages
'@nativescript-use': {
// @nativescript-use/vue
vue: {
build: {
script: 'nx run vue:build.all',
description: '@nativescript-use/vue: Build',
},
},
// @vallemar/nativescript-orientation
'nativescript-orientation': {
build: {
script: 'nx run nativescript-orientation:build.all',
description: '@nativescript-use/nativescript-orientation: Build',
},
},
// @vallemar/nativescript-keyboard
'nativescript-keyboard': {
build: {
script: 'nx run nativescript-keyboard:build.all',
description: '@nativescript-use/nativescript-keyboard: Build',
},
},
// @vallemar/nativescript-clipboard
'nativescript-clipboard': {
build: {
script: 'nx run nativescript-clipboard:build.all',
description: '@nativescript-use/nativescript-clipboard: Build',
},
},
// @nativescript-use/nativescript-media-query
'nativescript-media-query': {
build: {
script: 'nx run nativescript-media-query:build.all',
description: '@nativescript-use/nativescript-media-query: Build',
},
},
// @nativescript-use/nativescript-intersection-observer
'nativescript-intersection-observer': {
build: {
script: 'nx run nativescript-intersection-observer:build.all',
description: '@nativescript-use/nativescript-intersection-observer: Build',
},
},
// @nativescript-use/nativescript-task
'nativescript-task': {
build: {
script: 'nx run nativescript-task:build.all',
description: '@nativescript-use/nativescript-task: Build',
},
},
// @nativescript-use/change-icon
'change-icon': {
build: {
script: 'nx run change-icon:build.all',
description: '@nativescript-use/change-icon: Build',
},
},
// @nativescript-use/nativescript-localstorage
'nativescript-localstorage': {
build: {
script: 'nx run nativescript-localstorage:build.all',
description: '@nativescript-use/nativescript-localstorage: 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: {
vue: {
script: 'nx run vue:focus',
description: 'Focus on @nativescript-use/vue',
},
'nativescript-orientation': {
script: 'nx run nativescript-orientation:focus',
description: 'Focus on @nativescript-use/nativescript-orientation',
},
'nativescript-keyboard': {
script: 'nx run nativescript-keyboard:focus',
description: 'Focus on @nativescript-use/nativescript-keyboard',
},
'nativescript-clipboard': {
script: 'nx run nativescript-clipboard:focus',
description: 'Focus on @nativescript-use/nativescript-clipboard',
},
'nativescript-media-query': {
script: 'nx run nativescript-media-query:focus',
description: 'Focus on @nativescript-use/nativescript-media-query',
},
'nativescript-intersection-observer': {
script: 'nx run nativescript-intersection-observer:focus',
description: 'Focus on @nativescript-use/nativescript-intersection-observer',
},
'nativescript-task': {
script: 'nx run nativescript-task:focus',
description: 'Focus on @nativescript-use/nativescript-task',
},
'change-icon': {
script: 'nx run change-icon:focus',
description: 'Focus on @nativescript-use/change-icon',
},
'nativescript-localstorage': {
script: 'nx run nativescript-localstorage:focus',
description: 'Focus on @nativescript-use/nativescript-localstorage',
},
reset: {
script: 'nx g @nativescript-use/plugin-tools:focus-packages',
description: 'Reset Focus',
},
},
'.....................': {
script: `npx cowsay "That's all for now folks ~"`,
description: '.....................',
},
},
};