Skip to content

Commit 9896b84

Browse files
committed
cleanup task.loc.json
1 parent 3f6e06a commit 9896b84

File tree

1 file changed

+60
-75
lines changed

1 file changed

+60
-75
lines changed

Tasks/Yarn/task.loc.json

Lines changed: 60 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -6,100 +6,91 @@
66
"helpMarkDown": "ms-resource:loc.helpMarkDown",
77
"category": "Utility",
88
"author": "Geek Learning",
9-
"preview": "true",
10-
"visibility": [
11-
"Build",
12-
"Release"
13-
],
9+
"visibility": ["Build", "Release"],
1410
"version": {
1511
"Major": 0,
1612
"Minor": 0,
1713
"Patch": 1
1814
},
19-
"runsOn": [
20-
"Agent",
21-
"DeploymentGroup"
22-
],
23-
"demands": [
24-
"npm",
25-
"yarn"
26-
],
15+
"runsOn": ["Agent", "DeploymentGroup"],
16+
"demands": ["npm", "yarn"],
2717
"minimumAgentVersion": "1.91.0",
2818
"instanceNameFormat": "ms-resource:loc.instanceNameFormat",
2919
"groups": [
3020
{
31-
"name": "install",
32-
"displayName": "Install Options",
33-
"isExpanded": false
21+
"name": "install",
22+
"displayName": "Install Options",
23+
"isExpanded": false
3424
},
3525
{
36-
"name": "customRegistries",
37-
"displayName": "Custom registries and authentication",
38-
"isExpanded": false
26+
"name": "customRegistries",
27+
"displayName": "Custom registries and authentication",
28+
"isExpanded": false
3929
}
40-
],
41-
"inputs": [
30+
],
31+
"inputs": [
4232
{
43-
"name": "ProjectDirectory",
44-
"type": "filePath",
45-
"label": "Project Directory",
46-
"defaultValue": "",
47-
"required": false,
48-
"helpMarkDown": "Source directory"
33+
"name": "ProjectDirectory",
34+
"type": "filePath",
35+
"label": "Project Directory",
36+
"defaultValue": "",
37+
"required": false,
38+
"helpMarkDown": "Source directory"
4939
},
5040
{
51-
"name": "Arguments",
52-
"type": "string",
53-
"label": "Arguments",
54-
"defaultValue": "",
55-
"required": false,
56-
"helpMarkDown": "Additionals arguments"
41+
"name": "Arguments",
42+
"type": "string",
43+
"label": "Arguments",
44+
"defaultValue": "",
45+
"required": false,
46+
"helpMarkDown": "Additionals arguments"
5747
},
5848
{
59-
"name": "ProductionMode",
60-
"type": "boolean",
61-
"label": "Production Install",
62-
"defaultValue": false,
63-
"required": false,
64-
"groupName": "install",
65-
"helpMarkDown": "appends --production argument"
49+
"name": "ProductionMode",
50+
"type": "boolean",
51+
"label": "Production Install",
52+
"defaultValue": false,
53+
"required": false,
54+
"groupName": "install",
55+
"helpMarkDown": "appends --production argument"
6656
},
6757
{
68-
"groupName": "customRegistries",
69-
"name": "customRegistry",
70-
"label": "Registries to use",
71-
"helpMarkDown": "You can either commit a .npmrc file to your source code repository and set its path here or select a registry from VSTS here.",
72-
"type": "radio",
73-
"options": {
74-
"useNpmrc": "Registries in my .npmrc",
75-
"useFeed": "Registry I select here"
76-
},
77-
"defaultValue": "useNpmrc"
58+
"groupName": "customRegistries",
59+
"name": "customRegistry",
60+
"label": "Registries to use",
61+
"helpMarkDown": "You can either commit a .npmrc file to your source code repository and set its path here or select a registry from VSTS here.",
62+
"type": "radio",
63+
"options": {
64+
"useNpmrc": "Registries in my .npmrc",
65+
"useFeed": "Registry I select here"
66+
},
67+
"defaultValue": "useNpmrc"
7868
},
7969
{
80-
"groupName": "customRegistries",
81-
"name": "customFeed",
82-
"label": "Use packages from this VSTS/TFS registry",
83-
"helpMarkDown": "Include the selected feed in the generated .npmrc.",
84-
"type": "pickList",
85-
"visibleRule": "customRegistry = useFeed",
86-
"required": true
70+
"groupName": "customRegistries",
71+
"name": "customFeed",
72+
"label": "Use packages from this VSTS/TFS registry",
73+
"helpMarkDown": "Include the selected feed in the generated .npmrc.",
74+
"type": "pickList",
75+
"visibleRule": "customRegistry = useFeed",
76+
"required": true
8777
},
8878
{
89-
"groupName": "customRegistries",
90-
"name": "customEndpoint",
91-
"label": "Credentials for registries outside this account/collection",
92-
"helpMarkDown": "Credentials to use for external registries located in the project's .npmrc. For registries in this account/collection, leave this blank; the build’s credentials are used automatically.",
93-
"type": "connectedService:externalnpmregistry",
94-
"visibleRule": "customRegistry = useNpmrc",
95-
"properties": {
96-
"MultiSelectFlatList": "true"
97-
}
79+
"groupName": "customRegistries",
80+
"name": "customEndpoint",
81+
"label": "Credentials for registries outside this account/collection",
82+
"helpMarkDown": "Credentials to use for external registries located in the project's .npmrc. For registries in this account/collection, leave this blank; the build’s credentials are used automatically.",
83+
"type": "connectedService:externalnpmregistry",
84+
"visibleRule": "customRegistry = useNpmrc",
85+
"properties": {
86+
"MultiSelectFlatList": "true"
87+
}
9888
}
99-
],
89+
],
10090
"execution": {
10191
"Node": {
102-
"target": "npmauth.js"
92+
"target": "yarnTask.js",
93+
"argumentFormat": ""
10394
}
10495
},
10596
"messages": {
@@ -121,11 +112,5 @@
121112
"NoIndexJsonFile": "ms-resource:loc.messages.NoIndexJsonFile",
122113
"RevertedChangesToNpmrc": "ms-resource:loc.messages.RevertedChangesToNpmrc",
123114
"NpmrcDoesNotExist": "ms-resource:loc.messages.NpmrcDoesNotExist"
124-
},
125-
"postjobexecution": {
126-
"Node": {
127-
"target": "npmauthcleanup.js",
128-
"argumentFormat": ""
129-
}
130115
}
131-
}
116+
}

0 commit comments

Comments
 (0)