@seip/blue-bird 0.4.4 → 0.4.6

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.
Files changed (53) hide show
  1. package/.env_example +26 -25
  2. package/AGENTS.md +199 -199
  3. package/LICENSE +21 -0
  4. package/README.md +79 -79
  5. package/backend/index.js +13 -13
  6. package/backend/routes/api.js +31 -31
  7. package/backend/routes/frontend.js +41 -41
  8. package/backend/routes/seo.js +39 -39
  9. package/core/app.js +328 -325
  10. package/core/auth.js +114 -83
  11. package/core/cache.js +44 -44
  12. package/core/cli/component.js +42 -42
  13. package/core/cli/init.js +119 -118
  14. package/core/cli/react.js +435 -435
  15. package/core/cli/route.js +42 -42
  16. package/core/cli/scaffolding-auth.js +1037 -0
  17. package/core/config.js +48 -47
  18. package/core/debug.js +248 -248
  19. package/core/logger.js +100 -100
  20. package/core/middleware.js +27 -27
  21. package/core/router.js +333 -333
  22. package/core/seo.js +95 -100
  23. package/core/swagger.js +40 -25
  24. package/core/template.js +472 -462
  25. package/core/upload.js +76 -76
  26. package/core/validate.js +380 -380
  27. package/frontend/index.html +26 -26
  28. package/frontend/landing.html +69 -69
  29. package/frontend/resources/css/tailwind.css +17 -17
  30. package/frontend/resources/js/App.jsx +70 -70
  31. package/frontend/resources/js/Main.jsx +18 -18
  32. package/frontend/resources/js/blue-bird/components/Button.jsx +67 -67
  33. package/frontend/resources/js/blue-bird/components/Card.jsx +18 -18
  34. package/frontend/resources/js/blue-bird/components/DataTable.jsx +126 -126
  35. package/frontend/resources/js/blue-bird/components/Input.jsx +21 -21
  36. package/frontend/resources/js/blue-bird/components/Label.jsx +12 -12
  37. package/frontend/resources/js/blue-bird/components/LanguageButton.jsx +23 -23
  38. package/frontend/resources/js/blue-bird/components/Link.jsx +15 -15
  39. package/frontend/resources/js/blue-bird/components/Modal.jsx +27 -27
  40. package/frontend/resources/js/blue-bird/components/Skeleton.jsx +44 -44
  41. package/frontend/resources/js/blue-bird/components/Translate.jsx +12 -12
  42. package/frontend/resources/js/blue-bird/components/Typography.jsx +69 -69
  43. package/frontend/resources/js/blue-bird/contexts/LanguageContext.jsx +41 -41
  44. package/frontend/resources/js/blue-bird/contexts/SPAContext.jsx +239 -237
  45. package/frontend/resources/js/blue-bird/contexts/SnackbarContext.jsx +38 -38
  46. package/frontend/resources/js/blue-bird/contexts/ThemeContext.jsx +49 -49
  47. package/frontend/resources/js/blue-bird/locales/en.json +47 -47
  48. package/frontend/resources/js/blue-bird/locales/es.json +47 -47
  49. package/frontend/resources/js/components/Header.jsx +55 -55
  50. package/frontend/resources/js/pages/About.jsx +31 -31
  51. package/frontend/resources/js/pages/Home.jsx +82 -82
  52. package/package.json +57 -57
  53. package/vite.config.js +22 -22
package/package.json CHANGED
@@ -1,58 +1,58 @@
1
- {
2
- "name": "@seip/blue-bird",
3
- "version": "0.4.4",
4
- "description": "Express + React opinionated framework with SPA or API architecture and built-in JWT auth",
5
- "type": "module",
6
- "bin": {
7
- "blue-bird": "core/cli/init.js"
8
- },
9
- "repository": {
10
- "type": "git",
11
- "url": "git+https://github.com/seip25/Blue-bird.git"
12
- },
13
- "keywords": [
14
- "express",
15
- "react",
16
- "framework",
17
- "vite"
18
- ],
19
- "author": "Seip25",
20
- "license": "MIT",
21
- "bugs": {
22
- "url": "https://github.com/seip25/Blue-bird/issues"
23
- },
24
- "homepage": "https://seip25.github.io/Blue-bird/",
25
- "scripts": {
26
- "dev": "node --watch --env-file=.env backend/index.js",
27
- "start": "node --env-file=.env backend/index.js",
28
- "create-react-app": "node core/cli/react.js",
29
- "react": "node core/cli/react.js",
30
- "init": "node core/cli/init.js",
31
- "route": "node core/cli/route.js",
32
- "component": "node core/cli/component.js",
33
- "swagger-install": "node core/cli/swagger.js",
34
- "vite:dev": "vite",
35
- "vite:build": "vite build"
36
- },
37
- "dependencies": {
38
- "@tailwindcss/vite": "^4.2.2",
39
- "chalk": "^5.6.2",
40
- "compression": "^1.8.1",
41
- "cookie-parser": "^1.4.7",
42
- "cors": "^2.8.6",
43
- "express": "^5.2.1",
44
- "express-rate-limit": "^8.2.1",
45
- "helmet": "^8.1.0",
46
- "jsonwebtoken": "^9.0.2",
47
- "multer": "^2.0.2",
48
- "react": "^19.2.4",
49
- "react-dom": "^19.2.4",
50
- "react-router-dom": "^7.2.0",
51
- "tailwindcss": "^4.2.2",
52
- "xss": "^1.0.15"
53
- },
54
- "devDependencies": {
55
- "@vitejs/plugin-react": "^4.3.4",
56
- "vite": "^7.3.1"
57
- }
1
+ {
2
+ "name": "@seip/blue-bird",
3
+ "version": "0.4.6",
4
+ "description": "Express + React opinionated framework with SPA or API architecture and built-in JWT auth",
5
+ "type": "module",
6
+ "bin": {
7
+ "blue-bird": "core/cli/init.js"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/seip25/Blue-bird.git"
12
+ },
13
+ "keywords": [
14
+ "express",
15
+ "react",
16
+ "framework",
17
+ "vite"
18
+ ],
19
+ "author": "Seip25",
20
+ "license": "MIT",
21
+ "bugs": {
22
+ "url": "https://github.com/seip25/Blue-bird/issues"
23
+ },
24
+ "homepage": "https://seip25.github.io/Blue-bird/",
25
+ "scripts": {
26
+ "dev": "node --watch --env-file=.env backend/index.js",
27
+ "start": "node --env-file=.env backend/index.js",
28
+ "create-react-app": "node core/cli/react.js",
29
+ "react": "node core/cli/react.js",
30
+ "init": "node core/cli/init.js",
31
+ "route": "node core/cli/route.js",
32
+ "component": "node core/cli/component.js",
33
+ "swagger-install": "node core/cli/swagger.js",
34
+ "vite:dev": "vite",
35
+ "vite:build": "vite build"
36
+ },
37
+ "dependencies": {
38
+ "@tailwindcss/vite": "^4.2.2",
39
+ "chalk": "^5.6.2",
40
+ "compression": "^1.8.1",
41
+ "cookie-parser": "^1.4.7",
42
+ "cors": "^2.8.6",
43
+ "express": "^5.2.1",
44
+ "express-rate-limit": "^8.2.1",
45
+ "helmet": "^8.1.0",
46
+ "jsonwebtoken": "^9.0.2",
47
+ "multer": "^2.0.2",
48
+ "react": "^19.2.4",
49
+ "react-dom": "^19.2.4",
50
+ "react-router-dom": "^7.2.0",
51
+ "tailwindcss": "^4.2.2",
52
+ "xss": "^1.0.15"
53
+ },
54
+ "devDependencies": {
55
+ "@vitejs/plugin-react": "^4.3.4",
56
+ "vite": "^7.3.1"
57
+ }
58
58
  }
package/vite.config.js CHANGED
@@ -1,23 +1,23 @@
1
- import { defineConfig } from 'vite';
2
- import react from '@vitejs/plugin-react';
3
- import path from 'path';
4
- import tailwindcss from '@tailwindcss/vite';
5
-
6
- export default defineConfig({
7
- plugins: [react(), tailwindcss()],
8
- root: path.resolve(__dirname, 'frontend/resources/js'),
9
- base: '/build/',
10
- build: {
11
- outDir: path.resolve(__dirname, 'frontend/public/build'),
12
- emptyOutDir: true,
13
- manifest: true,
14
- rollupOptions: {
15
- input: path.resolve(__dirname, 'frontend/resources/js/Main.jsx'),
16
- },
17
- },
18
- server: {
19
- origin: 'http://localhost:5173',
20
- strictPort: true,
21
- cors: true,
22
- },
1
+ import { defineConfig } from 'vite';
2
+ import react from '@vitejs/plugin-react';
3
+ import path from 'path';
4
+ import tailwindcss from '@tailwindcss/vite';
5
+
6
+ export default defineConfig({
7
+ plugins: [react(), tailwindcss()],
8
+ root: path.resolve(__dirname, 'frontend/resources/js'),
9
+ base: '/build/',
10
+ build: {
11
+ outDir: path.resolve(__dirname, 'frontend/public/build'),
12
+ emptyOutDir: true,
13
+ manifest: true,
14
+ rollupOptions: {
15
+ input: path.resolve(__dirname, 'frontend/resources/js/Main.jsx'),
16
+ },
17
+ },
18
+ server: {
19
+ origin: 'http://localhost:5173',
20
+ strictPort: true,
21
+ cors: true,
22
+ },
23
23
  });