turbo-web 4.2.3 → 4.2.5
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/turbo-charge.js +3 -3
- package/package.json +2 -2
package/bin/turbo-charge.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
import '../dist/turbo.js';
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
import fs from 'fs';
|
|
6
|
+
import path from 'path';
|
|
7
7
|
|
|
8
8
|
// 1. gets the project name from the terminal command
|
|
9
9
|
const projectName = process.argv[2];
|
|
10
10
|
|
|
11
11
|
if (!projectName) {
|
|
12
12
|
console.error('Error: Please specify a project name.');
|
|
13
|
-
console.error('Usage: npx turbo-
|
|
13
|
+
console.error('Usage: npx turbo-web <project-directory>');
|
|
14
14
|
process.exit(1);
|
|
15
15
|
}
|
|
16
16
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "turbo-web",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.5",
|
|
4
4
|
"main": "dist/turbo.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
7
|
"bin"
|
|
8
8
|
],
|
|
9
9
|
"bin": {
|
|
10
|
-
"turbo-
|
|
10
|
+
"turbo-web": "bin/turbo-charge.js"
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
13
|
"prepack": "npm run build",
|