Skip to content

Commit b20912f

Browse files
committed
📦 NEW: Deps update
1 parent 35eeabb commit b20912f

File tree

3 files changed

+80
-21
lines changed

3 files changed

+80
-21
lines changed

package-lock.json

Lines changed: 71 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
"dependencies": {
3030
"await-to-js": "^2.1.1",
3131
"chalk": "^4.1.0",
32-
"cli-alerts": "^1.1.0",
32+
"cli-alerts": "^1.2.1",
3333
"cli-handle-error": "^4.4.0",
3434
"cli-handle-unhandled": "^1.1.0",
35-
"cli-meow-help": "^1.0.4",
36-
"cli-should-cancel": "^1.0.0",
37-
"cli-welcome": "^2.2.0",
35+
"cli-meow-help": "^2.0.1",
36+
"cli-should-cancel": "^1.0.2",
37+
"cli-welcome": "^2.2.1",
3838
"copy-template-dir": "^1.4.0",
3939
"data-store": "^4.0.3",
4040
"enquirer": "^2.3.6",

utils/ask.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
const os = require('os');
12
const fs = require('fs');
23
const path = require('path');
34
const { Input } = require('enquirer');
@@ -17,7 +18,10 @@ module.exports = async ({ name, message, hint, initial }) => {
1718
history = {
1819
autosave: true,
1920
store: new Store({
20-
path: path.join(__dirname, `/../.history/${name}.json`)
21+
path: path.join(
22+
os.homedir(),
23+
`.history/create-node-cli/${name}.json`
24+
)
2125
})
2226
};
2327
}

0 commit comments

Comments
 (0)