@base44-preview/cli 0.0.26-pr.171.e5558e2 → 0.0.26-pr.174.9ce53d2

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 (27) hide show
  1. package/dist/index.js +4 -36
  2. package/dist/templates/chrome-extension/.nvmrc +1 -0
  3. package/dist/templates/chrome-extension/README.md +90 -0
  4. package/dist/templates/chrome-extension/base44/agents/search_agent.jsonc +13 -0
  5. package/dist/templates/chrome-extension/base44/app.jsonc.ejs +9 -0
  6. package/dist/templates/chrome-extension/base44/config.jsonc.ejs +8 -0
  7. package/dist/templates/chrome-extension/base44/entities/bookmark.jsonc +41 -0
  8. package/dist/templates/chrome-extension/gitignore.ejs +25 -0
  9. package/dist/templates/chrome-extension/package.json +30 -0
  10. package/dist/templates/chrome-extension/postcss.config.js +6 -0
  11. package/dist/templates/chrome-extension/public/icon/README.md +12 -0
  12. package/dist/templates/chrome-extension/public/manifest.json +25 -0
  13. package/dist/templates/chrome-extension/tailwind.config.js +8 -0
  14. package/dist/templates/chrome-extension/tsconfig.json +31 -0
  15. package/dist/templates/chrome-extension/tsconfig.node.json +10 -0
  16. package/dist/templates/chrome-extension/wxt-src/components/BookmarkCard.tsx +83 -0
  17. package/dist/templates/chrome-extension/wxt-src/components/Button.tsx +36 -0
  18. package/dist/templates/chrome-extension/wxt-src/components/Input.tsx +12 -0
  19. package/dist/templates/chrome-extension/wxt-src/entrypoints/background.ts +19 -0
  20. package/dist/templates/chrome-extension/wxt-src/entrypoints/popup/App.tsx +186 -0
  21. package/dist/templates/chrome-extension/wxt-src/entrypoints/popup/index.html +12 -0
  22. package/dist/templates/chrome-extension/wxt-src/entrypoints/popup/main.tsx +10 -0
  23. package/dist/templates/chrome-extension/wxt-src/entrypoints/popup/style.css +21 -0
  24. package/dist/templates/chrome-extension/wxt-src/lib/base44Client.ts.ejs +5 -0
  25. package/dist/templates/chrome-extension/wxt.config.ts +7 -0
  26. package/dist/templates/templates.json +6 -0
  27. package/package.json +1 -1
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import ReactDOM from 'react-dom/client';
3
+ import App from './App';
4
+ import './style.css';
5
+
6
+ ReactDOM.createRoot(document.getElementById('root')!).render(
7
+ <React.StrictMode>
8
+ <App />
9
+ </React.StrictMode>
10
+ );
@@ -0,0 +1,21 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ body {
6
+ margin: 0;
7
+ padding: 0;
8
+ min-width: 400px;
9
+ max-width: 400px;
10
+ min-height: 500px;
11
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
12
+ 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
13
+ sans-serif;
14
+ -webkit-font-smoothing: antialiased;
15
+ -moz-osx-font-smoothing: grayscale;
16
+ }
17
+
18
+ #root {
19
+ width: 100%;
20
+ height: 100%;
21
+ }
@@ -0,0 +1,5 @@
1
+ import { Base44 } from '@base44/sdk';
2
+
3
+ export const base44 = new Base44({
4
+ projectId: '<%= projectId %>',
5
+ });
@@ -0,0 +1,7 @@
1
+ import { defineConfig } from 'wxt';
2
+
3
+ export default defineConfig({
4
+ extensionApi: 'chrome',
5
+ modules: ['@wxt-dev/module-react'],
6
+ srcDir: 'wxt-src',
7
+ });
@@ -11,6 +11,12 @@
11
11
  "name": "Create a basic project",
12
12
  "description": "Minimal Base44 backend for defining your data models and logic",
13
13
  "path": "backend-only"
14
+ },
15
+ {
16
+ "id": "chrome-extension",
17
+ "name": "Chrome Extension",
18
+ "description": "Chrome extension with WXT framework and Base44 backend for bookmarking with AI search",
19
+ "path": "chrome-extension"
14
20
  }
15
21
  ]
16
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/cli",
3
- "version": "0.0.26-pr.171.e5558e2",
3
+ "version": "0.0.26-pr.174.9ce53d2",
4
4
  "description": "Base44 CLI - Unified interface for managing Base44 applications",
5
5
  "type": "module",
6
6
  "bin": {