Adds automatic alpha release for master branch (#281)
Adds auto alpha release on master commit
This commit is contained in:
parent
4a88933eb2
commit
80209ba155
37
.github/workflows/latest.yml
vendored
Normal file
37
.github/workflows/latest.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master # Push events on master branch
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-18.04]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: '13.x'
|
||||
- name: Install deps
|
||||
run: npm install --ignore-scripts
|
||||
- name: Build nodegui
|
||||
run: npx tsc
|
||||
- name: Archive using npm pack
|
||||
run: npm --no-git-tag-version version 1.0.0-master && npm pack
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: latest-release
|
||||
path: nodegui-nodegui-1.0.0-master.tgz
|
||||
- uses: nodegui/create-release@master
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
code: latest-master
|
||||
name: Latest Master Release
|
||||
body: >
|
||||
Latest auto release corresponding to commit ${{github.sha}} 🔥.
|
||||
To install do, npm install https://github.com/@nodegui/nodegui/releases/download/latest-master/nodegui-master.tgz
|
||||
assets: >
|
||||
nodegui-nodegui-1.0.0-master.tgz:nodegui-master.tgz:application/tar+gzip
|
||||
recreate: true
|
||||
68
README.md
68
README.md
@ -39,41 +39,54 @@ https://github.com/nodegui/examples
|
||||
|
||||
## Features
|
||||
|
||||
- 🧬 Cross platform. Should work on major Linux flavours, Windows and MacOS.
|
||||
- 📉 Low CPU and memory footprint. Current CPU stays at 0% on idle and memory usage is under 20mb for a hello world program.
|
||||
- 💅 Styling with CSS (includes actual cascading). Also has full support for Flexbox layout (thanks to Yoga).
|
||||
- ✅ Complete Nodejs api support (Currently runs on Node v12.x - and is easily upgradable). Hence has access to all nodejs compatible npm modules.
|
||||
- 🎪 Native widget event listener support. Supports all events available from Qt / NodeJs.
|
||||
- 💸 Can be used for Commercial applications.
|
||||
- 🕵️♂️ Good Devtools support.
|
||||
- 📚 Good documentation and website.
|
||||
- 🧙♂️ Good documentation for contributors.
|
||||
- 🦹🏻♀️ Good support for dark mode (Thanks to QT).
|
||||
- 🏅First class Typescript support. (Works on regular JS projects too 😉).
|
||||
|
||||
- 🧬 Cross platform. Should work on major Linux flavours, Windows and MacOS.
|
||||
- 📉 Low CPU and memory footprint. Current CPU stays at 0% on idle and memory usage is under 20mb for a hello world program.
|
||||
- 💅 Styling with CSS (includes actual cascading). Also has full support for Flexbox layout (thanks to Yoga).
|
||||
- ✅ Complete Nodejs api support (Currently runs on Node v12.x - and is easily upgradable). Hence has access to all nodejs compatible npm modules.
|
||||
- 🎪 Native widget event listener support. Supports all events available from Qt / NodeJs.
|
||||
- 💸 Can be used for Commercial applications.
|
||||
- 🕵️♂️ Good Devtools support.
|
||||
- 📚 Good documentation and website.
|
||||
- 🧙♂️ Good documentation for contributors.
|
||||
- 🦹🏻♀️ Good support for dark mode (Thanks to QT).
|
||||
- 🏅First class Typescript support. (Works on regular JS projects too 😉).
|
||||
|
||||
## Getting Started
|
||||
|
||||
- Check out [nodegui-starter](https://github.com/nodegui/nodegui-starter) to get up and running with your own React NodeGUI app!
|
||||
- Read through the [docs](https://nodegui.github.io/nodegui).
|
||||
- Checkout the examples: https://github.com/nodegui/examples .
|
||||
- Check out [nodegui-starter](https://github.com/nodegui/nodegui-starter) to get up and running with your own React NodeGUI app!
|
||||
- Read through the [docs](https://nodegui.github.io/nodegui).
|
||||
- Checkout the examples: https://github.com/nodegui/examples .
|
||||
|
||||
## Installation
|
||||
|
||||
To install latest stable release:
|
||||
|
||||
```
|
||||
npm install @nodegui/nodegui
|
||||
```
|
||||
|
||||
To install the latest version available on master branch:
|
||||
|
||||
```
|
||||
npm install https://github.com/@nodegui/nodegui/releases/download/latest-master/nodegui-master.tgz
|
||||
```
|
||||
|
||||
**Community guides**
|
||||
|
||||
- https://blog.logrocket.com/electron-alternatives-exploring-nodegui-and-react-nodegui/ - Electron alternatives: Exploring NodeGUI and React NodeGUI by [Siegfried Grimbeek](https://blog.logrocket.com/author/siegfriedgrimbeek/).
|
||||
- https://hibbard.eu/node-gui/ - Excellent guide from [James Hibbard](https://github.com/jameshibbard).
|
||||
- https://blog.logrocket.com/electron-alternatives-exploring-nodegui-and-react-nodegui/ - Electron alternatives: Exploring NodeGUI and React NodeGUI by [Siegfried Grimbeek](https://blog.logrocket.com/author/siegfriedgrimbeek/).
|
||||
- https://hibbard.eu/node-gui/ - Excellent guide from [James Hibbard](https://github.com/jameshibbard).
|
||||
|
||||
**Talks/Podcasts**
|
||||
|
||||
- [NodeGui and React NodeGui at KarmaJS Nov 2019 meetup: https://www.youtube.com/watch?v=8jH5gaEEDv4](https://www.youtube.com/watch?v=8jH5gaEEDv4)
|
||||
- [NodeGui and React NodeGui at KarmaJS Nov 2019 meetup: https://www.youtube.com/watch?v=8jH5gaEEDv4](https://www.youtube.com/watch?v=8jH5gaEEDv4)
|
||||
|
||||
- <audio data-theme="night" data-src="https://changelog.com/jsparty/96/embed" src="https://cdn.changelog.com/uploads/jsparty/96/js-party-96.mp3" preload="none" class="changelog-episode" controls></audio><p><a href="https://changelog.com/jsparty/96">JS Party 96: Performant Node desktop apps with NodeGUI</a> – Listen on <a href="https://changelog.com/">Changelog.com</a></p>
|
||||
- <audio data-theme="night" data-src="https://changelog.com/jsparty/96/embed" src="https://cdn.changelog.com/uploads/jsparty/96/js-party-96.mp3" preload="none" class="changelog-episode" controls></audio><p><a href="https://changelog.com/jsparty/96">JS Party 96: Performant Node desktop apps with NodeGUI</a> – Listen on <a href="https://changelog.com/">Changelog.com</a></p>
|
||||
|
||||
## Docs for contributing
|
||||
|
||||
```
|
||||
It is easier than you think, try it
|
||||
```
|
||||
```
|
||||
It is easier than you think, try it
|
||||
```
|
||||
|
||||
Looking to contribute? If you wish to implement a new widget/add more features and need help understanding the codebase, you can start here: [Contributing developer docs](https://github.com/nodegui/nodegui/tree/master/website/docs/development).
|
||||
|
||||
@ -81,11 +94,13 @@ Please read https://github.com/nodegui/.github/blob/master/CONTRIBUTING.md
|
||||
|
||||
## Building
|
||||
|
||||
`npm run build [--qt_home_dir=/path/to/qt]`
|
||||
`npm run build`
|
||||
|
||||
Optionally set `QT_INSTALL_DIR='/path/to/qt'` environment variable to build using your own version of Qt.
|
||||
|
||||
## Funding
|
||||
|
||||
NodeGUI is an open source project and requires your support. If you like this project, please consider supporting my work by clicking on the Sponsor button on this Github repository or via Ko-Fi.
|
||||
NodeGUI is an open source project and requires your support. If you like this project, please consider supporting my work by clicking on the Sponsor button on this Github repository or via Ko-Fi.
|
||||
Alternatively, Issues on NodeGui can be funded by anyone via Issuehunt and the amount will be distributed to respective contributors.
|
||||
|
||||
<p>
|
||||
@ -94,7 +109,7 @@ Alternatively, Issues on NodeGui can be funded by anyone via Issuehunt and the a
|
||||
|
||||
## Special Thanks
|
||||
|
||||
- [Logo: Thanks to Vishwas Shetty from the Noun Project.](https://github.com/nodegui/nodegui/blob/master/extras/legal/logo/thanks.md)
|
||||
- [Logo: Thanks to Vishwas Shetty from the Noun Project.](https://github.com/nodegui/nodegui/blob/master/extras/legal/logo/thanks.md)
|
||||
|
||||
## Code of Conduct
|
||||
|
||||
@ -117,7 +132,6 @@ Thanks goes to these wonderful people.
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
## Maintainers ✨
|
||||
|
||||
People maintaining this project.
|
||||
@ -130,7 +144,6 @@ People maintaining this project.
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
## Contributors ✨
|
||||
|
||||
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
@ -170,6 +183,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
||||
|
||||
<!-- markdownlint-enable -->
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
||||
|
||||
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
||||
|
||||
@ -17,8 +17,8 @@
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"dev": "npm run build && qode dist/demo.js",
|
||||
"postinstall": "npm run build:addon",
|
||||
"build": "tsc && npm run build:addon",
|
||||
"postinstall": "npm run build:addon",
|
||||
"build:addon": "cross-env CMAKE_BUILD_PARALLEL_LEVEL=8 cmake-js compile",
|
||||
"test": "qode ./node_modules/jest/bin/jest -i",
|
||||
"lint:cpp": "clang-format -i --glob=src/cpp/**/*.[h,c]*",
|
||||
|
||||
@ -1,10 +1,11 @@
|
||||
|
||||
#include "QtWidgets/QComboBox/qcombobox_wrap.h"
|
||||
|
||||
#include <QWidget>
|
||||
#include "QtCore/QVariant/qvariant_wrap.h"
|
||||
#include "QtGui/QIcon/qicon_wrap.h"
|
||||
|
||||
#include "Extras/Utils/nutils.h"
|
||||
#include "QtCore/QVariant/qvariant_wrap.h"
|
||||
#include "QtGui/QIcon/qicon_wrap.h"
|
||||
#include "QtWidgets/QWidget/qwidget_wrap.h"
|
||||
|
||||
Napi::FunctionReference QComboBoxWrap::constructor;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user