Skip to content

Commit

Permalink
lower case strings
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Jul 27, 2023
1 parent cb61509 commit 5fc1afc
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion packages/astro/src/@types/astro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1660,7 +1660,7 @@ export type PaginateFunction = (data: any[], args?: PaginateOptions) => GetStati

export type Params = Record<string, string | undefined>;

export type SupportsKind = 'Unsupported' | 'Stable' | 'Experimental' | 'Deprecated';
export type SupportsKind = 'unsupported' | 'stable' | 'experimental' | 'deprecated';

export type AstroFeatureMap = {
/**
Expand Down
8 changes: 4 additions & 4 deletions packages/astro/src/integrations/astroFeaturesValidation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import type {
import { error, type LogOptions, warn } from '../core/logger/core.js';
import { bold } from 'kleur/colors';

const STABLE = 'Stable';
const DEPRECATED = 'Deprecated';
const UNSUPPORTED = 'Unsupported';
const EXPERIMENTAL = 'Experimental';
const STABLE = 'stable';
const DEPRECATED = 'deprecated';
const UNSUPPORTED = 'unsupported';
const EXPERIMENTAL = 'experimental';

const UNSUPPORTED_ASSETS_FEATURE: AstroAssetsFeature = {
supportKind: UNSUPPORTED,
Expand Down
16 changes: 8 additions & 8 deletions packages/integrations/cloudflare/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ export function getAdapter(isModeDirectory: boolean): AstroAdapter {
serverEntrypoint: '@astrojs/cloudflare/server.directory.js',
exports: ['onRequest', 'manifest'],
supportedAstroFeatures: {
hybridOutput: 'Stable',
staticOutput: 'Unsupported',
serverOutput: 'Stable',
hybridOutput: 'stable',
staticOutput: 'unsupported',
serverOutput: 'stable',
assets: {
supportKind: 'Unsupported',
supportKind: 'unsupported',
isSharpCompatible: false,
isSquooshCompatible: false,
},
Expand All @@ -40,11 +40,11 @@ export function getAdapter(isModeDirectory: boolean): AstroAdapter {
serverEntrypoint: '@astrojs/cloudflare/server.advanced.js',
exports: ['default'],
supportedAstroFeatures: {
hybridOutput: 'Stable',
staticOutput: 'Unsupported',
serverOutput: 'Stable',
hybridOutput: 'stable',
staticOutput: 'unsupported',
serverOutput: 'stable',
assets: {
supportKind: 'Stable',
supportKind: 'stable',
isSharpCompatible: false,
isSquooshCompatible: false,
},
Expand Down
8 changes: 4 additions & 4 deletions packages/integrations/deno/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ export function getAdapter(args?: Options): AstroAdapter {
args: args ?? {},
exports: ['stop', 'handle', 'start', 'running'],
supportedAstroFeatures: {
hybridOutput: 'Stable',
staticOutput: 'Stable',
serverOutput: 'Stable',
hybridOutput: 'stable',
staticOutput: 'stable',
serverOutput: 'stable',
assets: {
supportKind: 'Stable',
supportKind: 'stable',
isSharpCompatible: false,
isSquooshCompatible: false,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ export function getAdapter(): AstroAdapter {
serverEntrypoint: '@astrojs/netlify/netlify-edge-functions.js',
exports: ['default'],
supportedAstroFeatures: {
hybridOutput: 'Stable',
staticOutput: 'Stable',
serverOutput: 'Stable',
hybridOutput: 'stable',
staticOutput: 'stable',
serverOutput: 'stable',
assets: {
supportKind: 'Stable',
supportKind: 'stable',
isSharpCompatible: false,
isSquooshCompatible: false,
},
Expand Down
8 changes: 4 additions & 4 deletions packages/integrations/netlify/src/integration-functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ export function getAdapter(args: Args = {}): AstroAdapter {
exports: ['handler'],
args,
supportedAstroFeatures: {
hybridOutput: 'Stable',
staticOutput: 'Stable',
serverOutput: 'Stable',
hybridOutput: 'stable',
staticOutput: 'stable',
serverOutput: 'stable',
assets: {
supportKind: 'Stable',
supportKind: 'stable',
isSharpCompatible: true,
isSquooshCompatible: true,
},
Expand Down
8 changes: 4 additions & 4 deletions packages/integrations/node/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ export function getAdapter(options: Options): AstroAdapter {
exports: ['handler', 'startServer'],
args: options,
supportedAstroFeatures: {
hybridOutput: 'Stable',
staticOutput: 'Stable',
serverOutput: 'Stable',
hybridOutput: 'stable',
staticOutput: 'stable',
serverOutput: 'stable',
assets: {
supportKind: 'Stable',
supportKind: 'stable',
isSharpCompatible: true,
isSquooshCompatible: true,
},
Expand Down
8 changes: 4 additions & 4 deletions packages/integrations/vercel/src/edge/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ function getAdapter(): AstroAdapter {
serverEntrypoint: `${PACKAGE_NAME}/entrypoint`,
exports: ['default'],
supportedAstroFeatures: {
hybridOutput: 'Stable',
staticOutput: 'Stable',
serverOutput: 'Stable',
hybridOutput: 'stable',
staticOutput: 'stable',
serverOutput: 'stable',
assets: {
supportKind: 'Stable',
supportKind: 'stable',
isSharpCompatible: false,
isSquooshCompatible: false,
},
Expand Down
8 changes: 4 additions & 4 deletions packages/integrations/vercel/src/serverless/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ function getAdapter(): AstroAdapter {
serverEntrypoint: `${PACKAGE_NAME}/entrypoint`,
exports: ['default'],
supportedAstroFeatures: {
hybridOutput: 'Stable',
staticOutput: 'Stable',
serverOutput: 'Stable',
hybridOutput: 'stable',
staticOutput: 'stable',
serverOutput: 'stable',
assets: {
supportKind: 'Stable',
supportKind: 'stable',
isSharpCompatible: true,
isSquooshCompatible: true,
},
Expand Down

0 comments on commit 5fc1afc

Please sign in to comment.