@danixl30/file-explorer-cli 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cli.js CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
+ import { join } from 'node:path';
2
3
  import { withFullScreen } from 'fullscreen-ink';
3
- import React from 'react';
4
4
  import meow from 'meow';
5
+ import React from 'react';
5
6
  import App from './app.js';
6
- import { join } from 'node:path';
7
7
  const cli = meow(`
8
8
  Usage
9
9
  $ files
@@ -1,4 +1,5 @@
1
+ import { join } from 'node:path';
1
2
  import { JSONFilePreset } from 'lowdb/node';
2
- export const db = await JSONFilePreset('db.json', {
3
+ export const db = await JSONFilePreset(join(import.meta.dirname, '../../../../db.json'), {
3
4
  bookmarks: [],
4
5
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danixl30/file-explorer-cli",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "license": "MIT",
5
5
  "bin": {
6
6
  "files": "dist/cli.js"