angular-generate 2.2.7 → 2.2.8

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/README.md CHANGED
@@ -176,7 +176,13 @@ Puis importez les styles dans `style.css` ou `style.scss` :
176
176
  @import url('../node_modules/@ng-select/ng-select/themes/default.theme.css');
177
177
  ```
178
178
  ---
179
+ ## 7️⃣ Installer Moment js
179
180
 
181
+ ```bash
182
+ npm install moment
183
+ ```
184
+
185
+ ---
180
186
  # Configuration de HttpClient
181
187
 
182
188
  AngularGenerate utilise `HttpClient` pour communiquer avec l'API Laravel.
@@ -25,6 +25,10 @@ ng add @ng-bootstrap/ng-bootstrap --force --skip-confirmation || npm install @ng
25
25
  echo "📦 Installation de Bootstrap et Bootstrap Icons..."
26
26
  npm install bootstrap bootstrap-icons --force
27
27
 
28
+ # 6. Installer moment
29
+ echo "📦 Installation de moment js"
30
+ npm install moment --force
31
+
28
32
  echo "🎨 Configuration des styles..."
29
33
 
30
34
  # Détection du fichier de style (styles.scss ou styles.css)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angular-generate",
3
- "version": "2.2.7",
3
+ "version": "2.2.8",
4
4
  "description": "Générateur de composant et code Angular à partir du fichier de configuration config.json",
5
5
  "scripts": {
6
6
  "build": "tsc -p tsconfig.json",