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
typescript-template
/
scripts
11 files
at
main
samual.uk
·
update `version-dev.js`
·
7mo ago
00c203f3
common.js
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
emit-dts.js
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
emit-jsr-json.js
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
emit-package-json.js
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
emit-readme.sh
add script for updating readme
7mo ago
eta.js
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
jsr.sh
rename `src/readme.md` to ALLCAPS
7mo ago
npm.sh
rename `src/readme.md` to ALLCAPS
7mo ago
prepend-readme.js
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
test.sh
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
version-dev.js
update `version-dev.js`
7mo ago