Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .editorconfig

This file was deleted.

4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ updates:
- package-ecosystem: "npm"
directory: "."
schedule:
interval: "daily"
interval: "monthly"
groups:
npm:
patterns:
- "*"
- package-ecosystem: "github-actions"
directory: ".github/"
schedule:
interval: "daily"
interval: "monthly"
groups:
gha:
patterns:
Expand Down
40 changes: 29 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: ci

on:
pull_request:
branches:
- main
workflow_dispatch:
branches:
- main

permissions:
contents: read
pull-requests: write

concurrency:
group: ${{ github.ref }}
Expand All @@ -15,13 +17,29 @@ jobs:
test:
strategy:
matrix:
os: [macos-14, ubuntu-22.04, windows-2022]
os:
# - macos-26
- ubuntu-24.04
# - windows-2025

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3.3.0
- uses: actions/setup-node@v3.6.0
with:
node-version: 20
cache: "npm"
- run: npm ci
- run: npm t
- name: Checkout repository
uses: actions/checkout@v6.0.2

- name: Setup Volta
uses: volta-cli/action@v4.2.1

- name: Install dependencies
run: npm ci

- name: Check for linting errors
run: npm run lint

# TODO: re enable after adding test coverage for every function.
# - name: Check for type errors
# run: npm run type

- name: Check for test suite errors
run: npm run test
11 changes: 4 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
node_modules

# Test stuff
cache
test/app
test/deploy0.1
test/deploy0.2

# JetBrains
.idea
*.iml
*.zip

tests/fixtures/releases/app-0.0.1-linux-x64
tests/fixtures/app-current/updater.js
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
> This repository is in maintainance mode. Bug fixes will be provided on a best effort basis. If you use this project, please consider contributing back.

# @nwutils/updater

[![npm](https://img.shields.io/npm/v/node-webkit-updater.svg?style=flat)](https://www.npmjs.com/package/node-webkit-updater)
[![Join the chat at https://gitter.im/nwjs/nwjs](https://badges.gitter.im/nwjs/nwjs.svg)](https://gitter.im/nwjs/nwjs)

```shell
npm i @nwutils/updater
Update NW.js applications for Linux, MacOS and Windows platforms.

## Getting Started

1. Install [Volta](https://volta.sh/).
1. `npm i @nwutils/updater`

## Usage

```js
import {}
```

It gives you low-level API to:
Expand Down
110 changes: 0 additions & 110 deletions app/index.html

This file was deleted.

17 changes: 0 additions & 17 deletions app/package.json

This file was deleted.

Binary file removed app/tools/unzip.exe
Binary file not shown.
57 changes: 0 additions & 57 deletions examples/basic.js

This file was deleted.

Loading
Loading