-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Build order * Update all npm.nicfv package versions * Update typedoc dependency * Oh my gosh, this is so nice * Clean up the `run` script a bit with the new npm scripts * Minor comment fix * Remove packed example on `npm stop` * Actually increment package versions
- Loading branch information
Showing
12 changed files
with
40 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
clean=false | ||
build=false | ||
pack=false | ||
|
||
while getopts ':cbp' opt ; do | ||
case "${opt}" in | ||
'c') clean=true ;; | ||
'b') build=true ;; | ||
'p') pack=true ;; | ||
*) echo "Invalid option ${OPTARG}" && exit 1 ;; | ||
esac | ||
done | ||
|
||
if "${build}" ; then | ||
tsc && node dist/test.js && rm dist/test.js types/test.d.ts | ||
fi | ||
|
||
if "${pack}" ; then | ||
npm pack --pack-destination examples | ||
fi | ||
|
||
if "${clean}" ; then | ||
rm -rf dist types | ||
fi | ||
rm -rf dist types && tsc && node dist/test.js && rm dist/test.js types/test.d.ts && npm pack --pack-destination examples |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
{ | ||
"scripts": { | ||
"build": "npm run build --workspaces", | ||
"test": "tsc -v && npm test --workspaces", | ||
"docs": "typedoc", | ||
"clean": "rm -rf packages/*/node_modules node_modules package-lock.json docs && npm run postpack --workspaces" | ||
"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", | ||
"docs": "typedoc --version && typedoc" | ||
}, | ||
"workspaces": [ | ||
"packages/t6", | ||
"packages/smath", | ||
"packages/*" | ||
], | ||
"devDependencies": { | ||
"typedoc": "0.27.2", | ||
"typedoc": "0.27.3", | ||
"typescript": "5.7.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters