From 9e35fb795b975732809321d5c79f338d2f7d1679 Mon Sep 17 00:00:00 2001 From: Mohamed Elkholy Date: Thu, 6 May 2021 20:10:27 +0200 Subject: [PATCH] feat(task:http-headers): change task name to `http-headers` --- src/common.ts | 2 +- src/tasks/{netlify-headers => http-headers}/README.md | 0 src/tasks/{netlify-headers => http-headers}/index.ts | 0 src/tasks/{netlify-headers => http-headers}/lib/builder.ts | 0 src/tasks/{netlify-headers => http-headers}/lib/link.ts | 0 .../{netlify-headers => http-headers}/lib/providers/base.ts | 0 .../{netlify-headers => http-headers}/lib/providers/firebase.ts | 0 .../{netlify-headers => http-headers}/lib/providers/index.ts | 0 .../{netlify-headers => http-headers}/lib/providers/netlify.ts | 0 .../{netlify-headers => http-headers}/lib/providers/vercel.ts | 0 src/tasks/{netlify-headers => http-headers}/options.ts | 0 11 files changed, 1 insertion(+), 1 deletion(-) rename src/tasks/{netlify-headers => http-headers}/README.md (100%) rename src/tasks/{netlify-headers => http-headers}/index.ts (100%) rename src/tasks/{netlify-headers => http-headers}/lib/builder.ts (100%) rename src/tasks/{netlify-headers => http-headers}/lib/link.ts (100%) rename src/tasks/{netlify-headers => http-headers}/lib/providers/base.ts (100%) rename src/tasks/{netlify-headers => http-headers}/lib/providers/firebase.ts (100%) rename src/tasks/{netlify-headers => http-headers}/lib/providers/index.ts (100%) rename src/tasks/{netlify-headers => http-headers}/lib/providers/netlify.ts (100%) rename src/tasks/{netlify-headers => http-headers}/lib/providers/vercel.ts (100%) rename src/tasks/{netlify-headers => http-headers}/options.ts (100%) diff --git a/src/common.ts b/src/common.ts index d7db74b..30d11e6 100644 --- a/src/common.ts +++ b/src/common.ts @@ -12,7 +12,7 @@ export const PLUGIN = 'gatsby-plugin-postbuild' /** * Core plugin tasks */ -export const CORE_TASKS = ['minify', 'purgecss', 'netlify-headers'] +export const CORE_TASKS = ['minify', 'purgecss', 'http-headers'] /** * Reporter error map diff --git a/src/tasks/netlify-headers/README.md b/src/tasks/http-headers/README.md similarity index 100% rename from src/tasks/netlify-headers/README.md rename to src/tasks/http-headers/README.md diff --git a/src/tasks/netlify-headers/index.ts b/src/tasks/http-headers/index.ts similarity index 100% rename from src/tasks/netlify-headers/index.ts rename to src/tasks/http-headers/index.ts diff --git a/src/tasks/netlify-headers/lib/builder.ts b/src/tasks/http-headers/lib/builder.ts similarity index 100% rename from src/tasks/netlify-headers/lib/builder.ts rename to src/tasks/http-headers/lib/builder.ts diff --git a/src/tasks/netlify-headers/lib/link.ts b/src/tasks/http-headers/lib/link.ts similarity index 100% rename from src/tasks/netlify-headers/lib/link.ts rename to src/tasks/http-headers/lib/link.ts diff --git a/src/tasks/netlify-headers/lib/providers/base.ts b/src/tasks/http-headers/lib/providers/base.ts similarity index 100% rename from src/tasks/netlify-headers/lib/providers/base.ts rename to src/tasks/http-headers/lib/providers/base.ts diff --git a/src/tasks/netlify-headers/lib/providers/firebase.ts b/src/tasks/http-headers/lib/providers/firebase.ts similarity index 100% rename from src/tasks/netlify-headers/lib/providers/firebase.ts rename to src/tasks/http-headers/lib/providers/firebase.ts diff --git a/src/tasks/netlify-headers/lib/providers/index.ts b/src/tasks/http-headers/lib/providers/index.ts similarity index 100% rename from src/tasks/netlify-headers/lib/providers/index.ts rename to src/tasks/http-headers/lib/providers/index.ts diff --git a/src/tasks/netlify-headers/lib/providers/netlify.ts b/src/tasks/http-headers/lib/providers/netlify.ts similarity index 100% rename from src/tasks/netlify-headers/lib/providers/netlify.ts rename to src/tasks/http-headers/lib/providers/netlify.ts diff --git a/src/tasks/netlify-headers/lib/providers/vercel.ts b/src/tasks/http-headers/lib/providers/vercel.ts similarity index 100% rename from src/tasks/netlify-headers/lib/providers/vercel.ts rename to src/tasks/http-headers/lib/providers/vercel.ts diff --git a/src/tasks/netlify-headers/options.ts b/src/tasks/http-headers/options.ts similarity index 100% rename from src/tasks/netlify-headers/options.ts rename to src/tasks/http-headers/options.ts