@apollo-deploy/typescript-config 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base.json +19 -0
- package/components-paths.json +30 -0
- package/nextjs.json +16 -0
- package/package.json +8 -0
package/base.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"target": "ES2020",
|
|
5
|
+
"lib": ["ES2020"],
|
|
6
|
+
"allowJs": true,
|
|
7
|
+
"skipLibCheck": true,
|
|
8
|
+
"strict": true,
|
|
9
|
+
"noEmit": true,
|
|
10
|
+
"esModuleInterop": true,
|
|
11
|
+
"module": "ESNext",
|
|
12
|
+
"moduleResolution": "bundler",
|
|
13
|
+
"resolveJsonModule": true,
|
|
14
|
+
"isolatedModules": true,
|
|
15
|
+
"forceConsistentCasingInFileNames": true,
|
|
16
|
+
"incremental": true
|
|
17
|
+
},
|
|
18
|
+
"exclude": ["node_modules"]
|
|
19
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"paths": {
|
|
4
|
+
"@apollo-deploy/components": ["../../packages/ui/index.ts"],
|
|
5
|
+
"@apollo-deploy/components/layouts": ["../../packages/ui/src/layouts/index.ts"],
|
|
6
|
+
"@apollo-deploy/components/layouts/*": ["../../packages/ui/src/layouts/*"],
|
|
7
|
+
"@apollo-deploy/components/utils": ["../../packages/ui/src/foundation/utils/index.ts"],
|
|
8
|
+
"@apollo-deploy/components/utils/*": ["../../packages/ui/src/foundation/utils/*"],
|
|
9
|
+
"@apollo-deploy/components/foundation": ["../../packages/ui/src/foundation/index.ts"],
|
|
10
|
+
"@apollo-deploy/components/foundation/*": ["../../packages/ui/src/foundation/*"],
|
|
11
|
+
"@apollo-deploy/components/primitives": ["../../packages/ui/src/primitives/index.ts"],
|
|
12
|
+
"@apollo-deploy/components/primitives/*": ["../../packages/ui/src/primitives/*"],
|
|
13
|
+
"@apollo-deploy/components/patterns": ["../../packages/ui/src/patterns/index.ts"],
|
|
14
|
+
"@apollo-deploy/components/patterns/*": ["../../packages/ui/src/patterns/*"],
|
|
15
|
+
"@apollo-deploy/components/hooks": ["../../packages/ui/src/hooks/index.ts"],
|
|
16
|
+
"@apollo-deploy/components/hooks/*": ["../../packages/ui/src/hooks/*"],
|
|
17
|
+
"@apollo-deploy/components/settings": ["../../packages/ui/src/layouts/settings/index.ts"],
|
|
18
|
+
"@apollo-deploy/components/seo": ["../../packages/ui/src/foundation/seo/index.ts"],
|
|
19
|
+
"@apollo-deploy/components/analytics": ["../../packages/ui/src/foundation/analytics/index.ts"],
|
|
20
|
+
"@apollo-deploy/components/marketing": ["../../packages/ui/src/_legacy/marketing/index.ts"],
|
|
21
|
+
"@apollo-deploy/components/components/*": ["../../packages/ui/src/primitives/*"],
|
|
22
|
+
"@apollo-deploy/components/table/*": ["../../packages/ui/src/patterns/data-display/table/*"],
|
|
23
|
+
"@apollo-deploy/components/section/*": ["../../packages/ui/src/patterns/forms/*"],
|
|
24
|
+
"@apollo-deploy/components/charts/kpi-card": ["../../packages/ui/src/patterns/data-display/charts/kpi-card/index.ts"],
|
|
25
|
+
"@apollo-deploy/components/charts/*": ["../../packages/ui/src/patterns/data-display/charts/*"],
|
|
26
|
+
"@apollo-deploy/components/features": ["../../packages/ui/src/features/index.ts"],
|
|
27
|
+
"@apollo-deploy/components/providers": ["../../packages/ui/src/providers/index.ts"]
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
package/nextjs.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"extends": "./base.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"target": "ES2020",
|
|
6
|
+
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
7
|
+
"jsx": "preserve",
|
|
8
|
+
"plugins": [
|
|
9
|
+
{
|
|
10
|
+
"name": "next"
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
15
|
+
"exclude": ["node_modules"]
|
|
16
|
+
}
|