@schemastore/cosmos-config 0.0.5 → 0.0.7

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.
Files changed (3) hide show
  1. package/README.md +22 -6
  2. package/index.d.ts +3 -3
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -1,12 +1,28 @@
1
- # Installation
2
- > `npm install --save @schemastore/cosmos-config`
1
+ # Type definitions for cosmos-config
2
+
3
+ ## Installation
4
+
5
+ ```
6
+ npm i @schemastore/cosmos-config
7
+ yarn add @schemastore/cosmos-config
8
+ ```
9
+
10
+ ## Summary
3
11
 
4
- # Summary
5
12
  This package contains type definitions for cosmos-config.
6
13
 
7
- ## Details
8
- Files were exported from https://github.com/ffflorian/schemastore-updater/tree/main/schemas/cosmos-config.
14
+ ## Usage
15
+
16
+ ```ts
17
+ import * as cosmos_config from '@schemastore/cosmos-config';
18
+ ```
19
+
20
+ ## Note
21
+
22
+ The definitions were auto-generated by [schemastore-updater](https://github.com/ffflorian/schemastore-updater) using [`json-schema-to-typescript`](https://www.npmjs.com/package/json-schema-to-typescript).
9
23
 
10
24
  ## Additional Details
11
- * Last updated: Fri, Feb 24, 2023, 11:23:32 GMT
25
+
26
+ * [Schema source](https://github.com/SchemaStore/schemastore/tree/master/src/schemas/json/cosmos-config)
27
+ * Last updated: Sat, Jul 19, 2025, 17:01:20 GMT
12
28
  * Dependencies: none
package/index.d.ts CHANGED
@@ -72,7 +72,7 @@ export interface JSONSchemaForReactCosmosConfigs {
72
72
  * Proxy some URLs to a different HTTP server (eg. an API backend dev server). Similar to devServer.proxy in webpack config.
73
73
  */
74
74
  httpProxy?: {
75
- [k: string]: unknown;
75
+ [k: string]: unknown | undefined;
76
76
  };
77
77
  /**
78
78
  * Modules to be imported before loading components. Stuff like reset.css, polyfills, etc.
@@ -90,7 +90,7 @@ export interface JSONSchemaForReactCosmosConfigs {
90
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]
91
91
  */
92
92
  containerQuerySelector?: string | null;
93
- [k: string]: unknown;
93
+ [k: string]: unknown | undefined;
94
94
  };
95
95
  /**
96
96
  * Webpack-related options
@@ -131,6 +131,6 @@ export interface JSONSchemaForReactCosmosConfigs {
131
131
  height: number;
132
132
  }[];
133
133
  };
134
- [k: string]: unknown;
134
+ [k: string]: unknown | undefined;
135
135
  };
136
136
  }
package/package.json CHANGED
@@ -7,8 +7,8 @@
7
7
  "name": "@schemastore/cosmos-config",
8
8
  "repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/cosmos-config",
9
9
  "scripts": {},
10
- "typesPublisherContentHash": "927d21b799490a092e48c01fab18837ead2e38eb36992239d8a8d7ef1ee13269",
10
+ "typeScriptVersion": "2.2",
11
11
  "types": "index.d.ts",
12
- "version": "0.0.5",
13
- "typeScriptVersion": "2.2"
14
- }
12
+ "typesPublisherContentHash": "927d21b799490a092e48c01fab18837ead2e38eb36992239d8a8d7ef1ee13269",
13
+ "version": "0.0.7"
14
+ }