comment-variables 0.14.7 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  A CLI tool for configuring, managing and maintaining JavaScript comments as JavaScript variables, via a `comments.config.js` file at the root of your project.
2
2
 
3
+ ![Intro example of going back and forth between Comment Variables placeholders and actual comments using comment-variables's resolve and compress commands.](./assets/README/example.gif)
4
+
5
+ ## Installation
6
+
3
7
  ```
4
8
  npm install -g comment-variables
5
9
  ```
@@ -47,13 +51,13 @@ comment-variables --config <your-config.js>
47
51
  Passes a different file as your config instead of the default `comments.config.js` (like `comment-variables --config your-config.js`), through a path relative to the root of your project.
48
52
 
49
53
  ```
50
- --lint-config-imports now part of the config at the `lintConfigImports` key
54
+ --lint-config-imports is now part of the config at the `lintConfigImports` key
51
55
  ```
52
56
 
53
57
  By default, `comment-variables` excludes your config file and all the (JavaScript/TypeScript) files it recursively imports. This flag cancels this mechanism, linting config imports. (The config file however still remains excluded from linting.)
54
58
 
55
59
  ```
56
- --my-ignores-only now part of the config at the `myIgnoresOnly` key
60
+ --my-ignores-only is now part of the config at the `myIgnoresOnly` key
57
61
  ```
58
62
 
59
63
  By default, `comment-variables` includes a preset list of ignored folders (`"node_modules"`, `".next"`, `".react-router"`...). This flag cancels this mechanism so that you can have full control over your ignored files and folders.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comment-variables",
3
- "version": "0.14.7",
3
+ "version": "0.15.1",
4
4
  "description": "A CLI tool for configuring, managing and maintaining JavaScript comments as JavaScript variables.",
5
5
  "bin": {
6
6
  "comment-variables": "./library/index.js",