Skip to content

Commit 12aae1c

Browse files
authored
Merge pull request #89 from codeShaurya/master
Update css_style_guide.md
2 parents 1d9da66 + 4476805 commit 12aae1c

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

css/css_style_guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Semantics first
44

5-
Want to make text look big ? Think about the reason first, maybe it is a title and `<h1-6>` should be used. Maybe it is an important word, use `<strong>`. Once the correct semantic is used, you may have a selector ready.
5+
Want to make text look big ? Think about the reason first, maybe it is a title and `<h1-6>` should be used. Maybe it is an important word, use `<strong>`. If it is a subtitle, use `body` and `overline` variant. Once the correct semantic is used, you may have a selector ready. Read the full Material Design guideline to design [Typogrrphy](https://material.io/design/typography/the-type-system.html#)
66

77
## Sub-categorize CSS
88

@@ -38,4 +38,4 @@ No units with `0` as value.
3838

3939

4040

41-
## Media Queries
41+
## Media Queries

general/npm/readme.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,10 @@ Get an overwiew of the package "pac", latest versions, published dates, tags, et
4747
## `npm uninstall`
4848

4949
`npm uninstall pac` removes pac from node_modules and package.json and packagelock. Alternatively remove a package from package.json manually and `npm prune` to remove it from node_modules after.
50+
51+
## `what is lock file`
52+
53+
`npm install` installs all the dependencies in your application and all the sub-dependencies, on which your applicaiton dependencies depends upon and so on. But the problem is, `package.json` does not contain the version of these installed sub-dependencies. If The verison of these installed sub-dependencies are not mentioned, then the system compatiable version are installed. So in this way it can cause a problem in different system. So there is need to store verison of these sub-dependencies and their sub-dependencies and so on. So this problem is solved by `lock file`.
54+
55+
56+
`lock file` makes the `tree of these dependencies and sub-dependencies and their version` and whenever you run `npm install` it check the tree form `lock file` and install all the dependencies of specified verison. **Do not forget to commit this file.**

0 commit comments

Comments
 (0)