ether-code 0.3.5 → 0.3.7
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 +24 -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.7'
|
|
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,36 @@ 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
|
-
|
|
690
|
-
|
|
691
|
-
|
|
688
|
+
code classe: "ether-code"
|
|
689
|
+
"document"
|
|
690
|
+
"corps"
|
|
691
|
+
"titre1 Bonjour"
|
|
692
|
+
"paragraphe Le monde"
|
|
693
|
+
|
|
692
694
|
div classe: "code-arrow"
|
|
693
695
|
"→"
|
|
694
696
|
div classe: "code-block"
|
|
695
697
|
div classe: "code-header"
|
|
696
698
|
"HTML"
|
|
697
699
|
pre
|
|
698
|
-
code
|
|
699
|
-
"
|
|
700
|
-
<
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
<p>Le monde</p>
|
|
704
|
-
</body>
|
|
705
|
-
</html>"
|
|
700
|
+
code classe: "html-code"
|
|
701
|
+
"<html>"
|
|
702
|
+
"<body>"
|
|
703
|
+
"<h1>Bonjour</h1>"
|
|
704
|
+
"<p>Le monde</p>"
|
|
706
705
|
|
|
707
706
|
pied classe: "footer"
|
|
708
707
|
paragraphe
|
|
709
|
-
"
|
|
708
|
+
"Cree avec "
|
|
710
709
|
span classe: "heart"
|
|
711
710
|
"♥"
|
|
712
|
-
" par la
|
|
711
|
+
" par la communaute Ether"
|
|
713
712
|
paragraphe classe: "copyright"
|
|
714
713
|
"© 2025 Ether. MIT License."
|
|
715
714
|
|
|
@@ -718,7 +717,7 @@ document
|
|
|
718
717
|
|
|
719
718
|
const appContent = `// cible: js
|
|
720
719
|
|
|
721
|
-
console.log("Ether v0.3.
|
|
720
|
+
console.log("Ether v0.3.5 ready!")
|
|
722
721
|
`
|
|
723
722
|
|
|
724
723
|
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 +946,4 @@ function main() {
|
|
|
947
946
|
console.log('Tapez "ether help" pour voir les commandes disponibles')
|
|
948
947
|
}
|
|
949
948
|
|
|
950
|
-
main()
|
|
949
|
+
main()
|