neo.mjs 3.1.3 → 3.1.4

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.
@@ -1,14 +1,13 @@
1
- import chalk from 'chalk';
2
- import { spawnSync } from 'child_process';
3
- import { Command } from 'commander/esm.mjs';
4
- import envinfo from 'envinfo';
5
- import fs from 'fs-extra';
6
- import inquirer from 'inquirer';
7
- import os from 'os';
8
- import path from 'path';
9
- import { fileURLToPath } from 'url';
1
+ import chalk from 'chalk';
2
+ import { spawnSync } from 'child_process';
3
+ import { Command } from 'commander/esm.mjs';
4
+ import envinfo from 'envinfo';
5
+ import fs from 'fs-extra';
6
+ import inquirer from 'inquirer';
7
+ import os from 'os';
8
+ import path from 'path';
10
9
 
11
- const __dirname = fileURLToPath(path.dirname(import.meta.url)),
10
+ const __dirname = path.resolve(),
12
11
  cwd = process.cwd(),
13
12
  cpOpts = {env: process.env, cwd: cwd, stdio: 'inherit', shell: true},
14
13
  npmCmd = os.platform().startsWith('win') ? 'npm.cmd' : 'npm', // npm binary based on OS
@@ -1,16 +1,15 @@
1
- import autoprefixer from 'autoprefixer';
2
- import chalk from 'chalk';
3
- import cssnano from 'cssnano';
4
- import { Command } from 'commander/esm.mjs';
5
- import envinfo from 'envinfo';
6
- import fs from 'fs-extra';
7
- import inquirer from 'inquirer';
8
- import path from 'path';
9
- import postcss from 'postcss';
10
- import sass from 'sass';
11
- import { fileURLToPath } from 'url';
12
-
13
- const __dirname = fileURLToPath(path.dirname(import.meta.url)),
1
+ import autoprefixer from 'autoprefixer';
2
+ import chalk from 'chalk';
3
+ import cssnano from 'cssnano';
4
+ import { Command } from 'commander/esm.mjs';
5
+ import envinfo from 'envinfo';
6
+ import fs from 'fs-extra';
7
+ import inquirer from 'inquirer';
8
+ import path from 'path';
9
+ import postcss from 'postcss';
10
+ import sass from 'sass';
11
+
12
+ const __dirname = path.resolve(),
14
13
  cwd = process.cwd(),
15
14
  requireJson = path => JSON.parse(fs.readFileSync((path))),
16
15
  packageJson = requireJson(path.resolve(cwd, 'package.json')),
@@ -1,14 +1,13 @@
1
- import chalk from 'chalk';
2
- import { spawnSync } from 'child_process';
3
- import { Command } from 'commander/esm.mjs';
4
- import envinfo from 'envinfo';
5
- import fs from 'fs-extra';
6
- import inquirer from 'inquirer';
7
- import os from 'os';
8
- import path from 'path';
9
- import { fileURLToPath } from 'url';
10
-
11
- const __dirname = fileURLToPath(path.dirname(import.meta.url)),
1
+ import chalk from 'chalk';
2
+ import { spawnSync } from 'child_process';
3
+ import { Command } from 'commander/esm.mjs';
4
+ import envinfo from 'envinfo';
5
+ import fs from 'fs-extra';
6
+ import inquirer from 'inquirer';
7
+ import os from 'os';
8
+ import path from 'path';
9
+
10
+ const __dirname = path.resolve(),
12
11
  cwd = process.cwd(),
13
12
  requireJson = path => JSON.parse(fs.readFileSync((path))),
14
13
  packageJson = requireJson(path.join(__dirname, 'package.json')),
@@ -1,10 +1,9 @@
1
- import fs from 'fs-extra';
2
- import helper from 'neo-jsdoc-x/src/lib/helper.js';
3
- import jsdocx from 'neo-jsdoc-x';
4
- import path from 'path';
5
- import { fileURLToPath } from 'url';
1
+ import fs from 'fs-extra';
2
+ import helper from 'neo-jsdoc-x/src/lib/helper.js';
3
+ import jsdocx from 'neo-jsdoc-x';
4
+ import path from 'path';
6
5
 
7
- const __dirname = fileURLToPath(path.dirname(import.meta.url)),
6
+ const __dirname = path.resolve(),
8
7
  cwd = process.cwd(),
9
8
  requireJson = path => JSON.parse(fs.readFileSync((path))),
10
9
  packageJson = requireJson(path.resolve(cwd, 'package.json')),
@@ -1,14 +1,13 @@
1
- import chalk from 'chalk';
2
- import { spawnSync } from 'child_process';
3
- import { Command } from 'commander/esm.mjs';
4
- import envinfo from 'envinfo';
5
- import fs from 'fs-extra';
6
- import inquirer from 'inquirer';
7
- import os from 'os';
8
- import path from 'path';
9
- import { fileURLToPath } from 'url';
10
-
11
- const __dirname = fileURLToPath(path.dirname(import.meta.url)),
1
+ import chalk from 'chalk';
2
+ import { spawnSync } from 'child_process';
3
+ import { Command } from 'commander/esm.mjs';
4
+ import envinfo from 'envinfo';
5
+ import fs from 'fs-extra';
6
+ import inquirer from 'inquirer';
7
+ import os from 'os';
8
+ import path from 'path';
9
+
10
+ const __dirname = path.resolve(),
12
11
  cwd = process.cwd(),
13
12
  cpOpts = {env: process.env, cwd: cwd, stdio: 'inherit', shell: true},
14
13
  requireJson = path => JSON.parse(fs.readFileSync((path))),
@@ -1,13 +1,12 @@
1
- import chalk from 'chalk';
2
- import { spawnSync } from 'child_process';
3
- import { Command } from 'commander/esm.mjs';
4
- import envinfo from 'envinfo';
5
- import fs from 'fs-extra';
6
- import inquirer from 'inquirer';
7
- import path from 'path';
8
- import { fileURLToPath } from 'url';
1
+ import chalk from 'chalk';
2
+ import { spawnSync } from 'child_process';
3
+ import { Command } from 'commander/esm.mjs';
4
+ import envinfo from 'envinfo';
5
+ import fs from 'fs-extra';
6
+ import inquirer from 'inquirer';
7
+ import path from 'path';
9
8
 
10
- const __dirname = fileURLToPath(path.dirname(import.meta.url)),
9
+ const __dirname = path.resolve(),
11
10
  cwd = process.cwd(),
12
11
  cpOpts = {env: process.env, cwd: cwd, stdio: 'inherit', shell: true},
13
12
  requireJson = path => JSON.parse(fs.readFileSync((path))),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neo.mjs",
3
- "version": "3.1.3",
3
+ "version": "3.1.4",
4
4
  "description": "The webworkers driven UI framework",
5
5
  "type": "module",
6
6
  "repository": {