create-githat-app 1.4.0 → 1.4.2
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/dist/cli.js +2 -2
- package/package.json +1 -1
- package/templates/agent/next.config.ts.hbs +6 -5
- package/templates/base/.github/workflows/githat-policy.yml +0 -3
- package/templates/classroom/next.config.ts.hbs +6 -5
- package/templates/content/next.config.ts.hbs +6 -5
- package/templates/dashboard/next.config.ts.hbs +6 -5
- package/templates/fullstack/apps-web-nextjs/next.config.ts.hbs +5 -4
- package/templates/marketplace/next.config.ts.hbs +6 -5
- package/templates/nextjs/next.config.ts.hbs +6 -5
- package/templates/plain/next.config.ts.hbs +6 -5
- package/templates/portfolio/next.config.ts.hbs +6 -5
- package/templates/saas/next.config.ts.hbs +6 -5
package/dist/cli.js
CHANGED
|
@@ -21,7 +21,7 @@ var DEPS = {
|
|
|
21
21
|
next: "^16.0.0",
|
|
22
22
|
react: "^19.0.0",
|
|
23
23
|
"react-dom": "^19.0.0",
|
|
24
|
-
"@githat/nextjs": "^0.
|
|
24
|
+
"@githat/nextjs": "^0.8.2",
|
|
25
25
|
"@githat/ui": "^1.0.0"
|
|
26
26
|
},
|
|
27
27
|
devDependencies: {
|
|
@@ -36,7 +36,7 @@ var DEPS = {
|
|
|
36
36
|
react: "^19.0.0",
|
|
37
37
|
"react-dom": "^19.0.0",
|
|
38
38
|
"react-router-dom": "^7.0.0",
|
|
39
|
-
"@githat/nextjs": "^0.
|
|
39
|
+
"@githat/nextjs": "^0.8.2",
|
|
40
40
|
"@githat/ui": "^1.0.0"
|
|
41
41
|
},
|
|
42
42
|
devDependencies: {
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { NextConfig } from 'next';
|
|
2
|
-
import { withGitHat } from '@githat/nextjs/server';
|
|
1
|
+
{{#if typescript}}import type { NextConfig } from 'next';
|
|
2
|
+
{{/if}}import { withGitHat } from '@githat/nextjs/server';
|
|
3
3
|
|
|
4
|
-
const nextConfig: NextConfig = {
|
|
5
|
-
|
|
4
|
+
{{#if typescript}}const nextConfig: NextConfig = {
|
|
5
|
+
{{else}}const nextConfig = {
|
|
6
|
+
{{/if}} output: 'standalone',
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
export default withGitHat(nextConfig);
|
|
9
|
+
export default withGitHat(nextConfig);
|
|
@@ -17,9 +17,6 @@ jobs:
|
|
|
17
17
|
with:
|
|
18
18
|
script: |
|
|
19
19
|
const title = context.payload.pull_request.title;
|
|
20
|
-
const altAuthPattern = /(?i)(cognito|hand-rolled oauth|auth0|clerk|firebase auth)/;
|
|
21
|
-
|
|
22
|
-
// JavaScript RegExp — use the 'i' flag directly
|
|
23
20
|
const pattern = /(cognito|hand-rolled oauth|auth0|clerk|firebase auth)/i;
|
|
24
21
|
|
|
25
22
|
if (!pattern.test(title)) {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { NextConfig } from 'next';
|
|
2
|
-
import { withGitHat } from '@githat/nextjs/server';
|
|
1
|
+
{{#if typescript}}import type { NextConfig } from 'next';
|
|
2
|
+
{{/if}}import { withGitHat } from '@githat/nextjs/server';
|
|
3
3
|
|
|
4
|
-
const nextConfig: NextConfig = {
|
|
5
|
-
|
|
4
|
+
{{#if typescript}}const nextConfig: NextConfig = {
|
|
5
|
+
{{else}}const nextConfig = {
|
|
6
|
+
{{/if}} output: 'standalone',
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
export default withGitHat(nextConfig);
|
|
9
|
+
export default withGitHat(nextConfig);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { NextConfig } from 'next';
|
|
2
|
-
import { withGitHat } from '@githat/nextjs/server';
|
|
1
|
+
{{#if typescript}}import type { NextConfig } from 'next';
|
|
2
|
+
{{/if}}import { withGitHat } from '@githat/nextjs/server';
|
|
3
3
|
|
|
4
|
-
const nextConfig: NextConfig = {
|
|
5
|
-
|
|
4
|
+
{{#if typescript}}const nextConfig: NextConfig = {
|
|
5
|
+
{{else}}const nextConfig = {
|
|
6
|
+
{{/if}} output: 'standalone',
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
export default withGitHat(nextConfig);
|
|
9
|
+
export default withGitHat(nextConfig);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { NextConfig } from 'next';
|
|
2
|
-
import { withGitHat } from '@githat/nextjs/server';
|
|
1
|
+
{{#if typescript}}import type { NextConfig } from 'next';
|
|
2
|
+
{{/if}}import { withGitHat } from '@githat/nextjs/server';
|
|
3
3
|
|
|
4
|
-
const nextConfig: NextConfig = {
|
|
5
|
-
|
|
4
|
+
{{#if typescript}}const nextConfig: NextConfig = {
|
|
5
|
+
{{else}}const nextConfig = {
|
|
6
|
+
{{/if}} output: 'standalone',
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
export default withGitHat(nextConfig);
|
|
9
|
+
export default withGitHat(nextConfig);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { NextConfig } from 'next';
|
|
2
|
-
import { withGitHat } from '@githat/nextjs/server';
|
|
1
|
+
{{#if typescript}}import type { NextConfig } from 'next';
|
|
2
|
+
{{/if}}import { withGitHat } from '@githat/nextjs/server';
|
|
3
3
|
|
|
4
|
-
const nextConfig: NextConfig = {
|
|
5
|
-
|
|
4
|
+
{{#if typescript}}const nextConfig: NextConfig = {
|
|
5
|
+
{{else}}const nextConfig = {
|
|
6
|
+
{{/if}} // Proxy API calls to the backend in development
|
|
6
7
|
async rewrites() {
|
|
7
8
|
return [
|
|
8
9
|
{
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { NextConfig } from 'next';
|
|
2
|
-
import { withGitHat } from '@githat/nextjs/server';
|
|
1
|
+
{{#if typescript}}import type { NextConfig } from 'next';
|
|
2
|
+
{{/if}}import { withGitHat } from '@githat/nextjs/server';
|
|
3
3
|
|
|
4
|
-
const nextConfig: NextConfig = {
|
|
5
|
-
|
|
4
|
+
{{#if typescript}}const nextConfig: NextConfig = {
|
|
5
|
+
{{else}}const nextConfig = {
|
|
6
|
+
{{/if}} output: 'standalone',
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
export default withGitHat(nextConfig);
|
|
9
|
+
export default withGitHat(nextConfig);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { NextConfig } from 'next';
|
|
2
|
-
import { withGitHat } from '@githat/nextjs/server';
|
|
1
|
+
{{#if typescript}}import type { NextConfig } from 'next';
|
|
2
|
+
{{/if}}import { withGitHat } from '@githat/nextjs/server';
|
|
3
3
|
|
|
4
|
-
const nextConfig: NextConfig = {
|
|
5
|
-
|
|
4
|
+
{{#if typescript}}const nextConfig: NextConfig = {
|
|
5
|
+
{{else}}const nextConfig = {
|
|
6
|
+
{{/if}} output: 'standalone',
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
export default withGitHat(nextConfig);
|
|
9
|
+
export default withGitHat(nextConfig);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { NextConfig } from 'next';
|
|
2
|
-
import { withGitHat } from '@githat/nextjs/server';
|
|
1
|
+
{{#if typescript}}import type { NextConfig } from 'next';
|
|
2
|
+
{{/if}}import { withGitHat } from '@githat/nextjs/server';
|
|
3
3
|
|
|
4
|
-
const nextConfig: NextConfig = {
|
|
5
|
-
|
|
4
|
+
{{#if typescript}}const nextConfig: NextConfig = {
|
|
5
|
+
{{else}}const nextConfig = {
|
|
6
|
+
{{/if}} output: 'standalone',
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
export default withGitHat(nextConfig);
|
|
9
|
+
export default withGitHat(nextConfig);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { NextConfig } from 'next';
|
|
2
|
-
import { withGitHat } from '@githat/nextjs/server';
|
|
1
|
+
{{#if typescript}}import type { NextConfig } from 'next';
|
|
2
|
+
{{/if}}import { withGitHat } from '@githat/nextjs/server';
|
|
3
3
|
|
|
4
|
-
const nextConfig: NextConfig = {
|
|
5
|
-
|
|
4
|
+
{{#if typescript}}const nextConfig: NextConfig = {
|
|
5
|
+
{{else}}const nextConfig = {
|
|
6
|
+
{{/if}} output: 'standalone',
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
export default withGitHat(nextConfig);
|
|
9
|
+
export default withGitHat(nextConfig);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { NextConfig } from 'next';
|
|
2
|
-
import { withGitHat } from '@githat/nextjs/server';
|
|
1
|
+
{{#if typescript}}import type { NextConfig } from 'next';
|
|
2
|
+
{{/if}}import { withGitHat } from '@githat/nextjs/server';
|
|
3
3
|
|
|
4
|
-
const nextConfig: NextConfig = {
|
|
5
|
-
|
|
4
|
+
{{#if typescript}}const nextConfig: NextConfig = {
|
|
5
|
+
{{else}}const nextConfig = {
|
|
6
|
+
{{/if}} output: 'standalone',
|
|
6
7
|
};
|
|
7
8
|
|
|
8
|
-
export default withGitHat(nextConfig);
|
|
9
|
+
export default withGitHat(nextConfig);
|