<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jules Hablot</title>
    <description>The latest articles on DEV Community by Jules Hablot (@p0ppoff).</description>
    <link>https://dev.to/p0ppoff</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F199738%2F282a174a-4281-4793-a269-86c3e8f24341.jpg</url>
      <title>DEV Community: Jules Hablot</title>
      <link>https://dev.to/p0ppoff</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/p0ppoff"/>
    <language>en</language>
    <item>
      <title>🛠 Continuous Integration to vue-cli</title>
      <dc:creator>Jules Hablot</dc:creator>
      <pubDate>Tue, 10 Nov 2020 07:22:26 +0000</pubDate>
      <link>https://dev.to/p0ppoff/continuous-integration-to-vue-cli-3cd4</link>
      <guid>https://dev.to/p0ppoff/continuous-integration-to-vue-cli-3cd4</guid>
      <description>&lt;p&gt;Starting a project in any language should be as easy as possible. We generally don't want to spend time initialising adding the common used library, setting up the test environnement, add a linter, a formatter, a CI environment. Basically, we just want to type a command and get started with our development.&lt;/p&gt;

&lt;p&gt;This is what VueJS does, as it provides a powerful cli to create projects.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;vue create my-project
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command opens a prompt that asks you many key components of your app. You can choose to use Vuex, VueRouter, Typescript, etc. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F8plubl3ef3xxxzol5e84.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F8plubl3ef3xxxzol5e84.png" alt="Capture d’écran 2020-11-03 à 18.21.16"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After generating the project, you are ready to develop! You have an init commit, different configuration files representing your choices, you even have a working application that passes tests! &lt;/p&gt;

&lt;h2&gt;
  
  
  Plugin
&lt;/h2&gt;

&lt;p&gt;Everything has a default configuration? Everything no! Some parts of your development resist auto-configuration! The continuous integration configuration file agent is missing 🦺&lt;/p&gt;

&lt;p&gt;When the time of pushing your code comes, you need automated checks in order to make sure nothing is broken in your application. You need to add some CI to your repository. &lt;/p&gt;

&lt;p&gt;This is where my vue-cli plugin (&lt;a href="https://github.com/P0ppoff/vue-cli-plugin-ci" rel="noopener noreferrer"&gt;vue-cli-plugin-ci&lt;/a&gt;) comes in! By adding it to the project, you can directly choose among some famous CI agents, to generate a config file to run checks inside their environment.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;vue add ci
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can currently generate working example for: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Gitlab CI&lt;/li&gt;
&lt;li&gt;Github Actions&lt;/li&gt;
&lt;li&gt;Azure Pipeline&lt;/li&gt;
&lt;li&gt;Circle CI&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CI checks are : &lt;strong&gt;install dependencies&lt;/strong&gt;, &lt;strong&gt;lint&lt;/strong&gt;, &lt;strong&gt;test&lt;/strong&gt;, and &lt;strong&gt;build&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;I plan to add more of them, but if you are confident to help me make the services count grow, feel free to contribute : the project is open source 🤗&lt;/p&gt;

&lt;p&gt;Let’s give it a try! &lt;/p&gt;

</description>
      <category>vue</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
