@seip/blue-bird 0.4.5 → 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 (51) hide show
  1. package/.env_example +26 -25
  2. package/AGENTS.md +199 -199
  3. package/README.md +79 -79
  4. package/backend/index.js +13 -13
  5. package/backend/routes/frontend.js +41 -41
  6. package/backend/routes/seo.js +39 -39
  7. package/core/app.js +328 -325
  8. package/core/auth.js +114 -114
  9. package/core/cache.js +44 -44
  10. package/core/cli/component.js +42 -42
  11. package/core/cli/init.js +119 -118
  12. package/core/cli/react.js +435 -435
  13. package/core/cli/route.js +42 -42
  14. package/core/config.js +48 -47
  15. package/core/debug.js +248 -248
  16. package/core/logger.js +100 -100
  17. package/core/middleware.js +27 -27
  18. package/core/router.js +333 -333
  19. package/core/seo.js +95 -100
  20. package/core/template.js +472 -462
  21. package/core/upload.js +76 -76
  22. package/core/validate.js +380 -380
  23. package/frontend/index.html +26 -26
  24. package/frontend/landing.html +69 -69
  25. package/frontend/resources/css/tailwind.css +17 -17
  26. package/frontend/resources/js/App.jsx +70 -70
  27. package/frontend/resources/js/Main.jsx +18 -18
  28. package/frontend/resources/js/blue-bird/components/Button.jsx +67 -67
  29. package/frontend/resources/js/blue-bird/components/Card.jsx +18 -18
  30. package/frontend/resources/js/blue-bird/components/DataTable.jsx +126 -126
  31. package/frontend/resources/js/blue-bird/components/Input.jsx +21 -21
  32. package/frontend/resources/js/blue-bird/components/Label.jsx +12 -12
  33. package/frontend/resources/js/blue-bird/components/LanguageButton.jsx +23 -23
  34. package/frontend/resources/js/blue-bird/components/Link.jsx +15 -15
  35. package/frontend/resources/js/blue-bird/components/Modal.jsx +27 -27
  36. package/frontend/resources/js/blue-bird/components/Skeleton.jsx +44 -44
  37. package/frontend/resources/js/blue-bird/components/Translate.jsx +12 -12
  38. package/frontend/resources/js/blue-bird/components/Typography.jsx +69 -69
  39. package/frontend/resources/js/blue-bird/contexts/LanguageContext.jsx +41 -41
  40. package/frontend/resources/js/blue-bird/contexts/SPAContext.jsx +239 -237
  41. package/frontend/resources/js/blue-bird/contexts/SnackbarContext.jsx +38 -38
  42. package/frontend/resources/js/blue-bird/contexts/ThemeContext.jsx +49 -49
  43. package/frontend/resources/js/blue-bird/locales/en.json +47 -47
  44. package/frontend/resources/js/blue-bird/locales/es.json +47 -47
  45. package/frontend/resources/js/components/Header.jsx +55 -55
  46. package/frontend/resources/js/pages/About.jsx +31 -31
  47. package/frontend/resources/js/pages/Home.jsx +82 -82
  48. package/package.json +57 -57
  49. package/vite.config.js +22 -22
  50. package/frontend/public/robots.txt +0 -0
  51. package/frontend/public/sitemap.xml +0 -0
package/package.json CHANGED
@@ -1,58 +1,58 @@
1
- {
2
- "name": "@seip/blue-bird",
3
- "version": "0.4.5",
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
  });
File without changes
File without changes