<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shreyasgosavi on Medium]]></title>
        <description><![CDATA[Stories by Shreyasgosavi on Medium]]></description>
        <link>https://medium.com/@shreyasgosavi2016?source=rss-878bc3c3db8c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*JUCXD1ucd5HInjdd</url>
            <title>Stories by Shreyasgosavi on Medium</title>
            <link>https://medium.com/@shreyasgosavi2016?source=rss-878bc3c3db8c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 05:23:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shreyasgosavi2016/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Understanding the Manifest File: What It Is and Why It Matters]]></title>
            <link>https://medium.com/@shreyasgosavi2016/understanding-the-manifest-file-what-it-is-and-why-it-matters-c79c3deef61b?source=rss-878bc3c3db8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/c79c3deef61b</guid>
            <category><![CDATA[concept]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[beginners-guide]]></category>
            <category><![CDATA[basics-of-programming]]></category>
            <dc:creator><![CDATA[Shreyasgosavi]]></dc:creator>
            <pubDate>Sun, 22 Dec 2024 18:14:49 GMT</pubDate>
            <atom:updated>2025-04-19T14:59:11.741Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a5FLZYyXKlv0OG5frSIYdA.png" /></figure><p>Software development includes working with many files of different types, each serving a distinct function, which together form a fully-functioning application. One such file in a project is the <strong>manifest file</strong>, which may have different names depending on application or environment.</p><p>While most of us know that manifest files exist, they are often neglected, as they are typically auto-generated and, once set-up, they are considered good to go until the end of the project. But what exactly is a <strong>manifest file? </strong>It sounds fancy, but its role is quite simple.</p><p>A <strong>manifest file </strong>contains metadata about the project such as its name, author, version-details, description and details about its components. It also list dependencies (along with their versions), test-scripts, automation setting, system-configuration and more. It acts as blueprint of a project.</p><blockquote><strong>Note :</strong></blockquote><blockquote>Dependencies refer to external code functionality that a project uses instead of implementing them from scratch.</blockquote><h3>General Meaning &amp; How It Follows Similar Meaning in Software Development</h3><p>The term <em>manifest</em> is derived from the Latin word “<em>manifestus</em>”,meaning “<strong>clear</strong>,” “<strong>evident</strong>,” or “<strong>obvious</strong>”. Initially, it referred to something easily seen or understood. Over time, the term evolved to mean a document that clearly declares or lists details, such as a record of items or actions.</p><p>This concept has seamlessly transitioned into software development, where a manifest file declares essential details about a project or system. A software manifest ensures order and clarity in project setup and execution.</p><h3>What Exactly It Is in Software Development ?</h3><p>We have briefly touched on the concept in the introduction, but let’s clarify its functionality by listing the contents of a manifest file:</p><ol><li><strong>Basic Project Information</strong> : Metadata such as the project’s name, description, version, and author details.</li><li><strong>Dependencies</strong> : Project relies on external packages/modules that provides functionality and the number of such dependencies can be large. To use them we not only need its name but also its version which is crucial to maintain compatibility in the system.</li><li><strong>Scripts and Automation</strong> : It defines scripts for running tasks such as building, testing or deploying the project.</li><li><strong>Configuration for Tools</strong> : It provides settings for tools like compilers that refer to this configuration to perform its task.</li></ol><p>These files are written in <em>JSON</em>, <em>XML</em>, or <em>plain text </em>formats, depending on the system or framework.</p><h3>Its purpose?</h3><p>It’s now clear that a manifest file contains essential information about the project, including basic details, structure, dependencies, and automation scripts.<br> <br>Additionally, it reduces setup headaches on a new system. There’s no need to search for project requirements from scratch, as all the system details are already contained within the manifest file. This makes the project easily <strong>shareable</strong> and ensures <strong>consistency</strong> across teams and environments.</p><h3>Examples</h3><p>Every <em>project </em>or <em>system</em> have its own way of naming its manifest files. For example:</p><ul><li><strong>AndroidManifest.xml</strong> in A<em>ndroid</em></li><li><strong>package.json</strong> in <em>Nodejs</em></li><li><strong>MANIFEST.MF</strong> in J<em>ava applications</em></li></ul><p>Here, we’ll take a look at the <strong>package.json</strong> file of a Node.js application to see how it stores data</p><blockquote><strong>Note :</strong></blockquote><blockquote>In Node.js, we can generate package.json file with default values using the command</blockquote><pre>npm init -y</pre><p>Let’s install a package to see how it stores dependencies data. For example, installing the basic package:</p><pre>npm i lodash</pre><figure><img alt="Default package.json file which is a manifest file in Node application with lodash dependency" src="https://cdn-images-1.medium.com/max/836/1*CSBcydX2-hgCK0hw9K9qLg.png" /></figure><p>A Sample package.json contains :</p><ul><li>Project Data:</li></ul><pre>&quot;name&quot;: &quot;node&quot;,<br>&quot;version&quot;: &quot;1.0.0&quot;,<br>&quot;description&quot;: &quot;&quot;,<br>&quot;main&quot;: &quot;firstNode.js&quot;</pre><p><em>— It stores project data — name, version ,description &amp; ‘main’ that specifies the entry point of the application.</em></p><ul><li>Scripts:</li></ul><pre>&quot;scripts&quot;: {<br> &quot;test&quot;: &quot;echo \&quot;Error: no test specified\&quot; &amp;&amp; exit 1&quot;<br> }</pre><p>— <em>Here, we define tasks like automation and test scripts.</em></p><ul><li>License :</li></ul><pre>&quot;license&quot;: &quot;ISC&quot;</pre><p><em>— This defines the license under which the project is distributed, informing users of their rights to use or modify the project.</em></p><ul><li>Dependencies:</li></ul><pre>&quot;dependencies&quot;: {<br> &quot;lodash&quot;: &quot;^4.17.21&quot;<br> }</pre><p><em>— It stores package details as key-value pairs, where the package name is the key, and its version is the value.</em><br> <br>That’s a quick look at a <strong>package.json</strong> file in Node.js. Other systems have similar manifest files, with slight variations.</p><h3>Conclusion</h3><p>Manifest files are the unsung heroes of software development, quietly powering everything from small apps to complex systems. Whether you’re working with a small application or a large-scale system, manifest files ensure consistency, clarity, and automation.</p><p>Understanding their role and structure is a crucial skill for developers, as these files are integral to modern software development.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c79c3deef61b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>