@newlogic-digital/core 2.0.0-beta.1 → 2.0.0-beta.3

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -56,18 +56,13 @@ const defaultOptions = {
56
56
  }
57
57
  },
58
58
  posthtml: {
59
- enforce: 'pre',
60
59
  root: resolve(process.cwd(), 'src')
61
60
  },
62
61
  juice: {
63
62
  paths: ['src/views/email']
64
63
  },
65
64
  tailwindcss: {},
66
- send: {
67
- host: 'smtp.newlogic.cz',
68
- from: 'noreply@newlogic.cz',
69
- user: 'noreply@newlogic.cz'
70
- },
65
+ send: {},
71
66
  latte: {
72
67
  renderTransformedHtml: (filename) => dirname(filename).endsWith('email'),
73
68
  globals: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@newlogic-digital/core",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.1",
4
+ "version": "2.0.0-beta.3",
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",
@@ -11,13 +11,13 @@
11
11
  "eslint": "eslint '**/*.js' --fix"
12
12
  },
13
13
  "dependencies": {
14
- "@vituum/vite-plugin-posthtml": "^1.0.0-beta.1",
14
+ "@vituum/vite-plugin-posthtml": "^1.0.0-beta.2",
15
15
  "@vituum/vite-plugin-juice": "^1.0.0-beta.1",
16
16
  "@vituum/vite-plugin-latte": "^1.0.0-beta.1",
17
- "@vituum/vite-plugin-twig": "^1.0.0-beta.1",
17
+ "@vituum/vite-plugin-twig": "^1.0.0-beta.2",
18
18
  "@vituum/vite-plugin-tailwindcss": "^1.0.0-beta.1",
19
- "@vituum/vite-plugin-send": "^1.0.0-beta.1",
20
- "vituum": "^1.0.0-beta.3",
19
+ "@vituum/vite-plugin-send": "^1.0.0-beta.2",
20
+ "vituum": "^1.0.0-beta.7",
21
21
  "posthtml": "^0.16.6",
22
22
  "posthtml-prism": "^2.0.0",
23
23
  "prismjs": "^1.29.0",
@@ -28,7 +28,7 @@
28
28
  "picocolors": "^1.0.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@types/node": "^20.3.1",
31
+ "@types/node": "^20.3.2",
32
32
  "eslint": "^8.43.0",
33
33
  "eslint-config-standard": "^17.1.0",
34
34
  "typescript": "^5.1.3",
package/types/index.d.ts CHANGED
@@ -4,7 +4,7 @@ interface Emails {
4
4
  }
5
5
 
6
6
  export interface PluginUserConfig {
7
- mode?: string
7
+ mode?: 'development' | 'production' | 'emails'
8
8
  format?: string[]
9
9
  cert?: string
10
10
  emails?: Emails