Skip to content

Commit 9787632

Browse files
committed
Turn off declaration in build module
1 parent 48cd197 commit 9787632

File tree

6 files changed

+175
-6
lines changed

6 files changed

+175
-6
lines changed

package-lock.json

Lines changed: 66 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/build/package-lock.json

Lines changed: 100 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/build/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
"@octokit/rest": "^17.9.0",
3434
"adm-zip": "^0.4.14",
3535
"aws-sdk": "^2.674.0",
36+
"electron-notarize": "^0.3.0",
37+
"electron-osx-sign": "^0.4.16",
3638
"handlebars": "^4.7.6",
3739
"pkg": "^4.4.3",
3840
"semver": "^7.3.2",

packages/build/src/release.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,15 @@ const release = async(config: Config) => {
2626
// - Build the executable.
2727
await compileExec(config.input, config.outputDir, platform);
2828

29-
// - Sign the executable for each OS. Sign executable or zip?
30-
// - Notarise the zip (only on macos)
29+
// - Sign the executable
3130

3231
// - Zip the executable.
3332
const artifact = await zip(config.input, config.outputDir, platform, config.version);
3433

34+
if (platform === Platform.MacOs) {
35+
// - Notarize the zip.
36+
}
37+
3538
// - Create & sign the .deb (only on linux)
3639
// - Create & sign the .rpm (only on linux)
3740
// - Create & sign the .msi (only on win)

packages/build/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"extends": "../../config/tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "./lib",
5-
"allowJs": true
5+
"allowJs": true,
6+
"declaration": false
67
},
78
"include": [
89
"./src/**/*"

packages/service-provider-server/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"version": "0.0.1-alpha.16",
44
"description": "MongoDB Shell Server Service Provider Package",
55
"main": "lib/index.js",
6-
"types": "lib/index.d.ts",
76
"config": {
87
"unsafe-perm": true
98
},

0 commit comments

Comments
 (0)