create-protobase 0.65.1 → 0.66.0

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.
@@ -32,6 +32,12 @@ export const invoicesView = view<typeof invoices>('invoices')
32
32
  l.section('Totals', [r.vat_rate, r.subtotal, r.vat, r.total], {
33
33
  help: 'Calculated from the invoice lines. The VAT rate applies to the whole invoice.',
34
34
  }),
35
+ l.related('Lines', {
36
+ resource: 'invoice_lines',
37
+ field: 'invoice_id',
38
+ lines: true,
39
+ help: 'What the invoice bills for. Edit a line in place, add one, or drag the handle to change the order; Save applies it all.',
40
+ }),
35
41
  l.sidebar([r.status, r.total]),
36
42
  ])
37
43
  .saveFeedback('button')
@@ -27,12 +27,12 @@
27
27
  "zod": "^4.6.5"
28
28
  },
29
29
  "devDependencies": {
30
- "@protobase/cli": "^0.65.1",
31
- "@protobase/config": "^0.65.1",
32
- "@protobase/layout": "^0.65.1",
33
- "@protobase/schema": "^0.65.1",
34
- "@protobase/server": "^0.65.1",
35
- "@protobase/ui": "^0.65.1",
30
+ "@protobase/cli": "^0.66.0",
31
+ "@protobase/config": "^0.66.0",
32
+ "@protobase/layout": "^0.66.0",
33
+ "@protobase/schema": "^0.66.0",
34
+ "@protobase/server": "^0.66.0",
35
+ "@protobase/ui": "^0.66.0",
36
36
  "@types/node": "^22.20.5",
37
37
  "@types/pg": "^8.23.1",
38
38
  "@types/react": "^19.3.0",
@@ -27,12 +27,12 @@
27
27
  "zod": "^4.6.5"
28
28
  },
29
29
  "devDependencies": {
30
- "@protobase/cli": "^0.65.1",
31
- "@protobase/config": "^0.65.1",
32
- "@protobase/layout": "^0.65.1",
33
- "@protobase/schema": "^0.65.1",
34
- "@protobase/server": "^0.65.1",
35
- "@protobase/ui": "^0.65.1",
30
+ "@protobase/cli": "^0.66.0",
31
+ "@protobase/config": "^0.66.0",
32
+ "@protobase/layout": "^0.66.0",
33
+ "@protobase/schema": "^0.66.0",
34
+ "@protobase/server": "^0.66.0",
35
+ "@protobase/ui": "^0.66.0",
36
36
  "@types/node": "^22.20.5",
37
37
  "@types/pg": "^8.23.1",
38
38
  "@types/react": "^19.3.0",
@@ -27,12 +27,12 @@
27
27
  "zod": "^4.6.5"
28
28
  },
29
29
  "devDependencies": {
30
- "@protobase/cli": "^0.65.1",
31
- "@protobase/config": "^0.65.1",
32
- "@protobase/layout": "^0.65.1",
33
- "@protobase/schema": "^0.65.1",
34
- "@protobase/server": "^0.65.1",
35
- "@protobase/ui": "^0.65.1",
30
+ "@protobase/cli": "^0.66.0",
31
+ "@protobase/config": "^0.66.0",
32
+ "@protobase/layout": "^0.66.0",
33
+ "@protobase/schema": "^0.66.0",
34
+ "@protobase/server": "^0.66.0",
35
+ "@protobase/ui": "^0.66.0",
36
36
  "@types/node": "^22.20.5",
37
37
  "@types/pg": "^8.23.1",
38
38
  "@types/react": "^19.3.0",
@@ -24,12 +24,12 @@
24
24
  "zod": "^4.6.5"
25
25
  },
26
26
  "devDependencies": {
27
- "@protobase/cli": "^0.65.1",
28
- "@protobase/config": "^0.65.1",
29
- "@protobase/layout": "^0.65.1",
30
- "@protobase/schema": "^0.65.1",
31
- "@protobase/server": "^0.65.1",
32
- "@protobase/ui": "^0.65.1",
27
+ "@protobase/cli": "^0.66.0",
28
+ "@protobase/config": "^0.66.0",
29
+ "@protobase/layout": "^0.66.0",
30
+ "@protobase/schema": "^0.66.0",
31
+ "@protobase/server": "^0.66.0",
32
+ "@protobase/ui": "^0.66.0",
33
33
  "@types/node": "^22.20.5",
34
34
  "@types/pg": "^8.23.1",
35
35
  "@types/react": "^19.3.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-protobase",
3
- "version": "0.65.1",
3
+ "version": "0.66.0",
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.65.1"
31
+ "@protobase/cli": "0.66.0"
32
32
  },
33
33
  "publishConfig": {
34
34
  "access": "public"