@newlogic-digital/core 2.0.1 → 2.0.3

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 -1
  2. package/package.json +7 -7
package/index.js CHANGED
@@ -78,7 +78,8 @@ const defaultOptions = {
78
78
  renderTransformedHtml: (filename) => dirname(filename).endsWith('email'),
79
79
  globals: {
80
80
  srcPath: resolve(process.cwd(), 'src'),
81
- templatesPath: resolve(process.cwd(), 'src/templates')
81
+ templatesPath: resolve(process.cwd(), 'src/templates'),
82
+ template: './src/templates/Layout/Main.latte'
82
83
  },
83
84
  functions: {
84
85
  pages: () => {
@@ -146,6 +147,8 @@ const plugin = (options = {}) => {
146
147
  './src/styles/*.{css,pcss,scss,sass,less,styl,stylus}',
147
148
  './src/scripts/*.{js,ts,mjs}'
148
149
  ]
150
+ } else {
151
+ userConfig.publicDir = userConfig.publicDir ?? false
149
152
  }
150
153
 
151
154
  if (options.mode === 'emails') {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@newlogic-digital/core",
3
3
  "type": "module",
4
- "version": "2.0.1",
4
+ "version": "2.0.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",
@@ -12,27 +12,27 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@vituum/vite-plugin-posthtml": "^1.0.0",
15
- "@vituum/vite-plugin-juice": "^1.0.0",
15
+ "@vituum/vite-plugin-juice": "^1.1.0",
16
16
  "@vituum/vite-plugin-latte": "^1.0.0",
17
17
  "@vituum/vite-plugin-twig": "^1.0.0",
18
18
  "@vituum/vite-plugin-tailwindcss": "^1.0.0",
19
- "@vituum/vite-plugin-send": "^1.0.0",
19
+ "@vituum/vite-plugin-send": "^1.0.1",
20
20
  "vituum": "^1.0.0",
21
21
  "posthtml": "^0.16.6",
22
22
  "posthtml-prism": "^2.0.0",
23
23
  "prismjs": "^1.29.0",
24
24
  "html-minifier-terser": "^7.2.0",
25
25
  "lodash": "^4.17.21",
26
- "fast-glob": "^3.3.0",
26
+ "fast-glob": "^3.3.1",
27
27
  "fs-extra": "^11.1.1",
28
28
  "picocolors": "^1.0.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@types/node": "^20.4.2",
32
- "eslint": "^8.44.0",
31
+ "@types/node": "^20.4.5",
32
+ "eslint": "^8.46.0",
33
33
  "eslint-config-standard": "^17.1.0",
34
34
  "typescript": "^5.1.6",
35
- "vite": "^4.4.4"
35
+ "vite": "^4.4.7"
36
36
  },
37
37
  "files": [
38
38
  "latte",