@mndw/cli 0.1.5 → 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.
Files changed (45) hide show
  1. package/dist/meta.json +83 -27
  2. package/dist/mndw.js +391 -101
  3. package/host-dev/assets/index-BqQCCILo.css +1 -0
  4. package/host-dev/assets/index-DFVRx7na.js +94 -0
  5. package/host-dev/assets/sandbox-url-D8HO7UBF.js +1 -0
  6. package/host-dev/index.html +3 -3
  7. package/host-dev/shared/mndw-ui@0.2.0.js +1805 -0
  8. package/package.json +18 -14
  9. package/templates/angular/i18n/en.json +4 -9
  10. package/templates/angular/i18n/ru.json +4 -9
  11. package/templates/angular/src/app.component.ts +39 -39
  12. package/templates/angular/src/index.ts +14 -1
  13. package/templates/angular/src/l10n.test.ts +50 -17
  14. package/templates/go/i18n/en.json +1 -1
  15. package/templates/go/i18n/ru.json +1 -1
  16. package/templates/go/src/index.css +4 -20
  17. package/templates/go/src/index.test.ts +12 -24
  18. package/templates/go/src/index.ts +18 -15
  19. package/templates/go/src/l10n.test.ts +37 -23
  20. package/templates/svelte/i18n/en.json +4 -9
  21. package/templates/svelte/i18n/ru.json +4 -9
  22. package/templates/svelte/src/App.svelte +46 -72
  23. package/templates/svelte/src/index.ts +7 -0
  24. package/templates/svelte/src/l10n.test.ts +64 -17
  25. package/templates/svelte/svelte.config.js +7 -0
  26. package/templates/svelte/vitest.config.ts +2 -1
  27. package/templates/vanilla/i18n/en.json +4 -3
  28. package/templates/vanilla/i18n/ru.json +4 -3
  29. package/templates/vanilla/src/index.css +4 -20
  30. package/templates/vanilla/src/index.ts +47 -17
  31. package/templates/vanilla/src/l10n.test.ts +50 -17
  32. package/templates/vue/i18n/en.json +4 -9
  33. package/templates/vue/i18n/ru.json +4 -9
  34. package/templates/vue/src/App.vue +36 -54
  35. package/templates/vue/src/index.ts +7 -0
  36. package/templates/vue/src/l10n.test.ts +50 -17
  37. package/host-dev/assets/index-CJ80zEWN.js +0 -94
  38. package/host-dev/assets/index-DNxACGUr.css +0 -1
  39. package/host-dev/assets/sandbox-url-Dk7HpxDp.js +0 -1
  40. package/host-dev/shared/mndw-ui@0.1.5.js +0 -1782
  41. package/templates/angular/src/table.test.ts +0 -59
  42. package/templates/svelte/src/TableNameCell.svelte +0 -10
  43. package/templates/svelte/src/table.test.ts +0 -53
  44. package/templates/vue/src/TableNameCell.vue +0 -12
  45. package/templates/vue/src/table.test.ts +0 -53
package/dist/meta.json CHANGED
@@ -21,7 +21,7 @@
21
21
  "format": "esm"
22
22
  },
23
23
  "../../frontend/sdk/src/event-schema.ts": {
24
- "bytes": 6127,
24
+ "bytes": 6462,
25
25
  "imports": [
26
26
  {
27
27
  "path": "zod",
@@ -75,7 +75,7 @@
75
75
  "format": "esm"
76
76
  },
77
77
  "../../frontend/sdk/src/backend-client.ts": {
78
- "bytes": 15767,
78
+ "bytes": 23268,
79
79
  "imports": [
80
80
  {
81
81
  "path": "zod",
@@ -91,7 +91,7 @@
91
91
  "format": "esm"
92
92
  },
93
93
  "../../frontend/sdk/src/telemetry-client.ts": {
94
- "bytes": 10813,
94
+ "bytes": 11509,
95
95
  "imports": [],
96
96
  "format": "esm"
97
97
  },
@@ -142,7 +142,7 @@
142
142
  "format": "esm"
143
143
  },
144
144
  "../../frontend/sdk-internal/src/manifest-schema.ts": {
145
- "bytes": 10763,
145
+ "bytes": 11375,
146
146
  "imports": [
147
147
  {
148
148
  "path": "zod",
@@ -346,7 +346,7 @@
346
346
  "format": "esm"
347
347
  },
348
348
  "src/create.ts": {
349
- "bytes": 20706,
349
+ "bytes": 21179,
350
350
  "imports": [
351
351
  {
352
352
  "path": "node:child_process",
@@ -569,7 +569,7 @@
569
569
  "format": "esm"
570
570
  },
571
571
  "src/plugin-package.ts": {
572
- "bytes": 2639,
572
+ "bytes": 2684,
573
573
  "imports": [
574
574
  {
575
575
  "path": "node:fs",
@@ -773,7 +773,7 @@
773
773
  "format": "esm"
774
774
  },
775
775
  "src/dev-server/start.ts": {
776
- "bytes": 2346,
776
+ "bytes": 2463,
777
777
  "imports": [
778
778
  {
779
779
  "path": "node:path",
@@ -790,6 +790,11 @@
790
790
  "kind": "import-statement",
791
791
  "external": true
792
792
  },
793
+ {
794
+ "path": "@mndw/sdk/svelte",
795
+ "kind": "import-statement",
796
+ "external": true
797
+ },
793
798
  {
794
799
  "path": "@vitejs/plugin-vue",
795
800
  "kind": "import-statement",
@@ -956,10 +961,31 @@
956
961
  ],
957
962
  "format": "esm"
958
963
  },
959
- "../../build/svelte-compiler-options.js": {
960
- "bytes": 598,
961
- "imports": [],
962
- "format": "cjs"
964
+ "src/css-scope-validator.ts": {
965
+ "bytes": 4647,
966
+ "imports": [
967
+ {
968
+ "path": "node:fs",
969
+ "kind": "import-statement",
970
+ "external": true
971
+ },
972
+ {
973
+ "path": "node:path",
974
+ "kind": "import-statement",
975
+ "external": true
976
+ },
977
+ {
978
+ "path": "postcss",
979
+ "kind": "import-statement",
980
+ "external": true
981
+ },
982
+ {
983
+ "path": "src/plugin-package.ts",
984
+ "kind": "import-statement",
985
+ "original": "./plugin-package.js"
986
+ }
987
+ ],
988
+ "format": "esm"
963
989
  },
964
990
  "src/angular-compiler.ts": {
965
991
  "bytes": 523,
@@ -1010,7 +1036,7 @@
1010
1036
  "format": "esm"
1011
1037
  },
1012
1038
  "src/pack.ts": {
1013
- "bytes": 20047,
1039
+ "bytes": 20990,
1014
1040
  "imports": [
1015
1041
  {
1016
1042
  "path": "node:crypto",
@@ -1053,9 +1079,9 @@
1053
1079
  "original": "@mndw/sdk-internal/shared-dependencies"
1054
1080
  },
1055
1081
  {
1056
- "path": "../../build/svelte-compiler-options.js",
1082
+ "path": "@mndw/sdk/svelte",
1057
1083
  "kind": "import-statement",
1058
- "original": "../../../build/svelte-compiler-options.js"
1084
+ "external": true
1059
1085
  },
1060
1086
  {
1061
1087
  "path": "src/angular-compiler.ts",
@@ -1193,7 +1219,7 @@
1193
1219
  "format": "esm"
1194
1220
  },
1195
1221
  "src/index.ts": {
1196
- "bytes": 7133,
1222
+ "bytes": 7565,
1197
1223
  "imports": [
1198
1224
  {
1199
1225
  "path": "commander",
@@ -1230,6 +1256,11 @@
1230
1256
  "kind": "import-statement",
1231
1257
  "original": "./i18n-validator.js"
1232
1258
  },
1259
+ {
1260
+ "path": "src/css-scope-validator.ts",
1261
+ "kind": "import-statement",
1262
+ "original": "./css-scope-validator.js"
1263
+ },
1233
1264
  {
1234
1265
  "path": "src/manifest.ts",
1235
1266
  "kind": "import-statement",
@@ -1527,6 +1558,11 @@
1527
1558
  "kind": "import-statement",
1528
1559
  "external": true
1529
1560
  },
1561
+ {
1562
+ "path": "@mndw/sdk/svelte",
1563
+ "kind": "import-statement",
1564
+ "external": true
1565
+ },
1530
1566
  {
1531
1567
  "path": "@vitejs/plugin-vue",
1532
1568
  "kind": "import-statement",
@@ -1582,6 +1618,21 @@
1582
1618
  "kind": "import-statement",
1583
1619
  "external": true
1584
1620
  },
1621
+ {
1622
+ "path": "node:fs",
1623
+ "kind": "import-statement",
1624
+ "external": true
1625
+ },
1626
+ {
1627
+ "path": "node:path",
1628
+ "kind": "import-statement",
1629
+ "external": true
1630
+ },
1631
+ {
1632
+ "path": "postcss",
1633
+ "kind": "import-statement",
1634
+ "external": true
1635
+ },
1585
1636
  {
1586
1637
  "path": "node:crypto",
1587
1638
  "kind": "import-statement",
@@ -1617,6 +1668,11 @@
1617
1668
  "kind": "import-statement",
1618
1669
  "external": true
1619
1670
  },
1671
+ {
1672
+ "path": "@mndw/sdk/svelte",
1673
+ "kind": "import-statement",
1674
+ "external": true
1675
+ },
1620
1676
  {
1621
1677
  "path": "node:fs",
1622
1678
  "kind": "import-statement",
@@ -1664,17 +1720,14 @@
1664
1720
  ],
1665
1721
  "entryPoint": "src/index.ts",
1666
1722
  "inputs": {
1667
- "../../build/svelte-compiler-options.js": {
1668
- "bytesInOutput": 560
1669
- },
1670
1723
  "src/index.ts": {
1671
- "bytesInOutput": 5329
1724
+ "bytesInOutput": 5664
1672
1725
  },
1673
1726
  "../../frontend/sdk-internal/src/index.ts": {
1674
1727
  "bytesInOutput": 0
1675
1728
  },
1676
1729
  "../../frontend/sdk-internal/src/manifest-schema.ts": {
1677
- "bytesInOutput": 8637
1730
+ "bytesInOutput": 9237
1678
1731
  },
1679
1732
  "../../frontend/sdk-internal/src/page-routes.ts": {
1680
1733
  "bytesInOutput": 232
@@ -1683,7 +1736,7 @@
1683
1736
  "bytesInOutput": 0
1684
1737
  },
1685
1738
  "../../frontend/sdk/src/event-schema.ts": {
1686
- "bytesInOutput": 4993
1739
+ "bytesInOutput": 5096
1687
1740
  },
1688
1741
  "../../frontend/sdk/src/i18n-format.ts": {
1689
1742
  "bytesInOutput": 52
@@ -1695,7 +1748,7 @@
1695
1748
  "bytesInOutput": 207
1696
1749
  },
1697
1750
  "../../frontend/sdk/src/backend-client.ts": {
1698
- "bytesInOutput": 1725
1751
+ "bytesInOutput": 7526
1699
1752
  },
1700
1753
  "../../frontend/sdk-internal/src/manifest-validator.ts": {
1701
1754
  "bytesInOutput": 840
@@ -1710,7 +1763,7 @@
1710
1763
  "bytesInOutput": 31
1711
1764
  },
1712
1765
  "src/create.ts": {
1713
- "bytesInOutput": 14554
1766
+ "bytesInOutput": 14981
1714
1767
  },
1715
1768
  "src/errors.ts": {
1716
1769
  "bytesInOutput": 40
@@ -1767,10 +1820,10 @@
1767
1820
  "bytesInOutput": 2108
1768
1821
  },
1769
1822
  "src/dev-server/start.ts": {
1770
- "bytesInOutput": 1432
1823
+ "bytesInOutput": 1555
1771
1824
  },
1772
1825
  "../../frontend/angular-compiler/src/vite.ts": {
1773
- "bytesInOutput": 3888
1826
+ "bytesInOutput": 3901
1774
1827
  },
1775
1828
  "../../frontend/angular-compiler/src/index.ts": {
1776
1829
  "bytesInOutput": 11953
@@ -1796,8 +1849,11 @@
1796
1849
  "src/i18n-validator.ts": {
1797
1850
  "bytesInOutput": 4446
1798
1851
  },
1852
+ "src/css-scope-validator.ts": {
1853
+ "bytesInOutput": 3975
1854
+ },
1799
1855
  "src/pack.ts": {
1800
- "bytesInOutput": 14542
1856
+ "bytesInOutput": 15377
1801
1857
  },
1802
1858
  "src/angular-compiler.ts": {
1803
1859
  "bytesInOutput": 266
@@ -1815,7 +1871,7 @@
1815
1871
  "bytesInOutput": 1982
1816
1872
  }
1817
1873
  },
1818
- "bytes": 142788
1874
+ "bytes": 153108
1819
1875
  }
1820
1876
  }
1821
1877
  }