diff options
Diffstat (limited to 'examples/with-npm/packages')
| -rw-r--r-- | examples/with-npm/packages/eslint-config-custom/index.js | 6 | ||||
| -rw-r--r-- | examples/with-npm/packages/eslint-config-custom/package.json | 22 | ||||
| -rw-r--r-- | examples/with-npm/packages/tsconfig/base.json | 20 | ||||
| -rw-r--r-- | examples/with-npm/packages/tsconfig/nextjs.json | 20 | ||||
| -rw-r--r-- | examples/with-npm/packages/tsconfig/package.json | 9 | ||||
| -rw-r--r-- | examples/with-npm/packages/tsconfig/react-library.json | 11 | ||||
| -rw-r--r-- | examples/with-npm/packages/ui/Button.tsx | 5 | ||||
| -rw-r--r-- | examples/with-npm/packages/ui/index.tsx | 2 | ||||
| -rw-r--r-- | examples/with-npm/packages/ui/package.json | 19 | ||||
| -rw-r--r-- | examples/with-npm/packages/ui/tsconfig.json | 5 |
10 files changed, 0 insertions, 119 deletions
diff --git a/examples/with-npm/packages/eslint-config-custom/index.js b/examples/with-npm/packages/eslint-config-custom/index.js deleted file mode 100644 index 6024e8d..0000000 --- a/examples/with-npm/packages/eslint-config-custom/index.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - extends: ["next", "turbo", "prettier"], - rules: { - "@next/next/no-html-link-for-pages": "off", - }, -}; diff --git a/examples/with-npm/packages/eslint-config-custom/package.json b/examples/with-npm/packages/eslint-config-custom/package.json deleted file mode 100644 index 4effb9e..0000000 --- a/examples/with-npm/packages/eslint-config-custom/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "eslint-config-custom", - "version": "0.0.0", - "main": "index.js", - "license": "MIT", - "dependencies": { - "eslint-config-next": "latest", - "eslint-config-prettier": "^8.3.0", - "eslint-config-turbo": "latest", - "eslint-plugin-react": "7.28.0" - }, - "devDependencies": { - "eslint": "7.32.0", - "next": "latest", - "react": "18.2", - "react-dom": "18.2", - "typescript": "^4.5.3" - }, - "publishConfig": { - "access": "public" - } -} diff --git a/examples/with-npm/packages/tsconfig/base.json b/examples/with-npm/packages/tsconfig/base.json deleted file mode 100644 index d72a9f3..0000000 --- a/examples/with-npm/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-npm/packages/tsconfig/nextjs.json b/examples/with-npm/packages/tsconfig/nextjs.json deleted file mode 100644 index e45500d..0000000 --- a/examples/with-npm/packages/tsconfig/nextjs.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "display": "Next.js", - "extends": "./base.json", - "compilerOptions": { - "allowJs": true, - "declaration": false, - "declarationMap": false, - "incremental": true, - "jsx": "preserve", - "lib": ["dom", "dom.iterable", "esnext"], - "module": "esnext", - "noEmit": true, - "resolveJsonModule": true, - "strict": false, - "target": "es5" - }, - "include": ["src", "next-env.d.ts"], - "exclude": ["node_modules"] -} diff --git a/examples/with-npm/packages/tsconfig/package.json b/examples/with-npm/packages/tsconfig/package.json deleted file mode 100644 index 6efb83e..0000000 --- a/examples/with-npm/packages/tsconfig/package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "tsconfig", - "version": "0.0.0", - "private": true, - "license": "MIT", - "publishConfig": { - "access": "public" - } -} diff --git a/examples/with-npm/packages/tsconfig/react-library.json b/examples/with-npm/packages/tsconfig/react-library.json deleted file mode 100644 index af8711c..0000000 --- a/examples/with-npm/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-npm/packages/ui/Button.tsx b/examples/with-npm/packages/ui/Button.tsx deleted file mode 100644 index 3e5afc7..0000000 --- a/examples/with-npm/packages/ui/Button.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import * as React from "react"; - -export const Button = () => { - return <button>Boop</button>; -}; diff --git a/examples/with-npm/packages/ui/index.tsx b/examples/with-npm/packages/ui/index.tsx deleted file mode 100644 index 916730e..0000000 --- a/examples/with-npm/packages/ui/index.tsx +++ /dev/null @@ -1,2 +0,0 @@ -import * as React from "react"; -export * from "./Button"; diff --git a/examples/with-npm/packages/ui/package.json b/examples/with-npm/packages/ui/package.json deleted file mode 100644 index ce16212..0000000 --- a/examples/with-npm/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": "^17.0.37", - "@types/react-dom": "^17.0.11", - "eslint": "^7.32.0", - "eslint-config-custom": "*", - "react": "18.2", - "tsconfig": "*", - "typescript": "^4.5.2" - } -} diff --git a/examples/with-npm/packages/ui/tsconfig.json b/examples/with-npm/packages/ui/tsconfig.json deleted file mode 100644 index cd6c94d..0000000 --- a/examples/with-npm/packages/ui/tsconfig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "extends": "tsconfig/react-library.json", - "include": ["."], - "exclude": ["dist", "build", "node_modules"] -} |
