diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 6cdba4b3bb0..e46d8c0bc84 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -32,7 +32,7 @@ jobs: - name: Install Dependencies run: npm ci --force - name: Test - run: npm run test.ci + run: npm run test:ci - name: Codecov uses: codecov/codecov-action@v3 with: @@ -57,7 +57,7 @@ jobs: - name: Install Dependencies run: npm ci --force - name: Prettier - run: npm run style + run: npm run prettier cspell: name: CSpell runs-on: ubuntu-latest diff --git a/package-lock.json b/package-lock.json index 4447df512db..4a4180222fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,7 +38,7 @@ "inquirer": "^9.2.7", "jsdom": "^23.0.1", "pre-commit": "^1.2.2", - "prettier": "^3.0.0", + "prettier": "^3.1.1", "tsconfig-paths": "^4.0.0", "tsx": "^4.7.0", "typedoc": "^0.25.4", @@ -9928,9 +9928,9 @@ } }, "node_modules/prettier": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.0.tgz", - "integrity": "sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz", + "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" @@ -20146,9 +20146,9 @@ "dev": true }, "prettier": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.0.tgz", - "integrity": "sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz", + "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==", "dev": true }, "pretty-format": { diff --git a/package.json b/package.json index ae3c18f477a..39b6bb25edf 100644 --- a/package.json +++ b/package.json @@ -20,21 +20,21 @@ "scripts": { "build": "tsc && vite build", "test": "vitest --ui --coverage", - "test.ci": "vitest run --coverage", + "test:ci": "vitest run --coverage", "prepublishOnly": "npm run build --omit=dev", "lint": "eslint --ext .ts src", "predemo": "npm run build", "demo": "tsx ./demo/index.ts", "typedoc": "typedoc src/index.ts --tsconfig tsconfig.typedoc.json", - "style": "prettier -l \"{src,scripts,demo}/**/*.{ts,html}\"", - "style.fix": "npm run style -- --write", + "prettier": "prettier -l \"{src,scripts,demo}/**/*.{ts,html}\"", + "prettier:fix": "npm run prettier -- --write", "cspell": "cspell \"{src,demo,docs,scripts}/**/*.{ts,scss,html,md}\" && cspell \"./*.*\"", "serve.docs": "cd docs && docsify serve", "extract": "tsx scripts/extract-document.ts", "run-ts": "tsx" }, "pre-commit": [ - "style", + "prettier", "lint" ], "repository": { @@ -89,7 +89,7 @@ "inquirer": "^9.2.7", "jsdom": "^23.0.1", "pre-commit": "^1.2.2", - "prettier": "^3.0.0", + "prettier": "^3.1.1", "tsconfig-paths": "^4.0.0", "tsx": "^4.7.0", "typedoc": "^0.25.4",