From 173bc16aa1bf7339d06f2035e8250cfcd6b7160b Mon Sep 17 00:00:00 2001 From: Zachary Arney Date: Thu, 11 Jul 2024 00:40:59 -0700 Subject: [PATCH 1/2] bump version in package.json --- .github/workflows/main.yml | 36 +++++++++++++++++------------------- package.json | 2 +- 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7244a39..54ccf54 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,11 +2,9 @@ name: Run Tests on: push: - branches: - - main + branches: [ main ] pull_request: - branches: - - main + branches: [ main ] jobs: build: @@ -15,25 +13,25 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x] + node-version: [ 18.x, 20.x ] steps: - - name: Checkout code - uses: actions/checkout@v4 + - name: Checkout code + uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} - - name: Install Dependencies - run: npm ci + - name: Install Dependencies + run: npm ci - - name: Run Build - run: npm run build + - name: Build + run: npm run build - - name: Lint Check - run: npm run lint --if-present + - name: Lint + run: npm run lint --if-present - - name: Validate tests - run: npm run test --if-present + - name: Tests + run: npm run test --if-present diff --git a/package.json b/package.json index 418f9b2..04a1f9a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clancy", - "version": "0.0.1", + "version": "0.1.0", "description": "A library for deriving non-image data from image files", "type": "module", "main": "dist/index.cjs", From f4556aff59e9df282ca812e55b36207f0d451c0c Mon Sep 17 00:00:00 2001 From: Zachary Arney Date: Thu, 11 Jul 2024 01:04:10 -0700 Subject: [PATCH 2/2] reorders package.json --- package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 04a1f9a..341b08f 100644 --- a/package.json +++ b/package.json @@ -7,13 +7,6 @@ "module": "dist/index.js", "types": "dist/index.d.ts", "source": "src/index.ts", - "engines": { - "node": "^18.19.0 || ^20.11.0 || >=21.6.0" - }, - "files": [ - "dist", - "package.json" - ], "exports": { ".": { "import": { @@ -26,6 +19,13 @@ } } }, + "files": [ + "dist", + "package.json" + ], + "engines": { + "node": "^18.19.0 || ^20.11.0 || >=21.6.0" + }, "scripts": { "prepublish": "npm run build", "build": "tsup",