From e18e1be9f04a3a84bdafc72b8a72164817baa835 Mon Sep 17 00:00:00 2001 From: Kevin Van Lierde Date: Tue, 22 Aug 2023 21:47:27 +0200 Subject: [PATCH] updates LICENSE date + release-it flow --- .release-it.json | 2 +- LICENSE | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.release-it.json b/.release-it.json index c41abaf..aa742b7 100644 --- a/.release-it.json +++ b/.release-it.json @@ -1,6 +1,6 @@ { "hooks": { - "before:init": ["npm run lint", "npm test"], + "before:init": ["npm run lint", "npm test", "npm pack"], "after:bump": "auto-changelog -p --commit-limit false --ignore-commit-pattern '^((dev|chore|ci):|Release)'", "after:npm:bump": "npm pack", "after:release": "echo Successfully released ${name} v${version} to ${repo.repository}." diff --git a/LICENSE b/LICENSE index 2c63df5..8649ac0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 webketje +Copyright (c) 2023 webketje Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/package.json b/package.json index 41be565..9481f10 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "lint:check": "eslint --fix-dry-run .", "release": "npm run build && release-it .", "build": "microbundle --target node -f cjs,esm --strict --generateTypes=false", - "pretest": "npm run build", + "prepack": "npm run build", "test": "c8 mocha" }, "engines": {