Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cmake-js/cmake-js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2e69605cce296be758bd8e7eabaa7a6e10675924
Choose a base ref
...
head repository: cmake-js/cmake-js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a1c10147773b55dd4ac1b6244e267bd25d97ccfd
Choose a head ref

Commits on May 9, 2022

  1. Various tidying (#275)

    * chore: remove support for iojs
    
    * chore: remove unused dependency
    
    * chore: remove unused zip download support
    
    * chore: replace bluebird coroutine with async methods, and builtin promises
    
    * chore: fix tests
    
    * chore: make npm package contents more predictable
    
    * chore: update most dependencies
    
    * chore: remove unused imports
    
    * chore: replace some uses of lodash
    
    * chore: remove dependency on full lodash
    
    * chore: update documentation
    Julusian authored May 9, 2022
    Copy the full SHA
    dab3f72 View commit details

Commits on May 10, 2022

  1. Copy the full SHA
    29f00b9 View commit details
  2. Copy the full SHA
    d19e529 View commit details
  3. feat: add parallel as option (#262)

    Co-authored-by: Nathan Brake <nbrake3@mmm.com>
    Co-authored-by: Julian Waller <git@julusian.co.uk>
    3 people authored May 10, 2022
    Copy the full SHA
    e61cb07 View commit details
  4. chore: run eslint

    Julusian committed May 10, 2022
    Copy the full SHA
    ce775ae View commit details
  5. Copy the full SHA
    afdaaf2 View commit details

Commits on May 20, 2022

  1. chore: reword readme

    Julusian committed May 20, 2022
    Copy the full SHA
    ea9d18f View commit details

Commits on Jun 1, 2022

  1. chore: tidying

    Julusian committed Jun 1, 2022
    Copy the full SHA
    404d166 View commit details

Commits on Jun 2, 2022

  1. Copy the full SHA
    93061ed View commit details
  2. chore: update github url

    Julusian committed Jun 2, 2022
    Copy the full SHA
    b27c198 View commit details
  3. chore: add as maintainer

    Julusian committed Jun 2, 2022
    Copy the full SHA
    04d48e3 View commit details

Commits on Jun 3, 2022

  1. Copy the full SHA
    28ccd3f View commit details
  2. v7.0.0-1

    Julusian committed Jun 3, 2022
    Copy the full SHA
    cd7e82c View commit details

Commits on Jun 4, 2022

  1. Copy the full SHA
    2eedfc5 View commit details
  2. chore: github actions

    Julusian committed Jun 4, 2022
    Copy the full SHA
    5daadfb View commit details
  3. Copy the full SHA
    1650e56 View commit details

Commits on Jun 5, 2022

  1. chore: fix gha

    Julusian committed Jun 5, 2022
    Copy the full SHA
    eee0d93 View commit details
  2. Merge branch '6.x'

    Julusian committed Jun 5, 2022
    Copy the full SHA
    695b94c View commit details
  3. Copy the full SHA
    2a28e70 View commit details
  4. Copy the full SHA
    565aa23 View commit details
  5. Copy the full SHA
    1c78b2a View commit details
  6. Copy the full SHA
    272ec18 View commit details

Commits on Jun 6, 2022

  1. Copy the full SHA
    2e3b7a0 View commit details
  2. Copy the full SHA
    ce9e883 View commit details
  3. Copy the full SHA
    0247618 View commit details
  4. Copy the full SHA
    0e2c948 View commit details
  5. Copy the full SHA
    3e4558f View commit details
  6. Copy the full SHA
    a38fd3a View commit details
  7. fix: typo

    Julusian committed Jun 6, 2022
    Copy the full SHA
    b205e13 View commit details
  8. fix: typo

    Julusian committed Jun 6, 2022
    Copy the full SHA
    261e462 View commit details

Commits on Jun 8, 2022

  1. v7.0.0-3

    Julusian committed Jun 8, 2022
    Copy the full SHA
    2be9d8f View commit details

Commits on Oct 8, 2022

  1. Copy the full SHA
    c99e10e View commit details
  2. Copy the full SHA
    6712a0f View commit details
  3. chore: update dependencies

    Julusian committed Oct 8, 2022
    Copy the full SHA
    46fba95 View commit details
  4. v7.0.0

    Julusian committed Oct 8, 2022
    Copy the full SHA
    110c563 View commit details

Commits on Oct 29, 2022

  1. Copy the full SHA
    1a6bce7 View commit details
  2. Copy the full SHA
    3be712f View commit details

Commits on Dec 14, 2022

  1. Copy the full SHA
    98e4184 View commit details
  2. Copy the full SHA
    b06d80a View commit details
  3. v7.1.0

    Julusian committed Dec 14, 2022
    Copy the full SHA
    42c5f7f View commit details

Commits on Dec 15, 2022

  1. fix: typo

    Julusian committed Dec 15, 2022
    Copy the full SHA
    d2e1c42 View commit details
  2. fix: typo

    Julusian committed Dec 15, 2022
    Copy the full SHA
    a50552c View commit details
  3. chore: update github action

    Julusian committed Dec 15, 2022
    Copy the full SHA
    9ccfd0d View commit details
  4. v7.1.1

    Julusian committed Dec 15, 2022
    Copy the full SHA
    3a06b71 View commit details

Commits on Feb 12, 2023

  1. fix: -DCMAKE_JS_VERSION=undefined (#298)

    Fixes #295
    trxcllnt authored Feb 12, 2023
    Copy the full SHA
    e36dd99 View commit details
  2. Copy the full SHA
    e40d2f3 View commit details
  3. fix: Only add build type to CMAKE_LIBRARY_OUTPUT_DIRECTORY if needed (

    #299)
    
    Co-authored-by: Julian Waller <git@julusian.co.uk>
    trxcllnt and Julusian authored Feb 12, 2023
    Copy the full SHA
    e2452ee View commit details
  4. Copy the full SHA
    cea3103 View commit details
  5. chore: fix test failures

    Julusian committed Feb 12, 2023
    Copy the full SHA
    b7aeab6 View commit details
  6. chore: update debian version

    Julusian committed Feb 12, 2023
    Copy the full SHA
    8621084 View commit details
4 changes: 3 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -4,6 +4,8 @@
"sourceType": "module"
},
"rules": {
"semi": 2
"semi": 2,
"no-var": 2,
"prefer-const": 2
}
}
94 changes: 94 additions & 0 deletions .github/workflows/node.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: Test

on:
push:

jobs:
test:
name: Run tests for ${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.libc }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
include:
# windows
- os: windows-2019
arch: x64
- os: windows-2022
arch: x64
- os: windows-2019
arch: x86
# macos
- os: macos-12
arch: x64
# - os: macos-11
# arch: arm64
- os: macos-10.15
arch: x64
# linux
- os: ubuntu-22.04
arch: x64
- os: ubuntu-18.04
arch: x64
# linux-libc
- os: ubuntu-latest
arch: arm64
docker-arch: linux/arm64
docker-image: node:14-bullseye
- os: ubuntu-latest
arch: arm
docker-arch: linux/arm/v7
docker-image: node:14-bullseye
# linux-musl
- os: ubuntu-latest
arch: x64
docker-arch: linux/amd64
docker-image: node:14-alpine
libc: musl

steps:
- uses: actions/checkout@v3

- name: Use Node.js 14.x
if: ${{ !matrix.docker-arch }}
uses: actions/setup-node@v3
with:
architecture: ${{ matrix.arch }}
node-version: 14.x

- name: run tests
if: ${{ !matrix.docker-arch }}
shell: bash
run: |
npm install
npm test
env:
CI: true
npm_config_build_from_source: true

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
if: matrix.docker-arch
- name: run tests (in docker)
uses: addnab/docker-run-action@v3
if: matrix.docker-arch
with:
image: ${{ matrix.docker-image }}
# shell: bash
options: --platform=${{ matrix.docker-arch }} -v ${{ github.workspace }}:/work -e CI=1
run: |
if command -v apt-get &> /dev/null
then
apt-get update
apt-get install -y cmake
elif command -v apk &> /dev/null
then
apk update
apk add cmake make g++ gcc
fi
cd /work
npm install
npm test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -27,6 +27,7 @@ node_modules
# Build
build
package-lock.json
yarn.lock

# Users Environment Variables
.lock-wscript
2 changes: 0 additions & 2 deletions .npmignore

This file was deleted.

Loading