Skip to content

Commit

Permalink
refactor: cleaning up package.json and typescript config
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrorezende committed Jun 12, 2023
1 parent 1b7ebdf commit 8b19f6c
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 102 deletions.
21 changes: 0 additions & 21 deletions apps/docs/LICENSE

This file was deleted.

14 changes: 2 additions & 12 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,12 @@
{
"name": "nextra-docs-template",
"name": "namada-docs",
"version": "0.0.1",
"description": "Namada Docs",
"description": "Namada Specs",
"scripts": {
"dev": "next dev",
"build": "next build && next export",
"start": "next start"
},
"repository": {
"type": "git",
"url": "git+https://github.com/shuding/nextra-docs-template.git"
},
"author": "Shu Ding <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/shuding/nextra-docs-template/issues"
},
"homepage": "https://github.com/shuding/nextra-docs-template#readme",
"dependencies": {
"next": "^13.0.6",
"nextra": "latest",
Expand Down
19 changes: 1 addition & 18 deletions apps/docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"incremental": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
"extends": "../../tsconfig.base.json"
}
21 changes: 0 additions & 21 deletions apps/specs/LICENSE

This file was deleted.

File renamed without changes.
12 changes: 1 addition & 11 deletions apps/specs/package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,12 @@
{
"name": "nextra-docs-template",
"name": "namada-specs",
"version": "0.0.1",
"description": "Namada Docs",
"scripts": {
"dev": "next dev",
"build": "next build && next export",
"start": "next start"
},
"repository": {
"type": "git",
"url": "git+https://github.com/shuding/nextra-docs-template.git"
},
"author": "Shu Ding <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/shuding/nextra-docs-template/issues"
},
"homepage": "https://github.com/shuding/nextra-docs-template#readme",
"dependencies": {
"next": "^13.0.6",
"nextra": "latest",
Expand Down
2 changes: 1 addition & 1 deletion apps/specs/theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const config: DocsThemeConfig = {
primaryHue: 180,
useNextSeoProps() {
return {
titleTemplate: "Namada Documentation - %s",
titleTemplate: "Namada Specs - %s",
};
},
logo: <Logo />,
Expand Down
19 changes: 1 addition & 18 deletions apps/specs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"incremental": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
"extends": "../../tsconfig.base.json"
}
20 changes: 20 additions & 0 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"incremental": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}

0 comments on commit 8b19f6c

Please sign in to comment.