Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: clean up and refine package.json scripts #79

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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