This repository was archived by the owner on Jul 4, 2026. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 13
chore: fix linting and formatting issues across repository #68
Merged
Merged
Changes from 6 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
8dc5e86
chore: fix linting and formatting issues across repository
gaureshpai 12dff5f
refactor: address technical debt and fix execution & testing bugs
gaureshpai 86f4533
feat: Introduce automated CLI testing with dynamic test case generation.
gaureshpai 9d13ce1
feat: introduce `create-next-quick` CLI for scaffolding Next.js proje…
gaureshpai 1f5f065
feat: Introduce `create-next-quick` CLI with a comprehensive test sui…
gaureshpai 949b42a
feat: add `create-next-quick` CLI for guided Next.js project setup an…
gaureshpai a77c6c6
feat: Implement create-next-quick CLI for scaffolding Next.js project…
gaureshpai e4c1ba4
feat: introduce automated test case generation for CLI prompts and up…
gaureshpai 7291813
docs: update code block language hints from bash to text in README.md
gaureshpai 9a9709c
Merge branch 'fix/lint-and-format' of https://github.com/gaureshpai/c…
gaureshpai 39613ef
docs: Remove emojis from README headings and table of contents links.
gaureshpai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,61 +1,61 @@ | ||
| const hamburgerMenu = document.getElementById("hamburger-menu") | ||
| const mainNav = document.getElementById("main-nav") | ||
| const sidebar = document.getElementById("sidebar") | ||
| const copyButtons = document.querySelectorAll(".copy-btn") | ||
| const hamburgerMenu = document.getElementById("hamburger-menu"); | ||
| const mainNav = document.getElementById("main-nav"); | ||
| const sidebar = document.getElementById("sidebar"); | ||
| const copyButtons = document.querySelectorAll(".copy-btn"); | ||
|
|
||
| hamburgerMenu.addEventListener("click", () => { | ||
| hamburgerMenu.classList.toggle("active") | ||
| mainNav.classList.toggle("active") | ||
| }) | ||
| hamburgerMenu.classList.toggle("active"); | ||
| mainNav.classList.toggle("active"); | ||
| }); | ||
|
|
||
| document.querySelectorAll("#main-nav a").forEach((link) => { | ||
| link.addEventListener("click", () => { | ||
| hamburgerMenu.classList.remove("active") | ||
| mainNav.classList.remove("active") | ||
| }) | ||
| }) | ||
| link.addEventListener("click", () => { | ||
| hamburgerMenu.classList.remove("active"); | ||
| mainNav.classList.remove("active"); | ||
| }); | ||
| }); | ||
|
|
||
| hamburgerMenu.addEventListener("click", () => { | ||
| sidebar.classList.toggle("active") | ||
| }) | ||
| sidebar.classList.toggle("active"); | ||
| }); | ||
|
|
||
| document.querySelectorAll(".sidebar a").forEach((link) => { | ||
| link.addEventListener("click", () => { | ||
| if (window.innerWidth <= 768) { | ||
| sidebar.classList.remove("active") | ||
| hamburgerMenu.classList.remove("active") | ||
| } | ||
| }) | ||
| }) | ||
| link.addEventListener("click", () => { | ||
| if (window.innerWidth <= 768) { | ||
| sidebar.classList.remove("active"); | ||
| hamburgerMenu.classList.remove("active"); | ||
| } | ||
| }); | ||
| }); | ||
|
|
||
| copyButtons.forEach((button) => { | ||
| button.addEventListener("click", () => { | ||
| const textToCopy = button.getAttribute("data-code") | ||
| const originalText = button.innerHTML | ||
|
|
||
| navigator.clipboard | ||
| .writeText(textToCopy) | ||
| .then(() => { | ||
| button.classList.add("copied") | ||
| button.innerHTML = '<span class="copy-icon">✓</span><span class="copy-text">Copied!</span>' | ||
|
|
||
| setTimeout(() => { | ||
| button.classList.remove("copied") | ||
| button.innerHTML = originalText | ||
| }, 2000) | ||
| }) | ||
| .catch(() => { | ||
| button.innerHTML = '<span class="copy-icon">✗</span><span class="copy-text">Failed</span>' | ||
| setTimeout(() => { | ||
| button.innerHTML = originalText | ||
| }, 2000) | ||
| }) | ||
| }) | ||
| }) | ||
| button.addEventListener("click", () => { | ||
| const textToCopy = button.getAttribute("data-code"); | ||
| const originalText = button.innerHTML; | ||
|
|
||
| navigator.clipboard | ||
| .writeText(textToCopy) | ||
| .then(() => { | ||
| button.classList.add("copied"); | ||
| button.innerHTML = '<span class="copy-icon">✓</span><span class="copy-text">Copied!</span>'; | ||
|
|
||
| setTimeout(() => { | ||
| button.classList.remove("copied"); | ||
| button.innerHTML = originalText; | ||
| }, 2000); | ||
| }) | ||
| .catch(() => { | ||
| button.innerHTML = '<span class="copy-icon">✗</span><span class="copy-text">Failed</span>'; | ||
| setTimeout(() => { | ||
| button.innerHTML = originalText; | ||
| }, 2000); | ||
| }); | ||
| }); | ||
| }); | ||
|
|
||
| document.addEventListener("click", (e) => { | ||
| if (!e.target.closest("header")) { | ||
| hamburgerMenu.classList.remove("active") | ||
| mainNav.classList.remove("active") | ||
| } | ||
| }) | ||
| if (!e.target.closest("header")) { | ||
| hamburgerMenu.classList.remove("active"); | ||
| mainNav.classList.remove("active"); | ||
| } | ||
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,19 @@ | ||
| {"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} | ||
| { | ||
| "name": "create-next-quick", | ||
| "short_name": "create-next-quick", | ||
| "icons": [ | ||
| { | ||
| "src": "/android-chrome-192x192.png", | ||
| "sizes": "192x192", | ||
| "type": "image/png" | ||
| }, | ||
| { | ||
| "src": "/android-chrome-512x512.png", | ||
| "sizes": "512x512", | ||
| "type": "image/png" | ||
| } | ||
| ], | ||
| "theme_color": "#ffffff", | ||
| "background_color": "#ffffff", | ||
| "display": "standalone" | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.