ether-code 0.3.5 → 0.3.6
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/cli/ether.js +17 -25
- package/package.json +1 -1
package/cli/ether.js
CHANGED
|
@@ -6,7 +6,7 @@ const http = require('http')
|
|
|
6
6
|
const { EtherCompiler } = require('./compiler')
|
|
7
7
|
const { Watcher } = require('./watcher')
|
|
8
8
|
|
|
9
|
-
const VERSION = '0.3.
|
|
9
|
+
const VERSION = '0.3.6'
|
|
10
10
|
|
|
11
11
|
const COLORS = {
|
|
12
12
|
reset: '\x1b[0m',
|
|
@@ -342,9 +342,10 @@ body {
|
|
|
342
342
|
.code-block code {
|
|
343
343
|
font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
|
|
344
344
|
font-size: 0.875rem;
|
|
345
|
-
line-height: 1.
|
|
345
|
+
line-height: 1.7;
|
|
346
346
|
color: var(--color-text-muted);
|
|
347
347
|
white-space: pre;
|
|
348
|
+
display: block;
|
|
348
349
|
}
|
|
349
350
|
|
|
350
351
|
.code-arrow {
|
|
@@ -628,7 +629,7 @@ document
|
|
|
628
629
|
liste-non-ordonnee classe: "nav-links"
|
|
629
630
|
element-liste
|
|
630
631
|
lien href: "#features"
|
|
631
|
-
"
|
|
632
|
+
"Fonctionnalites"
|
|
632
633
|
element-liste
|
|
633
634
|
lien href: "#examples"
|
|
634
635
|
"Exemples"
|
|
@@ -638,7 +639,7 @@ document
|
|
|
638
639
|
|
|
639
640
|
div classe: "hero-content"
|
|
640
641
|
titre1 classe: "hero-title"
|
|
641
|
-
"
|
|
642
|
+
"Ecrivez du code"
|
|
642
643
|
saut-ligne
|
|
643
644
|
span classe: "gradient-text"
|
|
644
645
|
"comme vous pensez"
|
|
@@ -659,17 +660,17 @@ document
|
|
|
659
660
|
div classe: "feature-icon"
|
|
660
661
|
"🎯"
|
|
661
662
|
titre3 "Intuitif"
|
|
662
|
-
paragraphe "
|
|
663
|
+
paragraphe "Ecrivez du code en langage naturel. Plus besoin de memoriser des syntaxes complexes."
|
|
663
664
|
article classe: "feature-card"
|
|
664
665
|
div classe: "feature-icon"
|
|
665
666
|
"⚡"
|
|
666
667
|
titre3 "Rapide"
|
|
667
|
-
paragraphe "Compilation
|
|
668
|
+
paragraphe "Compilation instantanee avec rechargement automatique en mode developpement."
|
|
668
669
|
article classe: "feature-card"
|
|
669
670
|
div classe: "feature-icon"
|
|
670
671
|
"🌍"
|
|
671
672
|
titre3 "Multilingue"
|
|
672
|
-
paragraphe "Codez en
|
|
673
|
+
paragraphe "Codez en francais, anglais, espagnol et plus. Votre langue, votre code."
|
|
673
674
|
article classe: "feature-card"
|
|
674
675
|
div classe: "feature-icon"
|
|
675
676
|
"🔧"
|
|
@@ -678,38 +679,29 @@ document
|
|
|
678
679
|
|
|
679
680
|
section id: "examples", classe: "examples"
|
|
680
681
|
titre2 classe: "section-title"
|
|
681
|
-
"Simple et
|
|
682
|
+
"Simple et elegant"
|
|
682
683
|
div classe: "code-comparison"
|
|
683
684
|
div classe: "code-block"
|
|
684
685
|
div classe: "code-header"
|
|
685
686
|
"Ether"
|
|
686
687
|
pre
|
|
687
|
-
code
|
|
688
|
-
"document
|
|
689
|
-
corps
|
|
690
|
-
titre1 \\"Bonjour\\"
|
|
691
|
-
paragraphe \\"Le monde\\""
|
|
688
|
+
code classe: "ether-code"
|
|
689
|
+
"document\n corps\n titre1 Bonjour\n paragraphe Le monde"
|
|
692
690
|
div classe: "code-arrow"
|
|
693
691
|
"→"
|
|
694
692
|
div classe: "code-block"
|
|
695
693
|
div classe: "code-header"
|
|
696
694
|
"HTML"
|
|
697
695
|
pre
|
|
698
|
-
code
|
|
699
|
-
"
|
|
700
|
-
<html>
|
|
701
|
-
<body>
|
|
702
|
-
<h1>Bonjour</h1>
|
|
703
|
-
<p>Le monde</p>
|
|
704
|
-
</body>
|
|
705
|
-
</html>"
|
|
696
|
+
code classe: "html-code"
|
|
697
|
+
"html\n body\n h1 Bonjour\n p Le monde"
|
|
706
698
|
|
|
707
699
|
pied classe: "footer"
|
|
708
700
|
paragraphe
|
|
709
|
-
"
|
|
701
|
+
"Cree avec "
|
|
710
702
|
span classe: "heart"
|
|
711
703
|
"♥"
|
|
712
|
-
" par la
|
|
704
|
+
" par la communaute Ether"
|
|
713
705
|
paragraphe classe: "copyright"
|
|
714
706
|
"© 2025 Ether. MIT License."
|
|
715
707
|
|
|
@@ -718,7 +710,7 @@ document
|
|
|
718
710
|
|
|
719
711
|
const appContent = `// cible: js
|
|
720
712
|
|
|
721
|
-
console.log("Ether v0.3.
|
|
713
|
+
console.log("Ether v0.3.5 ready!")
|
|
722
714
|
`
|
|
723
715
|
|
|
724
716
|
const packageContent = '{\n "name": "mon-projet-ether",\n "version": "1.0.0",\n "scripts": {\n "dev": "ether dev",\n "build": "ether build"\n }\n}\n'
|
|
@@ -947,4 +939,4 @@ function main() {
|
|
|
947
939
|
console.log('Tapez "ether help" pour voir les commandes disponibles')
|
|
948
940
|
}
|
|
949
941
|
|
|
950
|
-
main()
|
|
942
|
+
main()
|