From 11153684067ace9af710f9cb1d5f9acb8357e4a6 Mon Sep 17 00:00:00 2001 From: Ayushman Chhabra <14110965+ayushmanchhabra@users.noreply.github.com> Date: Sun, 9 Jun 2024 19:59:32 +0530 Subject: [PATCH] chore(docs): rename from node-webkit-updater to @nwutils/updater --- README.md | 10 +++++----- package-lock.json | 7 +++---- package.json | 9 ++++----- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index b0698c1..4616747 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ > 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. -# node-webkit-updater +# @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/nw-builder.svg)](https://gitter.im/nwjs/nw-builder?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Join the chat at https://gitter.im/nwjs/nwjs](https://badges.gitter.im/nwjs/nwjs.svg)](https://gitter.im/nwjs/nwjs) -``` -npm i -D node-webkit-updater +```shell +npm i @nwutils/updater ``` It gives you low-level API to: @@ -33,7 +33,7 @@ Covered by tests and works for [linux](http://screencast.com/t/Je2ptbHhP), [wind #### new updater(manifest, options) Creates new instance of updater. Manifest could be a `package.json` of project. -Note that compressed apps are assumed to be downloaded in the format produced by [node-webkit-builder](https://github.com/mllrsohn/node-webkit-builder) (or [grunt-node-webkit-builder](https://github.com/mllrsohn/grunt-node-webkit-builder)). +Note that compressed apps are assumed to be downloaded in the format produced by [nw-builder](https://github.com/nwutils/nw-builder) (or [grunt-nw-builder](https://github.com/nwjs/grunt-nw-builder)). **Params** diff --git a/package-lock.json b/package-lock.json index 1e3815c..4f94bb8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "node-webkit-updater", + "name": "@nwutils/updater", "version": "0.3.5", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "node-webkit-updater", + "name": "@nwutils/updater", "version": "0.3.5", "dependencies": { "axios": "^1.7.2", @@ -24,8 +24,7 @@ "grunt-contrib-copy": "^1.0.0", "grunt-mocha-test": "^0.13.3", "grunt-nw-builder": "^4.7.4", - "mocha": "^10.4.0", - "nw-builder": "^4.7.4" + "mocha": "^10.4.0" } }, "node_modules/@babel/runtime": { diff --git a/package.json b/package.json index aa1bd48..7c3959a 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "node-webkit-updater", + "name": "@nwutils/updater", "description": "Update NW.js applications", "keywords": [ "NW.js", @@ -19,7 +19,7 @@ ], "contributors": [ { - "name": "The nw-updater Authors", + "name": "The @nwutils/updater Authors", "url": "https://github.com/nwutils/nw-updater/graphs/contributors" } ], @@ -37,7 +37,7 @@ }, "scripts": { "grunt": "grunt", - "test": "node node_modules/grunt-cli/bin/grunt clean mochaTest", + "test": "grunt clean mochaTest", "types": "npx -p typescript tsc app/updater.js --declaration --allowJs --emitDeclarationOnly --outFile ./index.d.ts" }, "dependencies": { @@ -57,7 +57,6 @@ "grunt-contrib-copy": "^1.0.0", "grunt-mocha-test": "^0.13.3", "grunt-nw-builder": "^4.7.4", - "mocha": "^10.4.0", - "nw-builder": "^4.7.4" + "mocha": "^10.4.0" } }