gpt4 book ai didi

jhipster - 我怎么知道我使用的是哪个 jhipster 版本?

转载 作者:行者123 更新时间:2023-12-03 09:45:01 27 4
gpt4 key购买 nike

我需要复制一个 jhipster 项目。自从我创建了这个项目以来,我已经更新了 jhipster 版本。我想用第一个项目的相同 jhipster 版本复制项目。

我如何知道我的第一个应用程序使用的是哪个版本的 Jhipster?

最佳答案

找到此信息的最佳位置似乎是 ./Gruntfile.js 的第一行:

// Generated on 2015-12-14 using generator-jhipster 2.25.0

用于生成项目的版本标识符也可以在许多其他地方找到:

➜   grep -R '2\.25\.0' . # current version of jhipster is 2.25.0

./Gruntfile.js:// Generated on 2015-12-14 using generator-jhipster 2.25.0
./node_modules/connect/History.md:2.25.0 / 2014-08-05
./node_modules/generator-jhipster/package.json: "generator-jhipster@2.25.0",
./node_modules/generator-jhipster/package.json: "_from": "generator-jhipster@2.25.0",
./node_modules/generator-jhipster/package.json: "_id": "generator-jhipster@2.25.0",
./node_modules/generator-jhipster/package.json: "raw": "generator-jhipster@2.25.0",
./node_modules/generator-jhipster/package.json: "rawSpec": "2.25.0",
./node_modules/generator-jhipster/package.json: "spec": "2.25.0",
./node_modules/generator-jhipster/package.json: "_resolved": "https://registry.npmjs.org/generator-jhipster/-/generator-jhipster-2.25.0.tgz",
./node_modules/generator-jhipster/package.json: "_spec": "generator-jhipster@2.25.0",
./node_modules/generator-jhipster/package.json: "tarball": "http://registry.npmjs.org/generator-jhipster/-/generator-jhipster-2.25.0.tgz"
./node_modules/generator-jhipster/package.json: "version": "2.25.0"
./node_modules/phantomjs/node_modules/request/CHANGELOG.md:### v2.25.0 (2013/07/23 21:51 +00:00)
./node_modules/phantomjs/node_modules/request/CHANGELOG.md:- [828f12a](https://github.com/mikeal/request/commit/828f12a1ae0f187deee4d531b2eaf7531169aaf2) 2.25.0 (@mikeal)
./package.json: "generator-jhipster": "2.25.0",

关于jhipster - 我怎么知道我使用的是哪个 jhipster 版本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34265167/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com