-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
81 additions
and
4,108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,5 +25,6 @@ jobs: | |
yarn install | ||
make build | ||
make test | ||
make lint | ||
env: | ||
CI: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,63 +3,19 @@ | |
"workspaces": [ | ||
"packages/*" | ||
], | ||
"scripts": { | ||
"build": "lerna run build", | ||
"commit": "git-cz", | ||
"commit:retry": "git-cz --retry", | ||
"dev": "yarn build && lerna run --parallel --stream dev", | ||
"clean": "lerna run clean", | ||
"lint": "eslint packages/react-sunbeam/src --ext .ts,.tsx && eslint packages/demo/src --ext .ts,.tsx", | ||
"release": "yarn build && lerna publish --conventional-commits", | ||
"test": "lerna run test", | ||
"type-check": "lerna run type-check", | ||
"uninstall": "lerna clean && rimraf ./node_modules" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "pretty-quick --staged && yarn type-check && yarn lint && yarn test", | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS", | ||
"pre-push": "yarn type-check && yarn lint && yarn test" | ||
} | ||
}, | ||
"commitlint": { | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
], | ||
"rules": { | ||
"scope-case": [ | ||
0 | ||
], | ||
"header-max-length": [ | ||
2, | ||
"always", | ||
100 | ||
] | ||
} | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "cz-conventional-changelog" | ||
} | ||
}, | ||
"repository": "git+https://github.com/vovaguguiev/react-sunbeam.git", | ||
"author": "Vova Guguiev <[email protected]>", | ||
"devDependencies": { | ||
"@commitlint/cli": "^11.0.0", | ||
"@commitlint/config-conventional": "^11.0.0", | ||
"@typescript-eslint/eslint-plugin": "^4.7.0", | ||
"@typescript-eslint/parser": "^4.7.0", | ||
"commitizen": "^4.2.2", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "^7.13.0", | ||
"eslint-config-prettier": "^6.15.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-react": "^7.21.5", | ||
"eslint-plugin-react-hooks": "^4.2.0", | ||
"husky": "^4.3.0", | ||
"lerna": "^3.22.1", | ||
"prettier": "^2.1.2", | ||
"pretty-quick": "^3.1.0", | ||
"rimraf": "^3.0.2" | ||
"jest": "^26.6.3", | ||
"jest-ts-webcompat-resolver": "^1.0.0", | ||
"ts-jest": "^26.4.4", | ||
"typescript": "^4.1.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,10 @@ dev: | |
'tsc --watch --preserveWatchOutput' \ | ||
'deno run --allow-net --allow-read https://deno.land/x/[email protected]/mod.ts .. -p 3333 --entry /demo/index.html' | ||
|
||
lint: | ||
yarn eslint src --ext .ts,.tsx | ||
|
||
type-check: | ||
yarn tsc --noEmit | ||
|
||
PHONY: build dev type-check | ||
PHONY: build dev lint type-check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.