@tidecloak/create-nextjs 0.0.5 → 0.9.14

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/init/tcinit.sh CHANGED
@@ -93,13 +93,6 @@ response=$(curl -i -X POST "${TIDECLOAK_LOCAL_URL}/admin/realms/${REALM_NAME}/ve
93
93
  -H "Content-Type: application/x-www-form-urlencoded" \
94
94
  --data-urlencode "email=${SUBSCRIPTION_EMAIL}" 2>&1)
95
95
 
96
- # parse status code from response
97
- status=$(printf "%s" "${response}" | awk '/HTTP\/1\.[01]/ { code=$2 } END { print code }')
98
- if [[ "${status}" != "200" && "${status}" != "201" && "${status}" != "204" ]]; then
99
- echo "❌ setUpTideRealm failed with HTTP ${status}" >&2
100
- exit 1
101
- fi
102
-
103
96
  # toggle IGA
104
97
  curl -s -X POST "${TIDECLOAK_LOCAL_URL}/admin/realms/${REALM_NAME}/tide-admin/toggle-iga" \
105
98
  -H "Authorization: Bearer ${TOKEN}" \
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidecloak/create-nextjs",
3
- "version": "0.0.5",
3
+ "version": "0.9.14",
4
4
  "type": "module",
5
5
  "description": "Scaffold a TideCloak-ready Next.js app with optional IAM setup and working auth — start building instantly with a live example",
6
6
  "bin": {
@@ -12,6 +12,6 @@
12
12
  "next": "14.x",
13
13
  "react": "18.x",
14
14
  "react-dom": "18.x",
15
- "@tidecloak/nextjs": "^0.9.12"
15
+ "@tidecloak/nextjs": "^0.9.13"
16
16
  }
17
17
  }
@@ -12,7 +12,7 @@
12
12
  "next": "14.x",
13
13
  "react": "18.x",
14
14
  "react-dom": "18.x",
15
- "@tidecloak/nextjs": "^0.9.12"
15
+ "@tidecloak/nextjs": "^0.9.13"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/node": "24.0.13",