Skip to content

Commit

Permalink
chore: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
crypblizz8 committed Nov 7, 2024
1 parent b3fb733 commit 9c1ee6d
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 38 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nillion/create-nillion-app",
"version": "0.1.0-rc.16",
"version": "0.1.0-rc.25",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"type": "module",
Expand Down
76 changes: 39 additions & 37 deletions src/functions/createNextJsProject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,44 +19,46 @@ export function createNextJsProject(rootDir: string): void {
fs.cpSync(examplesPath, nextAppPath, { recursive: true });

const gitignorePath = path.join(nextAppPath, ".gitignore");
const gitignoreContent = `# Dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz
const gitignoreContent = [
"# Dependencies",
"/node_modules",
"/.pnp",
".pnp.js",
".yarn/install-state.gz",
"",
"# Testing",
"/coverage",
"",
"# Next.js",
"/.next/",
"/out/",
"",
"# Production",
"/build",
"",
"# Misc",
".DS_Store",
"*.pem",
"",
"# Debug",
"npm-debug.log*",
"yarn-debug.log*",
"yarn-error.log*",
"",
"# Local env files",
".env*.local",
"",
"# Vercel",
".vercel",
"",
"# TypeScript",
"*.tsbuildinfo",
"next-env.d.ts",
"",
"# Nada venv",
"nada/.venv/",
].join("\n");

# Testing
/coverage
# Next.js
/.next/
/out/
# Production
/build
# Misc
.DS_Store
*.pem
# Debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Local env files
.env*.local
# Vercel
.vercel
# TypeScript
*.tsbuildinfo
next-env.d.ts
# Nada venv
nada/.venv/
`;
fs.writeFileSync(gitignorePath, gitignoreContent);

setupNadaFolder(process.cwd());
Expand Down

0 comments on commit 9c1ee6d

Please sign in to comment.