*Tell us what’s happening:
I would like to know h ow to find the version to be added to the package.json??
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36
.
Challenge: Add a Version to Your package.json
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
ILM
November 19, 2020, 8:09am
2
This field describes the current version of your project.
so, what version of the project you are on?
if you want to read about software versioning you can read about it here:
Software versioning is the process of assigning either unique version names or unique version numbers to unique states of computer software. Within a given version number category (e.g., major or minor), these numbers are generally assigned in increasing order and correspond to new developments in the software. At a fine-grained level, revision control is used for keeping track of incrementally-different versions of information, whether or not this information is computer software, in order to ...
and this for some practic instructions:
Thanks for the information. I am actually using repl it to do the assignment so, wondering how to apply this versioning there as I am not using vs code.
ILM
November 19, 2020, 10:37am
5
that’s the live version, I don’t see your code
you can just add the line provided as an example
{
“name”: “fcc-learn-npm-package-json”,
“author”: “Meera Menon”,
“description”: “A project for learning backend in a practical way!”,
“keywords”: [
“freecodecamp”,
“backend”,
“project”
],
node v12.16.1
I just saw this in my repl it in the package json I guess this is the one to write for the version right? Its already there behind the hood on repl it , I guess,
ILM
November 20, 2020, 8:27am
8
no, that’s the version of node that you are using
the version
field is about your own project
{
“name”: “fcc-learn-npm-package-json”,
“author”: “Meera Menon”,
“description”: “A project for learning backend in a practical way!”,
“keywords”: [
“freecodecamp”,
“backend”,
“project”
],
“version”: “v12.16.1”,
“license”: “freecodecamp”,
“dependencies”: {
“express”: “^4.14.0”,
“moment”:“2.14.0”
},