create-jwn-js 1.1.1 → 1.1.2

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/index.mjs +16 -10
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1,17 +1,23 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const fs = require('fs')
4
- const path = require('path')
5
- const margv = require('margv')
3
+ //const fs = require('fs');
4
+ import fs from 'node:fs';
5
+ //const path = require('path')
6
+ import path from 'node:path';
7
+ //const margv = require('margv')
8
+ import margv from "margv";
6
9
  const argv = margv();
7
- const prompts = require('prompts');
8
- const json5 = require('json5');
10
+ //const prompts = require('prompts');
11
+ import prompts from "prompts";
12
+ // const json5 = require('json5');
13
+ import json5 from "json5";
9
14
 
10
- const {
11
- yellow,
12
- blue,
13
- red
14
- } = require('kolorist')
15
+ // const {
16
+ // yellow,
17
+ // blue,
18
+ // red
19
+ // } = require('kolorist')
20
+ import {yellow, blue, red} from "kolorist";
15
21
  const cwd = process.cwd()
16
22
  const FRAMEWORKS = [
17
23
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-jwn-js",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "license": "PRIVATE",
5
5
  "author": "Webigorkiev",
6
6
  "bin": {