@newlogic-digital/core 1.0.11 → 1.1.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.
Files changed (2) hide show
  1. package/index.js +6 -4
  2. package/package.json +3 -4
package/index.js CHANGED
@@ -254,7 +254,11 @@ const defaultConfig = {
254
254
  return await parseMinifyHtml(input, name)
255
255
  },
256
256
  code: 'node_modules/@newlogic-digital/core/latte/CodeFilter.php'
257
- }
257
+ },
258
+ ignoredPaths: ['**/views/email/**/!(*.test).latte']
259
+ },
260
+ postcssNesting: {
261
+ noIsPseudoSelector: true
258
262
  }
259
263
  }
260
264
 
@@ -298,9 +302,7 @@ const integration = (userConfig = {}) => {
298
302
  },
299
303
  css: {
300
304
  postcss: {
301
- plugins: [postcssImport, tailwindcssNesting(postcssNesting({
302
- noIsPseudoSelector: true
303
- })), postcssCustomMedia, postcssCustomSelectors, tailwindcss(userConfig.tailwind), autoprefixer]
305
+ plugins: [postcssImport, tailwindcssNesting(postcssNesting(userConfig.postcssNesting)), postcssCustomMedia, postcssCustomSelectors, tailwindcss(userConfig.tailwind), autoprefixer]
304
306
  }
305
307
  }
306
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.11",
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",