@valbuild/init 0.86.0 → 0.86.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.
@@ -504,7 +504,7 @@ function transformNextAppRouterValProvider(fileInfo, api, options) {
504
504
 
505
505
  var packageJson = {
506
506
  name: "@valbuild/init",
507
- version: "0.86.0",
507
+ version: "0.86.2",
508
508
  description: "Initialize a new val.build project",
509
509
  exports: {
510
510
  "./main": {
@@ -1756,7 +1756,7 @@ function _execute() {
1756
1756
  writeFile(maybeFileOp, plan.root, key.startsWith("update"));
1757
1757
  }
1758
1758
  }
1759
- info("\n \nVal was successfully initialized!\n\n Start the application:\n\n $ ".concat(chalk__default["default"].cyan("npm run dev"), "\n\n Open (assumes http://localhost:3000):\n\n ").concat(chalk__default["default"].bgBlack.hex("#37cd99").underline("http://localhost:3000/val"), "\n\n When you want to enable editor support, import the project by opening the following link:\n \n ").concat(chalk__default["default"].bgBlack.hex("#37cd99").underline("https://admin.val.build/orgs/new".concat(plan.gitRemote ? "?org=".concat(encodeURIComponent(plan.gitRemote.owner), "&owner=").concat(encodeURIComponent(plan.gitRemote.owner), "&repo=").concat(encodeURIComponent(plan.gitRemote.repo)) : "")), "\n\n"));
1759
+ info("\n \nVal was successfully initialized!\n\n Start the application:\n\n $ ".concat(chalk__default["default"].cyan("npm run dev"), "\n\n Open (assumes http://localhost:3000):\n\n ").concat(chalk__default["default"].bgBlack.hex("#37cd99").underline("http://localhost:3000/val"), "\n\n When you want to enable editor support, connect the project by opening the following link:\n \n ").concat(chalk__default["default"].bgBlack.hex("#37cd99").underline("https://admin.val.build/connect".concat(plan.gitRemote ? "?github_repo=".concat(encodeURIComponent([plan.gitRemote.repo, plan.gitRemote.owner].join("/")), "&org=").concat(encodeURIComponent(plan.gitRemote.owner), "&project=").concat(encodeURIComponent(plan.gitRemote.repo)) : "")), "\n\n"));
1760
1760
  case 7:
1761
1761
  case "end":
1762
1762
  return _context4.stop();
@@ -504,7 +504,7 @@ function transformNextAppRouterValProvider(fileInfo, api, options) {
504
504
 
505
505
  var packageJson = {
506
506
  name: "@valbuild/init",
507
- version: "0.86.0",
507
+ version: "0.86.2",
508
508
  description: "Initialize a new val.build project",
509
509
  exports: {
510
510
  "./main": {
@@ -1756,7 +1756,7 @@ function _execute() {
1756
1756
  writeFile(maybeFileOp, plan.root, key.startsWith("update"));
1757
1757
  }
1758
1758
  }
1759
- info("\n \nVal was successfully initialized!\n\n Start the application:\n\n $ ".concat(chalk__default["default"].cyan("npm run dev"), "\n\n Open (assumes http://localhost:3000):\n\n ").concat(chalk__default["default"].bgBlack.hex("#37cd99").underline("http://localhost:3000/val"), "\n\n When you want to enable editor support, import the project by opening the following link:\n \n ").concat(chalk__default["default"].bgBlack.hex("#37cd99").underline("https://admin.val.build/orgs/new".concat(plan.gitRemote ? "?org=".concat(encodeURIComponent(plan.gitRemote.owner), "&owner=").concat(encodeURIComponent(plan.gitRemote.owner), "&repo=").concat(encodeURIComponent(plan.gitRemote.repo)) : "")), "\n\n"));
1759
+ info("\n \nVal was successfully initialized!\n\n Start the application:\n\n $ ".concat(chalk__default["default"].cyan("npm run dev"), "\n\n Open (assumes http://localhost:3000):\n\n ").concat(chalk__default["default"].bgBlack.hex("#37cd99").underline("http://localhost:3000/val"), "\n\n When you want to enable editor support, connect the project by opening the following link:\n \n ").concat(chalk__default["default"].bgBlack.hex("#37cd99").underline("https://admin.val.build/connect".concat(plan.gitRemote ? "?github_repo=".concat(encodeURIComponent([plan.gitRemote.repo, plan.gitRemote.owner].join("/")), "&org=").concat(encodeURIComponent(plan.gitRemote.owner), "&project=").concat(encodeURIComponent(plan.gitRemote.repo)) : "")), "\n\n"));
1760
1760
  case 7:
1761
1761
  case "end":
1762
1762
  return _context4.stop();
@@ -492,7 +492,7 @@ function transformNextAppRouterValProvider(fileInfo, api, options) {
492
492
 
493
493
  var packageJson = {
494
494
  name: "@valbuild/init",
495
- version: "0.86.0",
495
+ version: "0.86.2",
496
496
  description: "Initialize a new val.build project",
497
497
  exports: {
498
498
  "./main": {
@@ -1744,7 +1744,7 @@ function _execute() {
1744
1744
  writeFile(maybeFileOp, plan.root, key.startsWith("update"));
1745
1745
  }
1746
1746
  }
1747
- info("\n \nVal was successfully initialized!\n\n Start the application:\n\n $ ".concat(chalk.cyan("npm run dev"), "\n\n Open (assumes http://localhost:3000):\n\n ").concat(chalk.bgBlack.hex("#37cd99").underline("http://localhost:3000/val"), "\n\n When you want to enable editor support, import the project by opening the following link:\n \n ").concat(chalk.bgBlack.hex("#37cd99").underline("https://admin.val.build/orgs/new".concat(plan.gitRemote ? "?org=".concat(encodeURIComponent(plan.gitRemote.owner), "&owner=").concat(encodeURIComponent(plan.gitRemote.owner), "&repo=").concat(encodeURIComponent(plan.gitRemote.repo)) : "")), "\n\n"));
1747
+ info("\n \nVal was successfully initialized!\n\n Start the application:\n\n $ ".concat(chalk.cyan("npm run dev"), "\n\n Open (assumes http://localhost:3000):\n\n ").concat(chalk.bgBlack.hex("#37cd99").underline("http://localhost:3000/val"), "\n\n When you want to enable editor support, connect the project by opening the following link:\n \n ").concat(chalk.bgBlack.hex("#37cd99").underline("https://admin.val.build/connect".concat(plan.gitRemote ? "?github_repo=".concat(encodeURIComponent([plan.gitRemote.repo, plan.gitRemote.owner].join("/")), "&org=").concat(encodeURIComponent(plan.gitRemote.owner), "&project=").concat(encodeURIComponent(plan.gitRemote.repo)) : "")), "\n\n"));
1748
1748
  case 7:
1749
1749
  case "end":
1750
1750
  return _context4.stop();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valbuild/init",
3
- "version": "0.86.0",
3
+ "version": "0.86.2",
4
4
  "description": "Initialize a new val.build project",
5
5
  "exports": {
6
6
  "./main": {
package/src/init.ts CHANGED
@@ -939,18 +939,18 @@ Val was successfully initialized!
939
939
 
940
940
  ${chalk.bgBlack.hex("#37cd99").underline(`http://localhost:3000/val`)}
941
941
 
942
- When you want to enable editor support, import the project by opening the following link:
942
+ When you want to enable editor support, connect the project by opening the following link:
943
943
 
944
944
  ${chalk.bgBlack
945
945
  .hex("#37cd99")
946
946
  .underline(
947
- `https://admin.val.build/orgs/new${
947
+ `https://admin.val.build/connect${
948
948
  plan.gitRemote
949
- ? `?org=${encodeURIComponent(
949
+ ? `?github_repo=${encodeURIComponent(
950
+ [plan.gitRemote.repo, plan.gitRemote.owner].join("/"),
951
+ )}&org=${encodeURIComponent(
950
952
  plan.gitRemote.owner,
951
- )}&owner=${encodeURIComponent(
952
- plan.gitRemote.owner,
953
- )}&repo=${encodeURIComponent(plan.gitRemote.repo)}`
953
+ )}&project=${encodeURIComponent(plan.gitRemote.repo)}`
954
954
  : ""
955
955
  }`,
956
956
  )}