Skip to content

Commit

Permalink
refactor: Rename configs directory to src
Browse files Browse the repository at this point in the history
  • Loading branch information
joncursi committed Sep 25, 2024
1 parent 209c8f7 commit b4c0698
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./configs/index');
module.exports = require('./src/index');
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
./node_modules/.bin/commitlint --config "./configs/commitlint.config.js" --edit $1
./node_modules/.bin/commitlint --config "./src/commitlint.config.js" --edit $1
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./configs/prettier.config');
module.exports = require('./src/prettier.config');
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@
"scripts": {
"build": "npm-run-all2 build:*",
"build:clean": "rimraf dist && mkdir dist",
"build:configs": "cp -rf configs/* dist",
"build:src": "cp -rf src/* dist",
"build:docs": "cp -rf CHANGELOG.md LICENSE README.md dist",
"build:package_json": "clear-package-json package.json -o dist/package.json",
"prepare": "husky",
"test": "npm-run-all2 test:**",
"test:lint:js": "eslint --ext .js,.jsx --quiet .",
"test:lint:ts": "eslint --ext .ts,.tsx --quiet .",
"test:lint:md": "markdownlint README.md .github/**/*.md --config ./configs/markdownlint.config.json",
"test:lint:md": "markdownlint README.md .github/**/*.md --config ./src/markdownlint.config.json",
"test:prettier": "prettier --check .",
"test:tsconfig": "tsc --noEmit",
"test:unit": "jest --maxWorkers=2 --silent"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "./configs/tsconfig.json"
"extends": "./src/tsconfig.json"
}

0 comments on commit b4c0698

Please sign in to comment.