Skip to content

Commit

Permalink
fix(local): improve local setup
Browse files Browse the repository at this point in the history
  • Loading branch information
gauthierpetetin committed Oct 23, 2023
1 parent ab40238 commit 220dfb4
Show file tree
Hide file tree
Showing 6 changed files with 468 additions and 281 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
node_modules
.yarn
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/**
5 changes: 5 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# All of these are defaults except singleQuote and endOfLine, but we specify them
# for explicitness
endOfLine: auto
singleQuote: true
trailingComma: all
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,20 @@
"name": "my-test-repo",
"version": "1.0.0",
"scripts": {
"format": "prettier --write \"**/*.ts\"",
"add-release-label-to-pr-and-linked-issues": "ts-node ./.github/scripts/add-release-label-to-pr-and-linked-issues.ts",
"check-pr-has-required-labels": "ts-node ./.github/scripts/check-pr-has-required-labels.ts",
"close-release-bug-report-issue": "ts-node ./.github/scripts/close-release-bug-report-issue.ts",
"check-template-and-add-labels": "ts-node ./.github/scripts/check-template-and-add-labels.ts"
},
"devDependencies": {
"typescript": "~4.4.0",
"ts-node": "^10.5.0",
"@types/node": "^17.0.21",
"@tsconfig/node16": "^1.0.3",
"@actions/core": "^1.10.0",
"@actions/github": "^5.1.1"
"@actions/github": "^5.1.1",
"@tsconfig/node16": "^1.0.3",
"@types/node": "^17.0.21",
"prettier": "^2.7.1",
"prettier-plugin-sort-json": "^1.0.0",
"ts-node": "^10.5.0",
"typescript": "~4.4.0"
}
}
Loading

0 comments on commit 220dfb4

Please sign in to comment.