@newlogic-digital/core 1.0.8 → 1.0.10

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 +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -27,7 +27,7 @@ const posthtmlPrism = {
27
27
  transform: async(html, { filename }) => {
28
28
  filename = filename.replace('?raw', '')
29
29
 
30
- if (!filename.endsWith('ui.json')) {
30
+ if (!filename.endsWith('ui.json') && !filename.endsWith('ui.vituum.json.html')) {
31
31
  return
32
32
  }
33
33
 
@@ -273,7 +273,7 @@ const integration = (userConfig = {}) => {
273
273
  })
274
274
 
275
275
  await Promise.all(emails.map((file, i) =>
276
- fse.move(file, emailsProd[i])
276
+ fse.move(file, emailsProd[i], { overwrite: true })
277
277
  ))
278
278
 
279
279
  console.info(`${chalk.cyan(`newlogic-core`)} ${chalk.green('all email files moved')}`)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@newlogic-digital/core",
3
3
  "type": "module",
4
- "version": "1.0.8",
4
+ "version": "1.0.10",
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",