nuxt-users 1.37.1 → 1.37.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.
- package/CHANGELOG.md +32 -0
- package/dist/cli.mjs +1 -0
- package/dist/module.json +1 -1
- package/package.json +3 -3
- package/scripts/test-mysql.sh +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,38 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## v1.37.2
|
|
5
|
+
|
|
6
|
+
[compare changes](https://github.com/rrd108/nuxt-users/compare/v1.37.1...v1.37.2)
|
|
7
|
+
|
|
8
|
+
### 🩹 Fixes
|
|
9
|
+
|
|
10
|
+
- Updates default MySQL root password ([38ea927](https://github.com/rrd108/nuxt-users/commit/38ea927))
|
|
11
|
+
|
|
12
|
+
### 📖 Documentation
|
|
13
|
+
|
|
14
|
+
- Add info about .env.local ([6026a06](https://github.com/rrd108/nuxt-users/commit/6026a06))
|
|
15
|
+
- Add `SECURITY.md` ([a7104dc](https://github.com/rrd108/nuxt-users/commit/a7104dc))
|
|
16
|
+
|
|
17
|
+
### 🏡 Chore
|
|
18
|
+
|
|
19
|
+
- Fix release tagging ([9b56a2f](https://github.com/rrd108/nuxt-users/commit/9b56a2f))
|
|
20
|
+
|
|
21
|
+
### ✅ Tests
|
|
22
|
+
|
|
23
|
+
- Increase time ([6c8e7b5](https://github.com/rrd108/nuxt-users/commit/6c8e7b5))
|
|
24
|
+
|
|
25
|
+
### 🤖 CI
|
|
26
|
+
|
|
27
|
+
- Fixes peer dependency version resolution ([ca6610a](https://github.com/rrd108/nuxt-users/commit/ca6610a))
|
|
28
|
+
- Fix: Nuxt 4 app creation in CI ([827ffaf](https://github.com/rrd108/nuxt-users/commit/827ffaf))
|
|
29
|
+
- Fix nuxt4 app creation command ([ca8707a](https://github.com/rrd108/nuxt-users/commit/ca8707a))
|
|
30
|
+
|
|
31
|
+
### ❤️ Contributors
|
|
32
|
+
|
|
33
|
+
- Rrd108 ([@rrd108](https://github.com/rrd108))
|
|
34
|
+
- Kolja Nolte ([@thaikolja](https://github.com/thaikolja))
|
|
35
|
+
|
|
4
36
|
## v1.37.1
|
|
5
37
|
|
|
6
38
|
[compare changes](https://github.com/rrd108/nuxt-users/compare/v1.37.0...v1.37.1)
|
package/dist/cli.mjs
CHANGED
|
@@ -327,6 +327,7 @@ const projectInfo = defineCommand({
|
|
|
327
327
|
async run() {
|
|
328
328
|
try {
|
|
329
329
|
console.log("[Nuxt Users] Loading Nuxt project...");
|
|
330
|
+
console.log("[Nuxt Users] \u2139\uFE0F Note: This command only reads .env files. If you use .env.local or other env files, export those variables first.");
|
|
330
331
|
const nuxt = await loadNuxt({ cwd: process.cwd() });
|
|
331
332
|
console.log("[Nuxt Users] \u2705 Nuxt project loaded successfully!");
|
|
332
333
|
console.log("[Nuxt Users] \u{1F4C1} Source directory:", nuxt.options.srcDir);
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-users",
|
|
3
|
-
"version": "1.37.
|
|
3
|
+
"version": "1.37.2",
|
|
4
4
|
"description": "A comprehensive user management module for Nuxt 3 and Nuxt 4 applications with authentication, authorization, database support, and CLI tools",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nuxt",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"build": "nuxt-module-build build",
|
|
64
64
|
"postbuild": "node scripts/post-build.js",
|
|
65
65
|
"prerelease": "node -v | grep -q 'v22' || (echo 'Please use Node.js v22 for deployment' && exit 1)",
|
|
66
|
-
"release": "yarn lint && yarn test &&
|
|
66
|
+
"release": "yarn lint && yarn test && yarn prepack && changelogen --release && yarn publish && git push --follow-tags",
|
|
67
67
|
"lint": "eslint .",
|
|
68
68
|
"lint:fix": "eslint . --fix",
|
|
69
69
|
"pretest": "node -v | grep -q 'v22' || (echo 'Please use Node.js v22 for testing' && exit 1)",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"@nuxt/kit": "^3.17.6 || ^4.0.0",
|
|
106
106
|
"bcrypt": "^6.0.0",
|
|
107
107
|
"nodemailer": "^7.0.5",
|
|
108
|
-
"nuxt-api-shield": "^0.8.0"
|
|
108
|
+
"nuxt-api-shield": "^0.8.0 || ^0.10.0"
|
|
109
109
|
},
|
|
110
110
|
"peerDependenciesMeta": {
|
|
111
111
|
"nuxt-api-shield": {
|
package/scripts/test-mysql.sh
CHANGED
|
@@ -10,7 +10,7 @@ export DB_CONNECTOR="mysql"
|
|
|
10
10
|
export DB_HOST=${DB_HOST:-"localhost"}
|
|
11
11
|
export DB_PORT=${DB_PORT:-"3306"}
|
|
12
12
|
export DB_USER=${DB_USER:-"root"}
|
|
13
|
-
export DB_PASSWORD=${DB_PASSWORD:-"
|
|
13
|
+
export DB_PASSWORD=${DB_PASSWORD:-"rrd"}
|
|
14
14
|
export DB_NAME=${DB_NAME:-"test_db"}
|
|
15
15
|
|
|
16
16
|
echo "Database configuration:"
|
|
@@ -36,7 +36,7 @@ done
|
|
|
36
36
|
# Final check if MySQL is running
|
|
37
37
|
if ! mysql -h"$DB_HOST" -P"$DB_PORT" -u"$DB_USER" -e "SELECT 1;" >/dev/null 2>&1; then
|
|
38
38
|
echo "Error: Cannot connect to MySQL after multiple retries. Please ensure MySQL is running and accessible."
|
|
39
|
-
echo "You can start MySQL with: docker run --name mysql-test -e MYSQL_ROOT_PASSWORD=
|
|
39
|
+
echo "You can start MySQL with: docker run --name mysql-test -e MYSQL_ROOT_PASSWORD=rrd -e MYSQL_DATABASE=test_db -p 3306:3306 -d mysql:5.7"
|
|
40
40
|
exit 1
|
|
41
41
|
fi
|
|
42
42
|
|