create-content-sdk-app 2.0.0-canary.8 → 2.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.
Files changed (68) hide show
  1. package/LICENSE.MD +202 -202
  2. package/dist/initializers/angular/args.js +2 -0
  3. package/dist/initializers/angular/index.js +30 -0
  4. package/dist/initializers/angular/prompts.js +20 -0
  5. package/dist/templates/angular/.postcssrc.json +5 -0
  6. package/dist/templates/angular/.vscode/extensions.json +4 -0
  7. package/dist/templates/angular/README.md +3 -0
  8. package/dist/templates/angular/angular.json +79 -0
  9. package/dist/templates/angular/package.json +58 -0
  10. package/dist/templates/angular/public/favicon.ico +0 -0
  11. package/dist/templates/angular/src/app/app.config.server.ts +12 -0
  12. package/dist/templates/angular/src/app/app.config.ts +31 -0
  13. package/dist/templates/angular/src/app/app.css +0 -0
  14. package/dist/templates/angular/src/app/app.html +1 -0
  15. package/dist/templates/angular/src/app/app.routes.server.ts +15 -0
  16. package/dist/templates/angular/src/app/app.routes.ts +28 -0
  17. package/dist/templates/angular/src/app/app.ts +12 -0
  18. package/dist/templates/angular/src/app/loaders/error.loader.ts +12 -0
  19. package/dist/templates/angular/src/app/loaders/index.ts +14 -0
  20. package/dist/templates/angular/src/app/loaders/not-found.loader.ts +12 -0
  21. package/dist/templates/angular/src/app/loaders/page.loader.ts +15 -0
  22. package/dist/templates/angular/src/app/loaders/stub-utils.ts +83 -0
  23. package/dist/templates/angular/src/app/pages/error.component.ts +124 -0
  24. package/dist/templates/angular/src/app/pages/not-found.component.ts +85 -0
  25. package/dist/templates/angular/src/app/pages/page.component.ts +58 -0
  26. package/dist/templates/angular/src/app/shared/layout.component.ts +106 -0
  27. package/dist/templates/angular/src/index.html +13 -0
  28. package/dist/templates/angular/src/main.server.ts +8 -0
  29. package/dist/templates/angular/src/main.ts +6 -0
  30. package/dist/templates/angular/src/server.ts +65 -0
  31. package/dist/templates/angular/src/styles.css +3 -0
  32. package/dist/templates/angular/tsconfig.json +38 -0
  33. package/dist/templates/angular/tsconfig.spec.json +10 -0
  34. package/dist/templates/nextjs/.cursor/rules/general.mdc +81 -81
  35. package/dist/templates/nextjs/.cursor/rules/javascript.mdc +112 -112
  36. package/dist/templates/nextjs/.cursor/rules/project-setup.mdc +100 -100
  37. package/dist/templates/nextjs/.cursor/rules/sitecore.mdc +150 -150
  38. package/dist/templates/nextjs/.env.container.example +27 -27
  39. package/dist/templates/nextjs/.env.remote.example +51 -51
  40. package/dist/templates/nextjs/.gitattributes +11 -11
  41. package/dist/templates/nextjs/.prettierrc +8 -8
  42. package/dist/templates/nextjs/.vscode/extensions.json +8 -8
  43. package/dist/templates/nextjs/.vscode/launch.json +15 -15
  44. package/dist/templates/nextjs/.windsurfrules +186 -186
  45. package/dist/templates/nextjs/LICENSE.txt +202 -202
  46. package/dist/templates/nextjs/LLMs.txt +179 -179
  47. package/dist/templates/nextjs/eslint.config.mjs +81 -81
  48. package/dist/templates/nextjs/gitignore +28 -28
  49. package/dist/templates/nextjs/package.json +68 -68
  50. package/dist/templates/nextjs/sitecore.config.ts.example +40 -40
  51. package/dist/templates/nextjs/tsconfig.json +40 -40
  52. package/dist/templates/nextjs-app-router/.cursor/rules/app-router-setup.mdc +116 -116
  53. package/dist/templates/nextjs-app-router/.cursor/rules/general.mdc +80 -80
  54. package/dist/templates/nextjs-app-router/.cursor/rules/javascript.mdc +112 -112
  55. package/dist/templates/nextjs-app-router/.cursor/rules/sitecore.mdc +174 -174
  56. package/dist/templates/nextjs-app-router/.env.container.example +27 -27
  57. package/dist/templates/nextjs-app-router/.env.remote.example +51 -51
  58. package/dist/templates/nextjs-app-router/.gitattributes +11 -11
  59. package/dist/templates/nextjs-app-router/.windsurfrules +290 -290
  60. package/dist/templates/nextjs-app-router/LLMs.txt +236 -236
  61. package/dist/templates/nextjs-app-router/eslint.config.mjs +29 -29
  62. package/dist/templates/nextjs-app-router/gitignore +31 -31
  63. package/dist/templates/nextjs-app-router/package.json +54 -54
  64. package/dist/templates/nextjs-app-router/postcss.config.mjs +5 -5
  65. package/dist/templates/nextjs-app-router/sitecore.config.ts.example +40 -40
  66. package/dist/templates/nextjs-app-router/src/app/globals.css +1 -1
  67. package/dist/templates/nextjs-app-router/tsconfig.json +48 -48
  68. package/package.json +2 -2
@@ -1,236 +1,236 @@
1
- # Claude/Windsurf Guidance for Sitecore Content SDK Next.js App Router Project
2
-
3
- ## Project Context
4
- This is a Sitecore Content SDK application built with Next.js App Router, TypeScript, and React Server Components. The project integrates with Sitecore XM Cloud for headless content management and follows modern web development best practices with the latest Next.js App Router features.
5
-
6
- ## Architecture Overview
7
- - **Framework**: Next.js with App Router (Server Components by default)
8
- - **Language**: TypeScript with strict mode enabled
9
- - **CMS**: Sitecore XM Cloud (headless)
10
- - **SDK**: @sitecore-content-sdk for API integration
11
- - **Styling**: CSS Modules or Tailwind CSS
12
- - **State Management**: React Query/SWR for server state
13
- - **Internationalization**: next-intl for multi-language support
14
-
15
- ## Development Principles
16
-
17
- ### Code Organization
18
- - Use modular, feature-based architecture
19
- - Separate concerns: components, utilities, types, hooks
20
- - Follow Next.js App Router conventions
21
- - Implement proper error boundaries and loading states
22
- - Organize by Server vs Client Components appropriately
23
-
24
- ### TypeScript Standards
25
- - Enable strict mode and strict null checks
26
- - Use proper type definitions for Sitecore fields and components
27
- - Prefer type assertions over `any` type
28
- - Implement discriminated unions for complex state management
29
- - Define interfaces for all component props
30
-
31
- ### React App Router Patterns
32
- - Server Components for data fetching and static content (default)
33
- - Client Components only when interactivity is required ('use client')
34
- - Use React.memo for expensive components
35
- - Implement proper dependency arrays in hooks
36
- - Leverage App Router file conventions (layout.tsx, loading.tsx, error.tsx)
37
-
38
- ## Sitecore Integration Patterns
39
-
40
- ### Content Fetching
41
- - Use SitecoreClient for all API calls
42
- - Implement proper error handling with custom error classes
43
- - Cache responses using React Query or SWR
44
- - Handle preview vs. published content scenarios
45
- - Fetch data in Server Components when possible
46
-
47
- ### Component Development
48
- - Always use Sitecore field components (Text, RichText, Image)
49
- - Validate field existence before rendering
50
- - Handle missing or empty fields gracefully
51
- - Export components with proper TypeScript interfaces
52
- - Follow Server Component patterns for Sitecore content
53
-
54
- ### Field Handling
55
- ```typescript
56
- interface ComponentProps {
57
- fields: {
58
- title: Field;
59
- content: Field;
60
- image: Field;
61
- };
62
- }
63
-
64
- // Always validate fields
65
- <Text field={fields?.title} tag="h1" />
66
- <RichText field={fields?.content} />
67
- <Image field={fields?.image} />
68
- ```
69
-
70
- ### App Router Specific Patterns
71
- ```typescript
72
- // Server Component (default)
73
- export default async function SitecorePage({ params }: { params: { path: string[] } }) {
74
- const pageData = await client.getPage(params.path.join('/'));
75
- return <SitecoreLayout layoutData={pageData.layout} />;
76
- }
77
-
78
- // Client Component when needed
79
- 'use client';
80
- export default function InteractiveComponent({ fields }: ComponentProps) {
81
- // Client-side interactivity
82
- }
83
- ```
84
-
85
- ## Performance Best Practices
86
-
87
- ### App Router Optimization Strategies
88
- - Use Server Components for Sitecore content rendering
89
- - Leverage streaming for improved perceived performance
90
- - Implement proper caching headers
91
- - Optimize bundle size with Server Components
92
- - Use Next.js Image component for optimized images
93
- - Implement proper loading states and error boundaries
94
-
95
- ### Memory Management
96
- - Clean up subscriptions and event listeners
97
- - Use useCallback and useMemo appropriately in Client Components
98
- - Avoid memory leaks in useEffect hooks
99
- - Implement proper cleanup in custom hooks
100
- - Minimize client-side JavaScript bundle
101
-
102
- ### Caching Strategies
103
- - Cache Sitecore API responses appropriately
104
- - Use Next.js caching features
105
- - Handle content updates and cache invalidation
106
- - Consider CDN caching for static content
107
- - Implement proper revalidation strategies
108
-
109
- ## Security Guidelines
110
-
111
- ### Input Validation
112
- - Sanitize all user inputs before processing
113
- - Validate data at application boundaries
114
- - Use type guards for runtime type checking
115
- - Escape content when rendering to prevent XSS
116
-
117
- ### API Security
118
- - Use HTTPS for all Sitecore connections
119
- - Never expose API keys in client-side code
120
- - Implement proper authentication and authorization
121
- - Validate all data received from external sources
122
- - Use environment variables for sensitive configuration
123
-
124
- ### App Router Security
125
- - Keep sensitive operations in Server Components
126
- - Validate route parameters properly
127
- - Implement proper error boundaries
128
-
129
- ## Code Quality Standards
130
-
131
- ### Naming Conventions
132
- - Variables/Functions: camelCase (getUserData, isLoading)
133
- - Components: PascalCase (SitecoreComponent, PageLayout)
134
- - Constants: UPPER_SNAKE_CASE (API_ENDPOINT, MAX_RETRIES)
135
- - Types/Interfaces: PascalCase (ContentItem, LayoutProps)
136
- - Files: Match component names (SitecoreComponent.tsx)
137
-
138
- ### Error Handling
139
- - Create custom error classes for different error types
140
- - Implement proper error boundaries in React components
141
- - Use error.tsx files for route-level error handling
142
- - Log errors appropriately for debugging
143
- - Provide fallback content when components fail
144
-
145
- ### Testing Approach
146
- - Write testable code with minimal dependencies
147
- - Mock external services and Sitecore APIs
148
- - Test component behavior, not implementation details
149
- - Include tests for error scenarios and edge cases
150
- - Test both Server and Client Components appropriately
151
-
152
- ## Development Workflow
153
-
154
- ### Environment Setup
155
- 1. Install dependencies: `npm install`
156
- 2. Configure environment variables (copy .env.example to .env.local)
157
- 3. Set up Sitecore API credentials
158
- 4. Configure next-intl for internationalization
159
- 5. Start development server: `npm run dev`
160
-
161
- ### Build Process
162
- - Use `npm run build` for production builds
163
- - Enable TypeScript strict mode
164
- - Run linting and type checking before commits
165
- - Test both Server and Client Component functionality
166
-
167
- ## Common Patterns and Examples
168
-
169
- ### Sitecore Component Structure
170
- ```typescript
171
- interface HeroProps {
172
- fields: {
173
- title: Field;
174
- subtitle: Field;
175
- backgroundImage: Field;
176
- };
177
- }
178
-
179
- export default function Hero({ fields }: HeroProps) {
180
- return (
181
- <section className="hero">
182
- <Text field={fields?.title} tag="h1" />
183
- <Text field={fields?.subtitle} tag="p" />
184
- <Image field={fields?.backgroundImage} />
185
- </section>
186
- );
187
- }
188
- ```
189
-
190
- ### API Integration
191
- ```typescript
192
- import { SitecoreClient } from '@sitecore-content-sdk/nextjs/client';
193
- import scConfig from 'sitecore.config';
194
-
195
- const client = new SitecoreClient({
196
- ...scConfig,
197
- });
198
-
199
- async function fetchPageData(path: string) {
200
- try {
201
- const response = await client.getPage(path);
202
- return response?.layout;
203
- } catch (error) {
204
- throw new SitecoreFetchError(`Failed to fetch page: ${path}`, error);
205
- }
206
- }
207
- ```
208
-
209
- ### Internationalization
210
- ```typescript
211
- import { getTranslations } from 'next-intl/server';
212
-
213
- export default async function LocalizedPage() {
214
- const t = await getTranslations('common');
215
- // Fetch Sitecore content for current locale
216
- return <div>{t('welcome')}</div>;
217
- }
218
- ```
219
-
220
- ## Best Practices Summary
221
-
222
- 1. **Always validate Sitecore fields** before rendering
223
- 2. **Use proper TypeScript types** for all components and functions
224
- 3. **Implement error boundaries** for robust error handling
225
- 4. **Cache API responses** to improve performance
226
- 5. **Follow Next.js App Router conventions** for routing and data fetching
227
- 6. **Write testable code** with proper separation of concerns
228
- 7. **Use Sitecore field components** instead of manual rendering
229
- 8. **Implement proper loading states** for better UX
230
- 9. **Follow security best practices** for input validation
231
- 10. **Document public APIs** and complex functionality
232
- 11. **Leverage Server Components** for better performance
233
- 12. **Use Client Components sparingly** only when interactivity is needed
234
- 13. **Implement proper internationalization** with next-intl
235
- 14. **Follow App Router file conventions** (layout.tsx, loading.tsx, error.tsx)
236
- 15. **Optimize for Core Web Vitals** and user experience
1
+ # Claude/Windsurf Guidance for Sitecore Content SDK Next.js App Router Project
2
+
3
+ ## Project Context
4
+ This is a Sitecore Content SDK application built with Next.js App Router, TypeScript, and React Server Components. The project integrates with Sitecore XM Cloud for headless content management and follows modern web development best practices with the latest Next.js App Router features.
5
+
6
+ ## Architecture Overview
7
+ - **Framework**: Next.js with App Router (Server Components by default)
8
+ - **Language**: TypeScript with strict mode enabled
9
+ - **CMS**: Sitecore XM Cloud (headless)
10
+ - **SDK**: @sitecore-content-sdk for API integration
11
+ - **Styling**: CSS Modules or Tailwind CSS
12
+ - **State Management**: React Query/SWR for server state
13
+ - **Internationalization**: next-intl for multi-language support
14
+
15
+ ## Development Principles
16
+
17
+ ### Code Organization
18
+ - Use modular, feature-based architecture
19
+ - Separate concerns: components, utilities, types, hooks
20
+ - Follow Next.js App Router conventions
21
+ - Implement proper error boundaries and loading states
22
+ - Organize by Server vs Client Components appropriately
23
+
24
+ ### TypeScript Standards
25
+ - Enable strict mode and strict null checks
26
+ - Use proper type definitions for Sitecore fields and components
27
+ - Prefer type assertions over `any` type
28
+ - Implement discriminated unions for complex state management
29
+ - Define interfaces for all component props
30
+
31
+ ### React App Router Patterns
32
+ - Server Components for data fetching and static content (default)
33
+ - Client Components only when interactivity is required ('use client')
34
+ - Use React.memo for expensive components
35
+ - Implement proper dependency arrays in hooks
36
+ - Leverage App Router file conventions (layout.tsx, loading.tsx, error.tsx)
37
+
38
+ ## Sitecore Integration Patterns
39
+
40
+ ### Content Fetching
41
+ - Use SitecoreClient for all API calls
42
+ - Implement proper error handling with custom error classes
43
+ - Cache responses using React Query or SWR
44
+ - Handle preview vs. published content scenarios
45
+ - Fetch data in Server Components when possible
46
+
47
+ ### Component Development
48
+ - Always use Sitecore field components (Text, RichText, Image)
49
+ - Validate field existence before rendering
50
+ - Handle missing or empty fields gracefully
51
+ - Export components with proper TypeScript interfaces
52
+ - Follow Server Component patterns for Sitecore content
53
+
54
+ ### Field Handling
55
+ ```typescript
56
+ interface ComponentProps {
57
+ fields: {
58
+ title: Field;
59
+ content: Field;
60
+ image: Field;
61
+ };
62
+ }
63
+
64
+ // Always validate fields
65
+ <Text field={fields?.title} tag="h1" />
66
+ <RichText field={fields?.content} />
67
+ <Image field={fields?.image} />
68
+ ```
69
+
70
+ ### App Router Specific Patterns
71
+ ```typescript
72
+ // Server Component (default)
73
+ export default async function SitecorePage({ params }: { params: { path: string[] } }) {
74
+ const pageData = await client.getPage(params.path.join('/'));
75
+ return <SitecoreLayout layoutData={pageData.layout} />;
76
+ }
77
+
78
+ // Client Component when needed
79
+ 'use client';
80
+ export default function InteractiveComponent({ fields }: ComponentProps) {
81
+ // Client-side interactivity
82
+ }
83
+ ```
84
+
85
+ ## Performance Best Practices
86
+
87
+ ### App Router Optimization Strategies
88
+ - Use Server Components for Sitecore content rendering
89
+ - Leverage streaming for improved perceived performance
90
+ - Implement proper caching headers
91
+ - Optimize bundle size with Server Components
92
+ - Use Next.js Image component for optimized images
93
+ - Implement proper loading states and error boundaries
94
+
95
+ ### Memory Management
96
+ - Clean up subscriptions and event listeners
97
+ - Use useCallback and useMemo appropriately in Client Components
98
+ - Avoid memory leaks in useEffect hooks
99
+ - Implement proper cleanup in custom hooks
100
+ - Minimize client-side JavaScript bundle
101
+
102
+ ### Caching Strategies
103
+ - Cache Sitecore API responses appropriately
104
+ - Use Next.js caching features
105
+ - Handle content updates and cache invalidation
106
+ - Consider CDN caching for static content
107
+ - Implement proper revalidation strategies
108
+
109
+ ## Security Guidelines
110
+
111
+ ### Input Validation
112
+ - Sanitize all user inputs before processing
113
+ - Validate data at application boundaries
114
+ - Use type guards for runtime type checking
115
+ - Escape content when rendering to prevent XSS
116
+
117
+ ### API Security
118
+ - Use HTTPS for all Sitecore connections
119
+ - Never expose API keys in client-side code
120
+ - Implement proper authentication and authorization
121
+ - Validate all data received from external sources
122
+ - Use environment variables for sensitive configuration
123
+
124
+ ### App Router Security
125
+ - Keep sensitive operations in Server Components
126
+ - Validate route parameters properly
127
+ - Implement proper error boundaries
128
+
129
+ ## Code Quality Standards
130
+
131
+ ### Naming Conventions
132
+ - Variables/Functions: camelCase (getUserData, isLoading)
133
+ - Components: PascalCase (SitecoreComponent, PageLayout)
134
+ - Constants: UPPER_SNAKE_CASE (API_ENDPOINT, MAX_RETRIES)
135
+ - Types/Interfaces: PascalCase (ContentItem, LayoutProps)
136
+ - Files: Match component names (SitecoreComponent.tsx)
137
+
138
+ ### Error Handling
139
+ - Create custom error classes for different error types
140
+ - Implement proper error boundaries in React components
141
+ - Use error.tsx files for route-level error handling
142
+ - Log errors appropriately for debugging
143
+ - Provide fallback content when components fail
144
+
145
+ ### Testing Approach
146
+ - Write testable code with minimal dependencies
147
+ - Mock external services and Sitecore APIs
148
+ - Test component behavior, not implementation details
149
+ - Include tests for error scenarios and edge cases
150
+ - Test both Server and Client Components appropriately
151
+
152
+ ## Development Workflow
153
+
154
+ ### Environment Setup
155
+ 1. Install dependencies: `npm install`
156
+ 2. Configure environment variables (copy .env.example to .env.local)
157
+ 3. Set up Sitecore API credentials
158
+ 4. Configure next-intl for internationalization
159
+ 5. Start development server: `npm run dev`
160
+
161
+ ### Build Process
162
+ - Use `npm run build` for production builds
163
+ - Enable TypeScript strict mode
164
+ - Run linting and type checking before commits
165
+ - Test both Server and Client Component functionality
166
+
167
+ ## Common Patterns and Examples
168
+
169
+ ### Sitecore Component Structure
170
+ ```typescript
171
+ interface HeroProps {
172
+ fields: {
173
+ title: Field;
174
+ subtitle: Field;
175
+ backgroundImage: Field;
176
+ };
177
+ }
178
+
179
+ export default function Hero({ fields }: HeroProps) {
180
+ return (
181
+ <section className="hero">
182
+ <Text field={fields?.title} tag="h1" />
183
+ <Text field={fields?.subtitle} tag="p" />
184
+ <Image field={fields?.backgroundImage} />
185
+ </section>
186
+ );
187
+ }
188
+ ```
189
+
190
+ ### API Integration
191
+ ```typescript
192
+ import { SitecoreClient } from '@sitecore-content-sdk/nextjs/client';
193
+ import scConfig from 'sitecore.config';
194
+
195
+ const client = new SitecoreClient({
196
+ ...scConfig,
197
+ });
198
+
199
+ async function fetchPageData(path: string) {
200
+ try {
201
+ const response = await client.getPage(path);
202
+ return response?.layout;
203
+ } catch (error) {
204
+ throw new SitecoreFetchError(`Failed to fetch page: ${path}`, error);
205
+ }
206
+ }
207
+ ```
208
+
209
+ ### Internationalization
210
+ ```typescript
211
+ import { getTranslations } from 'next-intl/server';
212
+
213
+ export default async function LocalizedPage() {
214
+ const t = await getTranslations('common');
215
+ // Fetch Sitecore content for current locale
216
+ return <div>{t('welcome')}</div>;
217
+ }
218
+ ```
219
+
220
+ ## Best Practices Summary
221
+
222
+ 1. **Always validate Sitecore fields** before rendering
223
+ 2. **Use proper TypeScript types** for all components and functions
224
+ 3. **Implement error boundaries** for robust error handling
225
+ 4. **Cache API responses** to improve performance
226
+ 5. **Follow Next.js App Router conventions** for routing and data fetching
227
+ 6. **Write testable code** with proper separation of concerns
228
+ 7. **Use Sitecore field components** instead of manual rendering
229
+ 8. **Implement proper loading states** for better UX
230
+ 9. **Follow security best practices** for input validation
231
+ 10. **Document public APIs** and complex functionality
232
+ 11. **Leverage Server Components** for better performance
233
+ 12. **Use Client Components sparingly** only when interactivity is needed
234
+ 13. **Implement proper internationalization** with next-intl
235
+ 14. **Follow App Router file conventions** (layout.tsx, loading.tsx, error.tsx)
236
+ 15. **Optimize for Core Web Vitals** and user experience
@@ -1,29 +1,29 @@
1
- import { dirname } from "path";
2
- import { fileURLToPath } from "url";
3
- import { FlatCompat } from "@eslint/eslintrc";
4
-
5
- const __filename = fileURLToPath(import.meta.url);
6
- const __dirname = dirname(__filename);
7
-
8
- const compat = new FlatCompat({
9
- baseDirectory: __dirname,
10
- });
11
-
12
- const eslintConfig = [
13
- ...compat.extends("next/core-web-vitals", "next/typescript"),
14
- {
15
- rules: {
16
- // Don't force alt for <Image/> (sourced from Sitecore media)
17
- "jsx-a11y/alt-text": "off",
18
- },
19
- ignores: [
20
- "node_modules/**",
21
- ".next/**",
22
- "out/**",
23
- "build/**",
24
- "next-env.d.ts",
25
- ],
26
- },
27
- ];
28
-
29
- export default eslintConfig;
1
+ import { dirname } from "path";
2
+ import { fileURLToPath } from "url";
3
+ import { FlatCompat } from "@eslint/eslintrc";
4
+
5
+ const __filename = fileURLToPath(import.meta.url);
6
+ const __dirname = dirname(__filename);
7
+
8
+ const compat = new FlatCompat({
9
+ baseDirectory: __dirname,
10
+ });
11
+
12
+ const eslintConfig = [
13
+ ...compat.extends("next/core-web-vitals", "next/typescript"),
14
+ {
15
+ rules: {
16
+ // Don't force alt for <Image/> (sourced from Sitecore media)
17
+ "jsx-a11y/alt-text": "off",
18
+ },
19
+ ignores: [
20
+ "node_modules/**",
21
+ ".next/**",
22
+ "out/**",
23
+ "build/**",
24
+ "next-env.d.ts",
25
+ ],
26
+ },
27
+ ];
28
+
29
+ export default eslintConfig;
@@ -1,31 +1,31 @@
1
- # See https://help.github.com/ignore-files/ for more about ignoring files.
2
-
3
- # dependencies
4
- /node_modules
5
-
6
- # next.js
7
- /.next*/
8
- /out/
9
-
10
- # misc
11
- .DS_Store
12
-
13
- # local env files
14
- .env.local
15
- .env.*.local
16
- .env
17
-
18
- # Log files
19
- *.log*
20
-
21
- # vercel
22
- .vercel
23
-
24
- # sitecore temp files
25
- .sitecore/*
26
- # except for component-map
27
- !.sitecore/component-map.ts
28
- !.sitecore/component-map.client.ts
29
- !.sitecore/import-map.ts
30
- !.sitecore/import-map.server.ts
31
- !.sitecore/import-map.client.ts
1
+ # See https://help.github.com/ignore-files/ for more about ignoring files.
2
+
3
+ # dependencies
4
+ /node_modules
5
+
6
+ # next.js
7
+ /.next*/
8
+ /out/
9
+
10
+ # misc
11
+ .DS_Store
12
+
13
+ # local env files
14
+ .env.local
15
+ .env.*.local
16
+ .env
17
+
18
+ # Log files
19
+ *.log*
20
+
21
+ # vercel
22
+ .vercel
23
+
24
+ # sitecore temp files
25
+ .sitecore/*
26
+ # except for component-map
27
+ !.sitecore/component-map.ts
28
+ !.sitecore/component-map.client.ts
29
+ !.sitecore/import-map.ts
30
+ !.sitecore/import-map.server.ts
31
+ !.sitecore/import-map.client.ts