Skip to content

Commit

Permalink
chore(monorepo): add environment
Browse files Browse the repository at this point in the history
  • Loading branch information
exiguus committed Aug 13, 2023
1 parent 420bbf1 commit 2c70dee
Show file tree
Hide file tree
Showing 119 changed files with 11,137 additions and 5,653 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# http://editorconfig.org

root = true

[*]

# Change these settings to your own preference
indent_style = space
indent_size = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

# editorconfig-tools is unable to ignore longs strings or urls
max_line_length = 80
6 changes: 6 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
**/dist/**
**/out/**
**/data/**
**/.cache/**
**/coverage/**
28 changes: 28 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module.exports = {
root: true,
env: {
browser: true,
node: true
},
extends: [
'eslint:recommended',
'@nuxtjs/eslint-config-typescript',
'plugin:vue/vue3-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:sonarjs/recommended',
'plugin:prettier/recommended',
'prettier',
'turbo'
],
parser: 'vue-eslint-parser',
parserOptions: {
ecmaVersion: 'latest',
ecmaFeatures: {
jsx: true
},
parser: '@typescript-eslint/parser',
sourceType: 'module'
},
plugins: ['vue', '@typescript-eslint', 'sonarjs', 'prettier'],
rules: {}
}
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.turbo
.pnpm-debug.log
.vscode
.env
.turbo
.peerDeps.log
node_modules
dist
backup
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

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

pnpm docs:build
if [ -e packages/PACKAGES.md ]
then
git add packages/PACKAGES.md
fi
pnpm lint-staged
4 changes: 4 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm check
5 changes: 5 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
strict-peer-dependencies=false
auto-install-peers=false
auto-install-peer-dependencies=true
shamefully-hoist=true

14 changes: 14 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

.vercel
.turbo
.pnpm-debug.log
.env
.nuxt
.output
TODO.md
coverage
node_modules
dist
out
pnpm-*.yaml

2 changes: 1 addition & 1 deletion vue-project/.prettierrc.json → .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"singleQuote": true,
"printWidth": 100,
"trailingComma": "none"
}
}
38 changes: 38 additions & 0 deletions .versionrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"hidden": true
},
{
"type": "docs",
"hidden": true
},
{
"type": "style",
"hidden": true
},
{
"type": "refactor",
"hidden": true
},
{
"type": "perf",
"hidden": true
},
{
"type": "test",
"hidden": true
}
],
"commitUrlFormat": "https://github.com/gattner-name/stieldiele/commits/{{hash}}",
"compareUrlFormat": "https://github.com/gattner-name/stieldiele/compare/{{previousTag}}...{{currentTag}}"
}
Loading

0 comments on commit 2c70dee

Please sign in to comment.