adminforth 1.0.59 → 1.0.60

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.
@@ -16,6 +16,7 @@ export function guessLabelFromName(name) {
16
16
  export const currentFileDir = (metaUrl) => {
17
17
  const __filename = fileURLToPath(metaUrl);
18
18
  let __dirname = path.dirname(__filename);
19
+ console.log('currentFileDir', __dirname);
19
20
  if (__dirname.endsWith('dist')) {
20
21
  // in prod build we are in dist also
21
22
  __dirname = path.join(__dirname, '..');
package/modules/utils.ts CHANGED
@@ -18,6 +18,7 @@ export function guessLabelFromName(name) {
18
18
  export const currentFileDir = (metaUrl) => {
19
19
  const __filename = fileURLToPath(metaUrl);
20
20
  let __dirname = path.dirname(__filename);
21
+ console.log('currentFileDir', __dirname);
21
22
  if (__dirname.endsWith('dist')) {
22
23
  // in prod build we are in dist also
23
24
  __dirname = path.join(__dirname, '..');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.0.59",
3
+ "version": "1.0.60",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",