@schemastore/cosmos-config 0.0.2 → 0.0.5

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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) Florian Keller. All rights reserved.
3
+ Copyright (c) Florian Imdahl. All rights reserved.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -5,8 +5,8 @@
5
5
  This package contains type definitions for cosmos-config.
6
6
 
7
7
  ## Details
8
- Files were exported from https://github.com/ffflorian/schemastore-updater/tree/master/schemas/cosmos-config.
8
+ Files were exported from https://github.com/ffflorian/schemastore-updater/tree/main/schemas/cosmos-config.
9
9
 
10
10
  ## Additional Details
11
- * Last updated: Sat, Aug 31, 2019, 06:46:12 GMT
11
+ * Last updated: Fri, Feb 24, 2023, 11:23:32 GMT
12
12
  * Dependencies: none
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /* tslint:disable */
1
+ /* eslint-disable */
2
2
  /**
3
3
  * This file was automatically generated by json-schema-to-typescript.
4
4
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
@@ -15,6 +15,10 @@ export interface JSONSchemaForReactCosmosConfigs {
15
15
  * Where to generate static exports on disk. [default: "cosmos-export"]
16
16
  */
17
17
  exportPath?: string;
18
+ /**
19
+ * Disable plugins
20
+ */
21
+ disablePlugins?: boolean;
18
22
  /**
19
23
  * Dir path to serve static assets from.
20
24
  */
@@ -47,16 +51,37 @@ export interface JSONSchemaForReactCosmosConfigs {
47
51
  * Dev server port. [default: 5000]
48
52
  */
49
53
  port?: number;
54
+ /**
55
+ * Server will be served over HTTPS
56
+ */
57
+ https?: boolean;
58
+ /**
59
+ * Additional options for HTTPS server
60
+ */
61
+ httpsOptions?: {
62
+ /**
63
+ * Path of a certificate file
64
+ */
65
+ certPath?: string;
66
+ /**
67
+ * Path of a certificate's key file
68
+ */
69
+ keyPath?: string;
70
+ };
50
71
  /**
51
72
  * Proxy some URLs to a different HTTP server (eg. an API backend dev server). Similar to devServer.proxy in webpack config.
52
73
  */
53
74
  httpProxy?: {
54
- [k: string]: any;
75
+ [k: string]: unknown;
55
76
  };
56
77
  /**
57
78
  * Modules to be imported before loading components. Stuff like reset.css, polyfills, etc.
58
79
  */
59
80
  globalImports?: string[];
81
+ /**
82
+ * Custom renderer URL. This setting disables webpack bundling and allows integration with other build tools like Snowpack. [default: null]
83
+ */
84
+ experimentalRendererUrl?: string | null;
60
85
  /**
61
86
  * DOM-related options
62
87
  */
@@ -65,7 +90,7 @@ export interface JSONSchemaForReactCosmosConfigs {
65
90
  * Document selector for existing element to use as component parent (eg. #root). A blank container element is created from scratch if no selector is provided. [default: null]
66
91
  */
67
92
  containerQuerySelector?: string | null;
68
- [k: string]: any;
93
+ [k: string]: unknown;
69
94
  };
70
95
  /**
71
96
  * Webpack-related options
@@ -79,10 +104,18 @@ export interface JSONSchemaForReactCosmosConfigs {
79
104
  * Path to a user module that customizes the webpack config used by Cosmos. Set to null to disable this behavior. [default "webpack.override.js"]
80
105
  */
81
106
  overridePath?: string | null;
107
+ /**
108
+ * Changes output filename from "[name].js" to "[name].[contenthash].js". [default: false]
109
+ */
110
+ includeHashInOutputFilename?: boolean;
82
111
  /**
83
112
  * Enable webpack's Hot Module Replacement. [default: true]
84
113
  */
85
114
  hotReload?: boolean;
115
+ /**
116
+ * When using webpack's Hot Module Replacement, enable automatic location reload after webpack fails to update modules. [default: true]
117
+ */
118
+ reloadOnFail?: boolean;
86
119
  };
87
120
  /**
88
121
  * UI plugin options
@@ -98,6 +131,6 @@ export interface JSONSchemaForReactCosmosConfigs {
98
131
  height: number;
99
132
  }[];
100
133
  };
101
- [k: string]: any;
134
+ [k: string]: unknown;
102
135
  };
103
136
  }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
- "author": "Florian Keller <github@floriankeller.de>",
2
+ "author": "Florian Imdahl <git@ffflorian.de>",
3
3
  "dependencies": {},
4
4
  "description": "TypeScript definitions for cosmos-config.",
5
5
  "license": "MIT",
6
6
  "main": "index.d.ts",
7
7
  "name": "@schemastore/cosmos-config",
8
- "repository": "https://github.com/ffflorian/schemastore-updater/tree/master/schemas/cosmos-config",
8
+ "repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/cosmos-config",
9
9
  "scripts": {},
10
- "typesPublisherContentHash": "1113b917a295b6c229a5f2767a4b34696f2d3c6b25f988968a1fb76ece87a7ac",
10
+ "typesPublisherContentHash": "927d21b799490a092e48c01fab18837ead2e38eb36992239d8a8d7ef1ee13269",
11
11
  "types": "index.d.ts",
12
- "version": "0.0.2",
12
+ "version": "0.0.5",
13
13
  "typeScriptVersion": "2.2"
14
14
  }