Skip to content

Commit

Permalink
Merge remote-tracking branch 'boilerplate/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartmr committed Sep 22, 2021
2 parents 77d0bd9 + c05172d commit 38cefc9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12
14
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"lib"
],
"engines": {
"node": ">=12"
"node": ">=14"
},
"scripts": {
"build": "npm run clean && tsc --project tsconfig.release.json && node scripts/bundle-declaration-references.js",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"include": ["src"],
"compilerOptions": {
"lib": ["es6"],
"lib": ["es2020"],
"module": "commonjs",
"target": "es5",
"target": "es2020",
"isolatedModules": true,
"declaration": true,
"removeComments": false,
Expand Down
10 changes: 6 additions & 4 deletions update-project-boilerplate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ To continue with the update write yes and press Enter.

git fetch boilerplate $git_branch

git merge "boilerplate/${git_branch}"
git merge "boilerplate/${git_branch}" --no-commit

echo "
-----
Expand All @@ -43,11 +43,13 @@ To continue with the update write yes and press Enter.
- Confirm that new commits from the project boilerplate are in the project's git history by running 'git log'
- If no new commits from the project boilerplate are present, you can try running the update script again
- If there are git conflicts present, resolve the conflicts by picking the updates you want to add to the project
- Review and pick the updates you want to add to the project
- Run 'npm install', in case any dependencies were changed or added
- Run 'npm run install:all', in case any dependencies were changed or added
- Run 'npm run integrity-check' to make sure the updates didn't break any part of your project
- Check if any of the changes made by the updates require a new migration to be written
- Run 'npm run integrity-check:all' to make sure the updates didn't break any part of your project
- Run 'git add .' to stage all the accepted updates
Expand Down

0 comments on commit 38cefc9

Please sign in to comment.