@valbuild/init 0.51.0 → 0.51.1
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.js +3 -0
- package/dist/valbuild-init.cjs.dev.js +3 -3
- package/dist/valbuild-init.cjs.prod.js +3 -3
- package/dist/valbuild-init.esm.js +3 -3
- package/package.json +2 -2
- package/src/init.ts +1 -1
- package/out/index.js +0 -9
package/bin.js
ADDED
|
@@ -463,7 +463,7 @@ function transformNextAppRouterValProvider(fileInfo, api, options) {
|
|
|
463
463
|
|
|
464
464
|
var packageJson = {
|
|
465
465
|
name: "@valbuild/init",
|
|
466
|
-
version: "0.51.
|
|
466
|
+
version: "0.51.1",
|
|
467
467
|
description: "",
|
|
468
468
|
main: "dist/valbuild-init.cjs.js",
|
|
469
469
|
module: "dist/valbuild-init.esm.js",
|
|
@@ -479,7 +479,7 @@ var packageJson = {
|
|
|
479
479
|
build: "ncc build ./src/index.ts -o ./out/ --minify --no-cache --no-source-map-register"
|
|
480
480
|
},
|
|
481
481
|
bin: {
|
|
482
|
-
"@valbuild/init": "./
|
|
482
|
+
"@valbuild/init": "./bin.js"
|
|
483
483
|
},
|
|
484
484
|
dependencies: {
|
|
485
485
|
"@inquirer/confirm": "^2.0.15",
|
|
@@ -1183,7 +1183,7 @@ function _plan() {
|
|
|
1183
1183
|
}
|
|
1184
1184
|
|
|
1185
1185
|
// Patches:
|
|
1186
|
-
NO_PATCH_WARNING = "Remember to
|
|
1186
|
+
NO_PATCH_WARNING = "Remember to add the ValProvider in your root app/layout.tsx or pages/_app.tsx file.\n";
|
|
1187
1187
|
if (!analysis.appRouterLayoutPath) {
|
|
1188
1188
|
_context3.next = 185;
|
|
1189
1189
|
break;
|
|
@@ -463,7 +463,7 @@ function transformNextAppRouterValProvider(fileInfo, api, options) {
|
|
|
463
463
|
|
|
464
464
|
var packageJson = {
|
|
465
465
|
name: "@valbuild/init",
|
|
466
|
-
version: "0.51.
|
|
466
|
+
version: "0.51.1",
|
|
467
467
|
description: "",
|
|
468
468
|
main: "dist/valbuild-init.cjs.js",
|
|
469
469
|
module: "dist/valbuild-init.esm.js",
|
|
@@ -479,7 +479,7 @@ var packageJson = {
|
|
|
479
479
|
build: "ncc build ./src/index.ts -o ./out/ --minify --no-cache --no-source-map-register"
|
|
480
480
|
},
|
|
481
481
|
bin: {
|
|
482
|
-
"@valbuild/init": "./
|
|
482
|
+
"@valbuild/init": "./bin.js"
|
|
483
483
|
},
|
|
484
484
|
dependencies: {
|
|
485
485
|
"@inquirer/confirm": "^2.0.15",
|
|
@@ -1183,7 +1183,7 @@ function _plan() {
|
|
|
1183
1183
|
}
|
|
1184
1184
|
|
|
1185
1185
|
// Patches:
|
|
1186
|
-
NO_PATCH_WARNING = "Remember to
|
|
1186
|
+
NO_PATCH_WARNING = "Remember to add the ValProvider in your root app/layout.tsx or pages/_app.tsx file.\n";
|
|
1187
1187
|
if (!analysis.appRouterLayoutPath) {
|
|
1188
1188
|
_context3.next = 185;
|
|
1189
1189
|
break;
|
|
@@ -451,7 +451,7 @@ function transformNextAppRouterValProvider(fileInfo, api, options) {
|
|
|
451
451
|
|
|
452
452
|
var packageJson = {
|
|
453
453
|
name: "@valbuild/init",
|
|
454
|
-
version: "0.51.
|
|
454
|
+
version: "0.51.1",
|
|
455
455
|
description: "",
|
|
456
456
|
main: "dist/valbuild-init.cjs.js",
|
|
457
457
|
module: "dist/valbuild-init.esm.js",
|
|
@@ -467,7 +467,7 @@ var packageJson = {
|
|
|
467
467
|
build: "ncc build ./src/index.ts -o ./out/ --minify --no-cache --no-source-map-register"
|
|
468
468
|
},
|
|
469
469
|
bin: {
|
|
470
|
-
"@valbuild/init": "./
|
|
470
|
+
"@valbuild/init": "./bin.js"
|
|
471
471
|
},
|
|
472
472
|
dependencies: {
|
|
473
473
|
"@inquirer/confirm": "^2.0.15",
|
|
@@ -1171,7 +1171,7 @@ function _plan() {
|
|
|
1171
1171
|
}
|
|
1172
1172
|
|
|
1173
1173
|
// Patches:
|
|
1174
|
-
NO_PATCH_WARNING = "Remember to
|
|
1174
|
+
NO_PATCH_WARNING = "Remember to add the ValProvider in your root app/layout.tsx or pages/_app.tsx file.\n";
|
|
1175
1175
|
if (!analysis.appRouterLayoutPath) {
|
|
1176
1176
|
_context3.next = 185;
|
|
1177
1177
|
break;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@valbuild/init",
|
|
3
|
-
"version": "0.51.
|
|
3
|
+
"version": "0.51.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/valbuild-init.cjs.js",
|
|
6
6
|
"module": "dist/valbuild-init.esm.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"build": "ncc build ./src/index.ts -o ./out/ --minify --no-cache --no-source-map-register"
|
|
17
17
|
},
|
|
18
18
|
"bin": {
|
|
19
|
-
"@valbuild/init": "./
|
|
19
|
+
"@valbuild/init": "./bin.js"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@inquirer/confirm": "^2.0.15",
|
package/src/init.ts
CHANGED
|
@@ -508,7 +508,7 @@ async function plan(
|
|
|
508
508
|
// Patches:
|
|
509
509
|
|
|
510
510
|
const NO_PATCH_WARNING =
|
|
511
|
-
"Remember to
|
|
511
|
+
"Remember to add the ValProvider in your root app/layout.tsx or pages/_app.tsx file.\n";
|
|
512
512
|
if (analysis.appRouterLayoutPath) {
|
|
513
513
|
if (!analysis.appRouterLayoutFile) {
|
|
514
514
|
logger.error("Failed to read app router layout file");
|