@tsparticles/cli 2.3.1 → 2.3.2
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.
|
@@ -27,6 +27,7 @@ async function prettifySrc(basePath, srcPath, ci) {
|
|
|
27
27
|
options.endOfLine = "lf";
|
|
28
28
|
options.parser = "typescript";
|
|
29
29
|
options.tabWidth = 4;
|
|
30
|
+
options.arrowParens = "avoid";
|
|
30
31
|
if (ci) {
|
|
31
32
|
if (!(await prettier_1.default.check(contents, options))) {
|
|
32
33
|
throw new Error(`${file.path} is not formatted correctly`);
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"prettier": "@tsparticles/prettier-config",
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@babel/core": "^7.23.9",
|
|
86
|
-
"@tsparticles/cli": "^2.3.
|
|
86
|
+
"@tsparticles/cli": "^2.3.2",
|
|
87
87
|
"@tsparticles/eslint-config": "^2.2.1",
|
|
88
88
|
"@tsparticles/prettier-config": "^2.1.6",
|
|
89
89
|
"@tsparticles/tsconfig": "^2.1.7",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/cli",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bin": {
|
|
6
6
|
"tsparticles-cli": "dist/cli.js"
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"eslint": "^8.57.0",
|
|
21
21
|
"eslint-config-prettier": "^9.1.0",
|
|
22
22
|
"eslint-plugin-jsdoc": "^48.2.0",
|
|
23
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
23
24
|
"eslint-plugin-tsdoc": "^0.2.17",
|
|
24
25
|
"fs-extra": "^11.2.0",
|
|
25
26
|
"klaw": "^4.1.0",
|
|
@@ -27,6 +27,7 @@ export async function prettifySrc(basePath: string, srcPath: string, ci: boolean
|
|
|
27
27
|
options.endOfLine = "lf";
|
|
28
28
|
options.parser = "typescript";
|
|
29
29
|
options.tabWidth = 4;
|
|
30
|
+
options.arrowParens = "avoid" as const;
|
|
30
31
|
|
|
31
32
|
if (ci) {
|
|
32
33
|
if (!(await prettier.check(contents, options))) {
|