@studiokloek/vite-config 0.6.11 → 0.6.12

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.
@@ -1,17 +1,17 @@
1
1
  import type { ConfigEnv } from 'vite';
2
- export type ImageQualityConfig = {
2
+ export declare type ImageQualityConfig = {
3
3
  jpeg: number;
4
4
  png: [number, number];
5
5
  };
6
- export type KloekViteDevConfig = {
6
+ export declare type KloekViteDevConfig = {
7
7
  serveParams: string;
8
8
  cors?: boolean;
9
9
  https?: boolean;
10
10
  };
11
- export type KloekViteServeConfig = {
11
+ export declare type KloekViteServeConfig = {
12
12
  partials: string | string[];
13
13
  };
14
- export type KloekViteBuildConfig = {
14
+ export declare type KloekViteBuildConfig = {
15
15
  basePath: string;
16
16
  legacy?: boolean;
17
17
  browserslist?: string | string[];
@@ -19,13 +19,13 @@ export type KloekViteBuildConfig = {
19
19
  azureSWA?: boolean;
20
20
  manifest?: boolean;
21
21
  };
22
- export type KloekViteConfig = {
22
+ export declare type KloekViteConfig = {
23
23
  dev: KloekViteDevConfig;
24
24
  serve: KloekViteServeConfig;
25
25
  build: KloekViteBuildConfig;
26
26
  };
27
- export type GameSettingsProperty = 'info' | 'meta' | 'options';
28
- export type GameSettings = {
27
+ export declare type GameSettingsProperty = 'info' | 'meta' | 'options';
28
+ export declare type GameSettings = {
29
29
  info: {
30
30
  id: string;
31
31
  page: string;
@@ -44,16 +44,16 @@ export type GameSettings = {
44
44
  fullscreen: string;
45
45
  };
46
46
  };
47
- export type GamesSettings = Record<string, GameSettings>;
48
- export type GamesSettingsData = {
47
+ export declare type GamesSettings = Record<string, GameSettings>;
48
+ export declare type GamesSettingsData = {
49
49
  development: GameSettings;
50
50
  games: GamesSettings;
51
51
  };
52
- export type PackageGamesSettings = {
52
+ export declare type PackageGamesSettings = {
53
53
  generic: GameSettings;
54
54
  games: GameSettings[];
55
55
  };
56
- export type ViteOptions = {
56
+ export declare type ViteOptions = {
57
57
  root: string;
58
58
  environment: ConfigEnv;
59
59
  settings: GamesSettingsData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studiokloek/vite-config",
3
- "version": "0.6.11",
3
+ "version": "0.6.12",
4
4
  "license": "MIT",
5
5
  "author": "Martijn Swart <opensource@studiokloek.nl> (https://studiokloek.nl)",
6
6
  "description": "Base Vite config for usage in our projects.",
@@ -66,53 +66,53 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "@sveltejs/vite-plugin-svelte": "^1.4.0",
69
- "@typescript-eslint/eslint-plugin": "^5.48.0",
70
- "@typescript-eslint/parser": "^5.48.0",
69
+ "@typescript-eslint/eslint-plugin": "^5.48.2",
70
+ "@typescript-eslint/parser": "^5.48.2",
71
71
  "@vitejs/plugin-legacy": "^2.3.1",
72
- "eslint": "^8.31.0",
72
+ "eslint": "^8.32.0",
73
73
  "eslint-config-prettier": "^8.6.0",
74
74
  "eslint-formatter-pretty": "^4.1.0",
75
- "eslint-import-resolver-typescript": "^3.5.2",
75
+ "eslint-import-resolver-typescript": "^3.5.3",
76
76
  "eslint-plugin-eslint-comments": "^3.2.0",
77
- "eslint-plugin-import": "^2.26.0",
77
+ "eslint-plugin-import": "^2.27.5",
78
78
  "eslint-plugin-prettier": "^4.2.1",
79
79
  "eslint-plugin-promise": "^6.1.1",
80
80
  "eslint-plugin-svelte3": "^4.0.0",
81
- "eslint-plugin-unicorn": "^44.0.2",
81
+ "eslint-plugin-unicorn": "^45.0.2",
82
82
  "meow": "^11.0.0",
83
83
  "npm-run-all": "^4.1.5",
84
- "postcss": "^8.4.20",
84
+ "postcss": "^8.4.21",
85
85
  "postcss-load-config": "^4.0.1",
86
- "prettier": "^2.8.1",
86
+ "prettier": "^2.8.3",
87
87
  "prettier-package-json": "^2.8.0",
88
88
  "prettier-plugin-svelte": "^2.9.0",
89
89
  "sass": "^1.57.1",
90
90
  "stylelint": "^14.16.1",
91
- "svelte": "^3.55.0",
91
+ "svelte": "^3.55.1",
92
92
  "terser": "^5.16.1",
93
93
  "vite": "v3.2.5",
94
94
  "vite-plugin-banner": "^0.7.0",
95
- "vite-plugin-checker": "^0.5.3",
95
+ "vite-plugin-checker": "^0.5.4",
96
96
  "vite-plugin-full-reload": "^1.0.5",
97
97
  "vite-plugin-handlebars": "naranjamecanica/vite-plugin-handlebars#tmp-release",
98
98
  "vite-plugin-html": "3.2.0",
99
99
  "vite-plugin-imagemin": "studiokloek/vite-plugin-imagemin#tmp-release",
100
100
  "vite-plugin-live-reload": "^3.0.1",
101
- "vite-plugin-mkcert": "1.10.1",
101
+ "vite-plugin-mkcert": "1.11.0",
102
102
  "vite-tsconfig-paths": "^3.6.0"
103
103
  },
104
104
  "devDependencies": {
105
- "@microsoft/api-extractor": "7.33.7",
105
+ "@microsoft/api-extractor": "7.33.8",
106
106
  "@rollup/plugin-node-resolve": "^15.0.1",
107
107
  "@rollup/plugin-typescript": "^9.0.2",
108
- "@sveltejs/kit": "^1.0.5",
108
+ "@sveltejs/kit": "^1.2.2",
109
109
  "@types/ejs": "^3.1.1",
110
110
  "@types/estree": "^1.0.0",
111
111
  "@types/html-minifier-terser": "^7.0.0",
112
112
  "@types/node": "^18.11.18",
113
- "rimraf": "^3.0.2",
114
- "rollup": "^3.9.1",
115
- "typescript": "4.9.4",
113
+ "rimraf": "^4.1.1",
114
+ "rollup": "^3.10.1",
115
+ "typescript": "4.8.4",
116
116
  "xo": "^0.53.1"
117
117
  },
118
118
  "resolutions": {