@newlogic-digital/core 2.1.0 → 2.1.2

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 +6 -5
  2. package/package.json +7 -8
package/index.js CHANGED
@@ -174,16 +174,17 @@ const plugin = (options = {}) => {
174
174
 
175
175
  userConfig.build = Object.assign({
176
176
  target: ['edge89', 'firefox89', 'chrome89', 'safari15'],
177
- manifest: true,
177
+ manifest: 'manifest.json',
178
178
  emptyOutDir: false,
179
179
  modulePreload: false,
180
180
  assetsInlineLimit: 0,
181
- outDir,
182
- rollupOptions: {
183
- input: defaultInput
184
- }
181
+ outDir
185
182
  }, userConfig.build ?? {})
186
183
 
184
+ userConfig.build.rollupOptions = Object.assign({
185
+ input: defaultInput
186
+ }, userConfig.build.rollupOptions ?? {})
187
+
187
188
  userConfig.server = Object.assign({
188
189
  host: true,
189
190
  fsServe: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@newlogic-digital/core",
3
3
  "type": "module",
4
- "version": "2.1.0",
4
+ "version": "2.1.2",
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",
@@ -24,15 +24,15 @@
24
24
  "html-minifier-terser": "^7.2.0",
25
25
  "lodash": "^4.17.21",
26
26
  "fast-glob": "^3.3.2",
27
- "fs-extra": "^11.1.1",
27
+ "fs-extra": "^11.2.0",
28
28
  "picocolors": "^1.0.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@types/node": "^20.9.1",
32
- "eslint": "^8.53.0",
31
+ "@types/node": "^20.11.24",
32
+ "eslint": "^8.57.0",
33
33
  "eslint-config-standard": "^17.1.0",
34
- "typescript": "^5.2.2",
35
- "vite": "^5.0.0"
34
+ "typescript": "^5.3.3",
35
+ "vite": "^5.1.5"
36
36
  },
37
37
  "files": [
38
38
  "latte",
@@ -45,8 +45,7 @@
45
45
  "./types": "./types/*"
46
46
  },
47
47
  "engines": {
48
- "node": ">=16.0.0",
49
- "npm": ">=8.0.0"
48
+ "node": "^18.0.0 || >=20.0.0"
50
49
  },
51
50
  "repository": {
52
51
  "type": "git",