@progress/sitefinity-webservices-sdk 1.0.0 → 1.0.4
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/ci/pipelines/ci.yml +23 -23
- package/config/webpack.common.js +2 -1
- package/dist/docs/assets/search.js +1 -1
- package/dist/docs/classes/Query.Query-1.html +3 -3
- package/dist/docs/classes/utils.utils-1.html +1 -1
- package/dist/sitefinity-webservices-sdk.js +6 -9
- package/dist/sitefinity-webservices-sdk.js.map +1 -1
- package/dist/sitefinity-webservices-sdk.min.js +1 -1
- package/dist/src/Query.d.ts +2 -2
- package/package.json +1 -1
- package/src/Query.ts +3 -3
- package/src/QueryBuilder.ts +2 -2
- package/src/Requests/request.spec.ts +16 -0
- package/src/Sitefinity.spec.ts +33 -0
- package/src/utils.ts +0 -3
- package/type.txt +1 -1
- package/version.txt +1 -1
package/ci/pipelines/ci.yml
CHANGED
|
@@ -194,26 +194,26 @@ jobs:
|
|
|
194
194
|
inputs:
|
|
195
195
|
path: version.txt
|
|
196
196
|
artifactName: commit-data-drop-version
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
197
|
+
- task: PowerShell@2
|
|
198
|
+
displayName: Tag sitefinity-webservices-sdk repo
|
|
199
|
+
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
|
|
200
|
+
inputs:
|
|
201
|
+
targetType: inline
|
|
202
|
+
script: |
|
|
203
|
+
$releaseBranches = ConvertFrom-Json -InputObject "$(SitefinitySdkReleaseBranches)"
|
|
204
|
+
|
|
205
|
+
if ($releaseBranches -contains "$(Build.SourceBranch)") {
|
|
206
|
+
$token = "$(VstsRestApiToken)"
|
|
207
|
+
Write-Host "##vso[task.logissue type=warning;] Releasing Sitefinity webservices sdk - "$(ReleaseVersion)""
|
|
208
|
+
|
|
209
|
+
$postParams = @{name="$(ReleaseVersion)";taggedObject=@{objectId="$(Build.SourceVersion)"};message='Sitefinity webservices sdk release'}
|
|
210
|
+
$json = $postParams | ConvertTo-Json
|
|
211
|
+
|
|
212
|
+
$headers = @{'Content-Type'='application/json'; 'Authorization'="Basic $token"}
|
|
213
|
+
$tagUrl = "https://prgs-sitefinity.visualstudio.com/sitefinity/_apis/git/repositories/sitefinity-webservices-sdk/annotatedtags?api-version=4.1-preview.1"
|
|
214
|
+
|
|
215
|
+
Invoke-WebRequest -Uri $tagUrl -Method POST -Body $json -Headers $headers
|
|
216
|
+
} else {
|
|
217
|
+
Write-Error "Cannot tag the branch with the new release since it is missing from the list with release branches. Please review the whitelisted branches"
|
|
218
|
+
exit 1
|
|
219
|
+
}
|
package/config/webpack.common.js
CHANGED
|
@@ -15,7 +15,8 @@ module.exports = function(options) {
|
|
|
15
15
|
filename: "sitefinity-webservices-sdk.js",
|
|
16
16
|
chunkFilename: "sitefinity-webservices-sdk.js",
|
|
17
17
|
libraryTarget: "umd",
|
|
18
|
-
library: "Sitefinity"
|
|
18
|
+
library: "Sitefinity",
|
|
19
|
+
globalObject: "this"
|
|
19
20
|
},
|
|
20
21
|
plugins: [
|
|
21
22
|
//Skipping the error emitting phase (and recording phase) during compilation, so there are no assets emitted that include errors
|