comment-variables 1.5.2 → 1.5.4

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.
package/README.md CHANGED
@@ -15,7 +15,7 @@ A CLI tool for configuring, managing and maintaining JavaScript comments as Java
15
15
  ## Installation
16
16
 
17
17
  ```
18
- npm install -g comment-variables
18
+ npm install -g comment-variables@latest
19
19
  ```
20
20
 
21
21
  ## Commands
@@ -107,7 +107,7 @@ By default, `comment-variables` includes a preset list of ignored folders (`"nod
107
107
  composedVariablesExclusives:
108
108
  ```
109
109
 
110
- In due time, you may end up creating Comment Variables that are exclusively meant to be used to create other Comment Variables – the latter classified as composed variables. Passing an array to this config option, comprised of the keys of these original comment variables (for example, if a Comment Variable placeholder is `$COMMENT#COMMENT` its related key is `COMMENT`), prevents these original comment variables from being affected by the `compress` and `resolve` commands.
110
+ In due time, you may end up creating Comment Variables that are exclusively meant to be used to create other Comment Variables – the latter classified as composed variables. Passing an array to this config option, comprised of the keys of these original comment variables (for example, if a Comment Variable placeholder is `$COMMENT#COMMENT` its related key is `COMMENT`), prevents these original comment variables from being affected by the `compress` and `resolve` commands. (The list may now include composed variables.)
111
111
 
112
112
  **`comment-variables` v2 introduces the concept of variations:**
113
113
 
@@ -20,7 +20,7 @@ const ignores = [];
20
20
  const lintConfigImports = false; // can be omitted
21
21
  const myIgnoresOnly = false; // can be omitted
22
22
 
23
- const composedVariablesExclusives = []; // can be omitted
23
+ const composedVariablesExclusives = []; // can be omitted, composed variables allowed
24
24
 
25
25
  const variations = undefined; // can be omitted
26
26
 
@@ -57,7 +57,7 @@ const frComposedVariablesExclusives = ["FR#COMMENTS#YES"];
57
57
  const composedVariablesExclusives = [
58
58
  ...enComposedVariablesExclusives,
59
59
  ...frComposedVariablesExclusives,
60
- ]; // can be omitted
60
+ ]; // can be omitted, composed variables allowed
61
61
 
62
62
  /* variations */
63
63
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comment-variables",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
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",
@@ -32,7 +32,7 @@
32
32
  "type": "module",
33
33
  "dependencies": {
34
34
  "@eslint/markdown": "^6.5.0",
35
- "comment-variables-resolve-config": "^1.17.1",
35
+ "comment-variables-resolve-config": "^1.17.2",
36
36
  "eslint": "^9.29.0",
37
37
  "prompts": "^2.4.2"
38
38
  },