Skip to content

Commit 4557e4b

Browse files
authored
Merge pull request #2 from StatelessStudio/tstemplate-v2.2.0
Tstemplate v2.2.0
2 parents bbc3ed1 + f1af3ec commit 4557e4b

7 files changed

Lines changed: 905 additions & 1916 deletions

File tree

.vscode/launch.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Launch Program",
11+
"program": "${workspaceFolder}/src/index.ts",
12+
"preLaunchTask": "npm: compile",
13+
"outFiles": ["${workspaceFolder}/dist/**/*.js"]
14+
},
15+
]
16+
}

.vscode/tasks.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "npm",
6+
"script": "compile",
7+
"group": {
8+
"kind": "build",
9+
"isDefault": true
10+
},
11+
"problemMatcher": [],
12+
"label": "npm: compile"
13+
}
14+
]
15+
}

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# typescript-template
22

3+
## [2.2.0]
4+
5+
### Additions
6+
- [TSTEMPLATE-38] Global error handler should log error .toString() for additional information
7+
- [TSTEMPLATE-35] Add vscode default build & debug tasks
8+
- [TSTEMPLATE-34] Add a test:prod script, so that the build doesn't run twice when using ts-packager
9+
10+
### Fixes
11+
- [TSTEMPLATE-37] npm start / npm run dev can skip the lint
12+
- [TSTEMPLATE-36] Update instructions to use git pull instead of bitbucket fork
13+
314
## [2.1.0]
415

516
### Additions

README.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,25 @@
22

33
## Installation
44

5-
1. Fork this repo
6-
2. Replace "typescript-template" with the name of your app project-wide (**No Spaces or special characters except dash!**)
7-
3. `npm i`
8-
4. Update the documentation, changelog, etc
5+
1. Create a new empty git repo
6+
```bash
7+
mkdir my-project
8+
cd my-project
9+
git init .
10+
```
11+
2. Install the template (Copy this into git bash).
12+
```bash
13+
git remote add template https://github.com/StatelessStudio/typescript-template/ && git pull template master --allow-unrelated-histories && git remote remove template
14+
```
15+
3. Replace "typescript-template" with the name of your app project-wide (**No Spaces or special characters except dash!**)
16+
4. `npm i`
17+
5. Update the documentation, changelog, etc
18+
19+
## Pulling updates from typescript-template
20+
21+
1. Run the install command in the installation instructions
22+
2. Resolve merge conflicts
23+
3. Test!
924

1025
## Development
1126

0 commit comments

Comments
 (0)