Skip to content

Commit

Permalink
feat(di): migrate using DI(class container)
Browse files Browse the repository at this point in the history
  • Loading branch information
imjuni committed May 1, 2024
1 parent 8fb3e99 commit b694e61
Show file tree
Hide file tree
Showing 16 changed files with 4,532 additions and 3,640 deletions.
8 changes: 3 additions & 5 deletions .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,15 @@
"plugins": ["prettier-plugin-organize-imports"],
"overrides": [
{
"files": "*.md",
"files": "**/*.md",
"options": {
"parser": "markdown"
}
},
{
"files": [
".vscode/launch.json",
".vscode/settings.json",
"tsconfig.eslint.json",
"tsconfig.prod.json",
".vscode/**/*.json",
"tsconfig.*.json",
"tsconfig.json"
],
"options": {
Expand Down
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"clean": "rimraf dist",
"ctix": "ctix build --config .configs/.ctirc",
"ctix-rm": "ctix remove --config .configs/.ctirc --force-yes --remove-backup",
"build": "pnpm run clean && tsc --incremental --project tsconfig.prod.json",
"prebuild": "pnpm run clean",
"build": "tsc --incremental --project tsconfig.prod.json",
"dts": "tsc -p tsconfig.dts.json",
"dts-alias": "tsc-alias -p tsconfig.dts.json",
"dts-gen": "rollup --config .configs/rollup.config.mjs",
Expand All @@ -23,9 +24,11 @@
"lint": "eslint --cache .",
"lint-staged": "lint-staged",
"prettier": "prettier --write src/**/*.ts",
"pub": "pnpm run bundle && cross-env RELEASE_MODE=true pnpm publish --registry http://localhost:8901",
"prepub": "run-s bundle unpub",
"pub": "cross-env RELEASE_MODE=true pnpm publish --registry http://localhost:8901",
"unpub": "pnpm unpublish $npm_package_name@$npm_package_version --registry http://localhost:8901 --force",
"pub:prod": "pnpm run bundle && cross-env RELEASE_MODE=true pnpm publish --access=public",
"prepub:prod": "pnpm run bundle",
"pub:prod": "cross-env RELEASE_MODE=true pnpm publish --access=public",
"dd": "deps-diff md -d prod -d dev --title-list-type 'm' --deps-list-type 'm' --content-list-type 'm'",
"prepublishOnly": "node prepublish.cjs",
"prepare": "husky install"
Expand Down Expand Up @@ -70,7 +73,7 @@
"@typescript-eslint/parser": "^6.11.0",
"ajv": "^8.12.0",
"cross-env": "^7.0.3",
"ctix": "^2.3.0",
"ctix": "^2.4.4",
"deps-diff": "^1.0.2",
"esbuild": "0.19.5",
"eslint": "^8.54.0",
Expand Down Expand Up @@ -103,7 +106,7 @@
"typescript": "^5.2.2"
},
"dependencies": {
"@maeum/tools": "^1.3.0",
"@maeum/tools": "^1.4.0",
"accept-language": "^3.0.18",
"error-stack-parser": "^2.1.4",
"fast-json-stringify": "^5.6.2",
Expand Down

0 comments on commit b694e61

Please sign in to comment.