Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] release #7390

Merged
merged 1 commit into from
Jun 19, 2023
Merged

[ci] release #7390

merged 1 commit into from
Jun 19, 2023

Conversation

astrobot-houston
Copy link
Contributor

@astrobot-houston astrobot-houston commented Jun 14, 2023

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@astrojs/tailwind@4.0.0

Major Changes

  • #7391 556fd694a Thanks @bluwy! - Rename options config.path to configFile, and config.applyBaseStyles to applyBaseStyles. If you are using these options, you need to migrate to the new names.

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import tailwind from '@astrojs/tailwind';
    
    export default defineConfig({
      integrations: [
        tailwind({
    -      config: {
    -        path: '...',
    -        applyBaseStyles: true,
    -      },
    +      configFile: '...',
    +      applyBaseStyles: true,
        }),
      ],
    });
  • #6724 3f1cb6b1a Thanks @TomPichaud! - Let the tailwindcss PostCSS plugin load its config file itself. This changes the Tailwind config loading behaviour where it is loaded from process.cwd() instead of the project root.

    If your Tailwind config file is not located in the current working directory, you will need to configure the integration's configFile option to load from a specific path:

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    import tailwind from '@astrojs/tailwind';
    import { fileURLToPath } from 'url';
    
    export default defineConfig({
      integrations: [
        tailwind({
          configFile: fileURLToPath(new URL('./tailwind.config.cjs', import.meta.url)),
        }),
      ],
    });

    This change also requires a Tailwind config file to exist in your project as a fallback config is no longer provided. It is set up automatically during astro add tailwind, but if it does not exist, you can manually create a tailwind.config.cjs file in your project root:

    // tailwind.config.cjs
    /** @type {import('tailwindcss').Config} */
    module.exports = {
      content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
      theme: {
        extend: {},
      },
      plugins: [],
    };

Patch Changes

@astrojs/deno@4.2.0

Minor Changes

  • #7288 d67ae8461 Thanks @lilnasy! - The deno adapter now supports npm package that require built-in node modules.

Patch Changes

astro@2.6.5

Patch Changes

@github-actions github-actions bot added pkg: example Related to an example package (scope) pkg: integration Related to any renderer integration (scope) labels Jun 14, 2023
bluwy
bluwy previously requested changes Jun 14, 2023
Copy link
Member

@bluwy bluwy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Temporarily blocking the merge in case I didn't get to handle #7391 today, which is another breaking change for the tailwind integration.

@github-actions github-actions bot force-pushed the changeset-release/main branch from 3445984 to 6fde46d Compare June 15, 2023 14:22
@bluwy bluwy dismissed their stale review June 15, 2023 15:41

#7391 is merged

@github-actions github-actions bot force-pushed the changeset-release/main branch 5 times, most recently from f60f6bf to f11c958 Compare June 19, 2023 07:31
@github-actions github-actions bot force-pushed the changeset-release/main branch from f11c958 to e2be9b7 Compare June 19, 2023 09:20
@matthewp matthewp merged commit f87680f into main Jun 19, 2023
@matthewp matthewp deleted the changeset-release/main branch June 19, 2023 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: example Related to an example package (scope) pkg: integration Related to any renderer integration (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants