'how to create a build of materials in Node/Typescript
I am new in the Typescript world, and would like to know, is there any way to create a "build of materials" in Typescript, to update the versions of services easily? for example I have this dependencies in package.json:
"devDependencies": {
"@types/googlemaps": "^3.43.3",
"ts-loader": "^6.2.1",
"typescript": "^3.7.2",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.9.0"
},
Is there a way to create something like this:
"devDependencies": {
"@types/googlemaps": "${google.version}",
"ts-loader": "${tsloader.version}"....
},
just to avoid to go in each project and update one by one
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|