juisy 2.0.0-beta.13 → 2.0.0-beta.14

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.
@@ -1,4 +1,3 @@
1
- import { default as chalk } from 'chalk';
2
1
  import { default as indent } from 'indent-string';
3
2
  import { default as _stripAnsi } from 'strip-ansi';
4
3
  export declare class OutputUtils {
@@ -13,17 +12,7 @@ export declare class OutputUtils {
13
12
  * const { $style } = OutputUtils
14
13
  * console.log($style.green('Green text!')) // => '[32mGreen text![0m'
15
14
  */
16
- static $style: chalk.Chalk & chalk.ChalkFunction & {
17
- supportsColor: chalk.ColorSupport | false;
18
- Level: chalk.Level;
19
- Color: ("black" | "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "blackBright" | "redBright" | "greenBright" | "yellowBright" | "blueBright" | "magentaBright" | "cyanBright" | "whiteBright") | ("bgBlack" | "bgRed" | "bgGreen" | "bgYellow" | "bgBlue" | "bgMagenta" | "bgCyan" | "bgWhite" | "bgGray" | "bgGrey" | "bgBlackBright" | "bgRedBright" | "bgGreenBright" | "bgYellowBright" | "bgBlueBright" | "bgMagentaBright" | "bgCyanBright" | "bgWhiteBright");
20
- ForegroundColor: "black" | "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white" | "gray" | "grey" | "blackBright" | "redBright" | "greenBright" | "yellowBright" | "blueBright" | "magentaBright" | "cyanBright" | "whiteBright";
21
- BackgroundColor: "bgBlack" | "bgRed" | "bgGreen" | "bgYellow" | "bgBlue" | "bgMagenta" | "bgCyan" | "bgWhite" | "bgGray" | "bgGrey" | "bgBlackBright" | "bgRedBright" | "bgGreenBright" | "bgYellowBright" | "bgBlueBright" | "bgMagentaBright" | "bgCyanBright" | "bgWhiteBright";
22
- Modifiers: "bold" | "hidden" | "reset" | "dim" | "italic" | "underline" | "inverse" | "strikethrough" | "visible";
23
- stderr: chalk.Chalk & {
24
- supportsColor: chalk.ColorSupport | false;
25
- };
26
- };
15
+ static $style: import('chalk').ChalkInstance;
27
16
  /**
28
17
  * Format a message for console output
29
18
  * @param msg - The message to format
package/dist/cli/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * juisy v2.0.0-beta.13
2
+ * juisy v2.0.0-beta.14
3
3
  * Copyright © 2022-Present Hervé Perchec
4
4
  */
5
5
 
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * juisy v2.0.0-beta.13
2
+ * juisy v2.0.0-beta.14
3
3
  * Copyright © 2022-Present Hervé Perchec
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * juisy v2.0.0-beta.13
2
+ * juisy v2.0.0-beta.14
3
3
  * Copyright © 2022-Present Hervé Perchec
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * juisy v2.0.0-beta.13
2
+ * juisy v2.0.0-beta.14
3
3
  * Copyright © 2022-Present Hervé Perchec
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * juisy v2.0.0-beta.13
2
+ * juisy v2.0.0-beta.14
3
3
  * Copyright © 2022-Present Hervé Perchec
4
4
  */
5
5
 
package/package.json CHANGED
@@ -1,204 +1,204 @@
1
- {
2
- "name": "juisy",
3
- "version": "2.0.0-beta.13",
4
- "description": "Make you JavaScript (and/or TypeScript) project juicy!",
5
- "type": "module",
6
- "files": [
7
- "bin",
8
- "dist"
9
- ],
10
- "engines": {
11
- "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
12
- },
13
- "imports": {
14
- "#juisy": {
15
- "types": "./dist/index.d.ts",
16
- "import": "./dist/index.js"
17
- },
18
- "#juisy/cli": {
19
- "types": "./dist/cli/index.d.ts",
20
- "import": "./dist/cli/index.js"
21
- },
22
- "#juisy/templater": {
23
- "types": "./dist/templater/index.d.ts",
24
- "import": "./dist/templater/index.js"
25
- }
26
- },
27
- "exports": {
28
- ".": {
29
- "types": "./dist/index.d.ts",
30
- "import": "./dist/index.js"
31
- },
32
- "./cli": {
33
- "types": "./dist/cli/index.d.ts",
34
- "import": "./dist/cli/index.js"
35
- },
36
- "./templater": {
37
- "types": "./dist/templater/index.d.ts",
38
- "import": "./dist/templater/index.js"
39
- },
40
- "./vite-plugin-inject-css-variables": {
41
- "types": "./dist/vite/plugins/inject-css-variables/index.d.ts",
42
- "import": "./dist/vite/plugins/inject-css-variables/index.js"
43
- },
44
- "./vite-plugin-inject-project-globals": {
45
- "types": "./dist/vite/plugins/inject-project-globals/index.d.ts",
46
- "import": "./dist/vite/plugins/inject-project-globals/index.js"
47
- }
48
- },
49
- "publishConfig": {
50
- "access": "public"
51
- },
52
- "scripts": {
53
- "build": "vite build",
54
- "audit": "ncu && npm audit",
55
- "audit:fix": "ncu --interactive",
56
- "docs": "npm run docs:cli && npm run docs:api",
57
- "docs:api": "node ./bin/cli docs generate:api",
58
- "docs:cli": "npm run docs:cli:private && npm run docs:cli:public",
59
- "docs:cli:private": "node ./bin/cli docs generate:cli -c ./docs/cli/private/config.js",
60
- "docs:cli:public": "node ./bin/cli docs generate:cli -c ./docs/cli/public/config.js",
61
- "example:reset": "git checkout --no-overlay -- example && cd example && git clean -fdX",
62
- "example:test": "npm run example:reset && cd example && npm install -D juisy@file:../ && npx juisy squeeze && npm run docs:readme",
63
- "print:globals": "node --no-warnings ./bin/cli print:globals",
64
- "release": "release-it --no-increment",
65
- "test": "node ./bin/cli test",
66
- "test:dev": "npm test -- --watch",
67
- "test:ui": "npm test -- --ui"
68
- },
69
- "repository": {
70
- "type": "git",
71
- "url": "git+https://gitlab.com/hperchec/juisy.git"
72
- },
73
- "keywords": [
74
- "js",
75
- "build",
76
- "release",
77
- "changelog",
78
- "bin",
79
- "cmd",
80
- "easy"
81
- ],
82
- "author": {
83
- "name": "Hervé Perchec",
84
- "email": "contact@herve-perchec.com",
85
- "url": "https://gitlab.com/herveperchec"
86
- },
87
- "license": "GPL-3.0-only",
88
- "bugs": {
89
- "url": "https://gitlab.com/hperchec/juisy/issues"
90
- },
91
- "homepage": "https://hperchec.gitlab.io/juisy",
92
- "bin": {
93
- "juisy": "./bin/cli/index.js"
94
- },
95
- "peerDependencies": {
96
- "@commitlint/cli": "^19.6.1",
97
- "@commitlint/config-conventional": "^19.6.0",
98
- "@github/markdownlint-github": "^0.6.3",
99
- "@release-it/bumper": "6.0.1",
100
- "@release-it/conventional-changelog": "^9.0.4",
101
- "@stylistic/eslint-plugin": "^2",
102
- "@typescript-eslint/eslint-plugin": "^8",
103
- "chalk": "^4.1.2",
104
- "conventional-changelog-cli": "^5.0.0",
105
- "eslint": "^9",
106
- "lint-staged": "^14.0.1",
107
- "markdownlint-cli2": "^0.12.0",
108
- "markdownlint-cli2-formatter-pretty": "^0.0.7",
109
- "prompts": "^2.4.2",
110
- "release-it": "^17.11.0",
111
- "simple-git-hooks": "^2.9.0",
112
- "yargs": "^17.7.2"
113
- },
114
- "peerDependenciesMeta": {
115
- "@release-it/bumper": {
116
- "optional": true
117
- },
118
- "@release-it/conventional-changelog": {
119
- "optional": true
120
- }
121
- },
122
- "devDependencies": {
123
- "@babel/eslint-parser": "^7.25.9",
124
- "@conventional-changelog/git-client": "^1.0.1",
125
- "@rollup/plugin-typescript": "^12.1.2",
126
- "@stylistic/eslint-plugin": "^2.12.1",
127
- "@types/conventional-changelog": "^3.1.5",
128
- "@types/conventional-changelog-config-spec": "^2.1.5",
129
- "@types/ejs": "^3.1.5",
130
- "@types/fs-extra": "^11.0.4",
131
- "@types/lint-staged": "^13.3.0",
132
- "@types/lodash.get": "^4.4.9",
133
- "@types/lodash.kebabcase": "^4.1.9",
134
- "@types/lodash.merge": "^4.6.9",
135
- "@types/lodash.set": "^4.3.9",
136
- "@types/node": "^22.10.2",
137
- "@types/prompts": "^2.4.9",
138
- "@types/semver": "^7.5.8",
139
- "@types/yargs": "^17.0.33",
140
- "@types/yargs-parser": "^21.0.3",
141
- "@typescript-eslint/eslint-plugin": "^8.18.1",
142
- "@vitest/coverage-v8": "^2.1.8",
143
- "@vitest/ui": "^2.1.8",
144
- "cpy-cli": "^5.0.0",
145
- "eslint": "^9.17.0",
146
- "happy-dom": "^15.11.7",
147
- "json-schema-to-ts": "^3.1.1",
148
- "lint-staged": "^14.0.1",
149
- "npm-check-updates": "^17.1.12",
150
- "quicktype": "^23.0.170",
151
- "typedoc": "^0.28.1",
152
- "typedoc-plugin-frontmatter": "^1.3.0",
153
- "typedoc-plugin-markdown": "^4.5.2",
154
- "typedoc-vitepress-theme": "^1.1.2",
155
- "typescript": "^5.7.2",
156
- "vite": "^5.4.11",
157
- "vite-plugin-dts": "^4.3.0",
158
- "vite-plugin-generate-file": "^0.2.0",
159
- "vitest": "^2.1.8"
160
- },
161
- "dependencies": {
162
- "@commitlint/types": "^19.8.0",
163
- "@dotenvx/dotenvx": "^1.31.0",
164
- "ascii-tree": "^0.3.0",
165
- "chalk": "^4.1.2",
166
- "conventional-recommended-bump": "^10.0.0",
167
- "deepmerge": "^4.3.1",
168
- "ejs": "^3.1.10",
169
- "execa": "^8",
170
- "find-up": "^7.0.0",
171
- "fs-extra": "^11.2.0",
172
- "github-slugger": "^2.0.0",
173
- "glob": "^11.0.0",
174
- "handlebars": "^4.7.8",
175
- "import-single-ts": "^1.2.0",
176
- "indent-string": "^5.0.0",
177
- "json-2-csv": "^5.5.7",
178
- "jstoxml": "^5.0.2",
179
- "lodash.get": "^4.4.2",
180
- "lodash.kebabcase": "^4.1.1",
181
- "lodash.merge": "^4.6.2",
182
- "lodash.set": "^4.3.2",
183
- "loglevel": "^1.9.2",
184
- "markdown-table": "^3.0.4",
185
- "markdown-toc": "^1.2.0",
186
- "markdown-utils": "^1.0.0",
187
- "package-json-type": "^1.0.3",
188
- "pkg-dir": "^8.0.0",
189
- "prompts": "^2.4.2",
190
- "remark": "^15.0.1",
191
- "remark-frontmatter": "^5.0.0",
192
- "remark-toc": "^9.0.0",
193
- "semver": "^7.7.1",
194
- "simple-git-hooks": "^2.9.0",
195
- "strip-ansi": "^7.1.0",
196
- "ts-json-schema-generator": "^2.3.0",
197
- "yaml": "^2.6.1",
198
- "yargs": "^17.7.2",
199
- "yargs-parser": "^21.1.1"
200
- },
201
- "release-it": {
202
- "git": false
203
- }
204
- }
1
+ {
2
+ "name": "juisy",
3
+ "version": "2.0.0-beta.14",
4
+ "description": "Make you JavaScript (and/or TypeScript) project juicy!",
5
+ "type": "module",
6
+ "files": [
7
+ "bin",
8
+ "dist"
9
+ ],
10
+ "engines": {
11
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
12
+ },
13
+ "imports": {
14
+ "#juisy": {
15
+ "types": "./dist/index.d.ts",
16
+ "import": "./dist/index.js"
17
+ },
18
+ "#juisy/cli": {
19
+ "types": "./dist/cli/index.d.ts",
20
+ "import": "./dist/cli/index.js"
21
+ },
22
+ "#juisy/templater": {
23
+ "types": "./dist/templater/index.d.ts",
24
+ "import": "./dist/templater/index.js"
25
+ }
26
+ },
27
+ "exports": {
28
+ ".": {
29
+ "types": "./dist/index.d.ts",
30
+ "import": "./dist/index.js"
31
+ },
32
+ "./cli": {
33
+ "types": "./dist/cli/index.d.ts",
34
+ "import": "./dist/cli/index.js"
35
+ },
36
+ "./templater": {
37
+ "types": "./dist/templater/index.d.ts",
38
+ "import": "./dist/templater/index.js"
39
+ },
40
+ "./vite-plugin-inject-css-variables": {
41
+ "types": "./dist/vite/plugins/inject-css-variables/index.d.ts",
42
+ "import": "./dist/vite/plugins/inject-css-variables/index.js"
43
+ },
44
+ "./vite-plugin-inject-project-globals": {
45
+ "types": "./dist/vite/plugins/inject-project-globals/index.d.ts",
46
+ "import": "./dist/vite/plugins/inject-project-globals/index.js"
47
+ }
48
+ },
49
+ "publishConfig": {
50
+ "access": "public"
51
+ },
52
+ "scripts": {
53
+ "build": "vite build",
54
+ "audit": "ncu && npm audit",
55
+ "audit:fix": "ncu --interactive",
56
+ "docs": "npm run docs:cli && npm run docs:api",
57
+ "docs:api": "node ./bin/cli docs generate:api",
58
+ "docs:cli": "npm run docs:cli:private && npm run docs:cli:public",
59
+ "docs:cli:private": "node ./bin/cli docs generate:cli -c ./docs/cli/private/config.js",
60
+ "docs:cli:public": "node ./bin/cli docs generate:cli -c ./docs/cli/public/config.js",
61
+ "example:reset": "git checkout --no-overlay -- example && cd example && git clean -fdX",
62
+ "example:test": "npm run example:reset && cd example && npm install -D juisy@file:../ && npx juisy squeeze && npm run docs:readme",
63
+ "print:globals": "node --no-warnings ./bin/cli print:globals",
64
+ "release": "release-it --no-increment",
65
+ "test": "node ./bin/cli test",
66
+ "test:dev": "npm test -- --watch",
67
+ "test:ui": "npm test -- --ui"
68
+ },
69
+ "repository": {
70
+ "type": "git",
71
+ "url": "git+https://gitlab.com/hperchec/juisy.git"
72
+ },
73
+ "keywords": [
74
+ "js",
75
+ "build",
76
+ "release",
77
+ "changelog",
78
+ "bin",
79
+ "cmd",
80
+ "easy"
81
+ ],
82
+ "author": {
83
+ "name": "Hervé Perchec",
84
+ "email": "contact@herve-perchec.com",
85
+ "url": "https://gitlab.com/herveperchec"
86
+ },
87
+ "license": "GPL-3.0-only",
88
+ "bugs": {
89
+ "url": "https://gitlab.com/hperchec/juisy/issues"
90
+ },
91
+ "homepage": "https://hperchec.gitlab.io/juisy",
92
+ "bin": {
93
+ "juisy": "./bin/cli/index.js"
94
+ },
95
+ "peerDependencies": {
96
+ "@commitlint/cli": "^19.6.1",
97
+ "@commitlint/config-conventional": "^19.6.0",
98
+ "@github/markdownlint-github": "^0.6.3",
99
+ "@release-it/bumper": "6.0.1",
100
+ "@release-it/conventional-changelog": "^9.0.4",
101
+ "@stylistic/eslint-plugin": "^2",
102
+ "@typescript-eslint/eslint-plugin": "^8",
103
+ "chalk": "^5.4.1",
104
+ "conventional-changelog-cli": "^5.0.0",
105
+ "eslint": "^9",
106
+ "lint-staged": "^14.0.1",
107
+ "markdownlint-cli2": "^0.12.0",
108
+ "markdownlint-cli2-formatter-pretty": "^0.0.7",
109
+ "prompts": "^2.4.2",
110
+ "release-it": "^17.11.0",
111
+ "simple-git-hooks": "^2.9.0",
112
+ "yargs": "^17.7.2"
113
+ },
114
+ "peerDependenciesMeta": {
115
+ "@release-it/bumper": {
116
+ "optional": true
117
+ },
118
+ "@release-it/conventional-changelog": {
119
+ "optional": true
120
+ }
121
+ },
122
+ "devDependencies": {
123
+ "@babel/eslint-parser": "^7.25.9",
124
+ "@conventional-changelog/git-client": "^1.0.1",
125
+ "@rollup/plugin-typescript": "^12.1.2",
126
+ "@stylistic/eslint-plugin": "^2.12.1",
127
+ "@types/conventional-changelog": "^3.1.5",
128
+ "@types/conventional-changelog-config-spec": "^2.1.5",
129
+ "@types/ejs": "^3.1.5",
130
+ "@types/fs-extra": "^11.0.4",
131
+ "@types/lint-staged": "^13.3.0",
132
+ "@types/lodash.get": "^4.4.9",
133
+ "@types/lodash.kebabcase": "^4.1.9",
134
+ "@types/lodash.merge": "^4.6.9",
135
+ "@types/lodash.set": "^4.3.9",
136
+ "@types/node": "^22.10.2",
137
+ "@types/prompts": "^2.4.9",
138
+ "@types/semver": "^7.5.8",
139
+ "@types/yargs": "^17.0.33",
140
+ "@types/yargs-parser": "^21.0.3",
141
+ "@typescript-eslint/eslint-plugin": "^8.18.1",
142
+ "@vitest/coverage-v8": "^2.1.8",
143
+ "@vitest/ui": "^2.1.8",
144
+ "cpy-cli": "^5.0.0",
145
+ "eslint": "^9.17.0",
146
+ "happy-dom": "^15.11.7",
147
+ "json-schema-to-ts": "^3.1.1",
148
+ "lint-staged": "^14.0.1",
149
+ "npm-check-updates": "^17.1.12",
150
+ "quicktype": "^23.0.170",
151
+ "typedoc": "^0.28.1",
152
+ "typedoc-plugin-frontmatter": "^1.3.0",
153
+ "typedoc-plugin-markdown": "^4.5.2",
154
+ "typedoc-vitepress-theme": "^1.1.2",
155
+ "typescript": "^5.7.2",
156
+ "vite": "^5.4.11",
157
+ "vite-plugin-dts": "^4.3.0",
158
+ "vite-plugin-generate-file": "^0.2.0",
159
+ "vitest": "^2.1.8"
160
+ },
161
+ "dependencies": {
162
+ "@commitlint/types": "^19.8.0",
163
+ "@dotenvx/dotenvx": "^1.31.0",
164
+ "ascii-tree": "^0.3.0",
165
+ "chalk": "^5.4.1",
166
+ "conventional-recommended-bump": "^10.0.0",
167
+ "deepmerge": "^4.3.1",
168
+ "ejs": "^3.1.10",
169
+ "execa": "^8",
170
+ "find-up": "^7.0.0",
171
+ "fs-extra": "^11.2.0",
172
+ "github-slugger": "^2.0.0",
173
+ "glob": "^11.0.0",
174
+ "handlebars": "^4.7.8",
175
+ "import-single-ts": "^1.2.0",
176
+ "indent-string": "^5.0.0",
177
+ "json-2-csv": "^5.5.7",
178
+ "jstoxml": "^5.0.2",
179
+ "lodash.get": "^4.4.2",
180
+ "lodash.kebabcase": "^4.1.1",
181
+ "lodash.merge": "^4.6.2",
182
+ "lodash.set": "^4.3.2",
183
+ "loglevel": "^1.9.2",
184
+ "markdown-table": "^3.0.4",
185
+ "markdown-toc": "^1.2.0",
186
+ "markdown-utils": "^1.0.0",
187
+ "package-json-type": "^1.0.3",
188
+ "pkg-dir": "^8.0.0",
189
+ "prompts": "^2.4.2",
190
+ "remark": "^15.0.1",
191
+ "remark-frontmatter": "^5.0.0",
192
+ "remark-toc": "^9.0.0",
193
+ "semver": "^7.7.1",
194
+ "simple-git-hooks": "^2.9.0",
195
+ "strip-ansi": "^7.1.0",
196
+ "ts-json-schema-generator": "^2.3.0",
197
+ "yaml": "^2.6.1",
198
+ "yargs": "^17.7.2",
199
+ "yargs-parser": "^21.1.1"
200
+ },
201
+ "release-it": {
202
+ "git": false
203
+ }
204
+ }