Skip to content

Commit f8cd664

Browse files
authored
Add a framework to reuse some build files across multiple open-source projects (#1)
## PRs in the Stack - ➡ #1 (The stack is managed by [git-grok](https://github.com/dimikot/git-grok).)
2 parents b0b4dab + 74a72a2 commit f8cd664

File tree

4 files changed

+38
-5
lines changed

4 files changed

+38
-5
lines changed

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
dist
2+
3+
# Common in both .gitignore and .npmignore
14
node_modules
25
package-lock.json
3-
pnpm-lock.yaml
46
yarn.lock
7+
pnpm-lock.yaml
58
.DS_Store
69
*.log
710
*.tmp

.npmignore

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
pg-id-consts.sql
2-
tsconfig.tsbuildinfo
3-
.github
1+
dist/__tests__
2+
dist/**/__tests__
3+
dist/tsconfig.tsbuildinfo
4+
.npmrc
45

6+
# Common in both .gitignore and .npmignore
57
node_modules
68
package-lock.json
7-
pnpm-lock.yaml
89
yarn.lock
10+
pnpm-lock.yaml
911
.DS_Store
1012
*.log
1113
*.tmp

.vscode/extensions.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"recommendations": [
3+
"dbaeumer.vscode-eslint",
4+
"esbenp.prettier-vscode",
5+
"mhutchie.git-graph",
6+
"trentrand.git-rebase-shortcuts"
7+
]
8+
}

.vscode/tasks.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "git grok: push local commits as individual PRs",
6+
"detail": "Install git-grok first: https://github.com/dimikot/git-grok",
7+
"type": "shell",
8+
"command": "git grok",
9+
"problemMatcher": [],
10+
"hide": false
11+
},
12+
{
13+
"label": "git rebase --interactive",
14+
"detail": "Opens a UI for interactive rebase (install \"Git rebase shortcuts\" extension).",
15+
"type": "shell",
16+
"command": "GIT_EDITOR=\"code --wait\" git rebase -i",
17+
"problemMatcher": []
18+
}
19+
]
20+
}

0 commit comments

Comments
 (0)