Skip to content

Commit

Permalink
chore: repo setup stable
Browse files Browse the repository at this point in the history
Signed-off-by: Sarthak Jain <jsarthak448@gmail.com>
  • Loading branch information
sarthakjdev committed Sep 14, 2023
1 parent fb17b62 commit 687ddc2
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
*.env
dist
dist/cjs/**
dist/esm/**
errors.log
.eslintrc.js
1 change: 1 addition & 0 deletions packages/component-generator/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/component-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build:esm": "yarn tsc -p tsconfig.json --pretty",
"build": "yarn run clean && concurrently -n esm,cjs \"npm run build:esm\" \"npm run build:cjs\"",
"lint": "yarn eslint . --max-warnings=0",
"pretty": "prettier --config ../../.prettierrc.js --write ./src/**/**/**/**/**/**/**/**/**/**/**/**/**/*.{ts}",
"pretty": "yarn prettier --write \"src/**/*.ts\"",
"clean-install": "rm -rf ./node_modules && yarn install --frozen-lockfile"
},
"keywords": [],
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion packages/component-generator/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
],
"exclude": [
"node_modules",
"dist"
"dist/**"
]
}
1 change: 1 addition & 0 deletions packages/wapi.js/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist
11 changes: 11 additions & 0 deletions packages/wapi.js/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
arrowParens: 'avoid',
trailingComma: 'none',
tabWidth: 4,
printWidth: 100,
semi: false,
useTabs: true,
bracketSpacing: true,
bracketSameLine: false,
singleQuote: true
}
2 changes: 1 addition & 1 deletion packages/wapi.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build:esm": "yarn tsc -p tsconfig.json --pretty",
"build": "yarn run clean && concurrently -n esm,cjs \"npm run build:esm\" \"npm run build:cjs\"",
"lint": "yarn eslint . --max-warnings=0",
"pretty": "prettier --config ../../.prettierrc.js --write ./src/**/**/**/**/**/**/**/**/**/**/**/**/**/*.{ts}",
"pretty": "yarn prettier --write \"src/**/*.ts\"",
"clean-install": "rm -rf ./node_modules && yarn install --frozen-lockfile"
},
"keywords": [],
Expand Down
2 changes: 1 addition & 1 deletion packages/wapi.js/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
],
"exclude": [
"node_modules",
"dist"
"dist/**"
]
}
12 changes: 3 additions & 9 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,15 @@
"src/**/*.tsx",
"src/**/*.ts",
"test/**/*.ts",
"test/**/*.tsx",
"package.json",
"tsconfig.json"
"test/**/*.tsx"
]
},
"pretty": {
"inputs": [
"src/**/*.tsx",
"src/**/*.ts",
"test/**/*.ts",
"test/**/*.tsx"
],
"cache": false,
"outputMode": "errors-only"
},
"lint": {
"cache": false,
"inputs": [
"src/**/*.tsx",
"src/**/*.ts",
Expand Down

0 comments on commit 687ddc2

Please sign in to comment.