Skip to content
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
14 changes: 11 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ build:
@printf "\033[0;32m>>> Build packages\033[0m\n"
pnpm build

demo:
@printf "\033[0;32m>>> Running demo-app\033[0m\n"
cd apps/demo && make run
demo: run

dev: run

install:
@printf "\033[0;32m>>> Installing dependencies\033[0m\n"
Expand All @@ -30,6 +30,10 @@ release:
@printf "\033[0;32m>>> Prepare packages for release033[0m\n"
npx shipjs prepare

run:
@printf "\033[0;32m>>> Run demo app\033[0m\n"
pnpm dev

snapshot-update:
@printf "\033[0;32m>>> Update snapshot files\033[0m\n"
pnpm -r run snapshot:update
Expand All @@ -54,6 +58,10 @@ test.unit:
@printf "\033[0;32m>>> Running unit tests\033[0m\n"
pnpm test:unit

test.watch:
@printf "\033[0;32m>>> Watch running tests\033[0m\n"
pnpm test:watch

typecheck:
@printf "\033[0;32m>>> Running Type check\033[0m\n"
pnpm typecheck
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@
"version": "0.72.1",
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev",
"lint": "turbo run lint",
"lint:fix": "turbo run lint:fix",
"prepare": "husky",
"prepare": "husky install",
"sort-package": "npx sort-package-json && turbo run sort-package",
"test": "turbo run test --parallel",
"test:ci": "turbo run test:ci --parallel",
"test:integration": "turbo run test:integration --parallel",
"test:unit": "turbo run test:unit --parallel",
"test:watch": "turbo run test:watch --parallel",
"typecheck": "turbo run typecheck"
},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@
"build": "vite build && tsc --emitDeclarationOnly",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"snapshot:update": "vitest --environment jsdom run --update --passWithNoTests",
"sort-package": "npx sort-package-json",
"test": "vitest --environment jsdom run --coverage --passWithNoTests",
"test:component": "vitest --environment jsdom run component/ --passWithNoTests",
"test:snapshot": "vitest --environment jsdom run snapshot/ --passWithNoTests",
"test:unit": "vitest --environment jsdom run unit/ --passWithNoTests",
"test:watch": "vitest --environment jsdom",
"typecheck": "tsc --noEmit -p tsconfig.vitest.json --composite false"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@
"build": "vite build && tsc --emitDeclarationOnly",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"snapshot:update": "vitest --environment jsdom run --update",
"snapshot:update": "vitest --environment jsdom run --update --passWithNoTests",
"sort-package": "npx sort-package-json",
"test": "vitest --environment jsdom run --coverage",
"test:component": "vitest --environment jsdom run component/",
"test:snapshot": "vitest --environment jsdom run snapshot/",
"test:unit": "vitest --environment jsdom run unit/",
"test:watch": "vitest --environment jsdom",
"typecheck": "tsc --noEmit -p tsconfig.vitest.json --composite false"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
"build": "vite build && tsc --emitDeclarationOnly",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"snapshot:update": "vitest --environment jsdom run --update",
"snapshot:update": "vitest --environment jsdom run --update --passWithNoTests",
"sort-package": "npx sort-package-json",
"test": "vitest --environment jsdom run --coverage",
"test:component": "vitest --environment jsdom run component/",
"test:snapshot": "vitest --environment jsdom run snapshot/",
"test:unit": "vitest --environment jsdom run unit/",
"test:watch": "vitest",
"test:watch": "vitest --environment jsdom",
"typecheck": "tsc --noEmit -p tsconfig.vitest.json --composite false"
},
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@
"build": "vite build && tsc --emitDeclarationOnly",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"snapshot:update": "vitest --environment jsdom run --update",
"snapshot:update": "vitest --environment jsdom run --update --passWithNoTests",
"sort-package": "npx sort-package-json",
"test": "vitest --environment jsdom run --coverage",
"test:component": "vitest --environment jsdom run component/",
"test:snapshot": "vitest --environment jsdom run snapshot/",
"test:unit": "vitest --environment jsdom run unit/",
"test:watch": "vitest --environment jsdom",
"typecheck": "tsc --noEmit -p tsconfig.vitest.json --composite false"
},
"devDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@
"build": "vite build && tsc --emitDeclarationOnly",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"snapshot:update": "vitest --environment jsdom run --update",
"snapshot:update": "vitest --environment jsdom run --update --passWithNoTests",
"sort-package": "npx sort-package-json",
"test": "vitest --environment jsdom run --coverage",
"test:component": "vitest --environment jsdom run component/",
"test:snapshot": "vitest --environment jsdom run snapshot/",
"test:unit": "vitest --environment jsdom run unit/",
"test:watch": "vitest --environment jsdom",
"typecheck": "tsc --noEmit -p tsconfig.vitest.json --composite false"
},
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/user/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@
"build": "vite build && tsc --emitDeclarationOnly",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"snapshot:update": "vitest --environment jsdom run --update",
"snapshot:update": "vitest --environment jsdom run --update --passWithNoTests",
"sort-package": "npx sort-package-json",
"test": "pnpm build && vitest --environment jsdom run --coverage",
"test:component": "vitest --environment jsdom run component/",
"test:snapshot": "vitest --environment jsdom run snapshot/",
"test:unit": "vitest --environment jsdom run unit/",
"test:watch": "vitest --environment jsdom",
"typecheck": "tsc --noEmit -p tsconfig.vitest.json --composite false"
},
"dependencies": {
Expand Down
9 changes: 9 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@
"dist/**"
]
},
"dev": {
"cache": false,
"persistent": true,
"outputs": []
},
"lint": {
"env": ["NODE_ENV", "BASE_URL"],
"outputs": []
},
"lint:fix": {
Expand Down Expand Up @@ -39,6 +45,9 @@
"test:unit": {
"outputs": []
},
"test:watch": {
"outputs": []
},
"typecheck": {
"outputs": []
}
Expand Down
Loading