elegance-js 3.0.4 → 3.0.6

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.
@@ -0,0 +1,6 @@
1
+
2
+ export const config: EleganceConfig = {
3
+ output: {
4
+ outputDirectory: ".elegance",
5
+ },
6
+ };
@@ -0,0 +1,6 @@
1
+ {
2
+ "dependencies": {
3
+ "esbuild": "^0.28.0",
4
+ "ts-arc": "^1.3.2"
5
+ }
6
+ }
@@ -0,0 +1,3 @@
1
+ export default function page() {
2
+ return <div>Oops! This page doesn't exist.</div>
3
+ }
@@ -0,0 +1,5 @@
1
+ export default async function Layout({ child: Child }: { child: () => Promise<VirtualNode> }) {
2
+ return <div>
3
+ <Child/>
4
+ </div>
5
+ }
@@ -0,0 +1,5 @@
1
+ export default function metadata() {
2
+ return [
3
+ <title>The real fun begins now!</title>
4
+ ]
5
+ }
@@ -0,0 +1,11 @@
1
+ export default function Page() {
2
+ return <div>
3
+ <h1>
4
+ Welcome to Elegance
5
+ </h1>
6
+
7
+ <p>
8
+ Edit page.tsx to get started.
9
+ </p>
10
+ </div>
11
+ }
@@ -0,0 +1 @@
1
+ /* You can put your styles here! */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elegance-js",
3
- "version": "3.0.4",
3
+ "version": "3.0.6",
4
4
  "type": "module",
5
5
  "main": "dist/user-utils.js",
6
6
  "bin": {
@@ -9,7 +9,8 @@
9
9
  "export": "./bin/export.js"
10
10
  },
11
11
  "files": [
12
- "dist"
12
+ "dist",
13
+ "bin"
13
14
  ],
14
15
  "scripts": {
15
16
  "lint": "oxlint ./src --fix -D unused-variable -D unused-import",
@@ -23,6 +24,12 @@
23
24
  },
24
25
  "./types": {
25
26
  "types": "./dist/types/index.d.ts"
27
+ },
28
+ "./run": {
29
+ "types": "./dist/run.d.ts",
30
+ "import": "./dist.run.js",
31
+ "default": "./dist.run.js",
32
+ "require": "./dist.run.js"
26
33
  }
27
34
  },
28
35
  "author": "vqldemar <npm-elegance@val.sh> (https://github.com/valdemar-dev)",