Skip to content

Commit

Permalink
Bump version to 1.0.0
Browse files Browse the repository at this point in the history
Moving to ESM (and related changes) has the potential to be a "breaking"
change, so bumping the major version.

Also ran `npm pkg fix` which tweaked a couple of things.
  • Loading branch information
banga committed Dec 29, 2023
1 parent ae8d161 commit f4a79d1
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{
"name": "git-split-diffs",
"version": "0.17.0",
"version": "1.0.0",
"description": "Split diffs, now in your terminal",
"homepage": "https://github.com/banga/git-split-diffs",
"repository": "github:banga/git-split-diffs",
"repository": {
"type": "git",
"url": "git+https://github.com/banga/git-split-diffs.git"
},
"type": "module",
"bin": "./build/index.mjs",
"bin": {
"git-split-diffs": "build/index.mjs"
},
"files": [
"bin/*",
"build/*.js",
"build/*",
"themes/*.json"
],
"license": "MIT",
Expand All @@ -32,7 +36,7 @@
},
"scripts": {
"clean": "rimraf './build'",
"build": "./node_modules/.bin/esbuild --external:benchmark --platform=node --target=node18 --bundle --format=esm --outdir=build --out-extension:.js=.mjs --banner:js='#!/usr/bin/env node'",
"build": "esbuild --external:benchmark --platform=node --target=node18 --bundle --format=esm --outdir=build --out-extension:.js=.mjs --banner:js='#!/usr/bin/env node'",
"build:dev": "npm run build src/index.ts src/benchmark.ts src/previewTheme.ts",
"build:publish": "npm run build src/index.ts --minify",
"test": "cross-env NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" ./node_modules/.bin/jest",
Expand Down

0 comments on commit f4a79d1

Please sign in to comment.