Skip to content

Commit

Permalink
v0.0.3 (#10)
Browse files Browse the repository at this point in the history
* Try that again

* Skip directories that are not an npm project

* Fail if .docs exists

* Add basic interpolator

* Release v0.0.2

* v0.0.3
  • Loading branch information
nicfv authored Mar 1, 2024
1 parent 9272903 commit e1b3cdf
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/run
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ for dir in */ ; do
fi
# Run test script
cd "${dir}" || exit 1
echo 'Installing dependencies...'
npm i
echo 'Running tests...'
npm test
if "${publish}" ; then
Expand Down
6 changes: 6 additions & 0 deletions smath/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.0.3

- Fix bugs in scripts
- Install dependencies before publishing
- Add type declarations in `package.json`

## 0.0.2

- Add basic interpolation functions:
Expand Down
10 changes: 5 additions & 5 deletions smath/package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"name": "smath",
"version": "0.0.2",
"version": "0.0.3",
"description": "Small math function library",
"main": "index.js",
"main": "dist/index.js",
"types": "types/index.d.ts",
"files": [
"dist",
"types"
],
"scripts": {
"dev": "rm -rf dist && tsc --watch",
"build": "rm -rf dist types && tsc --removeComments",
"build": "rm -rf dist && tsc --removeComments",
"types": "rm -rf types && tsc --declaration --declarationDir types --emitDeclarationOnly",
"test": "tsc --noEmit",
"clean": "rm -rf node_modules package-lock.json dist types docs",
"docs": "rm -rf docs && typedoc src",
"prepublishOnly": "npm run build && npm run types",
"postpublish": "npm run clean"
"prepublishOnly": "npm run build && npm run types"
},
"keywords": [],
"author": {
Expand Down

0 comments on commit e1b3cdf

Please sign in to comment.