web-documentation 1.0.0 → 1.0.3
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/build/deploy.js +1 -1
- package/package.json +12 -12
- package/source/index.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "web-documentation",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Declarative multilanguage documentation website generator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"documentation",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"clear": "weboptimizer clear",
|
|
41
41
|
"document": "weboptimizer document",
|
|
42
42
|
"lint": "weboptimizer lint",
|
|
43
|
-
"
|
|
43
|
+
"prepare": "yarn build",
|
|
44
44
|
"serve": "weboptimizer serve",
|
|
45
45
|
"start": "yarn serve",
|
|
46
46
|
"test": "yarn clear && weboptimizer test",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"watch": "weboptimizer build --watch"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@aws-sdk/client-s3": "^3.
|
|
53
|
+
"@aws-sdk/client-s3": "^3.1034.0",
|
|
54
54
|
"@babel/eslint-parser": "^7.28.6",
|
|
55
55
|
"@babel/runtime": "^7.29.2",
|
|
56
56
|
"@eslint/js": "^10.0.1",
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"@typescript-eslint/parser": "^8.59.0",
|
|
68
68
|
"@webcomponents/webcomponentsjs": "^2.8.0",
|
|
69
69
|
"archiver": "^7.0.1",
|
|
70
|
-
"clientnode": "^4.0.
|
|
70
|
+
"clientnode": "^4.0.1388",
|
|
71
71
|
"css-loader": "^7.1.4",
|
|
72
72
|
"cssnano": "^7.1.7",
|
|
73
73
|
"default-gateway": "^7.2.2",
|
|
74
|
-
"errorreporter": "^1.0.
|
|
74
|
+
"errorreporter": "^1.0.339",
|
|
75
75
|
"eslint": "^10.2.1",
|
|
76
76
|
"eslint-config-google": "^0.14.0",
|
|
77
77
|
"eslint-plugin-jsdoc": "^62.9.0",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"highlight.js": "^11.11.1",
|
|
81
81
|
"jest": "^30.3.0",
|
|
82
82
|
"jsdoc": "^4.0.5",
|
|
83
|
-
"legal-notes": "^1.0.
|
|
83
|
+
"legal-notes": "^1.0.29",
|
|
84
84
|
"marked": "^18.0.2",
|
|
85
85
|
"marked-gfm-heading-id": "^4.1.4",
|
|
86
86
|
"marked-highlight": "^2.2.4",
|
|
@@ -103,11 +103,11 @@
|
|
|
103
103
|
"typescript-eslint": "^8.59.0",
|
|
104
104
|
"ua-parser-js": "^2.0.9",
|
|
105
105
|
"unzipper": "^0.12.3",
|
|
106
|
-
"web-component-wrapper": "^0.0.
|
|
107
|
-
"web-internationalization": "^2.0.
|
|
108
|
-
"weboptimizer": "^3.0.
|
|
106
|
+
"web-component-wrapper": "^0.0.562",
|
|
107
|
+
"web-internationalization": "^2.0.8",
|
|
108
|
+
"weboptimizer": "^3.0.22",
|
|
109
109
|
"webpack-dev-server": "^5.2.3",
|
|
110
|
-
"website-utilities": "^1.0.
|
|
110
|
+
"website-utilities": "^1.0.386"
|
|
111
111
|
},
|
|
112
112
|
"engines": {
|
|
113
113
|
"node": ">=24",
|
|
@@ -332,5 +332,5 @@
|
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
},
|
|
335
|
-
"packageManager": "yarn@4.
|
|
336
|
-
}
|
|
335
|
+
"packageManager": "yarn@4.14.1+sha512.64df448055b2d37ba269d7db535a469b8da93f8ef1140c25fd7a83c00a8fbaacb214ca0e02553b92a2c54cef78bb67d0b4817fab02001df0e24fac0faccc3b42"
|
|
336
|
+
}
|
package/source/index.ts
CHANGED
|
@@ -112,6 +112,8 @@ export class WebDocumentation<
|
|
|
112
112
|
// region api properties
|
|
113
113
|
@property({type: object})
|
|
114
114
|
options = {} as Options
|
|
115
|
+
@property({type: func})
|
|
116
|
+
onExamplesLoaded: (this: WebDocumentation) => void = NOOP
|
|
115
117
|
// endregion
|
|
116
118
|
// region domNodes
|
|
117
119
|
aboutThisWebsiteLinkDomNodes: NodeListOf<HTMLElement> | null = null
|