Skip to content

Commit

Permalink
Merge pull request #4 from zacharyarney/v0.1.0
Browse files Browse the repository at this point in the history
Clean up package.json for v0.1.0 release
  • Loading branch information
zacharyarney authored Jul 11, 2024
2 parents 274e529 + f4556af commit 3f206b1
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 27 deletions.
36 changes: 17 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ name: Run Tests

on:
push:
branches:
- main
branches: [ main ]
pull_request:
branches:
- main
branches: [ main ]

jobs:
build:
Expand All @@ -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
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
{
"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",
"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": {
Expand All @@ -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",
Expand Down

0 comments on commit 3f206b1

Please sign in to comment.