Skip to content

Commit

Permalink
Update t6 to v1.1.7 (#129)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nicfv authored Dec 6, 2024
1 parent c658067 commit 72200de
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scripts
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion packages/datafit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 0 additions & 3 deletions packages/datafit/examples/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"scripts": {
"clean": "rm -rf node_modules package-lock.json"
},
"dependencies": {
"datafit": "file:datafit-1.4.7.tgz"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/datafit/package.json
Original file line number Diff line number Diff line change
@@ -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": "",
Expand Down Expand Up @@ -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"
}
}
3 changes: 0 additions & 3 deletions packages/dimensional/examples/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"scripts": {
"clean": "rm -rf node_modules package-lock.json"
},
"dependencies": {
"dimensional": "file:dimensional-0.4.1.tgz"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/smath/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 0 additions & 3 deletions packages/smath/examples/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"scripts": {
"clean": "rm -rf node_modules package-lock.json"
},
"dependencies": {
"smath": "file:smath-1.9.1.tgz"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/smath/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -53,6 +53,6 @@
"license": "MIT",
"devDependencies": {
"@types/node": "22.10.1",
"t6": "1.1.7"
"t6": "1.1.6"
}
}
5 changes: 1 addition & 4 deletions packages/t6/examples/package.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
2 changes: 1 addition & 1 deletion packages/viridis/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 0 additions & 3 deletions packages/viridis/examples/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"scripts": {
"clean": "rm -rf node_modules package-lock.json"
},
"dependencies": {
"viridis": "file:viridis-1.1.6.tgz"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/viridis/package.json
Original file line number Diff line number Diff line change
@@ -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": "",
Expand Down Expand Up @@ -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"
}
}

0 comments on commit 72200de

Please sign in to comment.