mosaic 1.0.11 → 1.0.12

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +6 -4
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mosaic",
3
3
  "type": "module",
4
- "version": "1.0.11",
4
+ "version": "1.0.12",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {
package/server.js CHANGED
@@ -14,7 +14,7 @@ export const start = async (config) => {
14
14
  let components = await helix({
15
15
  watch: true,
16
16
  input: {
17
- mosaicjs: "./node_modules/mosaic/dist/mosaic.js",
17
+ mosaicjs: "./node_modules/synergy/dist/synergy.js",
18
18
  html: "./components/**/index.html",
19
19
  css: "./components/**/index.css",
20
20
  js: "./components/**/index.js",
@@ -89,9 +89,11 @@ export const start = async (config) => {
89
89
  }
90
90
  })
91
91
 
92
- app.get("/mosaic.js", (_, res) => {
92
+ app.get("/synergy.js", (_, res) => {
93
93
  res.type(".js")
94
- res.send(components.mosaicjs["node_modules/mosaic/dist/mosaic.js"].content)
94
+ res.send(
95
+ components.synergyjs["node_modules/synergy/dist/synergy.js"].content
96
+ )
95
97
  })
96
98
 
97
99
  app.use(async function (req, res, next) {
@@ -144,7 +146,7 @@ export const start = async (config) => {
144
146
  ${componentHTML}
145
147
  <script type="module">
146
148
 
147
- import { define } from "/mosaic.js";
149
+ import { define } from "/synergy.js";
148
150
 
149
151
  ${JSON.stringify(
150
152
  tagNames.filter((name) => components[name].js)