@freeticket/cli 0.1.1 → 0.4.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/dist/index.js +1073 -61
- package/package.json +13 -4
package/package.json
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@freeticket/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Official FreeTicket CLI — consumes the B2B REST API for events, sales, tickets, memberships, venues, staff, and reports.",
|
|
5
|
-
"keywords": [
|
|
5
|
+
"keywords": [
|
|
6
|
+
"freeticket",
|
|
7
|
+
"cli",
|
|
8
|
+
"ticketing",
|
|
9
|
+
"events",
|
|
10
|
+
"api"
|
|
11
|
+
],
|
|
6
12
|
"homepage": "https://github.com/AppFreeticket/freeticket-cli#readme",
|
|
7
13
|
"bugs": "https://github.com/AppFreeticket/freeticket-cli/issues",
|
|
8
14
|
"repository": {
|
|
@@ -16,7 +22,9 @@
|
|
|
16
22
|
"bin": {
|
|
17
23
|
"ft": "dist/index.js"
|
|
18
24
|
},
|
|
19
|
-
"files": [
|
|
25
|
+
"files": [
|
|
26
|
+
"dist"
|
|
27
|
+
],
|
|
20
28
|
"engines": {
|
|
21
29
|
"node": ">=20"
|
|
22
30
|
},
|
|
@@ -26,8 +34,9 @@
|
|
|
26
34
|
"scripts": {
|
|
27
35
|
"build": "tsup",
|
|
28
36
|
"dev": "tsup --watch",
|
|
29
|
-
"generate": "openapi-ts",
|
|
37
|
+
"generate": "openapi-ts && openapi-ts -f openapi-ts.admin.config.ts",
|
|
30
38
|
"sync-openapi": "tsx scripts/sync-openapi.ts",
|
|
39
|
+
"sync-openapi:admin": "FT_OPENAPI_URL=${FT_ADMIN_OPENAPI_URL:-https://admin.appfreeticket.com/api/admin/openapi.json} FT_OPENAPI_OUT=admin-openapi.json tsx scripts/sync-openapi.ts",
|
|
31
40
|
"lint": "biome check .",
|
|
32
41
|
"format": "biome check --write .",
|
|
33
42
|
"test": "vitest run",
|