Quellcode durchsuchen

ignore and clean .swc artifacts

Jordan Sexton vor 3 Jahren
Ursprung
Commit
218009cc36

+ 1 - 0
.eslintignore

@@ -1,6 +1,7 @@
 .github
 .next
 .parcel-cache
+.swc
 
 docs
 lib

+ 2 - 1
.gitignore

@@ -7,8 +7,9 @@ node_modules
 package-lock.json
 yarn.lock
 
-.parcel-cache
 .next
+.parcel-cache
+.swc
 build
 lib
 dist

+ 1 - 0
.prettierignore

@@ -1,6 +1,7 @@
 .github
 .next
 .parcel-cache
+.swc
 
 docs
 lib

+ 1 - 0
packages/starter/example/.gitignore

@@ -10,6 +10,7 @@
 
 # next.js
 /.next/
+/.swc/
 /out/
 
 # production

+ 1 - 0
packages/starter/example/.prettierignore

@@ -1,4 +1,5 @@
 /.next
+/.swc
 /lib
 /node_modules
 

+ 1 - 1
packages/starter/example/package.json

@@ -28,7 +28,7 @@
         "tsconfig.json"
     ],
     "scripts": {
-        "clean": "shx rm -rf .next lib",
+        "clean": "shx rm -rf .next .swc lib",
         "dev": "NODE_OPTIONS='--inspect' next dev",
         "build": "next build",
         "start": "next start",

+ 1 - 0
packages/starter/nextjs-starter/.gitignore

@@ -10,6 +10,7 @@
 
 # next.js
 /.next/
+/.swc/
 /out/
 
 # production

+ 1 - 0
packages/starter/nextjs-starter/.prettierignore

@@ -1,4 +1,5 @@
 /.next
+/.swc
 /lib
 /node_modules
 

+ 1 - 1
packages/starter/nextjs-starter/package.json

@@ -28,7 +28,7 @@
         "tsconfig.json"
     ],
     "scripts": {
-        "clean": "shx rm -rf .next lib",
+        "clean": "shx rm -rf .next .swc lib",
         "dev": "NODE_OPTIONS='--inspect' next dev",
         "build": "next build",
         "start": "next start",