File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ This repository branch modifies Stylelint and creates a bundle:
13
13
14
14
* Download or clone this repository.
15
15
* Run ` npm install `
16
- * Run ` npm run build ` (will refresh the version of stylelint) .
16
+ * Run ` npm run build ` .
17
17
* An IIFE bundle ` stylelint-bundle.min.js ` is created in ` dist ` directory using the modified version of Stylelint.
18
18
* Run ` npm test ` for testing.
19
19
@@ -53,12 +53,20 @@ The resulting bundle:
53
53
54
54
## For contributors
55
55
56
- To update to a new version of Stylelint specify its ** exact version ** in package.json ` version ` :
56
+ To update to a new version of Stylelint:
57
57
58
58
```
59
- "version": "14.2.0",
59
+ npm install stylelint@latest
60
+ npm run build
61
+ ```
62
+
63
+ It will install the latest stylelint, bump the version number in ` package.json ` and ` package-lock.json ` , then build the bundle.
64
+
65
+ To test it:
66
+
67
+ ```
68
+ npm test
60
69
```
61
- Then run the ` build ` script. In case of failure update the rules in ` build/index.js ` .
62
70
63
71
## Debug the bundle
64
72
You can’t perform that action at this time.
0 commit comments