@develemit/commerce-server 0.0.0-stage → 0.2.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.
- package/README.md +177 -2
- package/dist/index.d.ts +1501 -0
- package/dist/index.js +2291 -0
- package/dist/index.js.map +1 -0
- package/docs/admin.md +83 -0
- package/docs/payments.md +41 -0
- package/migrations/0000_simple_lethal_legion.sql +29 -0
- package/migrations/0001_checkout_holds_orders.sql +45 -0
- package/migrations/0002_shipping_rates_and_order_shipping.sql +15 -0
- package/migrations/0003_product_image_storage_key.sql +1 -0
- package/migrations/0004_order_needs_attention.sql +1 -0
- package/migrations/0005_order_management.sql +21 -0
- package/migrations/0006_refund_idempotency.sql +2 -0
- package/migrations/meta/0000_snapshot.json +207 -0
- package/migrations/meta/0001_snapshot.json +517 -0
- package/migrations/meta/0002_snapshot.json +607 -0
- package/migrations/meta/0003_snapshot.json +613 -0
- package/migrations/meta/0004_snapshot.json +614 -0
- package/migrations/meta/0005_snapshot.json +752 -0
- package/migrations/meta/0006_snapshot.json +766 -0
- package/migrations/meta/_journal.json +55 -0
- package/package.json +60 -3
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "7",
|
|
3
|
+
"dialect": "postgresql",
|
|
4
|
+
"entries": [
|
|
5
|
+
{
|
|
6
|
+
"idx": 0,
|
|
7
|
+
"version": "7",
|
|
8
|
+
"when": 1793251480212,
|
|
9
|
+
"tag": "0000_simple_lethal_legion",
|
|
10
|
+
"breakpoints": true
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"idx": 1,
|
|
14
|
+
"version": "7",
|
|
15
|
+
"when": 1793253101813,
|
|
16
|
+
"tag": "0001_checkout_holds_orders",
|
|
17
|
+
"breakpoints": true
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"idx": 2,
|
|
21
|
+
"version": "7",
|
|
22
|
+
"when": 1793255050300,
|
|
23
|
+
"tag": "0002_shipping_rates_and_order_shipping",
|
|
24
|
+
"breakpoints": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"idx": 3,
|
|
28
|
+
"version": "7",
|
|
29
|
+
"when": 1793255650547,
|
|
30
|
+
"tag": "0003_product_image_storage_key",
|
|
31
|
+
"breakpoints": true
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"idx": 4,
|
|
35
|
+
"version": "7",
|
|
36
|
+
"when": 1793256710896,
|
|
37
|
+
"tag": "0004_order_needs_attention",
|
|
38
|
+
"breakpoints": true
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"idx": 5,
|
|
42
|
+
"version": "7",
|
|
43
|
+
"when": 1793309321197,
|
|
44
|
+
"tag": "0005_order_management",
|
|
45
|
+
"breakpoints": true
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"idx": 6,
|
|
49
|
+
"version": "7",
|
|
50
|
+
"when": 1793309833949,
|
|
51
|
+
"tag": "0006_refund_idempotency",
|
|
52
|
+
"breakpoints": true
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,63 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@develemit/commerce-server",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=20"
|
|
8
|
+
},
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./package.json": "./package.json"
|
|
15
|
+
},
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"files": [
|
|
18
|
+
"dist",
|
|
19
|
+
"docs",
|
|
20
|
+
"migrations"
|
|
21
|
+
],
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"file-type": "^22.2.0",
|
|
27
|
+
"@develemit/commerce-contracts": "0.2.0"
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"drizzle-orm": "^0.45.0",
|
|
31
|
+
"fastify": "^5.0.0",
|
|
32
|
+
"pg": "^8.0.0",
|
|
33
|
+
"stripe": ">=18.0.0",
|
|
34
|
+
"@fastify/multipart": "^10.0.0"
|
|
35
|
+
},
|
|
36
|
+
"peerDependenciesMeta": {
|
|
37
|
+
"stripe": {
|
|
38
|
+
"optional": true
|
|
39
|
+
},
|
|
40
|
+
"@fastify/multipart": {
|
|
41
|
+
"optional": true
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"nx": {
|
|
45
|
+
"tags": [
|
|
46
|
+
"scope:server",
|
|
47
|
+
"type:lib"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@fastify/multipart": "^10.1.6",
|
|
52
|
+
"@types/pg": "^8.23.1",
|
|
53
|
+
"drizzle-kit": "^0.31.11",
|
|
54
|
+
"drizzle-orm": "^0.45.4",
|
|
55
|
+
"fastify": "^5.12.7",
|
|
56
|
+
"pg": "^8.23.1",
|
|
57
|
+
"stripe": "^23.0.1",
|
|
58
|
+
"tsx": "^4.23.15"
|
|
59
|
+
},
|
|
60
|
+
"scripts": {
|
|
61
|
+
"build": "tsup"
|
|
62
|
+
}
|
|
6
63
|
}
|