@mndw/cli 0.1.6 → 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 (44) hide show
  1. package/dist/meta.json +80 -24
  2. package/dist/mndw.js +382 -69
  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.1.6.js → mndw-ui@0.2.0.js} +171 -156
  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-B_LYyF1e.css +0 -1
  38. package/host-dev/assets/index-MuieOssk.js +0 -94
  39. package/host-dev/assets/sandbox-url-CsfwrS11.js +0 -1
  40. package/templates/angular/src/table.test.ts +0 -59
  41. package/templates/svelte/src/TableNameCell.svelte +0 -10
  42. package/templates/svelte/src/table.test.ts +0 -53
  43. package/templates/vue/src/TableNameCell.vue +0 -12
  44. 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": 17175,
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": 11181,
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",
@@ -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,9 +961,30 @@
956
961
  ],
957
962
  "format": "esm"
958
963
  },
959
- "src/svelte-warning-filter.ts": {
960
- "bytes": 470,
961
- "imports": [],
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
+ ],
962
988
  "format": "esm"
963
989
  },
964
990
  "src/angular-compiler.ts": {
@@ -1010,7 +1036,7 @@
1010
1036
  "format": "esm"
1011
1037
  },
1012
1038
  "src/pack.ts": {
1013
- "bytes": 20032,
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": "src/svelte-warning-filter.ts",
1082
+ "path": "@mndw/sdk/svelte",
1057
1083
  "kind": "import-statement",
1058
- "original": "./svelte-warning-filter.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",
@@ -1665,13 +1721,13 @@
1665
1721
  "entryPoint": "src/index.ts",
1666
1722
  "inputs": {
1667
1723
  "src/index.ts": {
1668
- "bytesInOutput": 5329
1724
+ "bytesInOutput": 5664
1669
1725
  },
1670
1726
  "../../frontend/sdk-internal/src/index.ts": {
1671
1727
  "bytesInOutput": 0
1672
1728
  },
1673
1729
  "../../frontend/sdk-internal/src/manifest-schema.ts": {
1674
- "bytesInOutput": 8637
1730
+ "bytesInOutput": 9237
1675
1731
  },
1676
1732
  "../../frontend/sdk-internal/src/page-routes.ts": {
1677
1733
  "bytesInOutput": 232
@@ -1680,7 +1736,7 @@
1680
1736
  "bytesInOutput": 0
1681
1737
  },
1682
1738
  "../../frontend/sdk/src/event-schema.ts": {
1683
- "bytesInOutput": 4993
1739
+ "bytesInOutput": 5096
1684
1740
  },
1685
1741
  "../../frontend/sdk/src/i18n-format.ts": {
1686
1742
  "bytesInOutput": 52
@@ -1692,7 +1748,7 @@
1692
1748
  "bytesInOutput": 207
1693
1749
  },
1694
1750
  "../../frontend/sdk/src/backend-client.ts": {
1695
- "bytesInOutput": 1725
1751
+ "bytesInOutput": 7526
1696
1752
  },
1697
1753
  "../../frontend/sdk-internal/src/manifest-validator.ts": {
1698
1754
  "bytesInOutput": 840
@@ -1764,10 +1820,10 @@
1764
1820
  "bytesInOutput": 2108
1765
1821
  },
1766
1822
  "src/dev-server/start.ts": {
1767
- "bytesInOutput": 1432
1823
+ "bytesInOutput": 1555
1768
1824
  },
1769
1825
  "../../frontend/angular-compiler/src/vite.ts": {
1770
- "bytesInOutput": 3888
1826
+ "bytesInOutput": 3901
1771
1827
  },
1772
1828
  "../../frontend/angular-compiler/src/index.ts": {
1773
1829
  "bytesInOutput": 11953
@@ -1793,11 +1849,11 @@
1793
1849
  "src/i18n-validator.ts": {
1794
1850
  "bytesInOutput": 4446
1795
1851
  },
1796
- "src/pack.ts": {
1797
- "bytesInOutput": 14422
1852
+ "src/css-scope-validator.ts": {
1853
+ "bytesInOutput": 3975
1798
1854
  },
1799
- "src/svelte-warning-filter.ts": {
1800
- "bytesInOutput": 312
1855
+ "src/pack.ts": {
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": 141517
1874
+ "bytes": 153108
1819
1875
  }
1820
1876
  }
1821
1877
  }