3dc72eb (parent db87acf)9/20/2022, 5:23:22 PM
chore: ignore useless files
+ 22
- 22
@@ -5,8 +5,10 @@ node_modules/
 package-lock.json
 *.log
 
-# Ignore islands built files
+# Ignore built public files
 public/.islands/
+public/instant-router.js
+public/instant-router.js.map
 public/islands-runtime.js
 public/islands-runtime.js.map
 

@@ -1,5 +1,5 @@
 {
-  "_generatedAtUnix": 1663691571271,
+  "_generatedAtUnix": 1663691805572,
   "_hashAlgorithm": "sha1",
   "_version": 2,
   "islands": {

...
@@ -16,7 +16,7 @@
       "pathSourceMap": "./public/.islands/RepositoryCreateForm.bundle.js.map"
     },
     "RepositoryInitialSetup": {
-      "hash": "4916d0555f98e2c8438fea37315212d6d538c9a8",
+      "hash": "ade4c6a8e8d2b5abef10d1e4281cf6888d128b5c",
       "pathSource": "./app/islands/RepositoryInitialSetup.tsx",
       "pathBundle": "./public/.islands/RepositoryInitialSetup.bundle.js",
       "pathSourceMap": "./public/.islands/RepositoryInitialSetup.bundle.js.map"

app/islands/RepositoryInitialSetup.tsx
@@ -30,27 +30,25 @@ const RepositoryInitialSetup: ReactIsland<RepositoryInitialSetupProps> = ({
         <pre
           style={{ maxWidth: 600 }}
         >{`# Clone and enter the repository directory
-      $ git clone ${cloneUrl.http}
-      $ cd ${repo.slug}/
-      ${
-        currentUser != null
-          ? `
-      # Setup committer identity for this project
-      $ git config user.name "${
-        currentUser.displayName || currentUser.username
-      }"
-      $ git config user.email "${currentUser.email}"`
-          : ""
-      }
+$ git clone ${cloneUrl.http}
+$ cd ${repo.slug}/
+${
+  currentUser != null
+    ? `
+# Setup committer identity for this project
+$ git config user.name "${currentUser.displayName || currentUser.username}"
+$ git config user.email "${currentUser.email}"`
+    : ""
+}
 
-      # Create some base files
-      $ echo "# ${repo.displayName || repo.slug}" > README.md
-      $ echo "The MIT License" > LICENSE
+# Create some base files
+$ echo "# ${repo.displayName || repo.slug}" > README.md
+$ echo "The MIT License" > LICENSE
 
-      # Track files, commit and send to GitFOSS remote repository
-      $ git add .
-      $ git commit -am 'feat: initial commit'
-      $ git push
+# Track files, commit and send to GitFOSS remote repository
+$ git add .
+$ git commit -am 'feat: initial commit'
+$ git push
       `}</pre>
       </code>
     </StyledRepositoryInitialSetupContainer>