Skip to content

Commit

Permalink
test: use vitest (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
jer3m01 authored Feb 29, 2024
1 parent e5e134c commit 63b8224
Show file tree
Hide file tree
Showing 43 changed files with 2,655 additions and 3,469 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:

- uses: pnpm/[email protected]

- name: Setup Node.js 20.x
- name: Setup Node.js 21.6.1
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version: 21.6.1
cache: pnpm

- name: Install Dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:

- uses: pnpm/[email protected]

- name: Setup Node.js 20.x
- name: Setup Node.js 21.6.1
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version: 21.6.1
cache: pnpm

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:

- uses: pnpm/[email protected]

- name: Setup Node.js 20.x
- name: Setup Node.js 21.6.1
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version: 21.6.1
cache: pnpm

- name: Install Dependencies
Expand Down
130 changes: 63 additions & 67 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,74 +1,70 @@
{
"name": "kobalte-monorepo",
"version": "0.0.0",
"private": true,
"description": "A UI toolkit for building SolidJS applications.",
"repository": {
"type": "git",
"url": "git+https://github.com/kobaltedev/kobalte.git"
},
"license": "MIT",
"author": "Fabien Marie-Louise <[email protected]>",
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"build": "turbo run build",
"build:libs": "pnpm -F \\!docs -F \\!playground build && pnpm i",
"changeset": "changeset",
"ci:release": "pnpm build && changeset publish",
"ci:version": "changeset version && pnpm i --no-frozen-lockfile && git add .",
"clean": "turbo run clean && rm -rf node_modules",
"commit": "git-cz",
"dev:core": "pnpm -F @kobalte/core dev",
"dev:docs": "pnpm -F @kobalte/docs dev",
"name": "kobalte-monorepo",
"version": "0.0.0",
"private": true,
"description": "A UI toolkit for building SolidJS applications.",
"repository": {
"type": "git",
"url": "git+https://github.com/kobaltedev/kobalte.git"
},
"license": "MIT",
"author": "Fabien Marie-Louise <[email protected]>",
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"build": "turbo run build",
"build:libs": "pnpm -F \\!docs -F \\!playground build && pnpm i",
"changeset": "changeset",
"ci:release": "pnpm build && changeset publish",
"ci:version": "changeset version && pnpm i --no-frozen-lockfile && git add .",
"clean": "turbo run clean && rm -rf node_modules",
"commit": "git-cz",
"dev:core": "pnpm -F @kobalte/core dev",
"dev:docs": "pnpm -F @kobalte/docs dev",
"format": "biome format . --write && prettier . --write",
"lint": "pnpm check --apply",
"check": "biome check .",
"test": "turbo run test",
"typecheck": "turbo run typecheck"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"devDependencies": {
"@babel/core": "7.22.10",
"@babel/preset-env": "7.22.10",
"@biomejs/biome": "1.5.2",
"@changesets/cli": "2.26.2",
"@commitlint/cli": "17.7.1",
"@commitlint/config-conventional": "17.7.0",
"@commitlint/cz-commitlint": "17.7.1",
"@jest/types": "28.1.3",
"@solidjs/testing-library": "0.8.4",
"@testing-library/dom": "9.3.1",
"@testing-library/jest-dom": "6.1.2",
"@testing-library/user-event": "14.4.3",
"@types/jest": "28.1.8",
"@types/node": "20.5.4",
"@types/testing-library__jest-dom": "6.0.0",
"babel-preset-solid": "1.7.7",
"commitizen": "4.3.0",
"inquirer": "8.2.5",
"jest": "28.1.3",
"jest-environment-jsdom": "28.1.3",
"prettier": "4.0.0-alpha.8",
"prettier-plugin-tailwindcss": "0.5.3",
"rollup": "3.28.1",
"rollup-preset-solid": "2.0.1",
"solid-js": "1.8.15",
"ts-jest": "28.0.8",
"tsup": "7.2.0",
"turbo": "1.10.13",
"typescript": "4.9.5",
"vite": "5.0.11",
"vite-plugin-solid": "2.9.1",
"test": "turbo run test",
"typecheck": "turbo run typecheck"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"devDependencies": {
"@babel/core": "7.22.10",
"@babel/preset-env": "7.22.10",
"@biomejs/biome": "1.5.2",
"@changesets/cli": "2.26.2",
"@commitlint/cli": "17.7.1",
"@commitlint/config-conventional": "17.7.0",
"@commitlint/cz-commitlint": "17.7.1",
"@solidjs/testing-library": "0.8.6",
"@testing-library/dom": "9.3.4",
"@testing-library/jest-dom": "6.4.2",
"@testing-library/user-event": "14.5.2",
"@types/node": "20.5.4",
"babel-preset-solid": "1.7.7",
"commitizen": "4.3.0",
"inquirer": "8.2.5",
"jsdom": "19.0.0",
"prettier": "4.0.0-alpha.8",
"prettier-plugin-tailwindcss": "0.5.3",
"rollup": "3.28.1",
"rollup-plugin-cleanup": "3.2.1",
"rollup-plugin-copy": "3.5.0",
"rollup-plugin-license": "3.2.0",
"rollup-plugin-copy": "3.5.0"
},
"packageManager": "[email protected]"
"rollup-preset-solid": "2.0.1",
"solid-js": "1.8.15",
"tsup": "7.2.0",
"turbo": "1.10.13",
"typescript": "4.9.5",
"vite": "5.0.11",
"vite-plugin-solid": "2.9.1",
"vitest": "1.3.1"
},
"packageManager": "[email protected]"
}
35 changes: 0 additions & 35 deletions packages/core/jest.config.ts

This file was deleted.

3 changes: 2 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"build": "rollup -c",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm NOTICE.txt",
"dev": "vite serve dev --host",
"test": "jest --passWithNoTests",
"test-old": "jest --passWithNoTests",
"test": "vitest run",
"typecheck": "tsc --noEmit"
},
"dependencies": {
Expand Down
Loading

0 comments on commit 63b8224

Please sign in to comment.