Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
38 KiB
@astrojs/tailwind
5.0.1
Patch Changes
-
#8737
6f60da805
Thanks @ematipico! - Add provenance statement when publishing the library from CI -
Updated dependencies [
6f60da805
,d78806dfe
,d1c75fe15
,aa265d730
,78adbc443
,21e0757ea
,357270f2a
]:- astro@3.2.3
5.0.0
Major Changes
-
#8188
d0679a666
Thanks @ematipico! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. -
#8179
6011d52d3
Thanks @matthewp! - Astro 3.0 Release Candidate
Patch Changes
- Updated dependencies [
d0679a666
,db39206cb
,adf9fccfd
,0c7b42dc6
,46c4c0e05
,364d861bd
,2484dc408
,81545197a
,6011d52d3
,c2c71d90c
,cd2d7e769
,80f1494cd
,e45f30293
,c0de7a7b0
,65c354969
,3c3100851
,34cb20021
,a824863ab
,44f7a2872
,1048aca55
,be6bbd2c8
,9e021a91c
,7511a4980
,c37632a20
,acf652fc1
,42785c7b7
,8450379db
,dbc97b121
,7d2f311d4
,2540feedb
,ea7ff5177
,68efd4a8b
,7bd1b86f8
,036388f66
,519a1c4e8
,1f58a7a1b
,2ae9d37f0
,a8f35777e
,70f34f5a3
,5208a3c8f
,84af8ed9d
,f003e7364
,ffc9e2d3d
,732111cdc
,0f637c71e
,33b8910cf
,8a5b0c1f3
,148e61d24
,e79e3779d
,632579dc2
,3674584e0
,1db4e92c1
,e7f872e91
,16f09dfff
,4477bb41c
,55c10d1d5
,3e834293d
,96beb883a
,997a0db8a
,80f1494cd
,0f0625504
,e1ae56e72
,f32d093a2
,f01eb585e
,b76c166bd
,a87cbe400
,866ed4098
,767eb6866
,32669cd47
]:- astro@3.0.0
5.0.0-rc.1
Major Changes
Patch Changes
- Updated dependencies [
adf9fccfd
,582132328
,81545197a
,6011d52d3
,be6bbd2c8
,42785c7b7
,95120efbe
,2ae9d37f0
,f003e7364
,732111cdc
,33b8910cf
,e79e3779d
,179796405
,a87cbe400
,767eb6866
]:- astro@3.0.0-rc.5
5.0.0-beta.0
Major Changes
1eae2e3f7
Thanks @Princesseuh! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023.
Patch Changes
- Updated dependencies [
1eae2e3f7
,76ddef19c
,9b4f70a62
,3fdf509b2
,2f951cd40
,c022a4217
,67becaa58
,bc37331d8
,dfc2d93e3
,3dc1ca2fa
,1be84dfee
,35f01df79
,3fdf509b2
,78de801f2
,59d6e569f
,7723c4cc9
,fb5cd6b56
,631b9c410
]:- astro@3.0.0-beta.0
4.0.0
Major Changes
-
#7391
556fd694a
Thanks @bluwy! - Rename optionsconfig.path
toconfigFile
, andconfig.applyBaseStyles
toapplyBaseStyles
. 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 thetailwindcss
PostCSS plugin load its config file itself. This changes the Tailwind config loading behaviour where it is loaded fromprocess.cwd()
instead of the projectroot
.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 atailwind.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
3.1.3
Patch Changes
-
#7104
826e02890
Thanks @bluwy! - Specify"files"
field to only publish necessary files -
Updated dependencies [
4516d7b22
,e186ecc5e
,c6d7ebefd
,914c439bc
,e9fc2c221
,075eee08f
,719002ca5
,fc52681ba
,fb84622af
,cada10a46
,cd410c5eb
,73ec6f6c1
,410428672
,763ff2d1e
,c1669c001
,3d525efc9
]:- astro@2.5.0
3.1.2
Patch Changes
3.1.1
Patch Changes
-
#6419
0de08773f
Thanks @Yan-Thomas! - Make Tailwind & Turbolinks integration descriptions more consistent -
Updated dependencies [
acf78c5e2
,04e624d06
,cc90d7219
,a9a6ae298
,6a7cf0712
,bfd67ea74
,f6eddffa0
,c63874090
,d637d1ea5
,637f9bc72
,77a046e88
]:- astro@2.1.3
3.1.0
Minor Changes
- #6213
afbbc4d5b
Thanks @Princesseuh! - Updated compilation settings to disable downlevelling for Node 14
Patch Changes
- Updated dependencies [
fec583909
,b087b83fe
,694918a56
,a20610609
,a4a74ab70
,75921b3cd
,afbbc4d5b
]:- astro@2.1.0
3.0.1
Patch Changes
-
#5478
1c7eef308
Thanks @nemo0! - Update READMEs for consistency -
#6002
254eb21c8
Thanks @royeden! - Re-enable autoprefixer in dev -
Updated dependencies [
b4432cd6b
,98a4a914b
,071e1dee7
,322e059d0
,b994f6f35
,12c68343c
]:- astro@2.0.3
3.0.0
Major Changes
-
#5717
a3a7fc929
Thanks @bluwy! - Removestyle.postcss
Astro config. Refactor Tailwind integration to configure throughvite
instead. Also disablesautoprefixer
in dev. -
#5806
7572f7402
Thanks @matthewp! - Make astro apeerDependency
of integrationsThis marks
astro
as apeerDependency
of several packages that are already gettingmajor
version bumps. This is so we can more properly track the dependency between them and what version of Astro they are being used with.
Patch Changes
-
#5908
9e57268f1
Thanks @MoustaphaDev! - Fix Vite not picking up PostCSS config files because of the Tailwind integration -
Updated dependencies [
93e633922
,16dc36a87
,01f3f463b
,e2019be6f
,05caf445d
,49ab4f231
,a342a486c
,8fb28648f
,1f92d64ea
,c2180746b
,ae8a012a7
,cf2de5422
,ce5c5dbd4
,ec09bb664
,665a2c222
,259a539d7
,f7aa1ec25
,4987d6f44
,304823811
,302e0ef8f
,55cea0a9d
,dd56c1941
,9963c6e4d
,be901dc98
,f6cf92b48
,e818cc046
,8c100a6fe
,116d8835c
,840412128
,1f49cddf9
,7325df412
,16c7d0bfd
,a9c292026
,2a5786419
,4a1cabfe6
,a8d3e7924
,fa8c131f8
,64b8082e7
,c4b0cb8bf
,23dc9ea96
,63a6ceb38
,a3a7fc929
,52209ca2a
,5fd9208d4
,5eba34fcc
,899214298
,3a00ecb3e
,5eba34fcc
,2303f9514
,1ca81c16b
,b66d7195c
]:- astro@2.0.0
3.0.0-beta.2
See changes in 3.0.0-beta.2
Patch Changes
3.0.0-beta.1
See changes in 3.0.0-beta.1
Major Changes
-
#5806
7572f7402
Thanks @matthewp! - Make astro apeerDependency
of integrationsThis marks
astro
as apeerDependency
of several packages that are already gettingmajor
version bumps. This is so we can more properly track the dependency between them and what version of Astro they are being used with.
Patch Changes
3.0.0-beta.0
See changes in 3.0.0-beta.0
Major Changes
2.1.3
Patch Changes
2.1.2
Patch Changes
2.1.1
Patch Changes
2.1.0
Minor Changes
-
#4947
a5e3ecc80
Thanks @JuanM04! - ## HMR on config file changesNew in this release is the ability for config changes to automatically reflect via HMR. Now when you edit your
tsconfig.json
ortailwind.config.js
configs, the changes will reload automatically without the need to restart your dev server.
2.0.2
Patch Changes
- #4842
812658ad2
Thanks @bluwy! - Add missing dependencies, support strict dependency installation (e.g. pnpm)
2.0.1
Patch Changes
2.0.0
Migration to v2
Tailwind CSS is now a peer dependency, so you will need to install it manually when updating this integration:
npm install tailwindcss
Major Changes
- #4543
664ebf449
Thanks @aFuzzyBear! - Update peer dep with Tailwindcss
1.0.1
Patch Changes
- #4662
8cfb3fb53
Thanks @natemoo-re! - Update README to reference a.cjs
config file
1.0.0
Major Changes
-
04ad44563
- > Astro v1.0 is out! Read the official announcement post.No breaking changes. This package is now officially stable and compatible with
astro@1.0.0
!
0.2.5
Patch Changes
- #4004
ef9c4152b
Thanks @sarah11918! - [READMEs] removed "experimental" from astro add instructions
0.2.4
Patch Changes
0.2.3
Patch Changes
- #3854
b012ee55
Thanks @bholmesdev! - [astro add] Support adapters and third party packages
0.2.2
Patch Changes
- #3732
6360f474
Thanks @inwardmovement! - Marks the Tailwind integration config as optional to fix TypeScript validation warnings
0.2.1
Patch Changes
- #3183
7a61977d
Thanks @bholmesdev! - Support "astro add" before installing project dependencies
0.2.0
Minor Changes
-
#3099
254a8f37
Thanks @tony-sull! - Removes theapplyAstroPreset
integration option. Tailwind presets can be disabled directly from the Tailwind config file by includingpresets: []
See the Tailwind preset docs for more details.
0.1.2
Patch Changes
815d62f1
Thanks @FredKSchott! - no changes.
0.1.1
Patch Changes
c05a544a
Thanks @FredKSchott! - Update README
0.1.0
Minor Changes
e425f896
Thanks @FredKSchott! - Update config options to respect RFC0019
Patch Changes
e425f896
Thanks @FredKSchott! - Adds an option to opt-out of the default base styles for the Tailwind integration
0.0.2
Patch Changes
- #2831
5315c3f7
Thanks @bholmesdev! - Add support for tailwind config files. These can either be a standardtailwind.config.js|cjs|mjs
, or a custom filename as specified in your integration config.
- #2885
6b004363
Thanks @bholmesdev! - Add README across Astro built-in integrations
- #2847
3b621f7a
Thanks @tony-sull! - Adds keywords to the official integrations to support discoverability on Astro's Integrations site
0.0.2-next.0
Patch Changes
- #2831
5315c3f7
Thanks @bholmesdev! - Add support for tailwind config files. These can either be a standardtailwind.config.js|cjs|mjs
, or a custom filename as specified in your integration config.
- #2847
3b621f7a
Thanks @tony-sull! - Adds keywords to the official integrations to support discoverability on Astro's Integrations site