From be5bfc3167b4ec990d3cab7ae7899acc1ca76316 Mon Sep 17 00:00:00 2001 From: Hernan Alvarado Date: Tue, 22 Oct 2024 15:41:19 -0500 Subject: [PATCH] chore: clean up and refine `package.json` scripts (#79) - Improve the `description` field in `package.json` - Remove unnecessary `build:core` and `build:ci` scripts --- .github/workflows/ci.yaml | 4 ++-- package.json | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index aa22e30..3300abe 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,7 +17,7 @@ jobs: with: node-version: "18.x" - run: npm install - - run: npm run build:ci + - run: npm run build test: runs-on: ubuntu-latest @@ -29,7 +29,7 @@ jobs: node-version: "18.x" - run: npm install # rebuild the project to ensure that the test files are available - - run: npm run build:ci + - run: npm run build - run: npm test deploy-to-development: diff --git a/package.json b/package.json index 8ca2343..37808db 100644 --- a/package.json +++ b/package.json @@ -3,12 +3,10 @@ "private": true, "version": "0.0.0", "type": "module", - "description": "A monorepo projectmanage multiple packages with features and utilities for TailwindCSS.", + "description": "A monorepo project for managing multiple packages with features and utilities for TailwindCSS.", "scripts": { "dev": "turbo dev --parallel", - "build": "turbo build --parallel", - "build:core": "turbo build --filter @halvaradop/tailwindcss-core", - "build:ci": "npm run build:core && npm run build", + "build": "turbo build --filter @halvaradop/*core && turbo build --filter=!@halvaradop/*core --parallel", "format": "prettier --cache --write .", "format:check": "prettier --cache --check .", "test": "turbo test --parallel", @@ -56,7 +54,6 @@ "semi": false, "tabWidth": 4, "trailingComma": "es5", - "singleQuote": false, "printWidth": 130, "arrowParens": "avoid", "overrides": [