@postxl/generators 1.3.0 → 1.4.0
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/dist/backend-actions/actions.generator.d.ts +3 -3
- package/dist/backend-actions/index.d.ts +2 -2
- package/dist/backend-authentication/authentication.generator.d.ts +1 -1
- package/dist/backend-authentication/authentication.generator.js +1 -1
- package/dist/backend-authentication/index.d.ts +1 -1
- package/dist/backend-authentication/template/src/authentication.mock.service.ts +2 -0
- package/dist/backend-core/backend.generator.d.ts +1 -1
- package/dist/backend-core/backend.generator.js +2 -2
- package/dist/backend-core/backend.generator.js.map +1 -1
- package/dist/backend-core/generators/api-config.generator.js +2 -2
- package/dist/backend-core/modules/backend-module-utils.generator.d.ts +1 -1
- package/dist/backend-core/modules/backend-module-xlport.generator.d.ts +1 -1
- package/dist/backend-core/template/.gitignore.template +40 -0
- package/dist/backend-data-management/data-management.generator.d.ts +1 -1
- package/dist/backend-database-prisma/index.d.ts +2 -2
- package/dist/backend-database-prisma/prisma.generator.d.ts +2 -2
- package/dist/backend-e2e/backend-e2e.generator.d.ts +1 -1
- package/dist/backend-e2e/index.d.ts +1 -1
- package/dist/backend-import/import.generator.d.ts +1 -1
- package/dist/backend-import/index.d.ts +1 -1
- package/dist/backend-repositories/index.d.ts +1 -1
- package/dist/backend-repositories/model.types.d.ts +14 -16
- package/dist/backend-repositories/repositories.generator.d.ts +1 -1
- package/dist/backend-rest-api/index.d.ts +1 -1
- package/dist/backend-rest-api/rest-api.generator.d.ts +1 -1
- package/dist/backend-router-trpc/index.d.ts +1 -1
- package/dist/backend-router-trpc/router-trpc.generator.d.ts +1 -1
- package/dist/backend-s3/index.d.ts +1 -1
- package/dist/backend-s3/s3.generator.d.ts +1 -1
- package/dist/backend-s3/s3.generator.js +2 -2
- package/dist/backend-seed/index.d.ts +1 -1
- package/dist/backend-seed/seed.generator.d.ts +1 -1
- package/dist/backend-update/index.d.ts +1 -1
- package/dist/backend-update/update-actions.decoders.d.ts +27 -9
- package/dist/backend-update/update-actions.decoders.js +1 -1
- package/dist/backend-update/update-actions.decoders.js.map +1 -1
- package/dist/backend-update/update.generator.d.ts +1 -1
- package/dist/backend-view/index.d.ts +1 -1
- package/dist/backend-view/view.generator.d.ts +1 -1
- package/dist/base/base.generator.d.ts +1 -1
- package/dist/base/template/.gitignore.template +471 -0
- package/dist/base/template/sonar-project.properties +68 -30
- package/dist/decoders/decoders.generator.d.ts +1 -1
- package/dist/decoders/index.d.ts +1 -1
- package/dist/devops/devops.generator.d.ts +1 -1
- package/dist/devops/index.d.ts +1 -1
- package/dist/e2e/e2e.generator.d.ts +1 -1
- package/dist/e2e/generators/lib/test-id-collector.d.ts +1 -1
- package/dist/e2e/index.d.ts +1 -1
- package/dist/e2e/template/e2e/.gitignore.template +11 -0
- package/dist/e2e/template/e2e/package.json +1 -1
- package/dist/frontend-admin/admin.generator.d.ts +1 -1
- package/dist/frontend-admin/generators/admin-sidebar.generator.js +118 -110
- package/dist/frontend-admin/generators/admin-sidebar.generator.js.map +1 -1
- package/dist/frontend-admin/generators/audit-log-sidebar.generator.js +161 -131
- package/dist/frontend-admin/generators/audit-log-sidebar.generator.js.map +1 -1
- package/dist/frontend-admin/generators/data-management-page.generator.js +5 -4
- package/dist/frontend-admin/generators/data-management-page.generator.js.map +1 -1
- package/dist/frontend-admin/generators/model-admin-page.generator.js +34 -18
- package/dist/frontend-admin/generators/model-admin-page.generator.js.map +1 -1
- package/dist/frontend-admin/index.d.ts +1 -1
- package/dist/frontend-core/frontend.generator.d.ts +1 -1
- package/dist/frontend-core/frontend.generator.js +2 -2
- package/dist/frontend-core/frontend.generator.js.map +1 -1
- package/dist/frontend-core/template/.gitignore.template +27 -0
- package/dist/frontend-forms/forms.generator.d.ts +1 -1
- package/dist/frontend-forms/index.d.ts +1 -1
- package/dist/frontend-tables/index.d.ts +1 -1
- package/dist/frontend-tables/tables.generator.d.ts +1 -1
- package/dist/frontend-trpc-client/index.d.ts +1 -1
- package/dist/frontend-trpc-client/trpc-client.generator.d.ts +1 -1
- package/dist/mock-data/index.d.ts +1 -1
- package/dist/mock-data/mock-data.generator.d.ts +1 -1
- package/dist/seed-data/index.d.ts +1 -1
- package/dist/seed-data/seed-data.generator.d.ts +1 -1
- package/dist/types/types.generator.d.ts +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,471 @@
|
|
|
1
|
+
## Ignore Visual Studio temporary files, build results, and
|
|
2
|
+
## files generated by popular Visual Studio add-ons.
|
|
3
|
+
##
|
|
4
|
+
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
|
5
|
+
|
|
6
|
+
.DS_Store
|
|
7
|
+
|
|
8
|
+
# Workspace
|
|
9
|
+
Workspace/
|
|
10
|
+
|
|
11
|
+
# User-specific files
|
|
12
|
+
*.rsuser
|
|
13
|
+
*.suo
|
|
14
|
+
*.user
|
|
15
|
+
*.userosscache
|
|
16
|
+
*.sln.docstates
|
|
17
|
+
|
|
18
|
+
# User-specific files (MonoDevelop/Xamarin Studio)
|
|
19
|
+
*.userprefs
|
|
20
|
+
|
|
21
|
+
# Mono auto generated files
|
|
22
|
+
mono_crash.*
|
|
23
|
+
|
|
24
|
+
# Build results
|
|
25
|
+
[Dd]ebug/
|
|
26
|
+
[Dd]ebugPublic/
|
|
27
|
+
[Rr]elease/
|
|
28
|
+
[Rr]eleases/
|
|
29
|
+
x64/
|
|
30
|
+
x86/
|
|
31
|
+
[Ww][Ii][Nn]32/
|
|
32
|
+
[Aa][Rr][Mm]/
|
|
33
|
+
[Aa][Rr][Mm]64/
|
|
34
|
+
bld/
|
|
35
|
+
[Bb]in/
|
|
36
|
+
[Oo]bj/
|
|
37
|
+
[Oo]ut/
|
|
38
|
+
[Ll]og/
|
|
39
|
+
[Ll]ogs/
|
|
40
|
+
|
|
41
|
+
# Visual Studio 2015/2017 cache/options directory
|
|
42
|
+
.vs/
|
|
43
|
+
# Uncomment if you have tasks that create the project's static files in wwwroot
|
|
44
|
+
#wwwroot/
|
|
45
|
+
|
|
46
|
+
# Visual Studio 2017 auto generated files
|
|
47
|
+
Generated\ Files/
|
|
48
|
+
|
|
49
|
+
# MSTest test Results
|
|
50
|
+
[Tt]est[Rr]esult*/
|
|
51
|
+
[Bb]uild[Ll]og.*
|
|
52
|
+
|
|
53
|
+
# NUnit
|
|
54
|
+
*.VisualState.xml
|
|
55
|
+
TestResult.xml
|
|
56
|
+
nunit-*.xml
|
|
57
|
+
|
|
58
|
+
# Build Results of an ATL Project
|
|
59
|
+
[Dd]ebugPS/
|
|
60
|
+
[Rr]eleasePS/
|
|
61
|
+
dlldata.c
|
|
62
|
+
|
|
63
|
+
# Benchmark Results
|
|
64
|
+
BenchmarkDotNet.Artifacts/
|
|
65
|
+
|
|
66
|
+
# .NET Core
|
|
67
|
+
project.lock.json
|
|
68
|
+
project.fragment.lock.json
|
|
69
|
+
artifacts/
|
|
70
|
+
|
|
71
|
+
# ASP.NET Scaffolding
|
|
72
|
+
ScaffoldingReadMe.txt
|
|
73
|
+
|
|
74
|
+
# StyleCop
|
|
75
|
+
StyleCopReport.xml
|
|
76
|
+
|
|
77
|
+
# Files built by Visual Studio
|
|
78
|
+
*_i.c
|
|
79
|
+
*_p.c
|
|
80
|
+
*_h.h
|
|
81
|
+
*.ilk
|
|
82
|
+
*.meta
|
|
83
|
+
*.obj
|
|
84
|
+
*.iobj
|
|
85
|
+
*.pch
|
|
86
|
+
*.pdb
|
|
87
|
+
*.ipdb
|
|
88
|
+
*.pgc
|
|
89
|
+
*.pgd
|
|
90
|
+
*.rsp
|
|
91
|
+
*.sbr
|
|
92
|
+
*.tlb
|
|
93
|
+
*.tli
|
|
94
|
+
*.tlh
|
|
95
|
+
*.tmp
|
|
96
|
+
*.tmp_proj
|
|
97
|
+
*_wpftmp.csproj
|
|
98
|
+
*.log
|
|
99
|
+
*.vspscc
|
|
100
|
+
*.vssscc
|
|
101
|
+
.builds
|
|
102
|
+
*.pidb
|
|
103
|
+
*.svclog
|
|
104
|
+
*.scc
|
|
105
|
+
|
|
106
|
+
# Chutzpah Test files
|
|
107
|
+
_Chutzpah*
|
|
108
|
+
|
|
109
|
+
# Visual C++ cache files
|
|
110
|
+
ipch/
|
|
111
|
+
*.aps
|
|
112
|
+
*.ncb
|
|
113
|
+
*.opendb
|
|
114
|
+
*.opensdf
|
|
115
|
+
*.sdf
|
|
116
|
+
*.cachefile
|
|
117
|
+
*.VC.db
|
|
118
|
+
*.VC.VC.opendb
|
|
119
|
+
|
|
120
|
+
# Visual Studio profiler
|
|
121
|
+
*.psess
|
|
122
|
+
*.vsp
|
|
123
|
+
*.vspx
|
|
124
|
+
*.sap
|
|
125
|
+
|
|
126
|
+
# Visual Studio Trace Files
|
|
127
|
+
*.e2e
|
|
128
|
+
|
|
129
|
+
# TFS 2012 Local Workspace
|
|
130
|
+
$tf/
|
|
131
|
+
|
|
132
|
+
# Guidance Automation Toolkit
|
|
133
|
+
*.gpState
|
|
134
|
+
|
|
135
|
+
# ReSharper is a .NET coding add-in
|
|
136
|
+
_ReSharper*/
|
|
137
|
+
*.[Rr]e[Ss]harper
|
|
138
|
+
*.DotSettings.user
|
|
139
|
+
|
|
140
|
+
# TeamCity is a build add-in
|
|
141
|
+
_TeamCity*
|
|
142
|
+
|
|
143
|
+
# DotCover is a Code Coverage Tool
|
|
144
|
+
*.dotCover
|
|
145
|
+
|
|
146
|
+
# AxoCover is a Code Coverage Tool
|
|
147
|
+
.axoCover/*
|
|
148
|
+
!.axoCover/settings.json
|
|
149
|
+
|
|
150
|
+
# Coverlet is a free, cross platform Code Coverage Tool
|
|
151
|
+
coverage*.json
|
|
152
|
+
coverage*.xml
|
|
153
|
+
coverage*.info
|
|
154
|
+
|
|
155
|
+
# Visual Studio code coverage results
|
|
156
|
+
*.coverage
|
|
157
|
+
*.coveragexml
|
|
158
|
+
|
|
159
|
+
# NCrunch
|
|
160
|
+
_NCrunch_*
|
|
161
|
+
.*crunch*.local.xml
|
|
162
|
+
nCrunchTemp_*
|
|
163
|
+
|
|
164
|
+
# MightyMoose
|
|
165
|
+
*.mm.*
|
|
166
|
+
AutoTest.Net/
|
|
167
|
+
|
|
168
|
+
# Web workbench (sass)
|
|
169
|
+
.sass-cache/
|
|
170
|
+
|
|
171
|
+
# Installshield output folder
|
|
172
|
+
[Ee]xpress/
|
|
173
|
+
|
|
174
|
+
# DocProject is a documentation generator add-in
|
|
175
|
+
DocProject/buildhelp/
|
|
176
|
+
DocProject/Help/*.HxT
|
|
177
|
+
DocProject/Help/*.HxC
|
|
178
|
+
DocProject/Help/*.hhc
|
|
179
|
+
DocProject/Help/*.hhk
|
|
180
|
+
DocProject/Help/*.hhp
|
|
181
|
+
DocProject/Help/Html2
|
|
182
|
+
DocProject/Help/html
|
|
183
|
+
|
|
184
|
+
# Click-Once directory
|
|
185
|
+
publish/
|
|
186
|
+
|
|
187
|
+
# Publish Web Output
|
|
188
|
+
*.[Pp]ublish.xml
|
|
189
|
+
*.azurePubxml
|
|
190
|
+
# Note: Comment the next line if you want to checkin your web deploy settings,
|
|
191
|
+
# but database connection strings (with potential passwords) will be unencrypted
|
|
192
|
+
*.pubxml
|
|
193
|
+
*.publishproj
|
|
194
|
+
|
|
195
|
+
# Microsoft Azure Web App publish settings. Comment the next line if you want to
|
|
196
|
+
# checkin your Azure Web App publish settings, but sensitive information contained
|
|
197
|
+
# in these scripts will be unencrypted
|
|
198
|
+
PublishScripts/
|
|
199
|
+
|
|
200
|
+
# NuGet Packages
|
|
201
|
+
*.nupkg
|
|
202
|
+
# NuGet Symbol Packages
|
|
203
|
+
*.snupkg
|
|
204
|
+
# The packages folder can be ignored because of Package Restore
|
|
205
|
+
# except build/, which is used as an MSBuild target.
|
|
206
|
+
# Uncomment if necessary however generally it will be regenerated when needed
|
|
207
|
+
#!**/[Pp]ackages/repositories.config
|
|
208
|
+
# NuGet v3's project.json files produces more ignorable files
|
|
209
|
+
*.nuget.props
|
|
210
|
+
*.nuget.targets
|
|
211
|
+
|
|
212
|
+
# Microsoft Azure Build Output
|
|
213
|
+
csx/
|
|
214
|
+
*.build.csdef
|
|
215
|
+
|
|
216
|
+
# Microsoft Azure Emulator
|
|
217
|
+
ecf/
|
|
218
|
+
rcf/
|
|
219
|
+
|
|
220
|
+
# Windows Store app package directories and files
|
|
221
|
+
AppPackages/
|
|
222
|
+
BundleArtifacts/
|
|
223
|
+
Package.StoreAssociation.xml
|
|
224
|
+
_pkginfo.txt
|
|
225
|
+
*.appx
|
|
226
|
+
*.appxbundle
|
|
227
|
+
*.appxupload
|
|
228
|
+
|
|
229
|
+
# Visual Studio cache files
|
|
230
|
+
# files ending in .cache can be ignored
|
|
231
|
+
*.[Cc]ache
|
|
232
|
+
# but keep track of directories ending in .cache
|
|
233
|
+
!?*.[Cc]ache/
|
|
234
|
+
|
|
235
|
+
# Others
|
|
236
|
+
ClientBin/
|
|
237
|
+
~$*
|
|
238
|
+
*~
|
|
239
|
+
*.dbmdl
|
|
240
|
+
*.dbproj.schemaview
|
|
241
|
+
*.jfm
|
|
242
|
+
*.pfx
|
|
243
|
+
*.publishsettings
|
|
244
|
+
orleans.codegen.cs
|
|
245
|
+
|
|
246
|
+
# Including strong name files can present a security risk
|
|
247
|
+
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
|
|
248
|
+
#*.snk
|
|
249
|
+
|
|
250
|
+
# Since there are multiple workflows, uncomment next line to ignore bower_components
|
|
251
|
+
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
|
|
252
|
+
#bower_components/
|
|
253
|
+
|
|
254
|
+
# RIA/Silverlight projects
|
|
255
|
+
Generated_Code/
|
|
256
|
+
|
|
257
|
+
# Backup & report files from converting an old project file
|
|
258
|
+
# to a newer Visual Studio version. Backup files are not needed,
|
|
259
|
+
# because we have git ;-)
|
|
260
|
+
_UpgradeReport_Files/
|
|
261
|
+
Backup*/
|
|
262
|
+
UpgradeLog*.XML
|
|
263
|
+
UpgradeLog*.htm
|
|
264
|
+
ServiceFabricBackup/
|
|
265
|
+
*.rptproj.bak
|
|
266
|
+
|
|
267
|
+
# SQL Server files
|
|
268
|
+
*.mdf
|
|
269
|
+
*.ldf
|
|
270
|
+
*.ndf
|
|
271
|
+
|
|
272
|
+
# Business Intelligence projects
|
|
273
|
+
*.rdl.data
|
|
274
|
+
*.bim.layout
|
|
275
|
+
*.bim_*.settings
|
|
276
|
+
*.rptproj.rsuser
|
|
277
|
+
*- [Bb]ackup.rdl
|
|
278
|
+
*- [Bb]ackup ([0-9]).rdl
|
|
279
|
+
*- [Bb]ackup ([0-9][0-9]).rdl
|
|
280
|
+
|
|
281
|
+
# Microsoft Fakes
|
|
282
|
+
FakesAssemblies/
|
|
283
|
+
|
|
284
|
+
# GhostDoc plugin setting file
|
|
285
|
+
*.GhostDoc.xml
|
|
286
|
+
|
|
287
|
+
# Node.js Tools for Visual Studio
|
|
288
|
+
.ntvs_analysis.dat
|
|
289
|
+
node_modules/
|
|
290
|
+
|
|
291
|
+
# Visual Studio 6 build log
|
|
292
|
+
*.plg
|
|
293
|
+
|
|
294
|
+
# Visual Studio 6 workspace options file
|
|
295
|
+
*.opt
|
|
296
|
+
|
|
297
|
+
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
|
|
298
|
+
*.vbw
|
|
299
|
+
|
|
300
|
+
# Visual Studio LightSwitch build output
|
|
301
|
+
**/*.HTMLClient/GeneratedArtifacts
|
|
302
|
+
**/*.DesktopClient/GeneratedArtifacts
|
|
303
|
+
**/*.DesktopClient/ModelManifest.xml
|
|
304
|
+
**/*.Server/GeneratedArtifacts
|
|
305
|
+
**/*.Server/ModelManifest.xml
|
|
306
|
+
_Pvt_Extensions
|
|
307
|
+
|
|
308
|
+
# Paket dependency manager
|
|
309
|
+
.paket/paket.exe
|
|
310
|
+
paket-files/
|
|
311
|
+
|
|
312
|
+
# FAKE - F# Make
|
|
313
|
+
.fake/
|
|
314
|
+
|
|
315
|
+
# CodeRush personal settings
|
|
316
|
+
.cr/personal
|
|
317
|
+
|
|
318
|
+
# Python Tools for Visual Studio (PTVS)
|
|
319
|
+
__pycache__/
|
|
320
|
+
*.pyc
|
|
321
|
+
|
|
322
|
+
# Cake - Uncomment if you are using it
|
|
323
|
+
# tools/**
|
|
324
|
+
# !tools/packages.config
|
|
325
|
+
|
|
326
|
+
# Tabs Studio
|
|
327
|
+
*.tss
|
|
328
|
+
|
|
329
|
+
# Telerik's JustMock configuration file
|
|
330
|
+
*.jmconfig
|
|
331
|
+
|
|
332
|
+
# BizTalk build output
|
|
333
|
+
*.btp.cs
|
|
334
|
+
*.btm.cs
|
|
335
|
+
*.odx.cs
|
|
336
|
+
*.xsd.cs
|
|
337
|
+
|
|
338
|
+
# OpenCover UI analysis results
|
|
339
|
+
OpenCover/
|
|
340
|
+
|
|
341
|
+
# Azure Stream Analytics local run output
|
|
342
|
+
ASALocalRun/
|
|
343
|
+
|
|
344
|
+
# MSBuild Binary and Structured Log
|
|
345
|
+
*.binlog
|
|
346
|
+
|
|
347
|
+
# NVidia Nsight GPU debugger configuration file
|
|
348
|
+
*.nvuser
|
|
349
|
+
|
|
350
|
+
# MFractors (Xamarin productivity tool) working folder
|
|
351
|
+
.mfractor/
|
|
352
|
+
|
|
353
|
+
# Local History for Visual Studio
|
|
354
|
+
.localhistory/
|
|
355
|
+
|
|
356
|
+
# BeatPulse healthcheck temp database
|
|
357
|
+
healthchecksdb
|
|
358
|
+
|
|
359
|
+
# Backup folder for Package Reference Convert tool in Visual Studio 2017
|
|
360
|
+
MigrationBackup/
|
|
361
|
+
|
|
362
|
+
# Ionide (cross platform F# VS Code tools) working folder
|
|
363
|
+
.ionide/
|
|
364
|
+
|
|
365
|
+
# Fody - auto-generated XML schema
|
|
366
|
+
FodyWeavers.xsd
|
|
367
|
+
|
|
368
|
+
# Logs
|
|
369
|
+
logs
|
|
370
|
+
*.log
|
|
371
|
+
npm-debug.log*
|
|
372
|
+
yarn-debug.log*
|
|
373
|
+
yarn-error.log*
|
|
374
|
+
lerna-debug.log*
|
|
375
|
+
|
|
376
|
+
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
377
|
+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
378
|
+
|
|
379
|
+
# Runtime data
|
|
380
|
+
pids
|
|
381
|
+
*.pid
|
|
382
|
+
*.seed
|
|
383
|
+
*.pid.lock
|
|
384
|
+
|
|
385
|
+
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
386
|
+
lib-cov
|
|
387
|
+
|
|
388
|
+
# Coverage directory used by tools like istanbul
|
|
389
|
+
coverage
|
|
390
|
+
*.lcov
|
|
391
|
+
|
|
392
|
+
# nyc test coverage
|
|
393
|
+
.nyc_output
|
|
394
|
+
|
|
395
|
+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
396
|
+
.grunt
|
|
397
|
+
|
|
398
|
+
# Bower dependency directory (https://bower.io/)
|
|
399
|
+
bower_components
|
|
400
|
+
|
|
401
|
+
# node-waf configuration
|
|
402
|
+
.lock-wscript
|
|
403
|
+
|
|
404
|
+
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
405
|
+
build/Release
|
|
406
|
+
|
|
407
|
+
# Dependency directories
|
|
408
|
+
node_modules/
|
|
409
|
+
jspm_packages/
|
|
410
|
+
|
|
411
|
+
# TypeScript v1 declaration files
|
|
412
|
+
typings/
|
|
413
|
+
|
|
414
|
+
# TypeScript cache
|
|
415
|
+
*.tsbuildinfo
|
|
416
|
+
|
|
417
|
+
# Optional npm cache directory
|
|
418
|
+
.npm
|
|
419
|
+
|
|
420
|
+
# Optional eslint cache
|
|
421
|
+
.eslintcache
|
|
422
|
+
|
|
423
|
+
# Microbundle cache
|
|
424
|
+
.rpt2_cache/
|
|
425
|
+
.rts2_cache_cjs/
|
|
426
|
+
.rts2_cache_es/
|
|
427
|
+
.rts2_cache_umd/
|
|
428
|
+
|
|
429
|
+
# Optional REPL history
|
|
430
|
+
.node_repl_history
|
|
431
|
+
|
|
432
|
+
# Output of 'npm pack'
|
|
433
|
+
*.tgz
|
|
434
|
+
|
|
435
|
+
# Yarn Integrity file
|
|
436
|
+
.yarn-integrity
|
|
437
|
+
|
|
438
|
+
# dotenv environment variables file
|
|
439
|
+
.env
|
|
440
|
+
.env.test
|
|
441
|
+
|
|
442
|
+
# parcel-bundler cache (https://parceljs.org/)
|
|
443
|
+
.cache
|
|
444
|
+
|
|
445
|
+
# Next.js build output
|
|
446
|
+
.next
|
|
447
|
+
|
|
448
|
+
# Nuxt.js build / generate output
|
|
449
|
+
.nuxt
|
|
450
|
+
dist
|
|
451
|
+
|
|
452
|
+
# Gatsby files
|
|
453
|
+
.cache/
|
|
454
|
+
# Comment in the public line in if your project uses Gatsby and *not* Next.js
|
|
455
|
+
# https://nextjs.org/blog/next-9-1#public-directory-support
|
|
456
|
+
# public
|
|
457
|
+
|
|
458
|
+
# vuepress build output
|
|
459
|
+
.vuepress/dist
|
|
460
|
+
|
|
461
|
+
# Serverless directories
|
|
462
|
+
.serverless/
|
|
463
|
+
|
|
464
|
+
# FuseBox cache
|
|
465
|
+
.fusebox/
|
|
466
|
+
|
|
467
|
+
# DynamoDB Local files
|
|
468
|
+
.dynamodb/
|
|
469
|
+
|
|
470
|
+
# TernJS port file
|
|
471
|
+
.tern-port
|
|
@@ -18,39 +18,77 @@ sonar.javascript.lcov.reportPaths=\
|
|
|
18
18
|
backend/coverage/lcov.info, \
|
|
19
19
|
backend/coverage/unit-tests/lcov.info, \
|
|
20
20
|
e2e/test-results/coverage/lcov.info, \
|
|
21
|
-
frontend/coverage/lcov.info
|
|
21
|
+
frontend/coverage/lcov.info
|
|
22
|
+
|
|
23
|
+
# =============================================================================
|
|
24
|
+
# PostXL Generated Code Exclusions
|
|
25
|
+
# =============================================================================
|
|
26
|
+
# This project is auto-generated by PostXL generators. By default, ALL generated
|
|
27
|
+
# code is excluded from SonarCloud analysis to avoid noise and improve scan performance.
|
|
28
|
+
#
|
|
29
|
+
# OPT-IN MECHANISM:
|
|
30
|
+
# If you have customized specific generated files and want them analyzed, use
|
|
31
|
+
# sonar.inclusions to selectively include patterns. Examples:
|
|
32
|
+
#
|
|
33
|
+
# sonar.inclusions=\
|
|
34
|
+
# backend/libs/view/**/custom.view.service.ts, \
|
|
35
|
+
# backend/libs/update/**/*.update.service.ts, \
|
|
36
|
+
# backend/apps/api/src/custom-*.controller.ts, \
|
|
37
|
+
# frontend/src/pages/CustomPage.tsx
|
|
38
|
+
#
|
|
39
|
+
# This will analyze only the specified patterns while keeping everything else excluded.
|
|
40
|
+
# =============================================================================
|
|
22
41
|
|
|
23
42
|
sonar.exclusions=\
|
|
24
43
|
**/node_modules/**, \
|
|
25
|
-
**/atoms/**, \
|
|
26
44
|
**/*.stories.tsx, \
|
|
27
|
-
|
|
28
|
-
|
|
45
|
+
# Generated backend code \
|
|
46
|
+
backend/libs/actions/**, \
|
|
47
|
+
backend/libs/authentication/**, \
|
|
48
|
+
backend/libs/data-management/**, \
|
|
49
|
+
backend/libs/database/**, \
|
|
50
|
+
backend/libs/decoders/**, \
|
|
51
|
+
backend/libs/e2e/**, \
|
|
52
|
+
backend/libs/import/**, \
|
|
53
|
+
backend/libs/mock-data/**, \
|
|
54
|
+
backend/libs/repositories/**, \
|
|
55
|
+
backend/libs/restApi/**, \
|
|
56
|
+
backend/libs/router-trpc/**, \
|
|
57
|
+
backend/libs/s3/**, \
|
|
58
|
+
backend/libs/seed/**, \
|
|
59
|
+
backend/libs/seedData/**, \
|
|
60
|
+
backend/libs/types/**, \
|
|
61
|
+
backend/libs/update/**, \
|
|
62
|
+
backend/libs/utils/**, \
|
|
63
|
+
backend/libs/view/**, \
|
|
64
|
+
backend/libs/xlport/**, \
|
|
65
|
+
backend/apps/api/src/**, \
|
|
66
|
+
# Generated frontend code \
|
|
67
|
+
frontend/src/components/admin/**, \
|
|
68
|
+
frontend/src/components/forms/**, \
|
|
69
|
+
frontend/src/components/ui/spreadsheet/**, \
|
|
70
|
+
frontend/src/context-providers/**, \
|
|
71
|
+
frontend/src/lib/**, \
|
|
72
|
+
frontend/src/pages/admin/**, \
|
|
73
|
+
frontend/src/pages/login/**, \
|
|
74
|
+
frontend/src/pages/unauthorized/**, \
|
|
75
|
+
frontend/src/routes/**, \
|
|
76
|
+
frontend/src/styles/**, \
|
|
77
|
+
frontend/src/ui/**, \
|
|
78
|
+
frontend/src/main.tsx, \
|
|
79
|
+
frontend/src/routeTree.gen.ts, \
|
|
80
|
+
frontend/.storybook/**
|
|
81
|
+
|
|
29
82
|
sonar.coverage.exclusions=\
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
**/auth.controller.js, **/auth.controller.ts, \
|
|
36
|
-
**/auth.guard.js, **/auth.guard.ts, \
|
|
37
|
-
**/viewer.decorator.js, **/viewer.decorator.ts, \
|
|
38
|
-
**/auth.js, **/auth.ts, \
|
|
39
|
-
**/*.type.js, **/*.type.ts, \
|
|
40
|
-
**/*.types.js, **/*.types.ts, \
|
|
41
|
-
**/types.js, **/types.ts, \
|
|
42
|
-
**/libs/data/src/repositories/**, \
|
|
43
|
-
**/libs/export/src/**, \
|
|
44
|
-
**/import.service.js, **/import.service.ts, \
|
|
45
|
-
**/libs/s3/src/**, \
|
|
46
|
-
**/libs/update/src/**, \
|
|
47
|
-
**/libs/upload/src/**, \
|
|
48
|
-
**/libs/view/src/**, \
|
|
49
|
-
**/*.spec.ts, **/*.spec.js, \
|
|
50
|
-
**/*.test.js, **/*.test.ts
|
|
83
|
+
# Additional coverage exclusions (sonar.exclusions already covers all generated code) \
|
|
84
|
+
# Test files \
|
|
85
|
+
**/*.spec.ts, **/*.spec.js, **/*.spec.tsx, \
|
|
86
|
+
**/*.test.js, **/*.test.ts, **/*.test.tsx
|
|
87
|
+
|
|
51
88
|
sonar.cpd.exclusions=\
|
|
52
|
-
|
|
53
|
-
**/*.
|
|
89
|
+
# Additional duplication exclusions (sonar.exclusions already covers all generated code) \
|
|
90
|
+
**/*.spec.ts, **/*.spec.js, **/*.spec.tsx, \
|
|
91
|
+
**/*.test.js, **/*.test.ts, **/*.test.tsx
|
|
54
92
|
|
|
55
93
|
sonar.issue.ignore.multicriteria=e1,e3,e4,e5,e6a,e6b,e7
|
|
56
94
|
|
|
@@ -72,10 +110,10 @@ sonar.issue.ignore.multicriteria.e3.resourceKey=**/*.ts
|
|
|
72
110
|
sonar.issue.ignore.multicriteria.e4.ruleKey=tsarchitecture:S7197
|
|
73
111
|
sonar.issue.ignore.multicriteria.e4.resourceKey=backend/src/**/*.ts
|
|
74
112
|
|
|
75
|
-
# Rule typescript:
|
|
113
|
+
# Rule typescript:S3358 is "Ternary operators should not be nested" -> https://sonarcloud.io/organizations/postxl/rules?open=typescript%3AS3358&rule_key=typescript%3AS3358
|
|
76
114
|
# In a lot of situation, an expression is cleaner (or in the case of TSX, required) than an if/else statement. Using nested ternary operators, formatted
|
|
77
115
|
# properly with Prettier is hence a more practical solution (and has similar readability).
|
|
78
|
-
sonar.issue.ignore.multicriteria.e5.ruleKey=typescript:
|
|
116
|
+
sonar.issue.ignore.multicriteria.e5.ruleKey=typescript:S3358
|
|
79
117
|
sonar.issue.ignore.multicriteria.e5.resourceKey=**/*.tsx
|
|
80
118
|
|
|
81
119
|
# Rule typescript:S3735 is "void" should not be used" -> https://sonarcloud.io/organizations/postxl/rules?open=typescript%3AS3735&rule_key=typescript%3AS3735
|
|
@@ -91,4 +129,4 @@ sonar.issue.ignore.multicriteria.e6b.resourceKey=frontend/**/*.ts
|
|
|
91
129
|
# This happens mainly in generated detect delta files - which we do not use.
|
|
92
130
|
# // NOSONAR comments cannot be used there due to Prettier formatting.
|
|
93
131
|
sonar.issue.ignore.multicriteria.e7.ruleKey=typescript:S7738
|
|
94
|
-
sonar.issue.ignore.multicriteria.e7.resourceKey=backend/**/*.ts
|
|
132
|
+
sonar.issue.ignore.multicriteria.e7.resourceKey=backend/**/*.ts
|
|
@@ -128,6 +128,6 @@ export type CodecDefinition<DecoderType extends Decoder> = {
|
|
|
128
128
|
*/
|
|
129
129
|
encoder: Generator.ImportableFunction;
|
|
130
130
|
};
|
|
131
|
-
export declare const generatorId: string & import("zod")
|
|
131
|
+
export declare const generatorId: string & import("zod").$brand<"PXL.GeneratorInterfaceId">;
|
|
132
132
|
export declare const generator: Generator.GeneratorInterface;
|
|
133
133
|
export {};
|
package/dist/decoders/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as Generator from './decoders.generator';
|
|
2
2
|
export type WithDecoders<Context> = Generator.WithDecoders<Context>;
|
|
3
3
|
export declare const decodersGenerator: import("@postxl/generator").GeneratorInterface;
|
|
4
|
-
export declare const decodersGeneratorId: string & import("zod")
|
|
4
|
+
export declare const decodersGeneratorId: string & import("zod").$brand<"PXL.GeneratorInterfaceId">;
|
|
@@ -62,5 +62,5 @@ export type KeycloakConfig = {
|
|
|
62
62
|
* - `customScripts`: enables custom scripts for Keycloak.
|
|
63
63
|
*/
|
|
64
64
|
export type KeycloakComponent = 'toc' | 'userAttributes' | 'samlIdp' | 'idpMapper' | 'customScripts';
|
|
65
|
-
export declare const generatorId: string & import("zod")
|
|
65
|
+
export declare const generatorId: string & import("zod").$brand<"PXL.GeneratorInterfaceId">;
|
|
66
66
|
export declare const configureDevopsGenerator: (config?: Partial<DevOpsConfig>) => Generator.GeneratorInterface;
|
package/dist/devops/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as Generator from './devops.generator';
|
|
2
2
|
export type WithDevOps<Context> = Generator.WithDevOps<Context>;
|
|
3
3
|
export declare const configureDevopsGenerator: (config?: Partial<Generator.DevOpsConfig>) => import("@postxl/generator").GeneratorInterface;
|
|
4
|
-
export declare const devOpsGeneratorId: string & import("zod")
|
|
4
|
+
export declare const devOpsGeneratorId: string & import("zod").$brand<"PXL.GeneratorInterfaceId">;
|
|
@@ -15,5 +15,5 @@ export type E2eContext = {
|
|
|
15
15
|
*/
|
|
16
16
|
testIds: string[];
|
|
17
17
|
};
|
|
18
|
-
export declare const generatorId: string & import("zod")
|
|
18
|
+
export declare const generatorId: string & import("zod").$brand<"PXL.GeneratorInterfaceId">;
|
|
19
19
|
export declare const generator: Generator.GeneratorInterface;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const zTestId: z.ZodBranded<z.ZodString, "TestId">;
|
|
2
|
+
export declare const zTestId: z.core.$ZodBranded<z.ZodString, "TestId", "out">;
|
|
3
3
|
export type TestId = z.infer<typeof zTestId>;
|
|
4
4
|
/**
|
|
5
5
|
* The `TestIdCollector` class is responsible for generating and managing unique HTML element Ids
|
package/dist/e2e/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as Generator from './e2e.generator';
|
|
2
2
|
export type WithE2e<Context> = Generator.WithE2e<Context>;
|
|
3
3
|
export declare const e2eGenerator: import("@postxl/generator").GeneratorInterface;
|
|
4
|
-
export declare const e2eGeneratorId: string & import("zod")
|
|
4
|
+
export declare const e2eGeneratorId: string & import("zod").$brand<"PXL.GeneratorInterfaceId">;
|
|
@@ -70,6 +70,6 @@ export type PagePaths = {
|
|
|
70
70
|
routes: string;
|
|
71
71
|
components: string;
|
|
72
72
|
};
|
|
73
|
-
export declare const generatorId: string & import("zod")
|
|
73
|
+
export declare const generatorId: string & import("zod").$brand<"PXL.GeneratorInterfaceId">;
|
|
74
74
|
export declare const generator: Generator.GeneratorInterface;
|
|
75
75
|
export {};
|