diff --git a/apps/docs/LICENSE b/apps/docs/LICENSE deleted file mode 100644 index 490da1fe..00000000 --- a/apps/docs/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 Shu Ding - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/apps/docs/package.json b/apps/docs/package.json index bca1d41e..87fad0d7 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -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 ", - "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", diff --git a/apps/docs/tsconfig.json b/apps/docs/tsconfig.json index 1563f3e8..9536a0f4 100644 --- a/apps/docs/tsconfig.json +++ b/apps/docs/tsconfig.json @@ -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" } diff --git a/apps/specs/LICENSE b/apps/specs/LICENSE deleted file mode 100644 index 490da1fe..00000000 --- a/apps/specs/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 Shu Ding - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/apps/specs/components/Logo.tsx b/apps/specs/components/Logo.jsx similarity index 100% rename from apps/specs/components/Logo.tsx rename to apps/specs/components/Logo.jsx diff --git a/apps/specs/package.json b/apps/specs/package.json index bca1d41e..b3c47cf3 100644 --- a/apps/specs/package.json +++ b/apps/specs/package.json @@ -1,5 +1,5 @@ { - "name": "nextra-docs-template", + "name": "namada-specs", "version": "0.0.1", "description": "Namada Docs", "scripts": { @@ -7,16 +7,6 @@ "build": "next build && next export", "start": "next start" }, - "repository": { - "type": "git", - "url": "git+https://github.com/shuding/nextra-docs-template.git" - }, - "author": "Shu Ding ", - "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", diff --git a/apps/specs/theme.config.tsx b/apps/specs/theme.config.tsx index dfdb3037..bd39a6e5 100644 --- a/apps/specs/theme.config.tsx +++ b/apps/specs/theme.config.tsx @@ -6,7 +6,7 @@ const config: DocsThemeConfig = { primaryHue: 180, useNextSeoProps() { return { - titleTemplate: "Namada Documentation - %s", + titleTemplate: "Namada Specs - %s", }; }, logo: , diff --git a/apps/specs/tsconfig.json b/apps/specs/tsconfig.json index 1563f3e8..9536a0f4 100644 --- a/apps/specs/tsconfig.json +++ b/apps/specs/tsconfig.json @@ -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" } diff --git a/tsconfig.base.json b/tsconfig.base.json new file mode 100644 index 00000000..1563f3e8 --- /dev/null +++ b/tsconfig.base.json @@ -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"] +}