@todesktop/shared 7.177.0 → 7.179.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.
@@ -0,0 +1,16 @@
1
+ on:
2
+ push:
3
+ branches:
4
+ - main
5
+
6
+ jobs:
7
+ release:
8
+ name: Release types
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - name: Use Node.js ${{ matrix.node-version }}
13
+ uses: mikeal/merge-release@v4.0.7
14
+ env:
15
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16
+ NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
@@ -145,9 +145,13 @@ export interface WindowsCustomManifest extends CustomManifest {
145
145
  artifacts: Record<WindowsArtifactName, Record<Arch, CustomManifestArtifactDetails | null> | null>;
146
146
  }
147
147
  export interface SmokeTestProgress {
148
+ appLaunched?: boolean;
149
+ appUpdated?: boolean;
148
150
  message?: string;
149
151
  progress: number;
150
- state: 'progress' | 'done' | 'error';
152
+ screenshot?: string;
153
+ state: 'progress' | 'done' | 'error' | 'skipped';
154
+ updatedAppHasNoMainErrors?: boolean;
151
155
  }
152
156
  export declare const hasBuildKickedOff: (build: Build) => boolean;
153
157
  export declare const isPlatformBuildRunning: (platformBuild: PlatformBuild) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.177.0",
3
+ "version": "7.179.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/desktopify.ts CHANGED
@@ -219,9 +219,13 @@ export interface WindowsCustomManifest extends CustomManifest {
219
219
  }
220
220
 
221
221
  export interface SmokeTestProgress {
222
+ appLaunched?: boolean;
223
+ appUpdated?: boolean;
222
224
  message?: string;
223
225
  progress: number;
224
- state: 'progress' | 'done' | 'error';
226
+ screenshot?: string;
227
+ state: 'progress' | 'done' | 'error' | 'skipped';
228
+ updatedAppHasNoMainErrors?: boolean;
225
229
  }
226
230
 
227
231
  export const hasBuildKickedOff = (build: Build): boolean => {
@@ -1,26 +0,0 @@
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)