35 Commits

Author SHA1 Message Date
Jordan Pittman
f07dbff2a7 3.4.10 2024-08-13 16:24:27 -04:00
Jordan Pittman
c4f23621e1
Bump versions of plugins in the Standalone CLI (#14185)
This PR updates the plugins built into the standalone CLI. The bundled
versions here are several versions behind (whoops).
2024-08-13 16:16:49 -04:00
Jordan Pittman
1f23c2e842
Bump to latest cssnano v6 (#14105)
We bundle cssnano in our CLI and it's on an older version that does not
handle nested CSS correctly. This PR updates it to the latest version of
v6.x

Fixes #14092
2024-08-02 08:57:14 -04:00
Jordan Pittman
28bd90eefb
Automate checksum generation for standalone CLI (#14081) 2024-08-01 10:02:25 -04:00
Jordan Pittman
9c29e47c5f 3.4.6 2024-07-16 09:37:15 -04:00
Jordan Pittman
10a1197989 3.4.5 2024-07-15 10:56:16 -04:00
Jordan Pittman
ff6f085da2 3.4.4 2024-06-05 12:55:54 -04:00
Jordan Pittman
325e7c03ce
Bump deps (#13797) 2024-06-05 12:53:06 -04:00
Jordan Pittman
f1f419a9ec 3.4.3 2024-03-27 15:18:37 -04:00
Jordan Pittman
8430d8b520 3.4.2 2024-03-27 11:25:32 -04:00
Jordan Pittman
b10b431d97
Transpile import.meta.url in config files (#13322)
* Use Babel to transpile configs when import.meta is present

* Update minimum jiti version

* Update changelog
2024-03-22 12:45:19 -04:00
Robin Malfait
44b3b429a8
Cleanup oxide — Part #2 (#13312)
* remove all oxide related code

* Update lightningcss to version 1.24.1

* update tests to match bumped Lightning CSS output

---------

Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2024-03-22 17:12:14 +01:00
saibotk
d86fd0bb5b
CI: Add provenance to all published packages (#13097)
* CI: Add provenance to all published packages

This commit adds provenance for all published packages. See the NPM documentation [0].

Provenance will allow people to verify that the tailwindcss packages were actually built on GH Actions and with the content of the corresponding commit. This will help with supply chain security.

For this to work, the `id-token` permission was added only where necessary.

[0]: https://docs.npmjs.com/generating-provenance-statements

* chore: Add missing repository links to packages

This is needed for provenance, to link the repository to the build accoring to the NPM docs [0].

[0]: https://docs.npmjs.com/generating-provenance-statements#prerequisites
2024-03-07 15:32:58 -05:00
Jordan Pittman
7361468f77 3.4.1 2024-01-05 15:31:16 -05:00
Jordan Pittman
8350cffdad 3.4.0 2023-12-18 14:52:00 -05:00
Jordan Pittman
b01283cc9b 3.3.7 2023-12-18 13:53:08 -05:00
Jordan Pittman
e26a1ba5f1 Fix loading of built-in plugins when using an ESM or TypeScript config with the Standalone CLI (#12506) 2023-12-01 11:46:18 -05:00
Jordan Pittman
48ff773193 Update test 2023-04-25 17:45:45 -04:00
Jordan Pittman
7bd1a3f060 Revert "Fix standalone CLI tests"
This reverts commit 0e539a7929dfb5475e3c9b4423f572c89ea0fa91.
2023-04-25 16:45:41 -04:00
Jordan Pittman
0e539a7929 Fix standalone CLI tests 2023-04-25 16:34:08 -04:00
Robin Malfait
bd0497fc5d
Drop support for Node.js v12 (#11089)
* bump `postcss-load-config` in the oxide engine

* bump `postcss-load-config` in the stable engine

* update changelog

* Switch to stable

* Update Node to v14

* Update to latest dependency versions

* Update test helper for new version of `rimraf`

Co-Authored-By: Jordan Pittman <jordan@cryptica.me>

* Downgrade `lightningcss` to `v1.18.0`

Co-Authored-By: Jordan Pittman <jordan@cryptica.me>

* Switch back to oxide

* Update Github actions from Node 12 to Node 14

* Update oxide dependencies

* Update stable dependencies

* Update `content-resolution` integration test dependencies

* Update `postcss-cli` integration test dependencies

* Update `rollup` integration test dependencies

* Update `rollup-sass` integration test dependencies

* Update `vite` integration test dependencies

* Update `webpack-5` integration test dependencies

* Update changelog

* Remove `color-name` dependency

* Replace `quick-lru` dependency with `@alloc/quick-lru`

* Replace `quick-lru` dependency with `@alloc/quick-lru` in stable

* Fix standalone CLI test

---------

Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2023-04-25 16:28:20 -04:00
Jordan Pittman
6ed3ba365d Update warning message 2023-03-24 10:44:18 -04:00
Jordan Pittman
6138d69c1b
Warn when @tailwindcss/line-clamp plugin is being used (#10862)
* Warn if line-clamp plugin is installed

* Replace line-clamp in standalone CLI

* Update import

* Remove line-clamp plugin if found

* update lockfiles

* Update changelog
2023-03-24 09:58:06 -04:00
Michael J. Rasicci
9e8d37a8e2
Add standalone-cli build for Windows Arm64 platform (#10001)
* Add standalone-cli build for Windows ARM64

* Fix path to binary on windows

* Fix style

* Simplify Windows mapping in standalone CLI tests

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2022-12-05 12:39:04 -05:00
Jonathan Reinink
bc3d38b08b
Add container queries plugin to standalone CLI (#9865)
* Add container queries plugin to standalone CLI

* Add container queries to standalone CLI tests

* Update changelog
2022-11-17 10:18:27 -05:00
Robin Malfait
1dc4a76cc7
increase jest test timeout 2022-10-19 18:57:00 +02:00
Robin Malfait
4041c863b8
Ensure --content is used in the CLI when passed (#9587)
* update changelog

* ensure `--content` is taken into account

* cleanup tests

- Use `rm` instead of deprecated `rmdir`
- Type the returnType correctly

* use a file not included in `content` of your tailwind.config.js file
2022-10-17 16:40:50 +02:00
Roman Kotov
4ff417c5b6
Add standalone-cli node16-linux-armv7 build (#9084)
* Add standalone-cli node16-linux-armv7 build

* Update changelog

Co-authored-by: Roman Kotov <roman@MacOS.lan>
Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2022-08-12 13:10:10 -04:00
Jordan Pittman
1fa9d71fc1 Tweak standalone CLI build setup 2022-07-29 11:48:22 -04:00
Jordan Pittman
97bc222365 Update deps 2022-07-29 11:48:22 -04:00
Jordan Pittman
445970dcb7
Fix usage of postcss.config.js in standalone CLI (#8769)
* Update deps

* Fix usage of postcss config file in standalone CLI

The config file created with `--postcss` would fail because we didn’t stub require to load `tailwindcss` or `autoprefixer` when we should.

* Update tests

* WIP
2022-07-04 10:51:28 -04:00
Jordan Pittman
cd17ec03b0
Remove cross-env and postcss-cli deps (#6964) 2022-01-07 15:40:36 -05:00
Max Veytsman
93e5717f73
Switch to using linuxstatic build target (#6914) 2022-01-06 08:13:44 -05:00
Philipp Schmid
2317533a57
Add standalone-cli node16-linux-arm64 build (#6693) 2021-12-28 16:06:49 -05:00
Jordan Pittman
47e8556e3b
Add standalone tailwindcss CLI (#6506)
* Move standalone CLI into main repo

* Update release tag

* Update workflow

* Ignore standalone CLI tests

* Fix style

* Update changelog [ci skip]
2021-12-14 18:12:06 +01:00