diff options
| author | 2023-11-03 21:17:06 +0800 | |
|---|---|---|
| committer | 2023-11-03 21:17:06 +0800 | |
| commit | 94071d7ce16c56641d67d488e2bac6be84ffe731 (patch) | |
| tree | d837b71575aba805e18b3db3d056a106d81818fe /examples/with-gatsby/packages | |
| parent | 9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 (diff) | |
| download | HydroRoll-94071d7ce16c56641d67d488e2bac6be84ffe731.tar.gz HydroRoll-94071d7ce16c56641d67d488e2bac6be84ffe731.zip | |
chore: delete useless files
Diffstat (limited to 'examples/with-gatsby/packages')
14 files changed, 0 insertions, 178 deletions
diff --git a/examples/with-gatsby/packages/eslint-config-custom/next.js b/examples/with-gatsby/packages/eslint-config-custom/next.js deleted file mode 100644 index c9523f1..0000000 --- a/examples/with-gatsby/packages/eslint-config-custom/next.js +++ /dev/null @@ -1,11 +0,0 @@ -module.exports = { - extends: ["next", "turbo", "prettier"], - rules: { - "@next/next/no-html-link-for-pages": "off", - }, - parserOptions: { - babelOptions: { - presets: [require.resolve("next/babel")], - }, - }, -}; diff --git a/examples/with-gatsby/packages/eslint-config-custom/package.json b/examples/with-gatsby/packages/eslint-config-custom/package.json deleted file mode 100644 index c519df6..0000000 --- a/examples/with-gatsby/packages/eslint-config-custom/package.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "eslint-config-custom", - "version": "0.0.0", - "private": true, - "main": "index.js", - "license": "MIT", - "files": [ - "next.js", - "gatsby.js" - ], - "dependencies": { - "babel-eslint": "^10.1.0", - "eslint": "^7.23.0", - "eslint-config-next": "13.0.0", - "eslint-config-prettier": "^8.3.0", - "eslint-config-turbo": "latest", - "eslint-plugin-gatsby": "^1.0.2", - "eslint-plugin-react": "7.31.8" - }, - "devDependencies": { - "@types/eslint": "^8.21.2", - "eslint-config-react-app": "^7.0.1", - "typescript": "^4.7.4" - } -} diff --git a/examples/with-gatsby/packages/eslint-config-custom/react.js b/examples/with-gatsby/packages/eslint-config-custom/react.js deleted file mode 100644 index 0307bf6..0000000 --- a/examples/with-gatsby/packages/eslint-config-custom/react.js +++ /dev/null @@ -1,11 +0,0 @@ -module.exports = { - extends: ["react-app", "turbo", "prettier"], - rules: { - "@next/next/no-html-link-for-pages": "off", - }, - parserOptions: { - babelOptions: { - presets: [require.resolve("next/babel")], - }, - }, -}; diff --git a/examples/with-gatsby/packages/tsconfig/README.md b/examples/with-gatsby/packages/tsconfig/README.md deleted file mode 100644 index 0da79cf..0000000 --- a/examples/with-gatsby/packages/tsconfig/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `tsconfig` - -These are base shared `tsconfig.json`s from which all other `tsconfig.json`'s inherit from. diff --git a/examples/with-gatsby/packages/tsconfig/base.json b/examples/with-gatsby/packages/tsconfig/base.json deleted file mode 100644 index d72a9f3..0000000 --- a/examples/with-gatsby/packages/tsconfig/base.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "display": "Default", - "compilerOptions": { - "composite": false, - "declaration": true, - "declarationMap": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "inlineSources": false, - "isolatedModules": true, - "moduleResolution": "node", - "noUnusedLocals": false, - "noUnusedParameters": false, - "preserveWatchOutput": true, - "skipLibCheck": true, - "strict": true - }, - "exclude": ["node_modules"] -} diff --git a/examples/with-gatsby/packages/tsconfig/gatsby.json b/examples/with-gatsby/packages/tsconfig/gatsby.json deleted file mode 100644 index ea4e59f..0000000 --- a/examples/with-gatsby/packages/tsconfig/gatsby.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "display": "Gatsby", - "extends": "./base.json", - "compilerOptions": { - "target": "esnext", - "lib": ["dom", "esnext"], - "allowJs": true, - "skipLibCheck": true, - "strict": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true, - "incremental": true, - "esModuleInterop": true, - "module": "esnext", - "resolveJsonModule": true, - "isolatedModules": true, - "jsx": "react" - }, - "include": [ - "./src/**/*", - "./gatsby-node.ts", - "./gatsby-config.ts", - "./plugins/**/*" - ], - "exclude": ["node_modules"] -} diff --git a/examples/with-gatsby/packages/tsconfig/nextjs.json b/examples/with-gatsby/packages/tsconfig/nextjs.json deleted file mode 100644 index 3b7dfa9..0000000 --- a/examples/with-gatsby/packages/tsconfig/nextjs.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "display": "Next.js", - "extends": "./base.json", - "compilerOptions": { - "target": "es5", - "lib": ["dom", "dom.iterable", "esnext"], - "allowJs": true, - "skipLibCheck": true, - "strict": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true, - "incremental": true, - "esModuleInterop": true, - "module": "esnext", - "resolveJsonModule": true, - "isolatedModules": true, - "jsx": "preserve" - }, - "include": ["src", "next-env.d.ts"], - "exclude": ["node_modules"] -} diff --git a/examples/with-gatsby/packages/tsconfig/package.json b/examples/with-gatsby/packages/tsconfig/package.json deleted file mode 100644 index 23e0c0f..0000000 --- a/examples/with-gatsby/packages/tsconfig/package.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "tsconfig", - "version": "0.0.0", - "private": true, - "files": [ - "base.json", - "nextjs.json", - "gatsby.json", - "react-library.json" - ] -} diff --git a/examples/with-gatsby/packages/tsconfig/react-library.json b/examples/with-gatsby/packages/tsconfig/react-library.json deleted file mode 100644 index af8711c..0000000 --- a/examples/with-gatsby/packages/tsconfig/react-library.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "display": "React Library", - "extends": "./base.json", - "compilerOptions": { - "jsx": "react-jsx", - "lib": ["ES2015"], - "module": "ESNext", - "target": "es6" - } -} diff --git a/examples/with-gatsby/packages/ui/.eslintrc.js b/examples/with-gatsby/packages/ui/.eslintrc.js deleted file mode 100644 index 9c4577c..0000000 --- a/examples/with-gatsby/packages/ui/.eslintrc.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - root: true, - extends: ["custom/react"], - rules: { - "@typescript-eslint/no-unused-vars": "off", - }, -}; diff --git a/examples/with-gatsby/packages/ui/Button.tsx b/examples/with-gatsby/packages/ui/Button.tsx deleted file mode 100644 index 7d5c6a7..0000000 --- a/examples/with-gatsby/packages/ui/Button.tsx +++ /dev/null @@ -1,4 +0,0 @@ -import * as React from "react"; -export const Button = () => { - return <button>Boop</button>; -}; diff --git a/examples/with-gatsby/packages/ui/index.tsx b/examples/with-gatsby/packages/ui/index.tsx deleted file mode 100644 index 916730e..0000000 --- a/examples/with-gatsby/packages/ui/index.tsx +++ /dev/null @@ -1,2 +0,0 @@ -import * as React from "react"; -export * from "./Button"; diff --git a/examples/with-gatsby/packages/ui/package.json b/examples/with-gatsby/packages/ui/package.json deleted file mode 100644 index 17b3a32..0000000 --- a/examples/with-gatsby/packages/ui/package.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "ui", - "version": "0.0.0", - "main": "./index.tsx", - "types": "./index.tsx", - "license": "MIT", - "scripts": { - "lint": "eslint *.ts*" - }, - "devDependencies": { - "@types/react": "^18.0.17", - "@types/react-dom": "^18.0.6", - "eslint": "^7.32.0", - "eslint-config-custom": "workspace:*", - "react": "^18.2.0", - "tsconfig": "workspace:*", - "typescript": "^4.5.2" - } -} diff --git a/examples/with-gatsby/packages/ui/tsconfig.json b/examples/with-gatsby/packages/ui/tsconfig.json deleted file mode 100644 index cd6c94d..0000000 --- a/examples/with-gatsby/packages/ui/tsconfig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "extends": "tsconfig/react-library.json", - "include": ["."], - "exclude": ["dist", "build", "node_modules"] -} |
