@newlogic-digital/core 1.0.12 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +4 -3
  2. package/package.json +3 -4
package/index.js CHANGED
@@ -256,6 +256,9 @@ const defaultConfig = {
256
256
  code: 'node_modules/@newlogic-digital/core/latte/CodeFilter.php'
257
257
  },
258
258
  ignoredPaths: ['**/views/email/**/!(*.test).latte']
259
+ },
260
+ postcssNesting: {
261
+ noIsPseudoSelector: true
259
262
  }
260
263
  }
261
264
 
@@ -299,9 +302,7 @@ const integration = (userConfig = {}) => {
299
302
  },
300
303
  css: {
301
304
  postcss: {
302
- plugins: [postcssImport, tailwindcssNesting(postcssNesting({
303
- noIsPseudoSelector: true
304
- })), postcssCustomMedia, postcssCustomSelectors, tailwindcss(userConfig.tailwind), autoprefixer]
305
+ plugins: [postcssImport, tailwindcssNesting(postcssNesting(userConfig.postcssNesting)), postcssCustomMedia, postcssCustomSelectors, tailwindcss(userConfig.tailwind), autoprefixer]
305
306
  }
306
307
  }
307
308
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@newlogic-digital/core",
3
3
  "type": "module",
4
- "version": "1.0.12",
4
+ "version": "1.1.0",
5
5
  "main": "index.js",
6
6
  "author": "New Logic Studio s.r.o.",
7
7
  "description": "Set of tools that can be used to create modern web applications",
@@ -10,16 +10,15 @@
10
10
  "npm-publish": "npm publish --tag next"
11
11
  },
12
12
  "dependencies": {
13
- "@vituum/tailwind": "^0.1.4",
14
13
  "@vituum/posthtml": "^0.1.0",
15
14
  "@vituum/juice": "^0.1.5",
16
15
  "@vituum/twig": "^0.1.1",
17
16
  "@vituum/latte": "^0.1.1",
18
17
  "posthtml-prism": "^2.0.0",
19
18
  "prismjs": "^1.29.0",
20
- "html-minifier-terser": "^7.1.0",
19
+ "html-minifier-terser": "^7.2.0",
21
20
  "lodash": "^4.17.21",
22
- "vituum": "^0.0.41"
21
+ "vituum": "^0.0.42"
23
22
  },
24
23
  "files": [
25
24
  "latte",