Skip to content

Commit

Permalink
build: initial setup
Browse files Browse the repository at this point in the history
  • Loading branch information
odinr committed May 27, 2021
1 parent c44f71d commit 9ce817d
Show file tree
Hide file tree
Showing 13 changed files with 14,162 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/node_modules
/dist
*.config.js
12 changes: 12 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "@equinor/eslint-config-fusion",
"plugins": ["rxjs"],
"rules": {
"@typescript-eslint/no-empty-interface": [
"warn",
{
"allowSingleExtends": true
}
]
}
}
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx commitlint --edit $1
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {extends: ['@commitlint/config-conventional']};
22 changes: 22 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": "independent",
"command": {
"version": {
"allowBranch": ["main", "feat/*", "feature/*", "fix/*"],
"conventionalCommits": true,
"ignoreChanges": ["*.spec.ts", "*.md"]
},
"bootstrap": {
"hoist": true,
"npmClientArgs": ["--no-package-lock"]
},
"publish": {
"conventionalCommits": true,
"ignoreChanges": ["*.spec.ts", "*.md"],
"message": "chore(release): publish"
}
},
"packages": [
"packages/*"
]
}
Loading

0 comments on commit 9ce817d

Please sign in to comment.