Skip to content

Commit

Permalink
Add a framework to reuse some build files across multiple open-source…
Browse files Browse the repository at this point in the history
… projects (#1)


## PRs in the Stack
- ➡ #1

(The stack is managed by
[git-grok](https://github.com/dimikot/git-grok).)
  • Loading branch information
dimikot authored Jan 14, 2024
2 parents b0b4dab + 74a72a2 commit f8cd664
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
dist

# Common in both .gitignore and .npmignore
node_modules
package-lock.json
pnpm-lock.yaml
yarn.lock
pnpm-lock.yaml
.DS_Store
*.log
*.tmp
Expand Down
10 changes: 6 additions & 4 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
pg-id-consts.sql
tsconfig.tsbuildinfo
.github
dist/__tests__
dist/**/__tests__
dist/tsconfig.tsbuildinfo
.npmrc

# Common in both .gitignore and .npmignore
node_modules
package-lock.json
pnpm-lock.yaml
yarn.lock
pnpm-lock.yaml
.DS_Store
*.log
*.tmp
Expand Down
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"mhutchie.git-graph",
"trentrand.git-rebase-shortcuts"
]
}
20 changes: 20 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "git grok: push local commits as individual PRs",
"detail": "Install git-grok first: https://github.com/dimikot/git-grok",
"type": "shell",
"command": "git grok",
"problemMatcher": [],
"hide": false
},
{
"label": "git rebase --interactive",
"detail": "Opens a UI for interactive rebase (install \"Git rebase shortcuts\" extension).",
"type": "shell",
"command": "GIT_EDITOR=\"code --wait\" git rebase -i",
"problemMatcher": []
}
]
}

0 comments on commit f8cd664

Please sign in to comment.