create-protobase 0.53.5 → 0.53.7
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/dist/templates/erp/package.json +10 -7
- package/dist/templates/property-portal/.env.example +18 -0
- package/dist/templates/property-portal/API.md +66 -0
- package/dist/templates/property-portal/_.gitignore +4 -0
- package/dist/templates/property-portal/_bunfig.toml +4 -0
- package/dist/templates/property-portal/config/agencies/data.ts +17 -0
- package/dist/templates/property-portal/config/agencies/ui.ts +20 -0
- package/dist/templates/property-portal/config/alerts/data.ts +20 -0
- package/dist/templates/property-portal/config/alerts/ui.ts +18 -0
- package/dist/templates/property-portal/config/bottom-bar.test.ts +30 -0
- package/dist/templates/property-portal/config/bottom-bar.ts +17 -0
- package/dist/templates/property-portal/config/config.test.ts +73 -0
- package/dist/templates/property-portal/config/favorites/data.ts +13 -0
- package/dist/templates/property-portal/config/favorites/ui.ts +26 -0
- package/dist/templates/property-portal/config/home/page.tsx +19 -0
- package/dist/templates/property-portal/config/index.ts +18 -0
- package/dist/templates/property-portal/config/listing_photos/data.ts +15 -0
- package/dist/templates/property-portal/config/listing_photos/ui.ts +20 -0
- package/dist/templates/property-portal/config/listings/data.ts +55 -0
- package/dist/templates/property-portal/config/listings/labels.ts +40 -0
- package/dist/templates/property-portal/config/listings/rules.test.ts +27 -0
- package/dist/templates/property-portal/config/listings/rules.ts +25 -0
- package/dist/templates/property-portal/config/listings/ui.ts +121 -0
- package/dist/templates/property-portal/config/map-layers.test.ts +16 -0
- package/dist/templates/property-portal/config/notes/data.ts +19 -0
- package/dist/templates/property-portal/config/notes/ui.ts +16 -0
- package/dist/templates/property-portal/config/photo-variants.ts +10 -0
- package/dist/templates/property-portal/config/places/data.ts +15 -0
- package/dist/templates/property-portal/config/places/ui.ts +23 -0
- package/dist/templates/property-portal/config/roles.test.ts +89 -0
- package/dist/templates/property-portal/config/roles.ts +40 -0
- package/dist/templates/property-portal/config/saved_searches/data.ts +25 -0
- package/dist/templates/property-portal/config/saved_searches/filter.ts +20 -0
- package/dist/templates/property-portal/config/saved_searches/rules.test.ts +14 -0
- package/dist/templates/property-portal/config/saved_searches/rules.ts +10 -0
- package/dist/templates/property-portal/config/saved_searches/ui.ts +32 -0
- package/dist/templates/property-portal/db/connection.ts +7 -0
- package/dist/templates/property-portal/db/drop.ts +15 -0
- package/dist/templates/property-portal/db/kysely.ts +13 -0
- package/dist/templates/property-portal/db/migrate.ts +31 -0
- package/dist/templates/property-portal/db/migrations/001_market.sql +101 -0
- package/dist/templates/property-portal/db/migrations/002_auth.sql +36 -0
- package/dist/templates/property-portal/db/migrations/003_jobs.sql +576 -0
- package/dist/templates/property-portal/db/migrations/004_members.sql +71 -0
- package/dist/templates/property-portal/db/migrations/005_listing_published.sql +14 -0
- package/dist/templates/property-portal/db/migrations/006_price_split.sql +61 -0
- package/dist/templates/property-portal/db/migrations/007_listing_position.sql +2 -0
- package/dist/templates/property-portal/db/migrations/007_photo_placeholders.sql +4 -0
- package/dist/templates/property-portal/db/migrations/008_saved_searches.sql +42 -0
- package/dist/templates/property-portal/db/migrations/009_listing_position_exact.sql +3 -0
- package/dist/templates/property-portal/db/migrations/010_saved_search_name.sql +3 -0
- package/dist/templates/property-portal/db/migrations/011_filter_indexes.sql +36 -0
- package/dist/templates/property-portal/db/migrations/012_sort_indexes.sql +4 -0
- package/dist/templates/property-portal/db/migrations/013_alert_mail.sql +26 -0
- package/dist/templates/property-portal/db/migrations/014_auth.sql +4 -0
- package/dist/templates/property-portal/db/migrations/015_auth.sql +319 -0
- package/dist/templates/property-portal/emails/alerted-listing.tsx +63 -0
- package/dist/templates/property-portal/emails/daily-digest.tsx +26 -0
- package/dist/templates/property-portal/emails/emails.test.ts +53 -0
- package/dist/templates/property-portal/emails/instant-alert.tsx +26 -0
- package/dist/templates/property-portal/jobs/alerted-listings.test.ts +19 -0
- package/dist/templates/property-portal/jobs/alerted-listings.ts +42 -0
- package/dist/templates/property-portal/jobs/daily-alerts.ts +21 -0
- package/dist/templates/property-portal/jobs/email-alerts.ts +44 -0
- package/dist/templates/property-portal/jobs/match-listing.ts +30 -0
- package/dist/templates/property-portal/jobs/match.test.ts +51 -0
- package/dist/templates/property-portal/jobs/match.ts +15 -0
- package/dist/templates/property-portal/jobs/offered.test.ts +9 -0
- package/dist/templates/property-portal/jobs/offered.ts +12 -0
- package/dist/templates/property-portal/map/tiles-proxy.test.ts +78 -0
- package/dist/templates/property-portal/map/tiles-proxy.ts +48 -0
- package/dist/templates/property-portal/map/tiles.ts +16 -0
- package/dist/templates/property-portal/node-types.d.ts +1 -0
- package/dist/templates/property-portal/package.json +42 -0
- package/dist/templates/property-portal/protobase.config.ts +57 -0
- package/dist/templates/property-portal/protobase.ui.tsx +21 -0
- package/dist/templates/property-portal/seed/builders/agency.ts +22 -0
- package/dist/templates/property-portal/seed/builders/distance.test.ts +14 -0
- package/dist/templates/property-portal/seed/builders/distance.ts +12 -0
- package/dist/templates/property-portal/seed/builders/listing.ts +177 -0
- package/dist/templates/property-portal/seed/builders/member.ts +136 -0
- package/dist/templates/property-portal/seed/builders/search-filter.test.ts +17 -0
- package/dist/templates/property-portal/seed/builders/search-filter.ts +44 -0
- package/dist/templates/property-portal/seed/calendar.ts +4 -0
- package/dist/templates/property-portal/seed/cli.ts +50 -0
- package/dist/templates/property-portal/seed/copy.ts +22 -0
- package/dist/templates/property-portal/seed/data/names.ts +61 -0
- package/dist/templates/property-portal/seed/data/places.ts +54 -0
- package/dist/templates/property-portal/seed/format.ts +20 -0
- package/dist/templates/property-portal/seed/maintenance.ts +65 -0
- package/dist/templates/property-portal/seed/photos/canvas.ts +48 -0
- package/dist/templates/property-portal/seed/photos/draw.ts +202 -0
- package/dist/templates/property-portal/seed/photos/library.ts +44 -0
- package/dist/templates/property-portal/seed/photos/png.ts +34 -0
- package/dist/templates/property-portal/seed/rng.ts +36 -0
- package/dist/templates/property-portal/seed/scales.ts +9 -0
- package/dist/templates/property-portal/seed/steps/market.ts +54 -0
- package/dist/templates/property-portal/seed/steps/members.ts +41 -0
- package/dist/templates/property-portal/seed/world.ts +98 -0
- package/dist/templates/property-portal/tsconfig.json +24 -0
- package/dist/templates/property-portal/vitest.config.ts +4 -0
- package/dist/templates/real-estate/package.json +10 -7
- package/dist/templates/scratch/package.json +10 -7
- package/package.json +2 -2
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { defineConfig } from 'vitest/config'
|
|
2
|
+
|
|
3
|
+
// The unit tests next to the config, the jobs, the emails, the seed and the map tiles; none of them needs a database.
|
|
4
|
+
export default defineConfig({ test: { include: ['config/**/*.test.ts', 'jobs/**/*.test.ts', 'emails/**/*.test.ts', 'seed/**/*.test.ts', 'map/**/*.test.ts'] } })
|
|
@@ -21,15 +21,18 @@
|
|
|
21
21
|
"kysely": "^0.29.6",
|
|
22
22
|
"pg": "^8.23.1",
|
|
23
23
|
"postgres": "^3.4.9",
|
|
24
|
-
"react": "^19.3.0"
|
|
24
|
+
"react": "^19.3.0",
|
|
25
|
+
"react-email": "^6.11.1",
|
|
26
|
+
"sharp": "^0.35.5",
|
|
27
|
+
"zod": "^4.6.5"
|
|
25
28
|
},
|
|
26
29
|
"devDependencies": {
|
|
27
|
-
"@protobase/cli": "^0.53.
|
|
28
|
-
"@protobase/config": "^0.53.
|
|
29
|
-
"@protobase/layout": "^0.53.
|
|
30
|
-
"@protobase/schema": "^0.53.
|
|
31
|
-
"@protobase/server": "^0.53.
|
|
32
|
-
"@protobase/ui": "^0.53.
|
|
30
|
+
"@protobase/cli": "^0.53.7",
|
|
31
|
+
"@protobase/config": "^0.53.7",
|
|
32
|
+
"@protobase/layout": "^0.53.7",
|
|
33
|
+
"@protobase/schema": "^0.53.7",
|
|
34
|
+
"@protobase/server": "^0.53.7",
|
|
35
|
+
"@protobase/ui": "^0.53.7",
|
|
33
36
|
"@types/node": "^22.20.5",
|
|
34
37
|
"@types/pg": "^8.23.1",
|
|
35
38
|
"@types/react": "^19.3.0",
|
|
@@ -18,15 +18,18 @@
|
|
|
18
18
|
"kysely": "^0.29.6",
|
|
19
19
|
"pg": "^8.23.1",
|
|
20
20
|
"postgres": "^3.4.9",
|
|
21
|
-
"react": "^19.3.0"
|
|
21
|
+
"react": "^19.3.0",
|
|
22
|
+
"react-email": "^6.11.1",
|
|
23
|
+
"sharp": "^0.35.5",
|
|
24
|
+
"zod": "^4.6.5"
|
|
22
25
|
},
|
|
23
26
|
"devDependencies": {
|
|
24
|
-
"@protobase/cli": "^0.53.
|
|
25
|
-
"@protobase/config": "^0.53.
|
|
26
|
-
"@protobase/layout": "^0.53.
|
|
27
|
-
"@protobase/schema": "^0.53.
|
|
28
|
-
"@protobase/server": "^0.53.
|
|
29
|
-
"@protobase/ui": "^0.53.
|
|
27
|
+
"@protobase/cli": "^0.53.7",
|
|
28
|
+
"@protobase/config": "^0.53.7",
|
|
29
|
+
"@protobase/layout": "^0.53.7",
|
|
30
|
+
"@protobase/schema": "^0.53.7",
|
|
31
|
+
"@protobase/server": "^0.53.7",
|
|
32
|
+
"@protobase/ui": "^0.53.7",
|
|
30
33
|
"@types/node": "^22.20.5",
|
|
31
34
|
"@types/pg": "^8.23.1",
|
|
32
35
|
"@types/react": "^19.3.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-protobase",
|
|
3
|
-
"version": "0.53.
|
|
3
|
+
"version": "0.53.7",
|
|
4
4
|
"description": "npm create protobase: starts a new Protobase project from one of its presets, or on an existing Postgres database.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"postgres": "^3.4.9"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@protobase/cli": "0.53.
|
|
31
|
+
"@protobase/cli": "0.53.7"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|