From 15aaa61b431e976f163ae10db0aa4c9beadd1085 Mon Sep 17 00:00:00 2001 From: didericis Date: Tue, 30 Sep 2025 18:10:54 -0400 Subject: [PATCH] chore: update prettier scripts and fix lint issues --- package.json | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index a875577..7e0e48f 100644 --- a/package.json +++ b/package.json @@ -12,12 +12,13 @@ "author": "Didericis", "license": "Apache-2.0", "scripts": { - "test": "npm run lint && npm run test:build-project && npm run test:build-bundles && bare test/bare.js", + "test": "npm run prettier:lint && npm run test:build-project && npm run test:build-bundles && bare test/bare.js", "test:build-project": "cd test/project && npm install", "test:build-bundles": "mkdir -p test/bundles && npm run test:build-default-bundle && npm run test:build-plugin-bundle", "test:build-default-bundle": "cd test/project && bare-pack app.js -o ../bundles/default.bundle", "test:build-plugin-bundle": "cd test/project && bare-pack app.js | bare-bundle-transform --plugin ../../index.js -o ../bundles/plugin.bundle", - "lint": "prettier . --check" + "prettier:lint": "prettier . --check", + "prettier:fix": "prettier . --write" }, "prettier": "prettier-config-standard", "imports": { @@ -37,11 +38,22 @@ { "preset": "angular", "releaseRules": [ - { "type": "docs", "scope": "README", "release": "patch" }, - { "type": "refactor", "release": "patch" } + { + "type": "docs", + "scope": "README", + "release": "patch" + }, + { + "type": "refactor", + "release": "patch" + } ], "parserOpts": { - "noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "MANUAL BUMP"] + "noteKeywords": [ + "BREAKING CHANGE", + "BREAKING CHANGES", + "MANUAL BUMP" + ] } } ],