About
Resources
Blog
Docs
Source
Status
Social
Discord
IRC
Bluesky
X/Twitter
Contact
team@tangled.org
security@tangled.org
Legal
Terms of Service
Privacy Policy
Sign in
Join now
typescript-template
samual.uk
/
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
[READ-ONLY] Mirror of
https://github.com/samualtnorman/typescript-template
. this is the template I use when starting a new typescript projec
typescript
+1 more
typescript
Star
Starred
Star
0
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
Version history of
scripts/
common.js
April 2026
update `@types/node` to 22.12 matching minimum in `engines.node` drop `getDirentParentPath()` and just use `.parentPath` this means also dropping patch for `@types/node@20.10`
samual.uk
·
7mo ago
1b91cb0c
Copied
Failed
Copy SHA
samual.uk
1b91cb0c
Copied
Failed
Copy SHA
update `@types/node` to 22.12 matching minimum in `engines.node` drop `getDirentParentPath()` and just use `.parentPath` this means also dropping patch for `@types/node@20.10`
7mo ago
March 2026
update scripts add `scripts/common.js` to hold commonly needed utilities this replaces `scripts/lib` this also replaces scripts needing to include their implementation of `getDirentParentPath()` there's now a shared function for getting required environment variables `env()` this also gives better error messages than just `expect(process.env.FOO)` there's now a shared function for getting `package.json` make sure to `process.exit()` at the end of a script use `writeFileSync()` instead of `process.stdout.write()` since `.write()` doesn't always finish writing everything synchronously switch from the haphazard `JSR` environment variable to `TARGET` which can differentiate between just the git repository when emitting the `readme.md` vs building for NPM or JSR also test `npm.sh` and `jsr.sh` in `test.sh` environment variable `JSR_NAME` is used to specify the JSR package's name
samual.uk
·
7mo ago
718f925a
Copied
Failed
Copy SHA
samual.uk
718f925a
Copied
Failed
Copy SHA
update scripts add `scripts/common.js` to hold commonly needed utilities this replaces `scripts/lib` this also replaces scripts needing to include their implementation of `getDirentParentPath()` there's now a shared function for getting required environment variables `env()` this also gives better error messages than just `expect(process.env.FOO)` there's now a shared function for getting `package.json` make sure to `process.exit()` at the end of a script use `writeFileSync()` instead of `process.stdout.write()` since `.write()` doesn't always finish writing everything synchronously switch from the haphazard `JSR` environment variable to `TARGET` which can differentiate between just the git repository when emitting the `readme.md` vs building for NPM or JSR also test `npm.sh` and `jsr.sh` in `test.sh` environment variable `JSR_NAME` is used to specify the JSR package's name
7mo ago