@tinacms/scripts 0.50.6 → 0.50.7
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/CHANGELOG.md +6 -0
- package/dist/index.js +9 -11
- package/package.json +6 -7
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -12,6 +12,7 @@ var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
|
|
12
12
|
var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
|
|
13
13
|
var _tailwindcss = require('tailwindcss'); var _tailwindcss2 = _interopRequireDefault(_tailwindcss);
|
|
14
14
|
var _postcssnested = require('postcss-nested'); var _postcssnested2 = _interopRequireDefault(_postcssnested);
|
|
15
|
+
var _nesting = require('tailwindcss/nesting'); var _nesting2 = _interopRequireDefault(_nesting);
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
var _commander = require('commander');
|
|
@@ -125,8 +126,7 @@ e.g: "forestry types:gen --help"
|
|
|
125
126
|
}
|
|
126
127
|
var config = (cwd = "") => {
|
|
127
128
|
return {
|
|
128
|
-
|
|
129
|
-
important: true,
|
|
129
|
+
important: ".tina-tailwind",
|
|
130
130
|
theme: {
|
|
131
131
|
columns: {
|
|
132
132
|
auto: "auto",
|
|
@@ -297,6 +297,7 @@ var config = (cwd = "") => {
|
|
|
297
297
|
gray: {
|
|
298
298
|
50: "#F6F6F9",
|
|
299
299
|
100: "#EDECF3",
|
|
300
|
+
150: "#E6E3EF",
|
|
300
301
|
200: "#E1DDEC",
|
|
301
302
|
250: "#C9C5D5",
|
|
302
303
|
300: "#b2adbe",
|
|
@@ -332,19 +333,15 @@ var config = (cwd = "") => {
|
|
|
332
333
|
}
|
|
333
334
|
}
|
|
334
335
|
},
|
|
335
|
-
|
|
336
|
-
backgroundColor: ["responsive", "even", "hover", "focus"],
|
|
337
|
-
extend: {
|
|
338
|
-
animation: ["group-hover"],
|
|
339
|
-
padding: ["first", "last"]
|
|
340
|
-
}
|
|
341
|
-
},
|
|
342
|
-
purge: [_path2.default.join(cwd, "src/**/*.{vue,js,ts,jsx,tsx,svelte}")],
|
|
336
|
+
content: [_path2.default.join(cwd, "src/**/*.{vue,js,ts,jsx,tsx,svelte}")],
|
|
343
337
|
plugins: [
|
|
344
338
|
_chunk2QE2RGUDjs.__require.call(void 0, "@tailwindcss/typography"),
|
|
345
339
|
_chunk2QE2RGUDjs.__require.call(void 0, "@tailwindcss/line-clamp"),
|
|
346
340
|
_chunk2QE2RGUDjs.__require.call(void 0, "@tailwindcss/aspect-ratio")
|
|
347
|
-
]
|
|
341
|
+
],
|
|
342
|
+
corePlugins: {
|
|
343
|
+
preflight: false
|
|
344
|
+
}
|
|
348
345
|
};
|
|
349
346
|
};
|
|
350
347
|
var buildIt = async (entryPoint, packageJSON) => {
|
|
@@ -388,6 +385,7 @@ var buildIt = async (entryPoint, packageJSON) => {
|
|
|
388
385
|
config: (_, env) => {
|
|
389
386
|
let plugins = [];
|
|
390
387
|
const tw = _tailwindcss2.default.call(void 0, config(process.cwd()));
|
|
388
|
+
plugins.push(_nesting2.default);
|
|
391
389
|
plugins.push(_postcssnested2.default);
|
|
392
390
|
plugins.push(tw);
|
|
393
391
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/scripts",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.7",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -22,10 +22,9 @@
|
|
|
22
22
|
"@babel/core": "^7.15.0",
|
|
23
23
|
"@babel/plugin-transform-modules-commonjs": "^7.15.0",
|
|
24
24
|
"@sucrase/jest-plugin": "^2.1.1",
|
|
25
|
-
"@tailwindcss/aspect-ratio": "^0.
|
|
26
|
-
"@tailwindcss/
|
|
27
|
-
"@tailwindcss/
|
|
28
|
-
"@tailwindcss/typography": "^0.4.1",
|
|
25
|
+
"@tailwindcss/aspect-ratio": "^0.4.0",
|
|
26
|
+
"@tailwindcss/line-clamp": "^0.3.1",
|
|
27
|
+
"@tailwindcss/typography": "^0.5.0",
|
|
29
28
|
"@types/inquirer": "^6.5.0",
|
|
30
29
|
"@yarnpkg/esbuild-plugin-pnp": "^1.0.0-rc.12",
|
|
31
30
|
"chalk": "^4.1.1",
|
|
@@ -41,9 +40,9 @@
|
|
|
41
40
|
"jest": "^27.0.6",
|
|
42
41
|
"meow": "^10.0.1",
|
|
43
42
|
"normalize-path": "^3.0.0",
|
|
44
|
-
"postcss": "^8.
|
|
43
|
+
"postcss": "^8.4.5",
|
|
45
44
|
"postcss-nested": "^5.0.6",
|
|
46
|
-
"tailwindcss": "^
|
|
45
|
+
"tailwindcss": "^3.0.13",
|
|
47
46
|
"tsup": "^4.12.5",
|
|
48
47
|
"typescript": "^4.2.2",
|
|
49
48
|
"vite": "^2.4.3",
|