-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.json
More file actions
93 lines (93 loc) · 2.57 KB
/
Copy pathproject.json
File metadata and controls
93 lines (93 loc) · 2.57 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
{
"ProjectName": "NovaExampleModule",
"Description": "A working example project that demonstrates how to build, test, package, and upload a small module with NovaModuleTools.",
"Version": "0.1.0",
"CopyResourcesToModuleRoot": false,
"BuildRecursiveFolders": true,
"SetSourcePath": true,
"FailOnDuplicateFunctionNames": true,
"Preamble": [
"Set-StrictMode -Version Latest",
"$ErrorActionPreference = 'Stop'"
],
"Manifest": {
"Author": "NovaModuleTools",
"PowerShellHostVersion": "7.4",
"GUID": "b3b4ca64-a274-4768-872d-2b3c8bc12a39",
"Tags": [
"Example",
"NovaModuleTools",
"PowerShell"
],
"ProjectUri": "https://www.novamoduletools.com/",
"ReleaseNotes": "https://www.novamoduletools.com/release-notes.html",
"LicenseUri": "https://www.novamoduletools.com/license.html"
},
"Package": {
"Id": "NovaExampleModule",
"Types": [
"NuGet",
"Zip"
],
"Latest": "stable",
"OutputDirectory": {
"Path": "artifacts/packages",
"Clean": true
},
"PackageFileName": "NovaExampleModule",
"AddVersionToFileName": true,
"FileNamePattern": "NovaExampleModule*",
"Authors": [
"NovaModuleTools",
"Example Maintainer"
],
"Description": "Example package metadata and raw upload configuration for NovaExampleModule.",
"RepositoryUrl": "https://packages.example.test/raw/novamodule/",
"UploadPath": "stable/latest",
"Headers": {
"X-Client-Id": "nova-example",
"X-Trace-Source": "nova-init-example"
},
"Auth": {
"HeaderName": "Authorization",
"Scheme": "Bearer",
"TokenEnvironmentVariable": "NOVA_EXAMPLE_PACKAGE_TOKEN"
},
"Repositories": [
{
"Name": "ExampleRaw",
"Url": "https://packages.example.test/raw/novamodule/",
"UploadPath": "stable/latest",
"Headers": {
"X-Repository": "example-raw"
},
"Auth": {
"HeaderName": "Authorization",
"Scheme": "Bearer",
"TokenEnvironmentVariable": "NOVA_EXAMPLE_PACKAGE_TOKEN"
}
},
{
"Name": "ExampleApiKey",
"Url": "https://packages.example.test/raw/novamodule/alt/",
"UploadPath": "preview",
"Headers": {
"X-Repository": "example-api-key"
},
"Auth": {
"HeaderName": "X-Api-Key",
"Token": "replace-me-for-local-testing"
}
}
]
},
"Pester": {
"TestResult": {
"Enabled": true,
"OutputFormat": "NUnitXml"
},
"Output": {
"Verbosity": "Detailed"
}
}
}