Skip to content

Commit

Permalink
chore: mv LICENSE file to the root
Browse files Browse the repository at this point in the history
  • Loading branch information
Plopix committed Nov 2, 2024
1 parent 943d055 commit 3341405
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
File renamed without changes.
4 changes: 0 additions & 4 deletions demo/fancy-demo-one/src/routes/observability.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,10 @@ type REvent = {
};
export default function Observability() {
const data = useEventSource(`/api/bus/stream`);

const [events, setEvents] = useState<REvent[]>([]);

useEffect(() => {
if (data) {
const decoded = JSON.parse(data);
console.log({ decoded });
const [type, id, encoded] = decoded;
const { message, results, stamps } = JSON.parse(encoded);
const { __type, ...rest } = message;
Expand All @@ -35,7 +32,6 @@ export default function Observability() {
}
}, [data]);

console.log(events);
return (
<main className="p-10">
<h1 className="text-4xl">Hero Quest Manager</h1>
Expand Down
1 change: 1 addition & 0 deletions libs/missive.js/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
README.md
LICENSE
5 changes: 3 additions & 2 deletions libs/missive.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
"scripts": {
"types:check": "tsc --noEmit",
"build": "cp ../../README.md . && tsup",
"build": "cp ../../README.md ../../LICENSE . && tsup",
"watch": "tsc -W --preserveWatchOutput",
"lint:check": "eslint .",
"lint:fix": "eslint . --fix",
Expand All @@ -64,7 +64,8 @@
"files": [
"package.json",
"build",
"LICENSE.md"
"README.md",
"LICENSE"
],
"dependencies": {
"nanoid": "^5.0.8"
Expand Down

0 comments on commit 3341405

Please sign in to comment.