Skip to content

Commit

Permalink
Andypf communicator preparation (#113)
Browse files Browse the repository at this point in the history
* chore(communicator): turborize communicator

* chore(communicator): remove unused folders and files

* Automatic application of license header

* chore(communicator): Modify the port assignment, starting with 3000 for the app.

---------

Co-authored-by: License Bot <[email protected]>
  • Loading branch information
2 people authored and TilmanHaupt committed Jul 22, 2024
1 parent 14e3c34 commit 9ae9864
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 7,402 deletions.
1 change: 1 addition & 0 deletions apps/example/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import React, { useEffect } from "react"
import styles from "./styles.scss"

import {
AppShellProvider,
AppShell,
Expand Down
5 changes: 2 additions & 3 deletions apps/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,14 @@
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-test-renderer": "18.2.0",
"react-error-boundary": "^4.0.12",
"react-test-renderer": "18.2.0",
"sass": "^1.60.0",
"shadow-dom-testing-library": "^1.7.1",
"tailwindcss": "^3.3.1",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"util": "^0.12.4",
"zustand": "4.5.2",
"esbuild": "^0.19.5"
"zustand": "4.5.2"
},
"scripts": {
"test": "jest",
Expand Down
55 changes: 1 addition & 54 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions packages/communicator/.npmignore

This file was deleted.

4 changes: 3 additions & 1 deletion packages/communicator/esbuild.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ esbuild
ctx
.serve({
host: "0.0.0.0",
port: parseInt(process.env.APP_PORT),
port: parseInt(
process.env.COMMUNICATOR_PORT || process.env.APP_PORT || 3001
),
servedir: DEV_FOLDER,
})
.then(({ host, port }) => console.log("serve on", `${host}:${port}`))
Expand Down
Loading

0 comments on commit 9ae9864

Please sign in to comment.