plain.tailwind 0.2.0__tar.gz → 0.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: plain.tailwind
3
- Version: 0.2.0
3
+ Version: 0.3.0
4
4
  Summary: Integrate Tailwind CSS with Plain.
5
5
  Home-page: https://plainframework.com
6
6
  License: BSD-3-Clause
@@ -0,0 +1,9 @@
1
+ from .cli import compile
2
+
3
+
4
+ def run_dev_compile():
5
+ compile(["--watch"])
6
+
7
+
8
+ def run_compile():
9
+ compile([])
@@ -5,7 +5,7 @@ packages = [
5
5
  { include = "plain" },
6
6
  ]
7
7
 
8
- version = "0.2.0"
8
+ version = "0.3.0"
9
9
  description = "Integrate Tailwind CSS with Plain."
10
10
  authors = ["Dave Gaeddert <dave.gaeddert@dropseed.dev>"]
11
11
  license = "BSD-3-Clause"
@@ -14,6 +14,12 @@ homepage = "https://plainframework.com"
14
14
  documentation = "https://plainframework.com/docs/"
15
15
  repository = "https://github.com/dropseed/plain"
16
16
 
17
+ [tool.poetry.plugins."plain.dev"]
18
+ "tailwind" = "plain.tailwind.entrypoints:run_dev_compile"
19
+
20
+ [tool.poetry.plugins."plain.assets.compile"]
21
+ "tailwind" = "plain.tailwind.entrypoints:run_compile"
22
+
17
23
  [tool.poetry.dependencies]
18
24
  python = "^3.11"
19
25
  plain = "<1.0.0"
File without changes
File without changes