create-nodality 1.0.0-beta.76 → 1.0.0-beta.78
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/bin/index.js +5 -5
- package/package.json +2 -2
package/bin/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { mkdirSync, writeFileSync, existsSync } from "fs";
|
|
4
|
-
import { resolve
|
|
4
|
+
import { resolve/*, dirname*/ } from "path";
|
|
5
5
|
import { execSync } from "child_process";
|
|
6
|
-
import { fileURLToPath } from "url";
|
|
6
|
+
// import { fileURLToPath } from "url";
|
|
7
7
|
|
|
8
8
|
// path to script itself /Users/fv/create/index.js
|
|
9
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
10
|
-
const __dirname = dirname(__filename); // create part (folder name)
|
|
9
|
+
// const __filename = fileURLToPath(import.meta.url);
|
|
10
|
+
// const __dirname = dirname(__filename); // create part (folder name)
|
|
11
11
|
|
|
12
12
|
function createProject(projectName) {
|
|
13
13
|
// process.cwd() = current working directory (where user is running the command from)
|
|
@@ -128,7 +128,7 @@ export default {
|
|
|
128
128
|
start: "npx serve . -l 4000",
|
|
129
129
|
},
|
|
130
130
|
dependencies: {
|
|
131
|
-
nodality: "^1.0.0-beta.
|
|
131
|
+
nodality: "^1.0.0-beta.78",
|
|
132
132
|
},
|
|
133
133
|
devDependencies: {
|
|
134
134
|
webpack: "^5.0.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-nodality",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.78",
|
|
4
4
|
"description": "Project scaffolding tool for Nodality library",
|
|
5
5
|
"bin": {
|
|
6
6
|
"create-nodality": "bin/index.js"
|
|
@@ -18,6 +18,6 @@
|
|
|
18
18
|
"author": "Filip Vabrousek",
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"nodality": "^1.0.0-beta.
|
|
21
|
+
"nodality": "^1.0.0-beta.78"
|
|
22
22
|
}
|
|
23
23
|
}
|