Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexjoverm/typescript-library-starter
/ functions
Functions
9 in github.com/alexjoverm/typescript-library-starter
⨍
Functions
9
◇
Types & classes
2
↓ 4 callers
Function
libraryNameSuggested
* The library name is suggested by looking at the directory name of the * tools parent directory and converting it to kebab-case * * The regex for
tools/init.ts:140
↓ 3 callers
Function
libraryNameCreate
* Asks the user for the name of the library if it has been cloned into the * default directory, or if they want a different name to the one suggested
tools/init.ts:99
↓ 3 callers
Function
removeItems
* Removes items from the project that aren't needed after the initial setup
tools/init.ts:191
↓ 3 callers
Function
setupLibrary
* Calls all of the functions needed to setup the library * * @param libraryName
tools/init.ts:166
↓ 1 callers
Function
finalize
* Calls any external programs to finish setting up the library
tools/init.ts:253
↓ 1 callers
Function
libraryNameSuggestedAccept
* Sees if the users wants to accept the suggested library name if the project * has been cloned into a custom directory (i.e. it's not 'typescript-li
tools/init.ts:116
↓ 1 callers
Function
libraryNameSuggestedIsDefault
* Checks if the suggested library name is the default, which is 'typescript-library-starter'
tools/init.ts:151
↓ 1 callers
Function
modifyContents
* Updates the contents of the template files with the library name or user details * * @param libraryName * @param username * @param usermail
tools/init.ts:210
↓ 1 callers
Function
renameItems
* Renames any template files to the new library name * * @param libraryName
tools/init.ts:233