@tinacms/scripts 0.50.6 → 0.50.9
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 +19 -0
- package/__mocks__/styleMock.js +13 -0
- package/dist/index.js +13 -13
- package/package.json +6 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 0.50.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 2ef5a1f33: fix scale isssue, truncate form label to filename
|
|
8
|
+
|
|
9
|
+
## 0.50.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 1f7d3ca3d: Use custom wrapper class for tailwind type plugin
|
|
14
|
+
- 6c17f0160: fix scale isssue, truncate form label to filename
|
|
15
|
+
|
|
16
|
+
## 0.50.7
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- 3ff1de06a: Upgrade to Tailwind 3
|
|
21
|
+
|
|
3
22
|
## 0.50.6
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/__mocks__/styleMock.js
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Copyright 2021 Forestry.io Holdings, Inc.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software
|
|
8
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
9
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
10
|
+
See the License for the specific language governing permissions and
|
|
11
|
+
limitations under the License.
|
|
12
|
+
*/
|
|
13
|
+
|
|
1
14
|
// __mocks__/styleMock.js
|
|
2
15
|
|
|
3
16
|
module.exports = ''
|
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",
|
|
@@ -180,7 +180,7 @@ var config = (cwd = "") => {
|
|
|
180
180
|
18: "72px",
|
|
181
181
|
20: "80px",
|
|
182
182
|
24: "96px",
|
|
183
|
-
28: "
|
|
183
|
+
28: "114px",
|
|
184
184
|
32: "128px",
|
|
185
185
|
36: "144px",
|
|
186
186
|
40: "160px",
|
|
@@ -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,17 @@ 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
|
-
_chunk2QE2RGUDjs.__require.call(void 0, "@tailwindcss/typography")
|
|
338
|
+
_chunk2QE2RGUDjs.__require.call(void 0, "@tailwindcss/typography")({
|
|
339
|
+
className: "tina-prose"
|
|
340
|
+
}),
|
|
345
341
|
_chunk2QE2RGUDjs.__require.call(void 0, "@tailwindcss/line-clamp"),
|
|
346
342
|
_chunk2QE2RGUDjs.__require.call(void 0, "@tailwindcss/aspect-ratio")
|
|
347
|
-
]
|
|
343
|
+
],
|
|
344
|
+
corePlugins: {
|
|
345
|
+
preflight: false
|
|
346
|
+
}
|
|
348
347
|
};
|
|
349
348
|
};
|
|
350
349
|
var buildIt = async (entryPoint, packageJSON) => {
|
|
@@ -388,6 +387,7 @@ var buildIt = async (entryPoint, packageJSON) => {
|
|
|
388
387
|
config: (_, env) => {
|
|
389
388
|
let plugins = [];
|
|
390
389
|
const tw = _tailwindcss2.default.call(void 0, config(process.cwd()));
|
|
390
|
+
plugins.push(_nesting2.default);
|
|
391
391
|
plugins.push(_postcssnested2.default);
|
|
392
392
|
plugins.push(tw);
|
|
393
393
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/scripts",
|
|
3
|
-
"version": "0.50.
|
|
3
|
+
"version": "0.50.9",
|
|
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",
|