@bouygues-telecom/staticjs 1.0.3 → 1.0.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.
|
@@ -13,8 +13,9 @@ async function createReactPowerStatic(projectName) {
|
|
|
13
13
|
spinner.setSpinnerString("|/-\\");
|
|
14
14
|
spinner.start();
|
|
15
15
|
try {
|
|
16
|
-
await downloadTemplate(`github:BouyguesTelecom/static.js/templates/react`, {
|
|
16
|
+
await downloadTemplate(`github:BouyguesTelecom/static.js/templates/react#main`, {
|
|
17
17
|
force: true,
|
|
18
|
+
offline: false,
|
|
18
19
|
provider: "github",
|
|
19
20
|
cwd: dest,
|
|
20
21
|
dir: `.`,
|
|
@@ -31,6 +32,6 @@ async function createReactPowerStatic(projectName) {
|
|
|
31
32
|
rl.close();
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
|
-
rl.question("Enter the name for your new project: ", (projectName) => {
|
|
35
|
+
rl.question("🚀 Enter the name for your new project: ", (projectName) => {
|
|
35
36
|
createReactPowerStatic(projectName);
|
|
36
37
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bouygues-telecom/staticjs",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./_build/server/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"path": "^0.12.7",
|
|
39
39
|
"readline": "^1.3.0",
|
|
40
40
|
"rimraf": "^6.0.1",
|
|
41
|
+
"tsx": "^4.0.0",
|
|
41
42
|
"ws": "^8.18.0"
|
|
42
43
|
},
|
|
43
44
|
"peerDependencies": {
|
|
44
45
|
"vite": "^6.0.0 || ^7.0.0",
|
|
45
|
-
"sass": "^1.77.0"
|
|
46
|
-
"tsx": "^4.0.0"
|
|
46
|
+
"sass": "^1.77.0"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|
|
49
49
|
"node": ">=18.0.0"
|