web-documentation 1.0.36 → 1.0.37

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.
@@ -0,0 +1,6 @@
1
+ export interface WebDocumentationConfiguration {
2
+ name?: string;
3
+ languages?: Array<string>;
4
+ tagline?: string;
5
+ trackingCode?: string;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-documentation",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "Declarative multilanguage documentation website generator",
5
5
  "keywords": [
6
6
  "documentation",
@@ -31,10 +31,11 @@
31
31
  "url": "https://github.com/thaibault/web-documentation"
32
32
  },
33
33
  "scripts": {
34
- "build": "yarn build:web; yarn build:deploy",
34
+ "build": "yarn build:types; yarn build:web; yarn build:deploy",
35
35
  "build:deploy": "weboptimizer build '{__reference__: \"target:deploy\"}'",
36
36
  "build:web": "weboptimizer build",
37
37
  "build:stats": "weboptimizer build --profile --json /tmp/stats.json | sed --regexp-extended 's/^Running \".+$//' | sed --regexp-extended 's/^Consolidate module request \".+$//' >/tmp/stats.json && echo 'Results successfully written to \"/tmp/stats.json\".'",
38
+ "build:types": "weboptimizer build:types",
38
39
  "check": "yarn check:types; yarn lint",
39
40
  "check:types": "weboptimizer check:types",
40
41
  "clear": "weboptimizer clear",
package/source/deploy.ts CHANGED
@@ -45,6 +45,13 @@ import {Stream} from 'stream'
45
45
  import {Extract} from 'unzipper'
46
46
  // endregion
47
47
  // region types
48
+ export interface WebDocumentationConfiguration {
49
+ name?: string
50
+ languages?: Array<string>
51
+ tagline?: string
52
+ trackingCode?: string
53
+ }
54
+
48
55
  interface MAKE_TEMPORARY_FILE_OPTIONS {
49
56
  directory: boolean
50
57
  encoding?: BufferEncoding | null
@@ -53,7 +60,7 @@ interface MAKE_TEMPORARY_FILE_OPTIONS {
53
60
  }
54
61
  interface SCOPE_TYPE extends Mapping<unknown> {
55
62
  description?: string
56
- webDocumentation?: PlainObject
63
+ webDocumentation?: WebDocumentationConfiguration
57
64
  files?: Array<string>
58
65
  main?: string
59
66
  name: string