From 72200debbbe13d58304ea7411ecdb71c4ef77a11 Mon Sep 17 00:00:00 2001 From: Nic <24358775+nicfv@users.noreply.github.com> Date: Thu, 5 Dec 2024 21:05:40 -0800 Subject: [PATCH] Update t6 to v1.1.7 (#129) * Add status badge for publish * Clean EVERYTHING * The script will also try to install the packed package * No need for clean script anymore!! Also, update versions * Revert some old stuff --- .github/workflows/scripts | 2 +- README.md | 1 + package.json | 2 +- packages/datafit/CHANGELOG.md | 2 +- packages/datafit/examples/package.json | 3 --- packages/datafit/package.json | 6 +++--- packages/dimensional/examples/package.json | 3 --- packages/smath/CHANGELOG.md | 2 +- packages/smath/examples/package.json | 3 --- packages/smath/package.json | 4 ++-- packages/t6/examples/package.json | 5 +---- packages/viridis/CHANGELOG.md | 2 +- packages/viridis/examples/package.json | 3 --- packages/viridis/package.json | 6 +++--- 14 files changed, 15 insertions(+), 29 deletions(-) diff --git a/.github/workflows/scripts b/.github/workflows/scripts index 9e3f3f87..17a8c501 100755 --- a/.github/workflows/scripts +++ b/.github/workflows/scripts @@ -1,3 +1,3 @@ #!/usr/bin/env bash -rm -rf dist types && tsc && node dist/test.js && rm dist/test.js types/test.d.ts && npm pack --pack-destination examples +rm -rf dist types && tsc && node dist/test.js && rm dist/test.js types/test.d.ts && npm pack --pack-destination examples && cd examples && npm i diff --git a/README.md b/README.md index a731bae3..e09b177c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Publish](https://github.com/nicfv/npm/actions/workflows/publish.yml/badge.svg)](https://github.com/nicfv/npm/actions/workflows/publish.yml) [![GitHub watchers](https://img.shields.io/github/watchers/nicfv/npm)](https://github.com/nicfv/npm) [![GitHub forks](https://img.shields.io/github/forks/nicfv/npm)](https://github.com/nicfv/npm/fork) [![GitHub Repo stars](https://img.shields.io/github/stars/nicfv/npm)](https://github.com/nicfv/npm) diff --git a/package.json b/package.json index cedf09ef..b68fa4a2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "scripts": { "start": "npm i && tsc -v && npm start --workspaces", - "stop": "rm -rf packages/*/node_modules packages/*/dist packages/*/types packages/*/examples/*.tgz node_modules package-lock.json docs", + "stop": "rm -rf packages/*/node_modules packages/*/dist packages/*/types packages/*/examples/*.tgz packages/*/examples/node_modules packages/*/examples/package-lock.json node_modules package-lock.json docs", "docs": "typedoc --version && typedoc" }, "workspaces": [ diff --git a/packages/datafit/CHANGELOG.md b/packages/datafit/CHANGELOG.md index 6eca7bac..54a3f273 100644 --- a/packages/datafit/CHANGELOG.md +++ b/packages/datafit/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 1.4.8 +## Unpublished (1.4.7) - This version is functionally identical to the previous, but is published as a test of the updated workflow, with a cleaned up `package.json` file diff --git a/packages/datafit/examples/package.json b/packages/datafit/examples/package.json index 73e37777..b15a7e1a 100644 --- a/packages/datafit/examples/package.json +++ b/packages/datafit/examples/package.json @@ -1,7 +1,4 @@ { - "scripts": { - "clean": "rm -rf node_modules package-lock.json" - }, "dependencies": { "datafit": "file:datafit-1.4.7.tgz" } diff --git a/packages/datafit/package.json b/packages/datafit/package.json index f80564f6..b8bebf3b 100644 --- a/packages/datafit/package.json +++ b/packages/datafit/package.json @@ -1,6 +1,6 @@ { "name": "datafit", - "version": "1.4.8", + "version": "1.4.7", "description": "Simple curve-fitting algorithm", "homepage": "https://npm.nicfv.com/", "bin": "", @@ -46,9 +46,9 @@ "repository": "github:nicfv/npm", "license": "MIT", "dependencies": { - "smath": "1.9.2" + "smath": "1.9.1" }, "devDependencies": { - "t6": "1.1.7" + "t6": "1.1.6" } } \ No newline at end of file diff --git a/packages/dimensional/examples/package.json b/packages/dimensional/examples/package.json index c2c0935a..9ad880f0 100644 --- a/packages/dimensional/examples/package.json +++ b/packages/dimensional/examples/package.json @@ -1,7 +1,4 @@ { - "scripts": { - "clean": "rm -rf node_modules package-lock.json" - }, "dependencies": { "dimensional": "file:dimensional-0.4.1.tgz" } diff --git a/packages/smath/CHANGELOG.md b/packages/smath/CHANGELOG.md index 3a6812e4..04d71ae5 100644 --- a/packages/smath/CHANGELOG.md +++ b/packages/smath/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 1.9.2 +## Unpublished (1.9.1) - This version is functionally identical to the previous, but is published as a test of the updated workflow, with a cleaned up `package.json` file diff --git a/packages/smath/examples/package.json b/packages/smath/examples/package.json index 9e80667b..15724ab9 100644 --- a/packages/smath/examples/package.json +++ b/packages/smath/examples/package.json @@ -1,7 +1,4 @@ { - "scripts": { - "clean": "rm -rf node_modules package-lock.json" - }, "dependencies": { "smath": "file:smath-1.9.1.tgz" } diff --git a/packages/smath/package.json b/packages/smath/package.json index 1d8dd2af..0f10b66c 100644 --- a/packages/smath/package.json +++ b/packages/smath/package.json @@ -1,6 +1,6 @@ { "name": "smath", - "version": "1.9.2", + "version": "1.9.1", "description": "Small math function library", "homepage": "https://npm.nicfv.com/", "bin": "dist/bin.js", @@ -53,6 +53,6 @@ "license": "MIT", "devDependencies": { "@types/node": "22.10.1", - "t6": "1.1.7" + "t6": "1.1.6" } } \ No newline at end of file diff --git a/packages/t6/examples/package.json b/packages/t6/examples/package.json index b4b5e2ed..cde97886 100644 --- a/packages/t6/examples/package.json +++ b/packages/t6/examples/package.json @@ -1,8 +1,5 @@ { - "scripts": { - "clean": "rm -rf node_modules package-lock.json" - }, "dependencies": { - "t6": "file:t6-1.1.6.tgz" + "t6": "file:t6-1.1.7.tgz" } } \ No newline at end of file diff --git a/packages/viridis/CHANGELOG.md b/packages/viridis/CHANGELOG.md index fc257741..57bf6fc7 100644 --- a/packages/viridis/CHANGELOG.md +++ b/packages/viridis/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 1.1.7 +## Unpublished (1.1.6) - This version is functionally identical to the previous, but is published as a test of the updated workflow, with a cleaned up `package.json` file diff --git a/packages/viridis/examples/package.json b/packages/viridis/examples/package.json index 6b0ec841..cf0c7f49 100644 --- a/packages/viridis/examples/package.json +++ b/packages/viridis/examples/package.json @@ -1,7 +1,4 @@ { - "scripts": { - "clean": "rm -rf node_modules package-lock.json" - }, "dependencies": { "viridis": "file:viridis-1.1.6.tgz" } diff --git a/packages/viridis/package.json b/packages/viridis/package.json index 4a0a8b29..107d9721 100644 --- a/packages/viridis/package.json +++ b/packages/viridis/package.json @@ -1,6 +1,6 @@ { "name": "viridis", - "version": "1.1.7", + "version": "1.1.6", "description": "Color gradients for data visualization", "homepage": "https://npm.nicfv.com/", "bin": "", @@ -38,9 +38,9 @@ "repository": "github:nicfv/npm", "license": "MIT", "dependencies": { - "smath": "1.9.2" + "smath": "1.9.1" }, "devDependencies": { - "t6": "1.1.7" + "t6": "1.1.6" } } \ No newline at end of file