Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"tsup": "^8.3.6",
"tsup": "^8.5.1",
"typescript": "^5.7.3"
},
"peerDependencies": {
Expand All @@ -80,5 +80,15 @@
"react": {
"optional": true
}
},
"pnpm": {
"overrides": {
"esbuild": ">=0.25.0",
"rollup": ">=4.59.0",
"glob": ">=10.5.0",
"minimatch": ">=9.0.7",
"picomatch": ">=4.0.4",
"brace-expansion": ">=2.0.3"
}
}
}
4 changes: 0 additions & 4 deletions playground/.gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# build output
dist/
# generated types
.astro/

# dependencies
node_modules/
Expand All @@ -22,5 +20,3 @@ pnpm-debug.log*

# jetbrains setting folder
.idea/

env.d.ts
31 changes: 0 additions & 31 deletions playground/astro.config.mjs

This file was deleted.

30 changes: 30 additions & 0 deletions playground/core.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>tempus</title>
<link rel="stylesheet" href="/style.css" />
<link rel="stylesheet" href="/core/style.css" />
</head>
<body>
<nav style="z-index: 1;">
<a href="/">
<svg width="15" height="16" viewBox="0 0 15 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M8.6273 0C13.4362 0 15 2.35534 15 6.37565C15 11.4112 12.2502 16 6.58123 16L0.221572 16L0 15.7699L2.64556 0.216595L2.86707 0L8.6273 0Z"
fill="#E30613"
></path>
</svg>
</a>
<a href="/core.html">Core</a>
<a href="/react.html">React</a>
<a href="/landing.html">Demo</a>
</nav>
<div id="profiler"></div>
<div id="app">
<div id="stats"></div>
</div>
<script type="module" src="/core/test.ts"></script>
</body>
</html>
Empty file removed playground/core/browser.js
Empty file.
60 changes: 60 additions & 0 deletions playground/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>tempus Playground</title>
<link rel="stylesheet" href="/style.css" />
<style>
main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 90svh;
width: 50vw;
margin: 0 auto;
}

h1,
p {
margin: 0;
font-family: monospace;
text-align: center;
}

h1 {
text-transform: uppercase;
}
</style>
</head>
<body>
<nav style="z-index: 1;">
<a href="/">
<svg width="15" height="16" viewBox="0 0 15 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M8.6273 0C13.4362 0 15 2.35534 15 6.37565C15 11.4112 12.2502 16 6.58123 16L0.221572 16L0 15.7699L2.64556 0.216595L2.86707 0L8.6273 0Z"
fill="#E30613"
></path>
</svg>
</a>
<a href="/core.html">Core</a>
<a href="/react.html">React</a>
<a href="/landing.html">Demo</a>
</nav>
<main>
<h1>Welcome to the tempus Playground!</h1>
<p>
<br />
This is a playground for the tempus library. It's a great way to test and experiment with the library without
having to set up a project.
<br />
<br />
If you see this, it means you are trying to contribute to the project and we appreciate that!
<br />
Playground and build pipeline for all packages run at the same time, so you can change the code and see the
changes in real-time in the playground.
</p>
</main>
</body>
</html>
Loading
Loading