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
15 changes: 2 additions & 13 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
publish_npm:
runs-on: windows-latest
runs-on: ubuntu-latest

permissions:
contents: read
Expand All @@ -20,18 +20,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18

- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: "3.10"

- name: Install node-gyp
run: npm install -g node-gyp

- name: Build package
run: npm run build
node-version: 20

- name: Create .npmrc file
run: |
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/pull-request.yml

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/.vscode
/bin
/build
/dist
/venv
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ This guide explains how to set up and build the `node-win` project.
Before proceeding, ensure you have the following tools installed:

- **Python 3.10**
- **Node 18**
- **Node 20**

```bash
nvm install 18
nvm install 20
```

- **node-gyp**
Expand Down
Binary file added dist/addon.node
Binary file not shown.
File renamed without changes.
2 changes: 1 addition & 1 deletion index.js → dist/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.addon = void 0;
exports.addon = require("./dist/addon.node");
exports.addon = require("./addon.node");
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@internxt/node-win",
"version": "1.0.16",
"version": "1.0.17",
"description": "Drive desktop node addon",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -16,5 +16,8 @@
"build:gyp": "node-gyp configure build",
"config:gyp": "python gyp.config.py",
"build": "python gyp.config.py && node-gyp clean && node-gyp configure build"
},
"engines": {
"node": ">=20.0.0"
}
}