@jackmaturan/tailwind-animate-css 2.0.1 → 2.0.3
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.
- package/package.json +16 -8
- package/scripts/loggly-logger.cjs +12 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jackmaturan/tailwind-animate-css",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "TailwindCSS v4.0 compatible replacement for `tailwindcss-animate`.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accordion",
|
|
@@ -66,6 +66,14 @@
|
|
|
66
66
|
"scripts",
|
|
67
67
|
"src"
|
|
68
68
|
],
|
|
69
|
+
"scripts": {
|
|
70
|
+
"build": "pnpx @tailwindcss/cli -i ./src/tailwind-animate.css -o ./dist/tailwind-animate.css -m && node ./transform.ts ./dist/tailwind-animate.css ./dist/tailwind-animate-prefix.css",
|
|
71
|
+
"demo": "pnpm --filter tailwind-animate-css-demo dev",
|
|
72
|
+
"demo:preview": "pnpm --filter tailwind-animate-css-demo build && pnpm --filter tailwind-animate-css-demo preview",
|
|
73
|
+
"format": "prettier --write --ignore-unknown .",
|
|
74
|
+
"log:os": "node ./scripts/log-os-info.cjs",
|
|
75
|
+
"prepare": "simple-git-hooks"
|
|
76
|
+
},
|
|
69
77
|
"simple-git-hooks": {
|
|
70
78
|
"pre-commit": "pnpx lint-staged",
|
|
71
79
|
"commit-msg": "pnpx commitlint --edit $1"
|
|
@@ -93,14 +101,14 @@
|
|
|
93
101
|
"simple-git-hooks": "^2.13.1",
|
|
94
102
|
"sort-package-json": "^3.4.0"
|
|
95
103
|
},
|
|
104
|
+
"packageManager": "pnpm@10.17.1",
|
|
96
105
|
"publishConfig": {
|
|
97
106
|
"access": "public"
|
|
98
107
|
},
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"log:os": "node ./scripts/log-os-info.cjs"
|
|
108
|
+
"pnpm": {
|
|
109
|
+
"onlyBuiltDependencies": [
|
|
110
|
+
"esbuild",
|
|
111
|
+
"simple-git-hooks"
|
|
112
|
+
]
|
|
105
113
|
}
|
|
106
|
-
}
|
|
114
|
+
}
|
|
@@ -47,23 +47,25 @@ function createLogglyLogger(options = {}) {
|
|
|
47
47
|
.map((tag) => tag.trim())
|
|
48
48
|
.filter(Boolean);
|
|
49
49
|
|
|
50
|
-
const
|
|
51
|
-
level: "info",
|
|
52
|
-
format: winston.format.combine(winston.format.timestamp(), winston.format.json()),
|
|
53
|
-
defaultMeta: { service: "tailwind-animate-css" },
|
|
54
|
-
transports: [new winston.transports.Console({ format: winston.format.simple() })],
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
logger.add(
|
|
50
|
+
const transports = [
|
|
58
51
|
new Loggly({
|
|
59
52
|
token: logglyConfig.token,
|
|
60
53
|
subdomain: logglyConfig.subdomain,
|
|
61
54
|
tags,
|
|
62
55
|
json: true,
|
|
63
56
|
}),
|
|
64
|
-
|
|
57
|
+
];
|
|
65
58
|
|
|
66
|
-
|
|
59
|
+
if (process.env.TAILWIND_ANIMATE_CSS_LOG_CONSOLE === "1") {
|
|
60
|
+
transports.push(new winston.transports.Console({ format: winston.format.simple() }));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return winston.createLogger({
|
|
64
|
+
level: "info",
|
|
65
|
+
format: winston.format.combine(winston.format.timestamp(), winston.format.json()),
|
|
66
|
+
defaultMeta: { service: "tailwind-animate-css" },
|
|
67
|
+
transports,
|
|
68
|
+
});
|
|
67
69
|
}
|
|
68
70
|
|
|
69
71
|
module.exports = { collectOsInfo, createLogglyLogger };
|