Fix/windows addon lib (#369)

* Adds libs and exp to windows addon building

* fixes refex on windows prebuilt

* 0.13.1
This commit is contained in:
Atul R 2020-01-25 21:52:15 +01:00 committed by GitHub
parent 9f91c32a0e
commit 626045549f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View File

@ -25,7 +25,7 @@ jobs:
if: contains(github.event.client_payload.tag, '0.0.0-latest-master')
run: npm --no-git-tag-version version 0.0.0-latest-master
- name: Prebuild binary
run: npm run prebuild:build
run: npx prebuild --all --backend=cmake-js --strip --runtime=napi --include-regex="\.[n,e,l][a-z]*$"
- name: Release
uses: softprops/action-gh-release@master
with:

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@nodegui/nodegui",
"version": "0.13.0",
"version": "0.13.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@nodegui/nodegui",
"version": "0.13.0",
"version": "0.13.1",
"description": "A cross platform library to build native desktop apps.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
@ -12,7 +12,6 @@
"build": "tsc && npm run build:addon",
"postinstall": "cross-env node ./scripts/skip.js || npm run prebuild:install || npm run build:addon",
"build:addon": "cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile",
"prebuild:build": "prebuild --all --backend=cmake-js --runtime=napi",
"prebuild:install": "prebuild-install --backend=cmake-js --runtime=napi --verbose",
"test": "qode ./node_modules/jest/bin/jest -i",
"lint:cpp": "clang-format -i --glob=src/cpp/**/*.[h,c]*",

View File

@ -1,7 +1,9 @@
#pragma once
#include <napi.h>
#include <QEvent>
#include "Extras/Utils/nutils.h"
#include "core/Events/eventsmap.h"