UNPKG

@smals-webagency/styleguide-egov-theme

Version:

Styleguide for the belgian eGov portal

70 lines (43 loc) 2.1 kB
# styleguide-egov-theme ## Introduction Ce projet gère le styleguide eGov 3.0. Il intègre et met à jour le **styleguide-socsec-static-website-assets** et publie les mises à jour sur le package NPM. ## Mise à jour du package Pour mettre à jour le package **styleguide-egov-theme**, suivez ces étapes : ### Étape 1 : Mettre à jour le styleguide-socsec-static-website-assets Exécutez la commande suivante pour mettre à jour la dépendance **styleguide-socsec-static-website-assets** vers la dernière version : ```bash npm update @smals-webagency/styleguide-socsec-static-website-assets ``` ### Étape 2 : Commit et Push Après avoir mis à jour le package, incrémentez la **version** ("version": "1.1.x") dans le fichier `package.json`, puis faites un commit des modifications et poussez-les sur la branche `master` : `git commit -am "commit name"` <br> `git push` ### Étape 3 : Publier sur NPM Une fois les modifications poussées sur `master`, publiez le package mis à jour sur NPM avec la commande suivante : ```bash npm publish --access public ``` <br><br> ## English version: --- # styleguide-egov-theme ## Introduction This project manages the styleguide eGov 3.0. It integrates and updates the **styleguide-socsec-static-website-assets** and publishes the updates to the NPM package. ## Updating the package To update the **styleguide-egov-theme** package, follow these steps: ### Step 1: Update the styleguide-socsec-static-website-assets Run the following command to update the **styleguide-socsec-static-website-assets** dependency to the latest version: ```bash npm update @smals-webagency/styleguide-socsec-static-website-assets ``` ### Step 2: Commit and Push After updating the package, increment the **version** ("version": "1.1.x") in the `package.json` file, commit the changes, and push to the `master` branch: `git commit -am "commit name"` <br> `git push` ### Step 3: Publish to NPM Finally, publish the updated package to NPM: ```bash npm publish --access public ```