Skip to content

Commit

Permalink
chore: clean up and refine package.json scripts (#79)
Browse files Browse the repository at this point in the history
- Improve the `description` field in `package.json`
- Remove unnecessary `build:core` and `build:ci` scripts
  • Loading branch information
halvaradop authored Oct 22, 2024
1 parent 52586bc commit be5bfc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -56,7 +54,6 @@
"semi": false,
"tabWidth": 4,
"trailingComma": "es5",
"singleQuote": false,
"printWidth": 130,
"arrowParens": "avoid",
"overrides": [
Expand Down

0 comments on commit be5bfc3

Please sign in to comment.