create-githat-app 1.4.0 → 1.4.1

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 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.5.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.5.0",
39
+ "@githat/nextjs": "^0.8.2",
40
40
  "@githat/ui": "^1.0.0"
41
41
  },
42
42
  devDependencies: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-githat-app",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "GitHat CLI — scaffold apps and manage the skills marketplace",
5
5
  "type": "module",
6
6
  "bin": {
@@ -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
- output: 'standalone',
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
- output: 'standalone',
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
- output: 'standalone',
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
- output: 'standalone',
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
- // Proxy API calls to the backend in development
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
- output: 'standalone',
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
- output: 'standalone',
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
- output: 'standalone',
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
- output: 'standalone',
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
- output: 'standalone',
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);