@todesktop/shared 7.159.0 → 7.161.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/azure-pipelines.yml +26 -0
- package/lib/desktopify.d.ts +2 -2
- package/package.json +1 -1
- package/src/desktopify.ts +2 -2
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Node.js
|
|
2
|
+
# Build a general Node.js project with npm.
|
|
3
|
+
# Add steps that analyze code, save build artifacts, deploy, and more:
|
|
4
|
+
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
|
|
5
|
+
|
|
6
|
+
trigger:
|
|
7
|
+
- master
|
|
8
|
+
|
|
9
|
+
pool:
|
|
10
|
+
vmImage: ubuntu-latest
|
|
11
|
+
|
|
12
|
+
steps:
|
|
13
|
+
- checkout: self
|
|
14
|
+
persistCredentials: true
|
|
15
|
+
- script: |
|
|
16
|
+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
|
|
17
|
+
git config --global user.email "git@todesktop.com"
|
|
18
|
+
git config --global user.name "ToDesktop"
|
|
19
|
+
git checkout -b master
|
|
20
|
+
git push --set-upstream origin master
|
|
21
|
+
npm install
|
|
22
|
+
npm run build
|
|
23
|
+
npm run bump
|
|
24
|
+
displayName: 'npm install, build and publish new version'
|
|
25
|
+
env:
|
|
26
|
+
NPM_TOKEN: $(NPM_TOKEN)
|
package/lib/desktopify.d.ts
CHANGED
|
@@ -98,13 +98,13 @@ export interface Build {
|
|
|
98
98
|
isCanceled?: boolean;
|
|
99
99
|
linux?: SmokeTestProgress;
|
|
100
100
|
mac?: SmokeTestProgress;
|
|
101
|
-
|
|
101
|
+
windows?: SmokeTestProgress;
|
|
102
102
|
};
|
|
103
103
|
sourcePackageManager?: PackageManager;
|
|
104
104
|
standardUniversalDownloadUrl?: URL;
|
|
105
105
|
startedAt: ISODate;
|
|
106
106
|
status: BuildStatus;
|
|
107
|
-
todesktopRuntimeVersionSpecified
|
|
107
|
+
todesktopRuntimeVersionSpecified?: SemanticVersion;
|
|
108
108
|
universalDownloadUrl?: URL;
|
|
109
109
|
url?: URL;
|
|
110
110
|
versionControlInfo?: {
|
package/package.json
CHANGED
package/src/desktopify.ts
CHANGED
|
@@ -138,14 +138,14 @@ export interface Build {
|
|
|
138
138
|
isCanceled?: boolean;
|
|
139
139
|
linux?: SmokeTestProgress;
|
|
140
140
|
mac?: SmokeTestProgress;
|
|
141
|
-
|
|
141
|
+
windows?: SmokeTestProgress;
|
|
142
142
|
};
|
|
143
143
|
// sourceArchiveUrl: URL;
|
|
144
144
|
sourcePackageManager?: PackageManager;
|
|
145
145
|
standardUniversalDownloadUrl?: URL;
|
|
146
146
|
startedAt: ISODate;
|
|
147
147
|
status: BuildStatus;
|
|
148
|
-
todesktopRuntimeVersionSpecified
|
|
148
|
+
todesktopRuntimeVersionSpecified?: SemanticVersion;
|
|
149
149
|
// TODO: total progress percentage?
|
|
150
150
|
universalDownloadUrl?: URL;
|
|
151
151
|
url?: URL;
|