Skip to content

Commit

Permalink
prettify packages/lib
Browse files Browse the repository at this point in the history
  • Loading branch information
emiljohansson committed Feb 18, 2023
1 parent 4bb803d commit 39ef92e
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 56 deletions.
61 changes: 30 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,33 @@

## Tech's used in this project

* Repo
* turborepo
* husky
* pnpm
* CI
* github actions
* Hosting / CD
* vercel
* Database
* Supabase
* ~~PlanetScale~~
* ~~Prisma~~
* Frameworks
* SSR/SSG/CSR
* Next.js
* ~~Remix~~
* CSS
* Tailwind CSS
* Styling
* Radix UI
* Radix Icons
* Animations
* Framer Motion
* Testing
* End to end
* Cypress
* Lighthouse
* AXE
* Unit testing
* Jest

- Repo
- turborepo
- husky
- pnpm
- CI
- github actions
- Hosting / CD
- vercel
- Database
- Supabase
- ~~PlanetScale~~
- ~~Prisma~~
- Frameworks
- SSR/SSG/CSR
- Next.js
- ~~Remix~~
- CSS
- Tailwind CSS
- Styling
- Radix UI
- Radix Icons
- Animations
- Framer Motion
- Testing
- End to end
- Cypress
- Lighthouse
- AXE
- Unit testing
- Jest
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"cy:run": "cypress run --headless --browser chrome",
"cy:open": "cypress open",
"prettier:check": "prettier --check .",
"format": "prettier --write \"packages/shared/*.{ts,tsx}\"",
"format": "prettier --write \"packages/lib/*.{ts,tsx,js,md,json}\"",
"lint": "turbo run lint"
},
"workspaces": [
Expand Down
6 changes: 3 additions & 3 deletions packages/lib/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
collectCoverageFrom: ['src/**/*.ts'],
preset: 'ts-jest',
testEnvironment: 'node',
collectCoverageFrom: ['src/**/*.ts'],
}
36 changes: 18 additions & 18 deletions packages/lib/package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"name": "lib",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"lint": "eslint ./{hooks,tests,utils}/*.ts",
"test": "jest --coverage",
"test:watch": "jest --coverage --watchAll",
"test:ci": "npm run test"
},
"dependencies": {
"next": "13.1.1",
"react": "18.2.0"
},
"devDependencies": {
"config": "workspace:*",
"tsconfig": "workspace:*",
"tsup": "5.11.13"
}
"name": "lib",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"lint": "eslint ./{hooks,tests,utils}/*.ts",
"test": "jest --coverage",
"test:watch": "jest --coverage --watchAll",
"test:ci": "npm run test"
},
"dependencies": {
"next": "13.1.1",
"react": "18.2.0"
},
"devDependencies": {
"config": "workspace:*",
"tsconfig": "workspace:*",
"tsup": "5.11.13"
}
}
6 changes: 3 additions & 3 deletions packages/lib/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "tsconfig/base.json",
"include": ["."],
"exclude": ["dist", "build", "node_modules"]
"extends": "tsconfig/base.json",
"include": ["."],
"exclude": ["dist", "build", "node_modules"]
}

0 comments on commit 39ef92e

Please sign in to comment.