@deot/docs-dever 1.0.1 → 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/dist/index.cjs CHANGED
@@ -253,7 +253,12 @@ var createRuntimePlugin = (options, resolvedWorkspace) => ({
253
253
  workspace,
254
254
  events: "/__docs/events"
255
255
  }).replace(/</g, "\\u003c");
256
- const styles = node_fs.existsSync(localClientEntry) ? [] : ["//unpkg.com/@deot/docs-client/dist/index.style.css"];
256
+ const styles = node_fs.existsSync(localClientEntry) ? [] : [
257
+ "https://cdn.jsdelivr.net/npm/@deot/docs-client/dist/index.style.css",
258
+ "https://cdn.jsdelivr.net/npm/@deot/docs-renderer/dist/index.style.css",
259
+ "https://cdn.jsdelivr.net/npm/@deot/docs-markdown/dist/index.style.css",
260
+ "https://cdn.jsdelivr.net/npm/@deot/docs-playground/dist/index.style.css"
261
+ ];
257
262
  return [{
258
263
  tag: "script",
259
264
  children: `window.__DOCS_RUNTIME__ = Object.freeze(${runtime});`,
package/dist/index.js CHANGED
@@ -224,7 +224,12 @@ var createRuntimePlugin = (options, resolvedWorkspace) => ({
224
224
  workspace,
225
225
  events: "/__docs/events"
226
226
  }).replace(/</g, "\\u003c");
227
- const styles = fs$1.existsSync(localClientEntry) ? [] : ["//unpkg.com/@deot/docs-client/dist/index.style.css"];
227
+ const styles = fs$1.existsSync(localClientEntry) ? [] : [
228
+ "https://cdn.jsdelivr.net/npm/@deot/docs-client/dist/index.style.css",
229
+ "https://cdn.jsdelivr.net/npm/@deot/docs-renderer/dist/index.style.css",
230
+ "https://cdn.jsdelivr.net/npm/@deot/docs-markdown/dist/index.style.css",
231
+ "https://cdn.jsdelivr.net/npm/@deot/docs-playground/dist/index.style.css"
232
+ ];
228
233
  return [{
229
234
  tag: "script",
230
235
  children: `window.__DOCS_RUNTIME__ = Object.freeze(${runtime});`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deot/docs-dever",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",