teacss 0.2.0-alpha.8 → 0.3.1

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.
@@ -0,0 +1,3 @@
1
+ import preset_articles_default from "@teacss/preset-articles";
2
+ export * from "@teacss/preset-articles";
3
+ export { preset_articles_default as default };
@@ -0,0 +1 @@
1
+ import e from"@teacss/preset-articles";export*from"@teacss/preset-articles";export{e as default};
@@ -0,0 +1,3 @@
1
+ import preset_icons_default from "@teacss/preset-icons";
2
+ export * from "@teacss/preset-icons";
3
+ export { preset_icons_default as default };
@@ -0,0 +1 @@
1
+ import e from"@teacss/preset-icons";export*from"@teacss/preset-icons";export{e as default};
@@ -0,0 +1,3 @@
1
+ import preset_standard_default from "@teacss/preset-standard";
2
+ export * from "@teacss/preset-standard";
3
+ export { preset_standard_default as default };
@@ -0,0 +1 @@
1
+ import e from"@teacss/preset-standard";export*from"@teacss/preset-standard";export{e as default};
package/package.json CHANGED
@@ -1,158 +1,41 @@
1
1
  {
2
2
  "name": "teacss",
3
- "version": "0.2.0-alpha.8",
3
+ "version": "0.3.1",
4
+ "description": "The TeaCSS application entry with the official `cn`, `recipe`, engine, and preset subpaths.",
5
+ "homepage": "https://css.teasim.com",
6
+ "funding": "https://github.com/sponsors/billgo",
4
7
  "license": "MIT",
5
- "description": "Teacss aims to provide a one-stop solution for writing stylesheet.",
6
8
  "author": "Billgo <hi@billgo.me>",
7
- "bugs": "https://github.com/teacss/styles/issues",
8
- "repository": "git+ssh://git@github.com:teacss/styles.git",
9
- "homepage": "/",
10
- "main": "dist/index.cjs",
11
- "module": "dist/index.mjs",
12
- "types": "./dist/index.d.ts",
9
+ "sideEffects": false,
10
+ "type": "module",
13
11
  "exports": {
14
- ".": {
15
- "require": {
16
- "types": "./dist/index.d.ts",
17
- "default": "./dist/index.cjs"
18
- },
19
- "import": {
20
- "types": "./dist/index.d.mts",
21
- "default": "./dist/index.mjs"
22
- }
23
- },
24
- "./unocss": {
25
- "require": {
26
- "types": "./dist/unocss.d.ts",
27
- "default": "./dist/unocss.cjs"
28
- },
29
- "import": {
30
- "types": "./dist/unocss.d.mts",
31
- "default": "./dist/unocss.mjs"
32
- }
33
- },
34
- "./postcss": {
35
- "require": {
36
- "types": "./dist/postcss.d.ts",
37
- "default": "./dist/postcss.cjs"
38
- },
39
- "import": {
40
- "types": "./dist/postcss.d.mts",
41
- "default": "./dist/postcss.mjs"
42
- }
43
- },
44
- "./stitches": {
45
- "require": {
46
- "types": "./dist/stitches.d.ts",
47
- "default": "./dist/stitches.cjs"
48
- },
49
- "import": {
50
- "types": "./dist/stitches.d.mts",
51
- "default": "./dist/stitches.mjs"
52
- }
53
- },
54
- "./colors": {
55
- "require": {
56
- "types": "./dist/colors.d.ts",
57
- "default": "./dist/colors.cjs"
58
- },
59
- "import": {
60
- "types": "./dist/colors.d.mts",
61
- "default": "./dist/colors.mjs"
62
- }
63
- },
64
- "./*": "./*"
12
+ ".": "./dist/index.js",
13
+ "./core": "./dist/core.js",
14
+ "./preset-articles": "./dist/preset-articles.js",
15
+ "./preset-icons": "./dist/preset-icons.js",
16
+ "./preset-standard": "./dist/preset-standard.js",
17
+ "./package.json": "./package.json"
65
18
  },
19
+ "types": "./dist/index.d.ts",
66
20
  "files": [
67
21
  "dist",
68
- "types",
69
22
  "README.md"
70
23
  ],
71
24
  "scripts": {
72
- "prepublishOnly": "bun run build",
73
- "build": "bunx rimraf dist && bun run build:esm && bun run build:bun && rollup -c",
74
- "build:bun": "bun run bun.build.mjs",
75
- "build:esm": "bunx tsup",
76
- "build:app": "bunx rimraf build && bunx cross-env BUILD_TYPE=single rsbuild build",
77
- "build:css": "postcss example/styles/utilities/index.css -o build/utilities.css --config postcss.config.mjs",
78
- "start": "bunx kill-port 3000 && bunx rsbuild dev --open http://localhost:3000"
25
+ "build": "bunx rimraf dist && bunx tsdown --config tsdown.config.mts",
26
+ "dev": "tsdown --watch"
79
27
  },
80
28
  "dependencies": {
81
- "@teacss/postcss-breakpoints": "^0.1.0-alpha.0",
82
- "@teacss/postcss-whitespace": "^0.1.0-alpha.0",
83
- "@unocss/core": "^0.62.4",
84
- "@unocss/postcss": "^0.62.4",
85
- "@unocss/rule-utils": "^0.62.4",
86
- "@unocss/transformer-directives": "^0.62.4",
87
- "@unocss/transformer-variant-group": "^0.62.4",
88
- "autoprefixer": "^10.4.20",
89
- "classnames": "^2.5.1",
90
- "clsx": "^2.1.1",
91
- "postcss-combine-duplicated-selectors": "^10.0.3",
92
- "postcss-custom-media": "^11.0.1",
93
- "postcss-discard-comments": "^7.0.3",
94
- "postcss-discard-duplicates": "^7.0.1",
95
- "postcss-discard-empty": "^7.0.0",
96
- "postcss-discard-unused": "^7.0.3",
97
- "postcss-import": "^16.1.0",
98
- "postcss-nesting": "^13.0.0",
99
- "tailwind-merge": "^2.5.2"
100
- },
101
- "devDependencies": {
102
- "@biomejs/biome": "1.9.0",
103
- "@devjskit/biome-config": "^0.1.6",
104
- "@devjskit/copy-files": "^1.0.0",
105
- "@devjskit/cross-env": "^1.0.0",
106
- "@devjskit/kill-port": "^1.0.0",
107
- "@devjskit/rimraf": "^1.0.0",
108
- "@happy-dom/global-registrator": "^15.7.4",
109
- "@rsbuild/core": "^1.0.4",
110
- "@rsbuild/plugin-react": "^1.0.2",
111
- "@rsbuild/plugin-svgr": "^1.0.2",
112
- "@tanstack/react-query": "^5.56.2",
113
- "@tanstack/react-query-devtools": "^5.56.2",
114
- "@types/bun": "^1.1.9",
115
- "@types/postcss-import": "^14.0.3",
116
- "@types/react": "^18.3.6",
117
- "@types/react-dom": "^18.3.0",
118
- "@types/web": "^0.0.163",
119
- "cpy-cli": "^5.0.0",
120
- "cypress": "^13.14.2",
121
- "cypress-real-events": "^1.13.0",
122
- "ky": "^1.7.2",
123
- "nprogress": "^0.2.0",
124
- "postcss": "^8.4.47",
125
- "postcss-cli": "^11.0.0",
126
- "react": "^18.3.1",
127
- "react-dom": "^18.3.1",
128
- "react-hook-form": "^7.53.0",
129
- "react-intl": "^6.6.8",
130
- "react-router-dom": "^6.26.2",
131
- "rollup": "^4.21.3",
132
- "rollup-plugin-dts": "^6.1.1",
133
- "styled-components": "^6.1.13",
134
- "stylelint": "^16.9.0",
135
- "tsup": "^8.3.0",
136
- "typescript": "^5.6.2",
137
- "zustand": "^4.5.5"
138
- },
139
- "peerDependencies": {
140
- "@types/react": "*",
141
- "@types/react-dom": "*",
142
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0",
143
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0",
144
- "postcss": "^8.0"
29
+ "@teacss/classes": "0.3.1",
30
+ "@teacss/core": "0.3.1",
31
+ "@teacss/preset-articles": "0.3.1",
32
+ "@teacss/preset-icons": "0.3.1",
33
+ "@teacss/preset-standard": "0.3.1"
145
34
  },
146
- "peerDependenciesMeta": {
147
- "@types/react": {
148
- "optional": true
149
- },
150
- "@types/react-dom": {
151
- "optional": true
152
- }
35
+ "engines": {
36
+ "node": ">=22.12.0"
153
37
  },
154
38
  "publishConfig": {
155
- "registry": "https://registry.npmjs.org/",
156
39
  "access": "public"
157
40
  }
158
41
  }