[MM-36326][MM-45669] Added Native Node Module support - incl demo to fix DND issue (#2195)

* [MM-36326] Added Native Node Module support - incl demo to fix DND issue

* Fix OS per build

* Fix to include priority alarms on Windows

* Update node command

* Fixes for mac (only work on non-MAS build)

* Attempt to rebuild properly since electron-builder is having issues with a module

* Show me more logs maybe idk

* Try with ignore-scripts

* Force async to work asyncly

* PR feedback and ESLint fixes

* Add comment for node-gyp

* Revert me: test msi and mac installer

* Revert me too

* Try reverting back to the old system cause the new one miraculously broke...

* Add ignore scripts to makefile

* Ignore non-macho files :P

* Revert "Revert me too"

This reverts commit 074dc9551a2d8ce34a23a3abaeed937d957e8b76.

* Revert "Revert me: test msi and mac installer"

This reverts commit 0ac998c26a824e7136bdfdc825280a407bb1aa7f.
This commit is contained in:
Devin Binnie
2022-08-02 11:33:48 -04:00
committed by GitHub
parent fcc9215f37
commit 1e35a97f33
9 changed files with 599 additions and 476 deletions

View File

@@ -67,7 +67,8 @@
"check-types": "tsc",
"prune": "ts-prune",
"mmjstool": "mmjstool",
"i18n-extract": "npm run mmjstool -- i18n extract-desktop"
"i18n-extract": "npm run mmjstool -- i18n extract-desktop",
"postinstall": "electron-rebuild"
},
"jest": {
"clearMocks": true,
@@ -135,7 +136,6 @@
"@typescript-eslint/eslint-plugin": "5.18.0",
"@typescript-eslint/parser": "5.18.0",
"7zip-bin": "5.1.1",
"awesome-node-loader": "1.1.1",
"axios": "0.26.1",
"babel-eslint": "10.1.0",
"babel-loader": "8.2.4",
@@ -148,7 +148,7 @@
"electron-connect": "0.6.3",
"electron-mocha": "11.0.2",
"electron-notarize": "1.2.1",
"electron-rebuild": "3.2.7",
"electron-rebuild": "3.2.8",
"eslint": "7.29.0",
"eslint-import-resolver-webpack": "0.13.2",
"eslint-plugin-babel": "5.3.1",
@@ -165,6 +165,7 @@
"mmjstool": "github:mattermost/mattermost-utilities#3b4506b0f6b14fbb402f9f8ef932370e459e3773",
"mocha-circleci-reporter": "0.0.3",
"node-gyp": "9.0.0",
"node-loader": "2.0.0",
"npm-run-all": "4.1.5",
"playwright": "1.23.4",
"ps-node": "^0.1.6",
@@ -192,6 +193,7 @@
"electron-updater": "5.0.0",
"fs-extra": "10.0.1",
"joi": "17.6.0",
"macos-notification-state": "2.0.1",
"pretty-bytes": "6.0.0",
"react": "16.14.0",
"react-beautiful-dnd": "13.1.0",
@@ -202,6 +204,7 @@
"sass": "1.49.11",
"semver": "7.3.5",
"valid-url": "1.0.9",
"windows-focus-assist": "1.3.0",
"winreg-utf8": "0.1.1",
"yargs": "17.4.0"
},