@schemastore/cosmos-config 0.0.4 → 0.0.6
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 +1 -1
- package/README.md +22 -6
- package/index.d.ts +37 -4
- package/package.json +5 -5
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) Florian
|
|
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
|
@@ -1,12 +1,28 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
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
|
-
##
|
|
8
|
-
|
|
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
|
-
|
|
25
|
+
|
|
26
|
+
* [Schema source](https://github.com/SchemaStore/schemastore/tree/master/src/schemas/json/cosmos-config)
|
|
27
|
+
* Last updated: Fri, Jun 30, 2023, 21:03:58 GMT
|
|
12
28
|
* Dependencies: none
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*
|
|
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]: unknown;
|
|
75
|
+
[k: string]: unknown | undefined;
|
|
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]: unknown;
|
|
93
|
+
[k: string]: unknown | undefined;
|
|
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]: unknown;
|
|
134
|
+
[k: string]: unknown | undefined;
|
|
102
135
|
};
|
|
103
136
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"author": "Florian
|
|
2
|
+
"author": "Florian Imdahl <git@ffflorian.de>",
|
|
3
3
|
"dependencies": {},
|
|
4
4
|
"description": "TypeScript definitions for cosmos-config.",
|
|
5
5
|
"license": "MIT",
|
|
@@ -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
|
-
"
|
|
10
|
+
"typeScriptVersion": "2.2",
|
|
11
11
|
"types": "index.d.ts",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
}
|
|
12
|
+
"typesPublisherContentHash": "5355794639198465362bbd7a73dafd7fa17851e1949f399d3ccb1962e2a15849",
|
|
13
|
+
"version": "0.0.6"
|
|
14
|
+
}
|