@nlabs/lex 1.53.14 → 1.54.0
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/config.json +3 -3
- package/jest.config.mjs +3 -0
- package/jest.config.template.cjs +3 -0
- package/package.json +4 -2
- package/webpack.config.js +5 -0
package/config.json
CHANGED
package/jest.config.mjs
CHANGED
package/jest.config.template.cjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nlabs/lex",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.54.0",
|
|
4
4
|
"description": "Lex",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -94,8 +94,10 @@
|
|
|
94
94
|
"@swc/cli": "^0.7.10",
|
|
95
95
|
"@swc/core": "^1.15.10",
|
|
96
96
|
"@swc/jest": "^0.2.39",
|
|
97
|
+
"@tailwindcss/forms": "^0.5.11",
|
|
97
98
|
"@tailwindcss/nesting": "^0.0.0-insiders.565cd3e",
|
|
98
99
|
"@tailwindcss/postcss": "4.1.18",
|
|
100
|
+
"@tailwindcss/typography": "^0.5.19",
|
|
99
101
|
"@testing-library/jest-dom": "^6.9.1",
|
|
100
102
|
"@testing-library/react": "^16.3.2",
|
|
101
103
|
"assert": "^2.1.0",
|
|
@@ -116,7 +118,7 @@
|
|
|
116
118
|
"dotenv-webpack": "^8.1.1",
|
|
117
119
|
"download-npm-package": "^3.1.12",
|
|
118
120
|
"eslint": "^9.39.2",
|
|
119
|
-
"eslint-config-styleguidejs": "^4.3.
|
|
121
|
+
"eslint-config-styleguidejs": "^4.3.1",
|
|
120
122
|
"execa": "9.6.1",
|
|
121
123
|
"expect": "^30.2.0",
|
|
122
124
|
"express": "^5.2.1",
|
package/webpack.config.js
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
* Copyrights licensed under the MIT License. See the accompanying LICENSE file for terms.
|
|
4
4
|
*/
|
|
5
5
|
import {StaticSitePlugin} from '@nlabs/webpack-plugin-static-site';
|
|
6
|
+
import tailwindForms from '@tailwindcss/forms';
|
|
6
7
|
import tailwindNesting from '@tailwindcss/nesting';
|
|
8
|
+
import tailwindTypography from '@tailwindcss/typography';
|
|
7
9
|
import tailwindcss from '@tailwindcss/postcss';
|
|
8
10
|
import autoprefixer from 'autoprefixer';
|
|
9
11
|
import CompressionWebpackPlugin from 'compression-webpack-plugin';
|
|
@@ -37,6 +39,7 @@ import {LexConfig} from './lib/LexConfig.js';
|
|
|
37
39
|
import {relativeFilePath, relativeNodePath} from './lib/utils/file.js';
|
|
38
40
|
import postcssFor from './lib/utils/postcss/postcss-for.js';
|
|
39
41
|
import postcssPercentage from './lib/utils/postcss/postcss-percentage.js';
|
|
42
|
+
import {tail} from 'lodash';
|
|
40
43
|
|
|
41
44
|
const {ProgressPlugin, ProvidePlugin} = webpack;
|
|
42
45
|
const isProduction = process.env.NODE_ENV === 'production';
|
|
@@ -536,6 +539,8 @@ export default (webpackEnv, webpackOptions) => {
|
|
|
536
539
|
warnings: false
|
|
537
540
|
}),
|
|
538
541
|
tailwindNesting(),
|
|
542
|
+
tailwindForms(),
|
|
543
|
+
tailwindTypography(),
|
|
539
544
|
postcssNesting(),
|
|
540
545
|
tailwindcss(),
|
|
541
546
|
autoprefixer(),
|