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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
21 changes: 10 additions & 11 deletions .github/release-please/config.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"packages": {
".": {
"include-component-in-tag": false,
"release-type": "node",
"changelog-sections": [
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
{ "type": "chore", "section": "Chores", "hidden": false }
]
}
"packages": {
".": {
"include-component-in-tag": false,
"release-type": "node",
"changelog-sections": [
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
{ "type": "chore", "section": "Chores", "hidden": false }
]
}
}
}

2 changes: 1 addition & 1 deletion .github/release-please/manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.2.4"
".": "0.2.4"
}
28 changes: 18 additions & 10 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: cd
name: Node.js CD

on:
push:
Expand All @@ -12,33 +12,41 @@ permissions:

jobs:
publish:
name: Publish to npm
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6.0.2
- name: Checkout repository
uses: actions/checkout@v6.0.2
with:
fetch-depth: 0

- id: release
- name: Create release PR or tag release
id: release
uses: googleapis/release-please-action@v4.4.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: .github/release-please/config.json
manifest-file: .github/release-please/manifest.json

- uses: actions/setup-node@v6.3.0
- name: Setup Node
if: ${{ steps.release.outputs.release_created }}
uses: actions/setup-node@v6.3.0
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
node-version: "24"
registry-url: "https://registry.npmjs.org"

- run: npm install -g npm@latest
- name: Update npm to latest
if: ${{ steps.release.outputs.release_created }}
run: npm install -g npm@latest

- run: npm ci
- name: Install third party dependencies
if: ${{ steps.release.outputs.release_created }}
run: npm ci

- run: npm run type
- name: Check for type errors
if: ${{ steps.release.outputs.release_created }}
run: npm run type

- run: npm publish --tag latest --provenance --access public
- name: Publish to npm with provenance
if: ${{ steps.release.outputs.release_created }}
run: npm publish --tag latest --provenance --access public
43 changes: 33 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci
name: Node.js CI

on:
pull_request:
Expand All @@ -18,30 +18,53 @@ jobs:
strategy:
matrix:
os:
- macos-15
- macos-26
- macos-26-intel
- ubuntu-24.04
- ubuntu-24.04-arm
- windows-2025
- windows-11-arm
include:
- os: macos-26
display: MacOS 26 ARM
- os: macos-26-intel
display: MacOS 26 Intel
- os: ubuntu-24.04
display: Ubuntu 24.04 Intel
- os: ubuntu-24.04-arm
display: Ubuntu 24.04 ARM
- os: windows-2025
display: Windows 11 Intel
- os: windows-11-arm
display: Windows 11 (ARM)
fail-fast: false

name: ${{ matrix.display }}

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

steps:
- name: Checkout repository
uses: actions/checkout@v6.0.2
uses: actions/checkout@v7.0.0

- name: Setup Volta
uses: volta-cli/action@v4.2.1
- name: Setup Node
uses: actions/setup-node@v7.0.0
with:
node-version: 26.1.0

- name: Install dependencies
- name: Install third party dependencies
run: npm ci

- name: Check for third party vulnerabilities
run: npm audit

- name: Check for formatting errors
run: npm run format

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

- name: Check for type errors
run: npm run type

- name: Check for typing errors
- name: Check for type errors
run: npm run type

- name: Run tests with coverage
Expand Down
86 changes: 34 additions & 52 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,128 +2,110 @@

## [0.2.4](https://github.com/nwutils/getter/compare/v0.2.3...v0.2.4) (2026-03-26)


### Bug Fixes

* **types:** point to correct path ([bade2aa](https://github.com/nwutils/getter/commit/bade2aab27c3edbc38d8e0a4a13a92d88937474b))
- **types:** point to correct path ([bade2aa](https://github.com/nwutils/getter/commit/bade2aab27c3edbc38d8e0a4a13a92d88937474b))

## [0.2.3](https://github.com/nwutils/getter/compare/v0.2.2...v0.2.3) (2026-03-26)


### Bug Fixes

* **deps:** bump tar from 7.5.10 to 7.5.11 ([#29](https://github.com/nwutils/getter/issues/29)) ([77aaf71](https://github.com/nwutils/getter/commit/77aaf71f58a7adc76ecf6367f205ffc56d828e2e))
* **deps:** bump tar from 7.5.9 to 7.5.10 ([#28](https://github.com/nwutils/getter/issues/28)) ([a699f93](https://github.com/nwutils/getter/commit/a699f9374658b6747dda698df095b4f5dde40cf0))
* export types ([dfcdd17](https://github.com/nwutils/getter/commit/dfcdd17335067674ca46a290eb6df9435deb11b4))

- **deps:** bump tar from 7.5.10 to 7.5.11 ([#29](https://github.com/nwutils/getter/issues/29)) ([77aaf71](https://github.com/nwutils/getter/commit/77aaf71f58a7adc76ecf6367f205ffc56d828e2e))
- **deps:** bump tar from 7.5.9 to 7.5.10 ([#28](https://github.com/nwutils/getter/issues/28)) ([a699f93](https://github.com/nwutils/getter/commit/a699f9374658b6747dda698df095b4f5dde40cf0))
- export types ([dfcdd17](https://github.com/nwutils/getter/commit/dfcdd17335067674ca46a290eb6df9435deb11b4))

### Chores

* **deps:** bump flatted from 3.3.3 to 3.4.2 ([#30](https://github.com/nwutils/getter/issues/30)) ([20cd4ca](https://github.com/nwutils/getter/commit/20cd4ca549025bf958e22b15e0fb7ac9a905fe79))
* **deps:** bump tar from 7.5.4 to 7.5.7 ([#21](https://github.com/nwutils/getter/issues/21)) ([969220c](https://github.com/nwutils/getter/commit/969220c53612e72b0ebbe7f9ded131fac78a3786))
* **deps:** bump the gha group in /.github/workflows with 2 updates ([#23](https://github.com/nwutils/getter/issues/23)) ([6373ad3](https://github.com/nwutils/getter/commit/6373ad3cbb9756e975b58c6fd4c0812a01e31d41))
* **deps:** bump the npm group across 1 directory with 7 updates ([#26](https://github.com/nwutils/getter/issues/26)) ([e35e8b1](https://github.com/nwutils/getter/commit/e35e8b1b51aced61f5d52f4206abfd08fe373a79))
- **deps:** bump flatted from 3.3.3 to 3.4.2 ([#30](https://github.com/nwutils/getter/issues/30)) ([20cd4ca](https://github.com/nwutils/getter/commit/20cd4ca549025bf958e22b15e0fb7ac9a905fe79))
- **deps:** bump tar from 7.5.4 to 7.5.7 ([#21](https://github.com/nwutils/getter/issues/21)) ([969220c](https://github.com/nwutils/getter/commit/969220c53612e72b0ebbe7f9ded131fac78a3786))
- **deps:** bump the gha group in /.github/workflows with 2 updates ([#23](https://github.com/nwutils/getter/issues/23)) ([6373ad3](https://github.com/nwutils/getter/commit/6373ad3cbb9756e975b58c6fd4c0812a01e31d41))
- **deps:** bump the npm group across 1 directory with 7 updates ([#26](https://github.com/nwutils/getter/issues/26)) ([e35e8b1](https://github.com/nwutils/getter/commit/e35e8b1b51aced61f5d52f4206abfd08fe373a79))

## [0.2.2](https://github.com/nwutils/getter/compare/v0.2.1...v0.2.2) (2026-01-27)


### Chores

* **ci:** add type check in CI ([93b5361](https://github.com/nwutils/getter/commit/93b5361f21b074fe05ee809d54f70945a6156f3e))
* **ci:** fix types ([#18](https://github.com/nwutils/getter/issues/18)) ([9e4c74e](https://github.com/nwutils/getter/commit/9e4c74e97e501ed6fc540ff7abba9b4e97ec881a))
- **ci:** add type check in CI ([93b5361](https://github.com/nwutils/getter/commit/93b5361f21b074fe05ee809d54f70945a6156f3e))
- **ci:** fix types ([#18](https://github.com/nwutils/getter/issues/18)) ([9e4c74e](https://github.com/nwutils/getter/commit/9e4c74e97e501ed6fc540ff7abba9b4e97ec881a))

## [0.2.1](https://github.com/nwutils/getter/compare/v0.2.0...v0.2.1) (2026-01-27)


### Bug Fixes

* **deps:** bump tar from 7.5.3 to 7.5.4 ([#16](https://github.com/nwutils/getter/issues/16)) ([1c83356](https://github.com/nwutils/getter/commit/1c833568d3c955e5a70f3be435d7e0f763c4d5ae))

- **deps:** bump tar from 7.5.3 to 7.5.4 ([#16](https://github.com/nwutils/getter/issues/16)) ([1c83356](https://github.com/nwutils/getter/commit/1c833568d3c955e5a70f3be435d7e0f763c4d5ae))

### Chores

* convert JSDoc comments to TypeScript types ([da83de8](https://github.com/nwutils/getter/commit/da83de8a00eb155fd352b8ca9f6c4a66649823e9))
- convert JSDoc comments to TypeScript types ([da83de8](https://github.com/nwutils/getter/commit/da83de8a00eb155fd352b8ca9f6c4a66649823e9))

## [0.2.0](https://github.com/nwutils/getter/compare/v0.1.6...v0.2.0) (2026-01-18)


### Features

* support file protocol for options.manifestUrl ([#14](https://github.com/nwutils/getter/issues/14)) ([76b00d4](https://github.com/nwutils/getter/commit/76b00d4379f38644329c81ef264d5e67ce427425))

- support file protocol for options.manifestUrl ([#14](https://github.com/nwutils/getter/issues/14)) ([76b00d4](https://github.com/nwutils/getter/commit/76b00d4379f38644329c81ef264d5e67ce427425))

### Bug Fixes

* **deps:** security update for node-tar ([#12](https://github.com/nwutils/getter/issues/12)) ([28f991f](https://github.com/nwutils/getter/commit/28f991f89b51ffc98ab1d0fcc82298ac9496b322))

- **deps:** security update for node-tar ([#12](https://github.com/nwutils/getter/issues/12)) ([28f991f](https://github.com/nwutils/getter/commit/28f991f89b51ffc98ab1d0fcc82298ac9496b322))

### Chores

* lint jsdoc comments ([96d71c2](https://github.com/nwutils/getter/commit/96d71c2fcb9da06bd616b71c5b5d97d62550c888))
- lint jsdoc comments ([96d71c2](https://github.com/nwutils/getter/commit/96d71c2fcb9da06bd616b71c5b5d97d62550c888))

## [0.1.6](https://github.com/nwutils/getter/compare/v0.1.5...v0.1.6) (2026-01-17)


### Bug Fixes

* return NW.js file path ([#9](https://github.com/nwutils/getter/issues/9)) ([3589c17](https://github.com/nwutils/getter/commit/3589c173df07b49698c7ef2899608920f5b37771))

- return NW.js file path ([#9](https://github.com/nwutils/getter/issues/9)) ([3589c17](https://github.com/nwutils/getter/commit/3589c173df07b49698c7ef2899608920f5b37771))

### Chores

* **dependabot:** daily -> monthly ([97deb87](https://github.com/nwutils/getter/commit/97deb8756dc1733dcba43f4830a5a9b1c2f337ab))
* **test:** cover http request logic ([#11](https://github.com/nwutils/getter/issues/11)) ([97674b1](https://github.com/nwutils/getter/commit/97674b1243d26e44c151cc259a1375d44d3d677f))
- **dependabot:** daily -> monthly ([97deb87](https://github.com/nwutils/getter/commit/97deb8756dc1733dcba43f4830a5a9b1c2f337ab))
- **test:** cover http request logic ([#11](https://github.com/nwutils/getter/issues/11)) ([97674b1](https://github.com/nwutils/getter/commit/97674b1243d26e44c151cc259a1375d44d3d677f))

## [0.1.5](https://github.com/nwutils/getter/compare/v0.1.4...v0.1.5) (2025-11-30)


### Chores

* enable OIDC ([a8aa7df](https://github.com/nwutils/getter/commit/a8aa7dfbafff961f9b5f3f95d6592e207f039739))
- enable OIDC ([a8aa7df](https://github.com/nwutils/getter/commit/a8aa7dfbafff961f9b5f3f95d6592e207f039739))

## [0.1.4](https://github.com/nwutils/getter/compare/v0.1.3...v0.1.4) (2025-11-30)


### Chores

* **ci:** update npm to latest before publishing ([81eaad3](https://github.com/nwutils/getter/commit/81eaad34a778b2d6fdb6df241d6329ec9a953d98))
- **ci:** update npm to latest before publishing ([81eaad3](https://github.com/nwutils/getter/commit/81eaad34a778b2d6fdb6df241d6329ec9a953d98))

## [0.1.3](https://github.com/nwutils/getter/compare/v0.1.2...v0.1.3) (2025-11-30)


### Chores

* **ci:** add id: release ([c7d9c1c](https://github.com/nwutils/getter/commit/c7d9c1c1182682ee547cda1e3a3da729193b1904))
- **ci:** add id: release ([c7d9c1c](https://github.com/nwutils/getter/commit/c7d9c1c1182682ee547cda1e3a3da729193b1904))

## [0.1.2](https://github.com/nwutils/getter/compare/v0.1.1...v0.1.2) (2025-11-30)


### Bug Fixes

* adopt inversion of control ([#2](https://github.com/nwutils/getter/issues/2)) ([8f87b29](https://github.com/nwutils/getter/commit/8f87b2955e9b939274d2bf0ad8f9f6e25164ae7f))

- adopt inversion of control ([#2](https://github.com/nwutils/getter/issues/2)) ([8f87b29](https://github.com/nwutils/getter/commit/8f87b2955e9b939274d2bf0ad8f9f6e25164ae7f))

### Chores

* **ci:** merge publish into release ([de9dc94](https://github.com/nwutils/getter/commit/de9dc94bb13b3dc061db8b9909ad80650fba307f))
* **ci:** set fetch-depth to 0 ([9aa6690](https://github.com/nwutils/getter/commit/9aa66909fe30fa22abe6a5c69bddf1515f17b7c1))
* **ci:** trigger publish job on release event ([a90974e](https://github.com/nwutils/getter/commit/a90974eecc9fa8aad4b1d083d6b0b0746bd53762))
* **ci:** try trigger npm publish on release.types == published event ([d427207](https://github.com/nwutils/getter/commit/d42720747f47659e84f31762487512efc767ecca))
* **deps:** configure Dependabot ([0e0a0bf](https://github.com/nwutils/getter/commit/0e0a0bf838e9f9078c1749cb012cfd0142d75de8))
* **main:** release 0.1.1 ([#4](https://github.com/nwutils/getter/issues/4)) ([fa46f38](https://github.com/nwutils/getter/commit/fa46f38f00aff479e1e6138f6c9b89153ccd1225))
* migrate from nw-builder ([f78b3d9](https://github.com/nwutils/getter/commit/f78b3d9aa075c740197cbe1f832a8a4b5eb9d8eb))
* **release-please:** remove last-release-sha ([b7cdf68](https://github.com/nwutils/getter/commit/b7cdf68639251504e719f4cdd4a9a2a2f04e1ae2))
- **ci:** merge publish into release ([de9dc94](https://github.com/nwutils/getter/commit/de9dc94bb13b3dc061db8b9909ad80650fba307f))
- **ci:** set fetch-depth to 0 ([9aa6690](https://github.com/nwutils/getter/commit/9aa66909fe30fa22abe6a5c69bddf1515f17b7c1))
- **ci:** trigger publish job on release event ([a90974e](https://github.com/nwutils/getter/commit/a90974eecc9fa8aad4b1d083d6b0b0746bd53762))
- **ci:** try trigger npm publish on release.types == published event ([d427207](https://github.com/nwutils/getter/commit/d42720747f47659e84f31762487512efc767ecca))
- **deps:** configure Dependabot ([0e0a0bf](https://github.com/nwutils/getter/commit/0e0a0bf838e9f9078c1749cb012cfd0142d75de8))
- **main:** release 0.1.1 ([#4](https://github.com/nwutils/getter/issues/4)) ([fa46f38](https://github.com/nwutils/getter/commit/fa46f38f00aff479e1e6138f6c9b89153ccd1225))
- migrate from nw-builder ([f78b3d9](https://github.com/nwutils/getter/commit/f78b3d9aa075c740197cbe1f832a8a4b5eb9d8eb))
- **release-please:** remove last-release-sha ([b7cdf68](https://github.com/nwutils/getter/commit/b7cdf68639251504e719f4cdd4a9a2a2f04e1ae2))

## [0.1.1](https://github.com/nwutils/getter/compare/v0.1.0...v0.1.1) (2025-11-30)


### Bug Fixes

* adopt inversion of control ([#2](https://github.com/nwutils/getter/issues/2)) ([8f87b29](https://github.com/nwutils/getter/commit/8f87b2955e9b939274d2bf0ad8f9f6e25164ae7f))

- adopt inversion of control ([#2](https://github.com/nwutils/getter/issues/2)) ([8f87b29](https://github.com/nwutils/getter/commit/8f87b2955e9b939274d2bf0ad8f9f6e25164ae7f))

### Chores

* **ci:** trigger publish job on release event ([a90974e](https://github.com/nwutils/getter/commit/a90974eecc9fa8aad4b1d083d6b0b0746bd53762))
* **deps:** configure Dependabot ([0e0a0bf](https://github.com/nwutils/getter/commit/0e0a0bf838e9f9078c1749cb012cfd0142d75de8))
* migrate from nw-builder ([f78b3d9](https://github.com/nwutils/getter/commit/f78b3d9aa075c740197cbe1f832a8a4b5eb9d8eb))
- **ci:** trigger publish job on release event ([a90974e](https://github.com/nwutils/getter/commit/a90974eecc9fa8aad4b1d083d6b0b0746bd53762))
- **deps:** configure Dependabot ([0e0a0bf](https://github.com/nwutils/getter/commit/0e0a0bf838e9f9078c1749cb012cfd0142d75de8))
- migrate from nw-builder ([f78b3d9](https://github.com/nwutils/getter/commit/f78b3d9aa075c740197cbe1f832a8a4b5eb9d8eb))
Loading
Loading