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.
- package/buildScripts/buildAll.mjs +9 -10
- package/buildScripts/buildThemes.mjs +12 -13
- package/buildScripts/createApp.mjs +10 -11
- package/buildScripts/docs/jsdocx.mjs +5 -6
- package/buildScripts/webpack/buildMyApps.mjs +10 -11
- package/buildScripts/webpack/buildThreads.mjs +8 -9
- package/package.json +1 -1
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import chalk
|
|
2
|
-
import { spawnSync }
|
|
3
|
-
import { Command }
|
|
4
|
-
import envinfo
|
|
5
|
-
import fs
|
|
6
|
-
import inquirer
|
|
7
|
-
import os
|
|
8
|
-
import 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 =
|
|
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
|
|
2
|
-
import chalk
|
|
3
|
-
import cssnano
|
|
4
|
-
import { Command }
|
|
5
|
-
import envinfo
|
|
6
|
-
import fs
|
|
7
|
-
import inquirer
|
|
8
|
-
import path
|
|
9
|
-
import postcss
|
|
10
|
-
import sass
|
|
11
|
-
|
|
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
|
|
2
|
-
import { spawnSync }
|
|
3
|
-
import { Command }
|
|
4
|
-
import envinfo
|
|
5
|
-
import fs
|
|
6
|
-
import inquirer
|
|
7
|
-
import os
|
|
8
|
-
import path
|
|
9
|
-
|
|
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
|
|
2
|
-
import helper
|
|
3
|
-
import jsdocx
|
|
4
|
-
import 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 =
|
|
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
|
|
2
|
-
import { spawnSync }
|
|
3
|
-
import { Command }
|
|
4
|
-
import envinfo
|
|
5
|
-
import fs
|
|
6
|
-
import inquirer
|
|
7
|
-
import os
|
|
8
|
-
import path
|
|
9
|
-
|
|
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
|
|
2
|
-
import { spawnSync }
|
|
3
|
-
import { Command }
|
|
4
|
-
import envinfo
|
|
5
|
-
import fs
|
|
6
|
-
import inquirer
|
|
7
|
-
import 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 =
|
|
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))),
|