0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

Merge branch 'main' into feat/integration-kit

This commit is contained in:
Florian Lefebvre 2024-04-29 17:58:37 +02:00
commit cd43d6703b
5 changed files with 5 additions and 6 deletions

View file

@ -25,10 +25,10 @@ jobs:
issues: write
pull-requests: write
steps:
- name: "Check if user has admin access (only admins can publish snapshot releases)."
- name: "Check if user has write access"
uses: "lannonbr/repo-permission-check-action@2.0.2"
with:
permission: "admin"
permission: "write"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -20,7 +20,7 @@ import { buildClientDirectiveEntrypoint } from '../core/client-directive/index.j
import { mergeConfig } from '../core/config/index.js';
import type { AstroIntegrationLogger, Logger } from '../core/logger/core.js';
import { isServerLikeOutput } from '../prerender/utils.js';
import { validateSupportedFeatures } from './astroFeaturesValidation.js';
import { validateSupportedFeatures } from './features-validation.js';
async function withTakingALongTimeMsg<T>({
name,
@ -556,4 +556,4 @@ export function isFunctionPerRouteEnabled(adapter: AstroAdapter | undefined): bo
} else {
return false;
}
}
}

View file

@ -1 +0,0 @@
export { defineIntegration } from "./define-integration.js"

View file

@ -1,6 +1,6 @@
import * as assert from 'node:assert/strict';
import { describe, it } from 'node:test';
import { validateSupportedFeatures } from '../../../dist/integrations/astroFeaturesValidation.js';
import { validateSupportedFeatures } from '../../../dist/integrations/features-validation.js';
import { runHookBuildSetup, runHookConfigSetup } from '../../../dist/integrations/hooks.js';
import { defaultLogger } from '../test-utils.js';