From d7fe94a51395f1aa615ed158f1a55fe6f77d1fb5 Mon Sep 17 00:00:00 2001 From: Abdel-Monaam-Aouini Date: Fri, 17 Mar 2023 19:24:39 +0100 Subject: [PATCH] fix: style script --- package.json | 2 +- release.config.js | 36 ++++++++++++++++++------------------ vite.config.js | 3 +-- 3 files changed, 20 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index 8bf6a586..7cebc5de 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "preview": "vite preview", "test": "vitest", "coverage": "vitest run --coverage", - "style": "standard --fix" + "style": "standard src/**/*.js --fix" }, "eslintConfig": { "extends": [ diff --git a/release.config.js b/release.config.js index 78ef3c0d..b4942700 100644 --- a/release.config.js +++ b/release.config.js @@ -1,28 +1,28 @@ module.exports = { - branches: ["master"], + branches: ['master'], plugins: [ - "@semantic-release/commit-analyzer", - "@semantic-release/release-notes-generator", + '@semantic-release/commit-analyzer', + '@semantic-release/release-notes-generator', [ - "@semantic-release/changelog", + '@semantic-release/changelog', { - changelogFile: "CHANGELOG.md", - }, + changelogFile: 'CHANGELOG.md' + } ], - "@semantic-release/npm", - "@semantic-release/github", + '@semantic-release/npm', + '@semantic-release/github', [ - "@semantic-release/git", + '@semantic-release/git', { assets: [ - "CHANGELOG.md", - "dist/**", - "package.json", - "package-lock.json", + 'CHANGELOG.md', + 'dist/**', + 'package.json', + 'package-lock.json' ], message: - "chore(release): set `package.json` to ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}", - }, - ], - ], -}; + 'chore(release): set `package.json` to ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}' + } + ] + ] +} diff --git a/vite.config.js b/vite.config.js index b037dce0..54137851 100644 --- a/vite.config.js +++ b/vite.config.js @@ -20,6 +20,5 @@ export default defineConfig({ cacheDir: '.vite', build: { target: 'esnext' - }, - base: 'https://abdel-monaam-aouini.github.io/dashboard-kit/' + } })