create-projx 1.6.2 → 1.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/{baseline-KTCFW2FK.js → baseline-RXPDDEDD.js} +2 -6
- package/dist/{chunk-LTIJPVRZ.js → chunk-LYPPFXGK.js} +123 -34
- package/dist/{chunk-D33FXCNT.js → chunk-OBYYB6PR.js} +289 -150
- package/dist/index.js +708 -172
- package/dist/{utils-VY5BBJBQ.js → utils-BXHJP6HF.js} +1 -1
- package/package.json +1 -1
- package/src/templates/ci.yml.ejs +63 -63
- package/src/templates/pre-commit.ejs +52 -52
- package/src/templates/setup.sh.ejs +16 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-projx",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.3",
|
|
4
4
|
"description": "Scaffold production-grade fullstack projects in seconds. FastAPI, Fastify, React, Flutter, Terraform — with auth, database, CI/CD, E2E tests, and Docker. One command, ready to deploy.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/src/templates/ci.yml.ejs
CHANGED
|
@@ -13,23 +13,23 @@ jobs:
|
|
|
13
13
|
permissions:
|
|
14
14
|
pull-requests: read
|
|
15
15
|
outputs:
|
|
16
|
-
<%
|
|
17
|
-
<%=
|
|
16
|
+
<% for (const inst of fastapiInstances) { %>
|
|
17
|
+
<%= inst.path %>: ${{ steps.filter.outputs.<%= inst.path %> }}
|
|
18
18
|
<% } %>
|
|
19
|
-
<%
|
|
20
|
-
<%=
|
|
19
|
+
<% for (const inst of fastifyInstances) { %>
|
|
20
|
+
<%= inst.path %>: ${{ steps.filter.outputs.<%= inst.path %> }}
|
|
21
21
|
<% } %>
|
|
22
|
-
<%
|
|
23
|
-
<%=
|
|
22
|
+
<% for (const inst of frontendInstances) { %>
|
|
23
|
+
<%= inst.path %>: ${{ steps.filter.outputs.<%= inst.path %> }}
|
|
24
24
|
<% } %>
|
|
25
|
-
<%
|
|
26
|
-
<%=
|
|
25
|
+
<% for (const inst of mobileInstances) { %>
|
|
26
|
+
<%= inst.path %>: ${{ steps.filter.outputs.<%= inst.path %> }}
|
|
27
27
|
<% } %>
|
|
28
|
-
<%
|
|
29
|
-
<%=
|
|
28
|
+
<% for (const inst of e2eInstances) { %>
|
|
29
|
+
<%= inst.path %>: ${{ steps.filter.outputs.<%= inst.path %> }}
|
|
30
30
|
<% } %>
|
|
31
|
-
<%
|
|
32
|
-
<%=
|
|
31
|
+
<% for (const inst of infraInstances) { %>
|
|
32
|
+
<%= inst.path %>: ${{ steps.filter.outputs.<%= inst.path %> }}
|
|
33
33
|
<% } %>
|
|
34
34
|
steps:
|
|
35
35
|
- uses: actions/checkout@v5
|
|
@@ -37,29 +37,29 @@ jobs:
|
|
|
37
37
|
id: filter
|
|
38
38
|
with:
|
|
39
39
|
filters: |
|
|
40
|
-
<%
|
|
41
|
-
<%=
|
|
42
|
-
- '<%=
|
|
40
|
+
<% for (const inst of fastapiInstances) { %>
|
|
41
|
+
<%= inst.path %>:
|
|
42
|
+
- '<%= inst.path %>/**'
|
|
43
43
|
<% } %>
|
|
44
|
-
<%
|
|
45
|
-
<%=
|
|
46
|
-
- '<%=
|
|
44
|
+
<% for (const inst of fastifyInstances) { %>
|
|
45
|
+
<%= inst.path %>:
|
|
46
|
+
- '<%= inst.path %>/**'
|
|
47
47
|
<% } %>
|
|
48
|
-
<%
|
|
49
|
-
<%=
|
|
50
|
-
- '<%=
|
|
48
|
+
<% for (const inst of frontendInstances) { %>
|
|
49
|
+
<%= inst.path %>:
|
|
50
|
+
- '<%= inst.path %>/**'
|
|
51
51
|
<% } %>
|
|
52
|
-
<%
|
|
53
|
-
<%=
|
|
54
|
-
- '<%=
|
|
52
|
+
<% for (const inst of mobileInstances) { %>
|
|
53
|
+
<%= inst.path %>:
|
|
54
|
+
- '<%= inst.path %>/**'
|
|
55
55
|
<% } %>
|
|
56
|
-
<%
|
|
57
|
-
<%=
|
|
58
|
-
- '<%=
|
|
56
|
+
<% for (const inst of e2eInstances) { %>
|
|
57
|
+
<%= inst.path %>:
|
|
58
|
+
- '<%= inst.path %>/**'
|
|
59
59
|
<% } %>
|
|
60
|
-
<%
|
|
61
|
-
<%=
|
|
62
|
-
- '<%=
|
|
60
|
+
<% for (const inst of infraInstances) { %>
|
|
61
|
+
<%= inst.path %>:
|
|
62
|
+
- '<%= inst.path %>/**'
|
|
63
63
|
<% } %>
|
|
64
64
|
|
|
65
65
|
secrets:
|
|
@@ -72,16 +72,16 @@ jobs:
|
|
|
72
72
|
- uses: gitleaks/gitleaks-action@v2
|
|
73
73
|
env:
|
|
74
74
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
75
|
-
<%
|
|
75
|
+
<% for (const inst of fastapiInstances) { %>
|
|
76
76
|
|
|
77
|
-
<%=
|
|
78
|
-
name: <%=
|
|
77
|
+
<%= inst.path %>:
|
|
78
|
+
name: <%= inst.display %> (format + lint + typecheck + test + audit)
|
|
79
79
|
needs: changes
|
|
80
|
-
if: needs.changes.outputs.<%=
|
|
80
|
+
if: needs.changes.outputs.<%= inst.path %> == 'true'
|
|
81
81
|
runs-on: ubuntu-latest
|
|
82
82
|
defaults:
|
|
83
83
|
run:
|
|
84
|
-
working-directory: <%=
|
|
84
|
+
working-directory: <%= inst.path %>
|
|
85
85
|
steps:
|
|
86
86
|
- uses: actions/checkout@v5
|
|
87
87
|
- uses: astral-sh/setup-uv@v4
|
|
@@ -92,16 +92,16 @@ jobs:
|
|
|
92
92
|
- run: uv run pytest
|
|
93
93
|
- run: uv run pip-audit
|
|
94
94
|
<% } %>
|
|
95
|
-
<%
|
|
95
|
+
<% for (const inst of fastifyInstances) { %>
|
|
96
96
|
|
|
97
|
-
<%=
|
|
98
|
-
name: <%=
|
|
97
|
+
<%= inst.path %>:
|
|
98
|
+
name: <%= inst.display %> (format + lint + typecheck + audit)
|
|
99
99
|
needs: changes
|
|
100
|
-
if: needs.changes.outputs.<%=
|
|
100
|
+
if: needs.changes.outputs.<%= inst.path %> == 'true'
|
|
101
101
|
runs-on: ubuntu-latest
|
|
102
102
|
defaults:
|
|
103
103
|
run:
|
|
104
|
-
working-directory: <%=
|
|
104
|
+
working-directory: <%= inst.path %>
|
|
105
105
|
steps:
|
|
106
106
|
- uses: actions/checkout@v5
|
|
107
107
|
<% if (pm === 'pnpm') { %>
|
|
@@ -117,7 +117,7 @@ jobs:
|
|
|
117
117
|
with:
|
|
118
118
|
node-version: 20
|
|
119
119
|
cache: <%= pm.name %>
|
|
120
|
-
cache-dependency-path: <%=
|
|
120
|
+
cache-dependency-path: <%= inst.path %>/<%= pm.lockfile %>
|
|
121
121
|
<% } %>
|
|
122
122
|
- run: <%= pm.ci %>
|
|
123
123
|
- run: <%= pm.prismaExec %> generate
|
|
@@ -126,16 +126,16 @@ jobs:
|
|
|
126
126
|
- run: <%= pm.exec %> tsc --noEmit
|
|
127
127
|
- run: <%= pm.audit %>
|
|
128
128
|
<% } %>
|
|
129
|
-
<%
|
|
129
|
+
<% for (const inst of frontendInstances) { %>
|
|
130
130
|
|
|
131
|
-
<%=
|
|
132
|
-
name: <%=
|
|
131
|
+
<%= inst.path %>:
|
|
132
|
+
name: <%= inst.display %> (format + lint + typecheck + audit)
|
|
133
133
|
needs: changes
|
|
134
|
-
if: needs.changes.outputs.<%=
|
|
134
|
+
if: needs.changes.outputs.<%= inst.path %> == 'true'
|
|
135
135
|
runs-on: ubuntu-latest
|
|
136
136
|
defaults:
|
|
137
137
|
run:
|
|
138
|
-
working-directory: <%=
|
|
138
|
+
working-directory: <%= inst.path %>
|
|
139
139
|
steps:
|
|
140
140
|
- uses: actions/checkout@v5
|
|
141
141
|
<% if (pm === 'pnpm') { %>
|
|
@@ -151,7 +151,7 @@ jobs:
|
|
|
151
151
|
with:
|
|
152
152
|
node-version: 22
|
|
153
153
|
cache: <%= pm.name %>
|
|
154
|
-
cache-dependency-path: <%=
|
|
154
|
+
cache-dependency-path: <%= inst.path %>/<%= pm.lockfile %>
|
|
155
155
|
<% } %>
|
|
156
156
|
- run: <%= pm.ci %>
|
|
157
157
|
- run: <%= pm.exec %> prettier --check .
|
|
@@ -159,16 +159,16 @@ jobs:
|
|
|
159
159
|
- run: <%= pm.exec %> tsc --noEmit
|
|
160
160
|
- run: <%= pm.audit %>
|
|
161
161
|
<% } %>
|
|
162
|
-
<%
|
|
162
|
+
<% for (const inst of mobileInstances) { %>
|
|
163
163
|
|
|
164
|
-
<%=
|
|
165
|
-
name: <%=
|
|
164
|
+
<%= inst.path %>:
|
|
165
|
+
name: <%= inst.display %> (format + analyze)
|
|
166
166
|
needs: changes
|
|
167
|
-
if: needs.changes.outputs.<%=
|
|
167
|
+
if: needs.changes.outputs.<%= inst.path %> == 'true'
|
|
168
168
|
runs-on: ubuntu-latest
|
|
169
169
|
defaults:
|
|
170
170
|
run:
|
|
171
|
-
working-directory: <%=
|
|
171
|
+
working-directory: <%= inst.path %>
|
|
172
172
|
steps:
|
|
173
173
|
- uses: actions/checkout@v5
|
|
174
174
|
- uses: subosito/flutter-action@v2
|
|
@@ -179,16 +179,16 @@ jobs:
|
|
|
179
179
|
- run: dart format --set-exit-if-changed .
|
|
180
180
|
- run: dart analyze --fatal-infos
|
|
181
181
|
<% } %>
|
|
182
|
-
<%
|
|
182
|
+
<% for (const inst of e2eInstances) { %>
|
|
183
183
|
|
|
184
|
-
<%=
|
|
185
|
-
name: <%=
|
|
184
|
+
<%= inst.path %>:
|
|
185
|
+
name: <%= inst.display %> (format + lint + typecheck + audit)
|
|
186
186
|
needs: changes
|
|
187
|
-
if: needs.changes.outputs.<%=
|
|
187
|
+
if: needs.changes.outputs.<%= inst.path %> == 'true'
|
|
188
188
|
runs-on: ubuntu-latest
|
|
189
189
|
defaults:
|
|
190
190
|
run:
|
|
191
|
-
working-directory: <%=
|
|
191
|
+
working-directory: <%= inst.path %>
|
|
192
192
|
steps:
|
|
193
193
|
- uses: actions/checkout@v5
|
|
194
194
|
<% if (pm === 'pnpm') { %>
|
|
@@ -204,7 +204,7 @@ jobs:
|
|
|
204
204
|
with:
|
|
205
205
|
node-version: 22
|
|
206
206
|
cache: <%= pm.name %>
|
|
207
|
-
cache-dependency-path: <%=
|
|
207
|
+
cache-dependency-path: <%= inst.path %>/<%= pm.lockfile %>
|
|
208
208
|
<% } %>
|
|
209
209
|
- run: <%= pm.ci %>
|
|
210
210
|
- run: <%= pm.exec %> prettier --check .
|
|
@@ -212,16 +212,16 @@ jobs:
|
|
|
212
212
|
- run: <%= pm.exec %> tsc --noEmit
|
|
213
213
|
- run: <%= pm.audit %>
|
|
214
214
|
<% } %>
|
|
215
|
-
<%
|
|
215
|
+
<% for (const inst of infraInstances) { %>
|
|
216
216
|
|
|
217
|
-
<%=
|
|
218
|
-
name: <%=
|
|
217
|
+
<%= inst.path %>:
|
|
218
|
+
name: <%= inst.display %> (fmt + validate)
|
|
219
219
|
needs: changes
|
|
220
|
-
if: needs.changes.outputs.<%=
|
|
220
|
+
if: needs.changes.outputs.<%= inst.path %> == 'true'
|
|
221
221
|
runs-on: ubuntu-latest
|
|
222
222
|
defaults:
|
|
223
223
|
run:
|
|
224
|
-
working-directory: <%=
|
|
224
|
+
working-directory: <%= inst.path %>/stack
|
|
225
225
|
steps:
|
|
226
226
|
- uses: actions/checkout@v5
|
|
227
227
|
- uses: hashicorp/setup-terraform@v3
|
|
@@ -27,95 +27,95 @@ if [ -n "$STAGED_ENV_FILES" ]; then
|
|
|
27
27
|
fi
|
|
28
28
|
|
|
29
29
|
STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACMR)
|
|
30
|
-
<%
|
|
30
|
+
<% for (const inst of fastapiInstances) { %>
|
|
31
31
|
|
|
32
|
-
<%=
|
|
33
|
-
if [ -n "$<%=
|
|
34
|
-
echo "Running quality gates for <%=
|
|
35
|
-
cd <%=
|
|
36
|
-
echo "$<%=
|
|
37
|
-
echo "$<%=
|
|
32
|
+
<%= inst.upper %>_PY=$(echo "$STAGED_FILES" | grep '^<%= inst.path %>/.*\.py$' || true)
|
|
33
|
+
if [ -n "$<%= inst.upper %>_PY" ]; then
|
|
34
|
+
echo "Running quality gates for <%= inst.path %>..."
|
|
35
|
+
cd <%= inst.path %>
|
|
36
|
+
echo "$<%= inst.upper %>_PY" | sed 's|^<%= inst.path %>/||' | xargs uv run ruff format
|
|
37
|
+
echo "$<%= inst.upper %>_PY" | sed 's|^<%= inst.path %>/||' | xargs uv run ruff check --fix
|
|
38
38
|
uv run mypy
|
|
39
39
|
cd ..
|
|
40
|
-
echo "$<%=
|
|
40
|
+
echo "$<%= inst.upper %>_PY" | xargs git add
|
|
41
41
|
fi
|
|
42
42
|
<% } %>
|
|
43
|
-
<%
|
|
43
|
+
<% for (const inst of fastifyInstances) { %>
|
|
44
44
|
|
|
45
|
-
<%=
|
|
46
|
-
<%=
|
|
47
|
-
if [ -n "$<%=
|
|
48
|
-
echo "Formatting <%=
|
|
49
|
-
cd <%=
|
|
50
|
-
echo "$<%=
|
|
51
|
-
if [ -n "$<%=
|
|
52
|
-
echo "$<%=
|
|
45
|
+
<%= inst.upper %>_TS=$(echo "$STAGED_FILES" | grep '^<%= inst.path %>/.*\.ts$' || true)
|
|
46
|
+
<%= inst.upper %>_ALL=$(echo "$STAGED_FILES" | grep '^<%= inst.path %>/' || true)
|
|
47
|
+
if [ -n "$<%= inst.upper %>_ALL" ]; then
|
|
48
|
+
echo "Formatting <%= inst.path %>..."
|
|
49
|
+
cd <%= inst.path %>
|
|
50
|
+
echo "$<%= inst.upper %>_ALL" | sed 's|^<%= inst.path %>/||' | xargs <%= pm.exec %> prettier --write --ignore-unknown
|
|
51
|
+
if [ -n "$<%= inst.upper %>_TS" ]; then
|
|
52
|
+
echo "$<%= inst.upper %>_TS" | sed 's|^<%= inst.path %>/||' | xargs <%= pm.exec %> eslint --fix
|
|
53
53
|
<%= pm.exec %> tsc --noEmit
|
|
54
54
|
fi
|
|
55
55
|
cd ..
|
|
56
|
-
echo "$<%=
|
|
56
|
+
echo "$<%= inst.upper %>_ALL" | xargs git add
|
|
57
57
|
fi
|
|
58
58
|
<% } %>
|
|
59
|
-
<%
|
|
59
|
+
<% for (const inst of frontendInstances) { %>
|
|
60
60
|
|
|
61
|
-
<%=
|
|
62
|
-
<%=
|
|
63
|
-
if [ -n "$<%=
|
|
64
|
-
echo "Formatting <%=
|
|
65
|
-
cd <%=
|
|
66
|
-
echo "$<%=
|
|
67
|
-
if [ -n "$<%=
|
|
68
|
-
echo "$<%=
|
|
61
|
+
<%= inst.upper %>_TS=$(echo "$STAGED_FILES" | grep '^<%= inst.path %>/.*\.tsx\?$' || true)
|
|
62
|
+
<%= inst.upper %>_ALL=$(echo "$STAGED_FILES" | grep '^<%= inst.path %>/' || true)
|
|
63
|
+
if [ -n "$<%= inst.upper %>_ALL" ]; then
|
|
64
|
+
echo "Formatting <%= inst.path %>..."
|
|
65
|
+
cd <%= inst.path %>
|
|
66
|
+
echo "$<%= inst.upper %>_ALL" | sed 's|^<%= inst.path %>/||' | xargs <%= pm.exec %> prettier --write --ignore-unknown
|
|
67
|
+
if [ -n "$<%= inst.upper %>_TS" ]; then
|
|
68
|
+
echo "$<%= inst.upper %>_TS" | sed 's|^<%= inst.path %>/||' | xargs <%= pm.exec %> eslint --fix
|
|
69
69
|
<%= pm.exec %> tsc --noEmit
|
|
70
70
|
fi
|
|
71
71
|
cd ..
|
|
72
|
-
echo "$<%=
|
|
72
|
+
echo "$<%= inst.upper %>_ALL" | xargs git add
|
|
73
73
|
fi
|
|
74
74
|
<% } %>
|
|
75
|
-
<%
|
|
75
|
+
<% for (const inst of e2eInstances) { %>
|
|
76
76
|
|
|
77
|
-
<%=
|
|
78
|
-
<%=
|
|
79
|
-
if [ -n "$<%=
|
|
80
|
-
echo "Formatting <%=
|
|
81
|
-
cd <%=
|
|
82
|
-
echo "$<%=
|
|
83
|
-
if [ -n "$<%=
|
|
84
|
-
echo "$<%=
|
|
77
|
+
<%= inst.upper %>_TS=$(echo "$STAGED_FILES" | grep '^<%= inst.path %>/.*\.ts$' || true)
|
|
78
|
+
<%= inst.upper %>_ALL=$(echo "$STAGED_FILES" | grep '^<%= inst.path %>/' || true)
|
|
79
|
+
if [ -n "$<%= inst.upper %>_ALL" ]; then
|
|
80
|
+
echo "Formatting <%= inst.path %>..."
|
|
81
|
+
cd <%= inst.path %>
|
|
82
|
+
echo "$<%= inst.upper %>_ALL" | sed 's|^<%= inst.path %>/||' | xargs <%= pm.exec %> prettier --write --ignore-unknown
|
|
83
|
+
if [ -n "$<%= inst.upper %>_TS" ]; then
|
|
84
|
+
echo "$<%= inst.upper %>_TS" | sed 's|^<%= inst.path %>/||' | xargs <%= pm.exec %> eslint --fix
|
|
85
85
|
<%= pm.exec %> tsc --noEmit
|
|
86
86
|
fi
|
|
87
87
|
cd ..
|
|
88
|
-
echo "$<%=
|
|
88
|
+
echo "$<%= inst.upper %>_ALL" | xargs git add
|
|
89
89
|
fi
|
|
90
90
|
<% } %>
|
|
91
|
-
<%
|
|
91
|
+
<% for (const inst of mobileInstances) { %>
|
|
92
92
|
|
|
93
|
-
<%=
|
|
94
|
-
if [ -n "$<%=
|
|
93
|
+
<%= inst.upper %>_DART=$(echo "$STAGED_FILES" | grep '^<%= inst.path %>/.*\.dart$' || true)
|
|
94
|
+
if [ -n "$<%= inst.upper %>_DART" ]; then
|
|
95
95
|
if command -v dart &> /dev/null; then
|
|
96
|
-
echo "Formatting <%=
|
|
97
|
-
cd <%=
|
|
98
|
-
echo "$<%=
|
|
96
|
+
echo "Formatting <%= inst.path %>..."
|
|
97
|
+
cd <%= inst.path %>
|
|
98
|
+
echo "$<%= inst.upper %>_DART" | sed 's|^<%= inst.path %>/||' | xargs dart format
|
|
99
99
|
if command -v flutter &> /dev/null; then
|
|
100
100
|
dart analyze --fatal-infos
|
|
101
101
|
fi
|
|
102
102
|
cd ..
|
|
103
|
-
echo "$<%=
|
|
103
|
+
echo "$<%= inst.upper %>_DART" | xargs git add
|
|
104
104
|
else
|
|
105
105
|
echo "Skipping mobile lint (dart not installed)"
|
|
106
106
|
fi
|
|
107
107
|
fi
|
|
108
108
|
<% } %>
|
|
109
|
-
<%
|
|
109
|
+
<% for (const inst of infraInstances) { %>
|
|
110
110
|
|
|
111
|
-
<%=
|
|
112
|
-
if [ -n "$<%=
|
|
111
|
+
<%= inst.upper %>_TF=$(echo "$STAGED_FILES" | grep '^<%= inst.path %>/.*\.tf$' || true)
|
|
112
|
+
if [ -n "$<%= inst.upper %>_TF" ]; then
|
|
113
113
|
if command -v terraform &> /dev/null; then
|
|
114
|
-
echo "Formatting <%=
|
|
115
|
-
cd <%=
|
|
116
|
-
echo "$<%=
|
|
114
|
+
echo "Formatting <%= inst.path %>..."
|
|
115
|
+
cd <%= inst.path %>/stack
|
|
116
|
+
echo "$<%= inst.upper %>_TF" | sed 's|^<%= inst.path %>/stack/||' | xargs terraform fmt
|
|
117
117
|
cd ../..
|
|
118
|
-
echo "$<%=
|
|
118
|
+
echo "$<%= inst.upper %>_TF" | xargs git add
|
|
119
119
|
else
|
|
120
120
|
echo "Skipping infra lint (terraform not installed)"
|
|
121
121
|
fi
|
|
@@ -3,33 +3,33 @@ set -e
|
|
|
3
3
|
|
|
4
4
|
git config core.hooksPath .githooks
|
|
5
5
|
echo "Git hooks configured."
|
|
6
|
-
<%
|
|
6
|
+
<% for (const inst of fastapiInstances) { %>
|
|
7
7
|
|
|
8
|
-
cd <%=
|
|
9
|
-
echo "<%=
|
|
8
|
+
cd <%= inst.path %> && uv sync --all-extras && cd ..
|
|
9
|
+
echo "<%= inst.display %> dependencies installed."
|
|
10
10
|
<% } %>
|
|
11
|
-
<%
|
|
11
|
+
<% for (const inst of fastifyInstances) { %>
|
|
12
12
|
|
|
13
|
-
cd <%=
|
|
14
|
-
echo "<%=
|
|
13
|
+
cd <%= inst.path %> && <%= pm.ci %> && cd ..
|
|
14
|
+
echo "<%= inst.display %> dependencies installed."
|
|
15
15
|
<% } %>
|
|
16
|
-
<%
|
|
16
|
+
<% for (const inst of frontendInstances) { %>
|
|
17
17
|
|
|
18
|
-
cd <%=
|
|
19
|
-
echo "<%=
|
|
18
|
+
cd <%= inst.path %> && <%= pm.ci %> && cd ..
|
|
19
|
+
echo "<%= inst.display %> dependencies installed."
|
|
20
20
|
<% } %>
|
|
21
|
-
<%
|
|
21
|
+
<% for (const inst of e2eInstances) { %>
|
|
22
22
|
|
|
23
|
-
cd <%=
|
|
24
|
-
echo "<%=
|
|
23
|
+
cd <%= inst.path %> && <%= pm.ci %> && cd ..
|
|
24
|
+
echo "<%= inst.display %> dependencies installed."
|
|
25
25
|
<% } %>
|
|
26
|
-
<%
|
|
26
|
+
<% for (const inst of mobileInstances) { %>
|
|
27
27
|
|
|
28
28
|
if command -v flutter &>/dev/null; then
|
|
29
|
-
cd <%=
|
|
30
|
-
echo "<%=
|
|
29
|
+
cd <%= inst.path %> && flutter pub get && cd ..
|
|
30
|
+
echo "<%= inst.display %> dependencies installed."
|
|
31
31
|
else
|
|
32
|
-
echo "<%=
|
|
32
|
+
echo "<%= inst.display %> skipped (SDK not installed)."
|
|
33
33
|
fi
|
|
34
34
|
<% } %>
|
|
35
35
|
|