Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
feature(standard-web): prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
thedoublejay committed Dec 5, 2022
1 parent cf2625d commit f975ae2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 41 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ All packages follow the same format `@waveshq/standard-(platform)-*`. All depend
with the same version tag.

| Package | Type | Description |
|------------------------------|-------------|------------------------------------------------------------------------------------|
| ---------------------------- | ----------- | ---------------------------------------------------------------------------------- |
| @waveshq/standard-web | Boilerplate | Boilerplate for easier scaffolding of web projects. (Next.js + React + TypeScript) |
| @waveshq/standard-web-linter | Linting | Standardized eslint and prettier config for Web based on Next.js rules. |
4 changes: 2 additions & 2 deletions packages/standard-web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Standard web tools for scaffolding web applications. Our choice of framework is

This package also includes a `tsconfig.json` which is customized for web usage.

Packages that are included are based on the requirements of Next.js to avoid version mismatch.
Packages that are included are based on the requirements of Next.js to avoid version mismatch.

| Package | Description |
|------------|--------------------------------------------------|
| ---------- | ------------------------------------------------ |
| next | Used as the base library. |
| react | Fixes the react version required by Next.js |
| react-dom | Fixes the react version required by Next.js |
Expand Down
49 changes: 11 additions & 38 deletions packages/standard-web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
"display": "Default",
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
Expand All @@ -23,39 +19,16 @@
"incremental": true,
"baseUrl": "src",
"paths": {
"@content/*": [
"../content/*"
],
"@api/*": [
"api/*"
],
"@contexts/*": [
"layouts/contexts/*"
],
"@components/*": [
"components/*"
],
"@hooks/*": [
"hooks/*"
],
"@store/*": [
"store/*"
],
"@utils/*": [
"utils/*"
],
"@public/*": [
"../public/*"
]
"@content/*": ["../content/*"],
"@api/*": ["api/*"],
"@contexts/*": ["layouts/contexts/*"],
"@components/*": ["components/*"],
"@hooks/*": ["hooks/*"],
"@store/*": ["store/*"],
"@utils/*": ["utils/*"],
"@public/*": ["../public/*"]
}
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx"
],
"exclude": [
"node_modules",
"cypress"
]
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules", "cypress"]
}

0 comments on commit f975ae2

Please sign in to comment.