Skip to content

Commit

Permalink
refactor: use only one type of dependencies in npm sources
Browse files Browse the repository at this point in the history
  • Loading branch information
murdos committed Oct 5, 2024
1 parent a45589f commit df69a00
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 35 deletions.
18 changes: 8 additions & 10 deletions src/main/resources/generator/dependencies/angular/package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
{
"dependencies": {
"@angular/cdk": "18.2.6",
"@angular/core": "18.2.6",
"@angular/material": "18.2.6",
"angular-eslint": "18.3.1",
"rxjs": "7.8.1",
"tslib": "2.7.0",
"zone.js": "0.14.10"
},
"devDependencies": {
"@angular-builders/jest": "18.0.0",
"@angular/build": "18.2.6",
"@angular/cdk": "18.2.6",
"@angular/cli": "18.2.6",
"@angular/compiler-cli": "18.2.6",
"@angular/core": "18.2.6",
"@angular/material": "18.2.6",
"angular-eslint": "18.3.1",
"jest-environment-jsdom": "29.7.0",
"jest-preset-angular": "14.2.4",
"jest-sonar-reporter": "2.0.0",
"typescript": "5.5.4"
"rxjs": "7.8.1",
"tslib": "2.7.0",
"typescript": "5.5.4",
"zone.js": "0.14.10"
}
}
12 changes: 5 additions & 7 deletions src/main/resources/generator/dependencies/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@
"description": "JHipster Lite : used for Dependencies",
"license": "Apache-2.0",
"dependencies": {
"i18next": "23.15.1",
"i18next-browser-languagedetector": "8.0.0",
"i18next-http-backend": "2.6.1",
"keycloak-js": "25.0.6",
"piqure": "2.0.0"
},
"devDependencies": {
"@babel/cli": "7.25.6",
"@playwright/test": "1.47.2",
"@prettier/plugin-pug": "3.1.0",
Expand All @@ -31,15 +24,20 @@
"eslint-plugin-cypress": "3.5.0",
"globals": "15.10.0",
"husky": "9.1.6",
"i18next": "23.15.1",
"i18next-browser-languagedetector": "8.0.0",
"i18next-http-backend": "2.6.1",
"jest": "29.7.0",
"jsdom": "25.0.1",
"keycloak-js": "25.0.6",
"lint-staged": "15.2.10",
"mkdirp": "3.0.1",
"node": "20.17.0",
"npm": "10.8.3",
"npm-run-all2": "6.2.3",
"onchange": "7.1.0",
"path-exists-cli": "2.0.0",
"piqure": "2.0.0",
"postcss": "8.4.47",
"postcss-cli": "11.0.0",
"prettier": "3.3.3",
Expand Down
12 changes: 5 additions & 7 deletions src/main/resources/generator/dependencies/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,18 @@
"type": "module",
"dependencies": {
"@nextui-org/react": "2.4.8",
"axios": "1.7.7",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-hook-form": "7.53.0",
"react-i18next": "15.0.2"
},
"devDependencies": {
"@testing-library/dom": "10.4.0",
"@testing-library/react": "16.0.1",
"@tsconfig/vite-react": "3.0.2",
"@types/react": "18.3.10",
"@types/react-dom": "18.3.0",
"@vitejs/plugin-react": "4.3.2",
"axios": "1.7.7",
"eslint-plugin-react": "7.37.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-hook-form": "7.53.0",
"react-i18next": "15.0.2",
"react-scripts": "5.0.1",
"sass": "1.79.4",
"ts-node": "10.9.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"version": "0.0.1",
"type": "module",
"dependencies": {
"svelte-navigator": "3.2.2"
},
"devDependencies": {
"@babel/preset-env": "7.22.9",
"@sveltejs/adapter-static": "2.0.3",
"@sveltejs/kit": "1.22.3",
Expand All @@ -21,6 +18,7 @@
"prettier-plugin-svelte": "2.10.1",
"svelte": "3.59.2",
"svelte-check": "3.8.4",
"svelte-navigator": "3.2.2",
"svelte-preprocess": "5.0.4",
"tslib": "2.6.3",
"typescript": "5.1.6",
Expand Down
14 changes: 6 additions & 8 deletions src/main/resources/generator/dependencies/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,19 @@
"description": "JHipster Lite : used for Vite+Vue3 dependencies",
"license": "Apache-2.0",
"dependencies": {
"axios": "1.7.7",
"i18next-vue": "5.0.0",
"pinia": "2.2.4",
"pinia-plugin-persistedstate": "4.0.2",
"vue": "3.5.10",
"vue-router": "4.4.5"
},
"devDependencies": {
"@pinia/testing": "0.1.6",
"@types/sinon": "17.0.3",
"@vitejs/plugin-vue": "5.1.4",
"@vue/test-utils": "2.4.6",
"@vue/tsconfig": "0.5.1",
"axios": "1.7.7",
"eslint-plugin-vue": "9.28.0",
"i18next-vue": "5.0.0",
"pinia": "2.2.4",
"pinia-plugin-persistedstate": "4.0.2",
"sinon": "19.0.2",
"vue": "3.5.10",
"vue-router": "4.4.5",
"vue-tsc": "2.1.6"
}
}

0 comments on commit df69a00

Please sign in to comment.