Skip to content

Commit

Permalink
[ci] release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 13, 2022
1 parent 254a8f3 commit 13e0039
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 25 deletions.
7 changes: 0 additions & 7 deletions .changeset/tame-lamps-roll.md

This file was deleted.

2 changes: 1 addition & 1 deletion examples/integrations-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@astrojs/partytown": "^0.1.2",
"@astrojs/react": "^0.1.0",
"@astrojs/sitemap": "^0.1.0",
"@astrojs/tailwind": "^0.1.2",
"@astrojs/tailwind": "^0.2.0",
"@astrojs/turbolinks": "^0.1.1",
"astro": "^1.0.0-beta.10"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/with-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "astro preview"
},
"devDependencies": {
"@astrojs/tailwind": "^0.1.2",
"@astrojs/tailwind": "^0.2.0",
"astro": "^1.0.0-beta.10",
"autoprefixer": "^10.4.4",
"canvas-confetti": "^1.5.1",
Expand Down
16 changes: 4 additions & 12 deletions packages/astro/test/tailwindcss.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,8 @@ describe('Tailwind', () => {
);

// custom theme colors were included
expect(bundledCSS, 'includes custom theme colors').to.match(
/\.text-midnight{/
);
expect(bundledCSS, 'includes custom theme colors').to.match(
/\.bg-dawn{/
);
expect(bundledCSS, 'includes custom theme colors').to.match(/\.text-midnight{/);
expect(bundledCSS, 'includes custom theme colors').to.match(/\.bg-dawn{/);
});

it('maintains classes in HTML', async () => {
Expand Down Expand Up @@ -108,12 +104,8 @@ describe('Tailwind', () => {
expect(text, 'supports arbitrary value classes').to.match(/.font-\\[900\\]/);

// custom theme colors were included
expect(text, 'includes custom theme colors').to.match(
/\.text-midnight/
);
expect(text, 'includes custom theme colors').to.match(
/\.bg-dawn/
);
expect(text, 'includes custom theme colors').to.match(/\.text-midnight/);
expect(text, 'includes custom theme colors').to.match(/\.bg-dawn/);
});

it('maintains classes in HTML', async () => {
Expand Down
8 changes: 8 additions & 0 deletions packages/integrations/tailwind/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @astrojs/tailwind

## 0.2.0

### Minor Changes

- [#3099](https://github.com/withastro/astro/pull/3099) [`254a8f37`](https://github.com/withastro/astro/commit/254a8f37499863c5684fb0d5b0f59a8cee093d0b) Thanks [@tony-sull](https://github.com/tony-sull)! - Removes the `applyAstroPreset` integration option. Tailwind presets can be disabled directly from the Tailwind config file by including `presets: []`

See the [Tailwind preset docs](https://tailwindcss.com/docs/presets#disabling-the-default-configuration) for more details.

## 0.1.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/tailwind/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@astrojs/tailwind",
"description": "Tailwind + Astro Integrations",
"version": "0.1.2",
"version": "0.2.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/tailwind/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function getDefaultTailwindConfig(srcUrl: URL): TailwindConfig {
},
plugins: [],
content: [path.join(fileURLToPath(srcUrl), `**`, `*.{astro,html,js,jsx,svelte,ts,tsx,vue}`)],
presets: undefined // enable Tailwind's default preset
presets: undefined, // enable Tailwind's default preset
});
}

Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 13e0039

Please sign in to comment.