@saasak/tool-env 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/index.js +1 -2
  2. package/package.json +1 -1
package/bin/index.js CHANGED
@@ -4,8 +4,7 @@ import path from 'path';
4
4
  import { $ } from 'execa';
5
5
 
6
6
  const args = minimist(process.argv.slice(2));
7
- const __dirname = path.dirname(new URL(import.meta.url).pathname)
8
- const __root = path.resolve(__dirname, '..');
7
+ const __root = process.cwd();
9
8
 
10
9
  // Here we fetch the target env from cli args
11
10
  const DEFAULT_ENV = 'dev';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saasak/tool-env",
3
3
  "license": "MIT",
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "author": "dev@saasak.studio",
6
6
  "description": "A small util to manage environment variables for your monorepo",
7
7
  "keywords": [