4 Commits

Author SHA1 Message Date
f83c3a7227 bye bye np 2022-07-31 12:22:29 +02:00
2a1973c008 8.0.1 2022-07-31 12:17:32 +02:00
38deb77dfd second try of np.... 2022-07-31 12:16:51 +02:00
a2fd789751 disabled windows builds (I don't want to mess with settings for crlf... windows should learn to behave lol)
added npx to install-husky
removed postinstall
2022-07-31 12:14:11 +02:00
4 changed files with 15 additions and 6 deletions

View File

@@ -7,8 +7,8 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
node: ['10.x', '12.x', '14.x'] node: ["10.x", "12.x", "14.x"]
os: [ubuntu-latest, windows-latest, macOS-latest] os: [ubuntu-latest, macOS-latest]
steps: steps:
- name: Checkout repo - name: Checkout repo

View File

@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [[8.0.1]((https://github.com/Mastermindzh/react-cookie-consent/releases/tag/8.0.1)]
~~Second try of [np](https://github.com/sindresorhus/np)...~~
Removed postinstall
np is not my thing.. reverted to old release strategy
## [[8.0.0]((https://github.com/Mastermindzh/react-cookie-consent/releases/tag/8.0.0)] ## [[8.0.0]((https://github.com/Mastermindzh/react-cookie-consent/releases/tag/8.0.0)]
- Switched to tsdx and Typescript - Switched to tsdx and Typescript

5
package-lock.json generated
View File

@@ -1,13 +1,12 @@
{ {
"name": "react-cookie-consent", "name": "react-cookie-consent",
"version": "8.0.0", "version": "8.0.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "react-cookie-consent", "name": "react-cookie-consent",
"version": "8.0.0", "version": "8.0.1",
"hasInstallScript": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"js-cookie": "^2.2.1" "js-cookie": "^2.2.1"

View File

@@ -32,6 +32,7 @@
"analyze": "size-limit --why", "analyze": "size-limit --why",
"build": "tsdx build", "build": "tsdx build",
"build-storybook": "build-storybook", "build-storybook": "build-storybook",
"install-husky": "npx husky install",
"lint": "tsdx lint", "lint": "tsdx lint",
"major": "npm --no-git-tag-version version major", "major": "npm --no-git-tag-version version major",
"minor": "npm --no-git-tag-version version minor", "minor": "npm --no-git-tag-version version minor",
@@ -39,8 +40,11 @@
"patch": "npm --no-git-tag-version version patch", "patch": "npm --no-git-tag-version version patch",
"prepare": "tsdx build", "prepare": "tsdx build",
"prettier": "prettier 'src/**/*.{js*,ts*,htm*,md,scss}' --write", "prettier": "prettier 'src/**/*.{js*,ts*,htm*,md,scss}' --write",
"postinstall": "husky install",
"publish": "npx np", "publish": "npx np",
"release": "npm run build && git add -A && git tag $npm_package_version && git commit -m \"release $npm_package_version\" && git push && git push --tags && npm publish",
"release-major": "npm run major && npm run release",
"release-minor": "npm run minor && npm run release",
"release-patch": "npm run patch && npm run release",
"size": "size-limit", "size": "size-limit",
"start": "tsdx watch", "start": "tsdx watch",
"storybook": "start-storybook -p 6006", "storybook": "start-storybook -p 6006",