diff --git a/docs/README.md b/docs/README.md index 630f52b..4126806 100644 --- a/docs/README.md +++ b/docs/README.md @@ -57,5 +57,5 @@ const api = await expose({ ## Installation ```bash -npm install @collage/collage +npm install @collage/core ``` diff --git a/docs/guide/getting-started.md b/docs/guide/getting-started.md index bf21315..035308c 100644 --- a/docs/guide/getting-started.md +++ b/docs/guide/getting-started.md @@ -30,10 +30,10 @@ Vite just created you two separate projects containing everything you need to de ```bash cd dashboard -npm i @collage/collage +npm i @collage/core cd ../todos -npm i @collage/collage +npm i @collage/core ``` ::: tip @@ -167,7 +167,7 @@ For now we just promote the Todos App and the Dashboard App to fragments by call ```javascript{2-3} // Import and call the expose() function -import { expose } from '@collage/collage' +import { expose } from '@collage/core' expose() function addTodoItem(text) { @@ -184,7 +184,7 @@ document.addEventListener('submit', event => { ```javascript{2-3} // Import and call the expose() function -import { expose } from '@collage/collage' +import { expose } from '@collage/core' expose() // nothing else to do for now @@ -253,7 +253,7 @@ Here we will need the [**Topics API**](../docs/core-api.html#topics-api) specifi ::: code-group-item todos/main.js ```javascript{1-11,18-23,34,45} -import { expose } from '@collage/collage' +import { expose } from '@collage/core' const context = await expose({ services: { todos: { @@ -344,7 +344,7 @@ In this case we would like to have access to the todos 'active' topic and to the ::: code-group-item dashboard/main.js ```javascript{1-11,15,23} -import { expose } from '@collage/collage' +import { expose } from '@collage/core' const context = await expose({ services: { todos: { diff --git a/docs/package.json b/docs/package.json index b1df7e1..d098132 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,5 +1,5 @@ { - "name": "@collage/collage-docs", + "name": "@collage/core-docs", "version": "1.0.0", "description": "Documentation App for the collage lib", "main": "vuepress-config.js", diff --git a/package-lock.json b/package-lock.json index 6c428cb..8fbe8cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "@collage/collage", + "name": "@collage/core", "version": "0.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "@collage/collage", + "name": "@collage/core", "version": "0.0.0", "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index c3e4b1b..02cbbb8 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,15 @@ { - "name": "@collage/collage", - "version": "0.2.4", + "name": "@collage/core", + "version": "0.2.5", "description": "A library to handle communication between micro frontends and enable an easy to use orchestration", "repository": { "type": "git", "url": "git+https://github.com/SICKAG/collage.git" }, - "author": "Wanja Tschuor ", + "author": "Wanja Tschuor ", "contributors": [ "Susanne Kirchner ", - "Joshua Hagedorn " ], "license": "MIT", "publishConfig": { diff --git a/src/core/config-plugin/samples/config-fragment.html b/src/core/config-plugin/samples/config-fragment.html index edf67aa..17156ee 100644 --- a/src/core/config-plugin/samples/config-fragment.html +++ b/src/core/config-plugin/samples/config-fragment.html @@ -24,7 +24,7 @@ }