@bouygues-telecom/staticjs 0.0.3 → 0.0.5

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.
@@ -14,7 +14,7 @@ export const createPage = ({
14
14
  pageName,
15
15
  JSfileName,
16
16
  }) => {
17
- const template = `<link rel='stylesheet' href='https://assets.bouyguestelecom.fr/TRILOGY/trilogy-styles@4/default/trilogy.css'/>
17
+ const template = `
18
18
  <div id=app-{{rootId}}>{{html}}
19
19
  ${data ? `<script id=initial-data-{{initialDatasId}} type="application/json">${JSON.stringify(data)}</script>` : ""}
20
20
  ${JSfileName ? `<script type="module" src="{{scriptPath}}"></script>` : ""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bouygues-telecom/staticjs",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "create-staticjs-app": "./scripts/create-static-app.js",
@@ -3,7 +3,7 @@ process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
3
3
  import fs from "fs/promises";
4
4
  import crypto from "node:crypto";
5
5
  import path from "path";
6
- import { createPage } from "./createPage.js";
6
+ import { createPage } from "../helpers/createPage.js";
7
7
 
8
8
  const rootDir = path.resolve(process.cwd(), "./src");
9
9