forest-cli 5.7.0 → 5.8.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.
@@ -665,6 +665,64 @@
665
665
  "update.js"
666
666
  ]
667
667
  },
668
+ "layout:apply": {
669
+ "aliases": [],
670
+ "args": {
671
+ "file": {
672
+ "description": "Layout file to apply (e.g. forest-layout.json).",
673
+ "name": "file",
674
+ "required": true
675
+ }
676
+ },
677
+ "description": "Apply a forest-layout.json to an environment (pushes JSON-Patch changes).",
678
+ "flags": {
679
+ "env": {
680
+ "char": "e",
681
+ "description": "Environment to apply to (name or id). Prompted if omitted.",
682
+ "name": "env",
683
+ "hasDynamicHelp": false,
684
+ "multiple": false,
685
+ "type": "option"
686
+ },
687
+ "team": {
688
+ "char": "t",
689
+ "description": "Team to apply to (name or id). Prompted if omitted.",
690
+ "name": "team",
691
+ "hasDynamicHelp": false,
692
+ "multiple": false,
693
+ "type": "option"
694
+ },
695
+ "projectId": {
696
+ "char": "p",
697
+ "description": "Id of the project (resolved/prompted when omitted).",
698
+ "name": "projectId",
699
+ "hasDynamicHelp": false,
700
+ "multiple": false,
701
+ "type": "option"
702
+ },
703
+ "force": {
704
+ "char": "f",
705
+ "description": "Skip the confirmation prompt.",
706
+ "name": "force",
707
+ "allowNo": false,
708
+ "type": "boolean"
709
+ }
710
+ },
711
+ "hasDynamicHelp": false,
712
+ "hiddenAliases": [],
713
+ "id": "layout:apply",
714
+ "pluginAlias": "forest-cli",
715
+ "pluginName": "forest-cli",
716
+ "pluginType": "core",
717
+ "strict": true,
718
+ "isESM": false,
719
+ "relativePath": [
720
+ "dist",
721
+ "commands",
722
+ "layout",
723
+ "apply.js"
724
+ ]
725
+ },
668
726
  "layout:pull": {
669
727
  "aliases": [],
670
728
  "args": {},
@@ -1266,7 +1324,7 @@
1266
1324
  "invite.js"
1267
1325
  ]
1268
1326
  },
1269
- "projects:bundle:nosql": {
1327
+ "projects:create:demo": {
1270
1328
  "aliases": [],
1271
1329
  "args": {
1272
1330
  "applicationName": {
@@ -1275,7 +1333,116 @@
1275
1333
  "required": true
1276
1334
  }
1277
1335
  },
1278
- "description": "Bundle files for Forest Admin project.",
1336
+ "description": "Create a new Forest Admin project with demo data — no database required.",
1337
+ "flags": {
1338
+ "applicationHost": {
1339
+ "char": "H",
1340
+ "description": "Hostname of your admin backend application.",
1341
+ "name": "applicationHost",
1342
+ "required": false,
1343
+ "hasDynamicHelp": false,
1344
+ "multiple": false,
1345
+ "type": "option"
1346
+ },
1347
+ "applicationPort": {
1348
+ "char": "P",
1349
+ "description": "Port of your admin backend application.",
1350
+ "name": "applicationPort",
1351
+ "required": false,
1352
+ "hasDynamicHelp": false,
1353
+ "multiple": false,
1354
+ "type": "option"
1355
+ },
1356
+ "language": {
1357
+ "char": "l",
1358
+ "description": "Choose the language you want to use for your project.",
1359
+ "name": "language",
1360
+ "required": false,
1361
+ "hasDynamicHelp": false,
1362
+ "multiple": false,
1363
+ "options": [
1364
+ "javascript",
1365
+ "typescript"
1366
+ ],
1367
+ "type": "option"
1368
+ }
1369
+ },
1370
+ "hasDynamicHelp": false,
1371
+ "hiddenAliases": [],
1372
+ "id": "projects:create:demo",
1373
+ "pluginAlias": "forest-cli",
1374
+ "pluginName": "forest-cli",
1375
+ "pluginType": "core",
1376
+ "options": {
1377
+ "applicationHost": {
1378
+ "default": "http://localhost",
1379
+ "oclif": {
1380
+ "char": "H",
1381
+ "description": "Hostname of your admin backend application."
1382
+ },
1383
+ "prompter": {
1384
+ "question": "What's the IP/hostname on which your application will be running?"
1385
+ }
1386
+ },
1387
+ "applicationPort": {
1388
+ "default": "3310",
1389
+ "oclif": {
1390
+ "char": "P",
1391
+ "description": "Port of your admin backend application."
1392
+ },
1393
+ "prompter": {
1394
+ "question": "What's the port on which your application will be running?"
1395
+ }
1396
+ },
1397
+ "language": {
1398
+ "choices": [
1399
+ {
1400
+ "name": "javascript",
1401
+ "value": {
1402
+ "name": "javascript",
1403
+ "fileExtension": "js"
1404
+ }
1405
+ },
1406
+ {
1407
+ "name": "typescript",
1408
+ "value": {
1409
+ "name": "typescript",
1410
+ "fileExtension": "ts"
1411
+ }
1412
+ }
1413
+ ],
1414
+ "default": {
1415
+ "name": "javascript",
1416
+ "fileExtension": "js"
1417
+ },
1418
+ "oclif": {
1419
+ "char": "l",
1420
+ "description": "Choose the language you want to use for your project."
1421
+ },
1422
+ "prompter": {
1423
+ "question": "In which language would you like to generate your sources?"
1424
+ }
1425
+ }
1426
+ },
1427
+ "isESM": false,
1428
+ "relativePath": [
1429
+ "dist",
1430
+ "commands",
1431
+ "projects",
1432
+ "create",
1433
+ "demo.js"
1434
+ ]
1435
+ },
1436
+ "projects:create:nosql": {
1437
+ "aliases": [],
1438
+ "args": {
1439
+ "applicationName": {
1440
+ "description": "Name of the project to create.",
1441
+ "name": "applicationName",
1442
+ "required": true
1443
+ }
1444
+ },
1445
+ "description": "Create a new Forest Admin project.",
1279
1446
  "flags": {
1280
1447
  "databaseConnectionURL": {
1281
1448
  "char": "c",
@@ -1416,7 +1583,7 @@
1416
1583
  },
1417
1584
  "hasDynamicHelp": false,
1418
1585
  "hiddenAliases": [],
1419
- "id": "projects:bundle:nosql",
1586
+ "id": "projects:create:nosql",
1420
1587
  "pluginAlias": "forest-cli",
1421
1588
  "pluginName": "forest-cli",
1422
1589
  "pluginType": "core",
@@ -1595,11 +1762,11 @@
1595
1762
  "dist",
1596
1763
  "commands",
1597
1764
  "projects",
1598
- "bundle",
1765
+ "create",
1599
1766
  "nosql.js"
1600
1767
  ]
1601
1768
  },
1602
- "projects:bundle:sql": {
1769
+ "projects:create:sql": {
1603
1770
  "aliases": [],
1604
1771
  "args": {
1605
1772
  "applicationName": {
@@ -1608,7 +1775,7 @@
1608
1775
  "required": true
1609
1776
  }
1610
1777
  },
1611
- "description": "Bundle files for Forest Admin project.",
1778
+ "description": "Create a new Forest Admin project.",
1612
1779
  "flags": {
1613
1780
  "databaseConnectionURL": {
1614
1781
  "char": "c",
@@ -1765,7 +1932,7 @@
1765
1932
  },
1766
1933
  "hasDynamicHelp": false,
1767
1934
  "hiddenAliases": [],
1768
- "id": "projects:bundle:sql",
1935
+ "id": "projects:create:sql",
1769
1936
  "pluginAlias": "forest-cli",
1770
1937
  "pluginName": "forest-cli",
1771
1938
  "pluginType": "core",
@@ -1963,124 +2130,15 @@
1963
2130
  }
1964
2131
  },
1965
2132
  "isESM": false,
1966
- "relativePath": [
1967
- "dist",
1968
- "commands",
1969
- "projects",
1970
- "bundle",
1971
- "sql.js"
1972
- ]
1973
- },
1974
- "projects:create:demo": {
1975
- "aliases": [],
1976
- "args": {
1977
- "applicationName": {
1978
- "description": "Name of the project to create.",
1979
- "name": "applicationName",
1980
- "required": true
1981
- }
1982
- },
1983
- "description": "Create a new Forest Admin project with demo data — no database required.",
1984
- "flags": {
1985
- "applicationHost": {
1986
- "char": "H",
1987
- "description": "Hostname of your admin backend application.",
1988
- "name": "applicationHost",
1989
- "required": false,
1990
- "hasDynamicHelp": false,
1991
- "multiple": false,
1992
- "type": "option"
1993
- },
1994
- "applicationPort": {
1995
- "char": "P",
1996
- "description": "Port of your admin backend application.",
1997
- "name": "applicationPort",
1998
- "required": false,
1999
- "hasDynamicHelp": false,
2000
- "multiple": false,
2001
- "type": "option"
2002
- },
2003
- "language": {
2004
- "char": "l",
2005
- "description": "Choose the language you want to use for your project.",
2006
- "name": "language",
2007
- "required": false,
2008
- "hasDynamicHelp": false,
2009
- "multiple": false,
2010
- "options": [
2011
- "javascript",
2012
- "typescript"
2013
- ],
2014
- "type": "option"
2015
- }
2016
- },
2017
- "hasDynamicHelp": false,
2018
- "hiddenAliases": [],
2019
- "id": "projects:create:demo",
2020
- "pluginAlias": "forest-cli",
2021
- "pluginName": "forest-cli",
2022
- "pluginType": "core",
2023
- "options": {
2024
- "applicationHost": {
2025
- "default": "http://localhost",
2026
- "oclif": {
2027
- "char": "H",
2028
- "description": "Hostname of your admin backend application."
2029
- },
2030
- "prompter": {
2031
- "question": "What's the IP/hostname on which your application will be running?"
2032
- }
2033
- },
2034
- "applicationPort": {
2035
- "default": "3310",
2036
- "oclif": {
2037
- "char": "P",
2038
- "description": "Port of your admin backend application."
2039
- },
2040
- "prompter": {
2041
- "question": "What's the port on which your application will be running?"
2042
- }
2043
- },
2044
- "language": {
2045
- "choices": [
2046
- {
2047
- "name": "javascript",
2048
- "value": {
2049
- "name": "javascript",
2050
- "fileExtension": "js"
2051
- }
2052
- },
2053
- {
2054
- "name": "typescript",
2055
- "value": {
2056
- "name": "typescript",
2057
- "fileExtension": "ts"
2058
- }
2059
- }
2060
- ],
2061
- "default": {
2062
- "name": "javascript",
2063
- "fileExtension": "js"
2064
- },
2065
- "oclif": {
2066
- "char": "l",
2067
- "description": "Choose the language you want to use for your project."
2068
- },
2069
- "prompter": {
2070
- "question": "In which language would you like to generate your sources?"
2071
- }
2072
- }
2073
- },
2074
- "isESM": false,
2075
2133
  "relativePath": [
2076
2134
  "dist",
2077
2135
  "commands",
2078
2136
  "projects",
2079
2137
  "create",
2080
- "demo.js"
2138
+ "sql.js"
2081
2139
  ]
2082
2140
  },
2083
- "projects:create:nosql": {
2141
+ "projects:bundle:nosql": {
2084
2142
  "aliases": [],
2085
2143
  "args": {
2086
2144
  "applicationName": {
@@ -2089,7 +2147,7 @@
2089
2147
  "required": true
2090
2148
  }
2091
2149
  },
2092
- "description": "Create a new Forest Admin project.",
2150
+ "description": "Bundle files for Forest Admin project.",
2093
2151
  "flags": {
2094
2152
  "databaseConnectionURL": {
2095
2153
  "char": "c",
@@ -2230,7 +2288,7 @@
2230
2288
  },
2231
2289
  "hasDynamicHelp": false,
2232
2290
  "hiddenAliases": [],
2233
- "id": "projects:create:nosql",
2291
+ "id": "projects:bundle:nosql",
2234
2292
  "pluginAlias": "forest-cli",
2235
2293
  "pluginName": "forest-cli",
2236
2294
  "pluginType": "core",
@@ -2409,11 +2467,11 @@
2409
2467
  "dist",
2410
2468
  "commands",
2411
2469
  "projects",
2412
- "create",
2470
+ "bundle",
2413
2471
  "nosql.js"
2414
2472
  ]
2415
2473
  },
2416
- "projects:create:sql": {
2474
+ "projects:bundle:sql": {
2417
2475
  "aliases": [],
2418
2476
  "args": {
2419
2477
  "applicationName": {
@@ -2422,7 +2480,7 @@
2422
2480
  "required": true
2423
2481
  }
2424
2482
  },
2425
- "description": "Create a new Forest Admin project.",
2483
+ "description": "Bundle files for Forest Admin project.",
2426
2484
  "flags": {
2427
2485
  "databaseConnectionURL": {
2428
2486
  "char": "c",
@@ -2579,7 +2637,7 @@
2579
2637
  },
2580
2638
  "hasDynamicHelp": false,
2581
2639
  "hiddenAliases": [],
2582
- "id": "projects:create:sql",
2640
+ "id": "projects:bundle:sql",
2583
2641
  "pluginAlias": "forest-cli",
2584
2642
  "pluginName": "forest-cli",
2585
2643
  "pluginType": "core",
@@ -2781,10 +2839,10 @@
2781
2839
  "dist",
2782
2840
  "commands",
2783
2841
  "projects",
2784
- "create",
2842
+ "bundle",
2785
2843
  "sql.js"
2786
2844
  ]
2787
2845
  }
2788
2846
  },
2789
- "version": "5.7.0"
2847
+ "version": "5.8.0"
2790
2848
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "forest-cli",
3
3
  "description": "The Lumberjacks' toolbelt is the Forest CLI which makes easy to manage your back office application directly from the terminal.",
4
- "version": "5.7.0",
4
+ "version": "5.8.0",
5
5
  "author": "Sandro Munda",
6
6
  "contributors": [
7
7
  "Arnaud Valensi <arnaud.valensi@gmail.com>",