@solidstarters/create-solid-app 1.2.35 → 1.2.36

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidstarters/create-solid-app",
3
- "version": "1.2.35",
3
+ "version": "1.2.36",
4
4
  "main": "index.js",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ require('../dist/main-cli');
@@ -52,4 +52,5 @@ pids
52
52
  report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
53
53
 
54
54
  media-uploads
55
- media-files-storage
55
+ media-files-storage
56
+ local_packages
@@ -40,4 +40,5 @@ yarn-error.log*
40
40
  *.tsbuildinfo
41
41
  next-env.d.ts
42
42
 
43
- public/themes
43
+ public/themes
44
+ local_packages
@@ -14,6 +14,8 @@ const nextConfig = {
14
14
  NEXTAUTH_URL: process.env.NEXTAUTH_URL,
15
15
  NEXT_PUBLIC_BACKEND_API_URL: process.env.NEXT_PUBLIC_BACKEND_API_URL,
16
16
  DB_LOCAL_URI: "mongodb://root:Unicorn3214@127.0.0.1:27017/bookit-v2",
17
+ SOLIDX_ON_APPLICATION_MOUNT_HANDLER:process.env.SOLIDX_ON_APPLICATION_MOUNT_HANDLER,
18
+
17
19
  DB_URI: "",
18
20
 
19
21
  NEXT_PUBLIC_ENABLE_CUSTOM_HEADER_FOOTER: process.env.NEXT_PUBLIC_ENABLE_CUSTOM_HEADER_FOOTER,
@@ -70,8 +70,8 @@
70
70
  "@types/react": "18.3.18",
71
71
  "@types/react-dom": "18.3.5",
72
72
  "@types/react-js-pagination": "^3.0.7",
73
- "next": "^14.2.7",
73
+ "next": "^14.2.35",
74
74
  "@types/node": "20.5.9",
75
75
  "@types/uuid": "^10.0.0"
76
76
  }
77
- }
77
+ }
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env bash
2
- npm install
3
- npm run build
4
- npm uninstall -g solid
5
- npm install -g .
@@ -1,27 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # nvm
4
- export NVM_DIR="$HOME/.nvm"
5
- [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
6
- [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
7
-
8
- # Actual build.
9
- nvm use v21.2.0
10
- npm install
11
- npm run build
12
- npm uninstall -g solid
13
-
14
- # Get the current terminal user
15
- current_user=$(whoami)
16
-
17
- # Define the filename to search for
18
- filename="solid"
19
-
20
- # Construct the path to the user's home directory
21
- user_directory="/Users/$current_user/.nvm"
22
-
23
- # Find and delete the specified files under the user's home directory
24
- echo Deleting old executables...
25
- find "$user_directory" -name "$filename" -type l -print -delete
26
-
27
- npm install -g .
@@ -1,9 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # Reinstall globally
4
- npm i
5
- npm run build
6
- npm i -g --force
7
-
8
- # Make sure the generated cli has the x permission
9
- chmod +x dist/main-cli.js
@@ -1,15 +0,0 @@
1
- @echo off
2
- echo Installing dependencies...
3
- call npm i
4
-
5
- echo Building the project...
6
- call npm run build
7
-
8
- echo Removing Solid binary...
9
- del "C:\Users\Lenovo\AppData\Roaming\npm\solid" 2>nul
10
-
11
- echo Installing global dependencies...
12
- call npm i -g
13
-
14
- echo Refresh complete!
15
- pause
@@ -1,9 +0,0 @@
1
- # Upgrade solid api dependencies
2
- npm upgrade --prefix solid-api @solidstarters/solid-core
3
- npm upgrade --prefix solid-api @solidstarters/solid-code-builder
4
- # Upgrade solid ui dependencies
5
- npm upgrade --prefix solid-ui @solidstarters/solid-core-ui
6
- ## copy the theme files from node modules to the public/themes folder within solid-ui
7
- npm run --prefix solid-ui postinstall
8
- # cd into solid-api directory and run the rebuild.sh & solid seed command
9
- cd solid-api && ./rebuild.sh && solid seed && cd ..
package/upgrade-local.sh DELETED
@@ -1,69 +0,0 @@
1
- #!/bin/bash
2
-
3
- set -e
4
-
5
- # Ensure required environment variables are set
6
- if [[ -z "$SOLID_CORE_MODULE_PATH" || -z "$SOLID_UI_PATH" ]]; then
7
- echo "Error: SOLID_CORE_MODULE_PATH and SOLID_UI_PATH environment variables must be set."
8
- exit 1
9
- fi
10
-
11
- pack_and_install() {
12
- local PACKAGE_PATH=$1
13
- local INSTALL_PATH=$2
14
-
15
- # 🔥 Delete old .tgz files before packing
16
- rm -f *.tgz
17
-
18
- echo "Packing $PACKAGE_PATH"
19
- pushd "$PACKAGE_PATH" > /dev/null || exit 1
20
- npm pack
21
- local PACKAGE_TGZ=$(ls *.tgz | tail -n 1)
22
- popd > /dev/null || exit 1
23
-
24
- echo "Installing $PACKAGE_TGZ into $INSTALL_PATH"
25
- pushd "$INSTALL_PATH" > /dev/null || exit 1
26
- npm i "$PACKAGE_PATH/$PACKAGE_TGZ"
27
- popd > /dev/null || exit 1
28
- }
29
-
30
- # Handle arguments
31
- build_core=false
32
- build_ui=false
33
- skip_seed=false
34
-
35
- while [[ "$#" -gt 0 ]]; do
36
- case "$1" in
37
- --core) build_core=true ;;
38
- --ui) build_ui=true ;;
39
- --skip-seed) skip_seed=true ;;
40
- *) echo "Unknown option: $1"; exit 1 ;;
41
- esac
42
- shift
43
- done
44
-
45
- # Default behavior: build both if no args given
46
- if [[ $build_core == false && $build_ui == false ]]; then
47
- build_core=true
48
- build_ui=true
49
- fi
50
-
51
- if [[ $build_core == true ]]; then
52
- echo "=== Building & installing solid-core-module into solid-api ==="
53
- pack_and_install "$SOLID_CORE_MODULE_PATH" "./solid-api"
54
- fi
55
-
56
- if [[ $build_ui == true ]]; then
57
- echo "=== Building & installing solid-ui into solid-ui ==="
58
- pack_and_install "$SOLID_UI_PATH" "./solid-ui"
59
- fi
60
-
61
- echo "✅ Done, upgrading from local dependencies."
62
- if [[ $build_core == true ]]; then
63
- if [[ $skip_seed == false ]]; then
64
- cd ./solid-api
65
- ./rebuild.sh
66
- solid seed
67
- echo "✅ Solid seed completed."
68
- fi
69
- fi