@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 CHANGED
@@ -14,10 +14,10 @@
14
14
  "swc": {
15
15
  "jsc": {
16
16
  "parser": {
17
- "syntax": "typescript",
18
- "tsx": true,
19
17
  "decorators": true,
20
- "dynamicImport": true
18
+ "dynamicImport": true,
19
+ "syntax": "typescript",
20
+ "tsx": true
21
21
  },
22
22
  "target": "es2020",
23
23
  "transform": {
package/jest.config.mjs CHANGED
@@ -56,6 +56,9 @@ const baseConfig = {
56
56
  runtime: 'automatic'
57
57
  }
58
58
  }
59
+ },
60
+ module: {
61
+ type: 'es6'
59
62
  }
60
63
  }]
61
64
  },
@@ -48,6 +48,9 @@ const baseConfig = {
48
48
  runtime: 'automatic'
49
49
  }
50
50
  }
51
+ },
52
+ module: {
53
+ type: 'es6'
51
54
  }
52
55
  }]
53
56
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nlabs/lex",
3
- "version": "1.53.14",
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.0",
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(),