create-xplora-app 0.0.1 → 0.1.0

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.
package/README.md CHANGED
@@ -30,7 +30,7 @@ Template aplikasi yang dibuat mencakup:
30
30
 
31
31
  ## 🛠️ Struktur Project
32
32
 
33
- ```
33
+ ```text
34
34
  my-app/
35
35
  ├── src/
36
36
  │ ├── app/
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "create-xplora-app",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
4
+ "private": false,
4
5
  "type": "module",
5
6
  "bin": {
6
7
  "create-xplora-app": "bin/create-xplora-app.js"
@@ -8,6 +9,7 @@
8
9
  "files": [
9
10
  "dist",
10
11
  "bin",
12
+ "template",
11
13
  "README.md"
12
14
  ],
13
15
  "scripts": {
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "xplora-app",
3
+ "version": "0.1.0",
4
+ "private": true,
5
+ "scripts": {
6
+ "dev": "xplora dev",
7
+ "build": "xplora build",
8
+ "start": "xplora start"
9
+ },
10
+ "dependencies": {
11
+ "xplorajs-react": "^0.0.1",
12
+ "xplorajs": "^0.0.1",
13
+ "react": "^19.1.0",
14
+ "react-dom": "^19.1.0"
15
+ },
16
+ "devDependencies": {
17
+ "@types/react": "^18.2.0",
18
+ "@types/react-dom": "^18.2.0",
19
+ "typescript": "^5.0.0"
20
+ }
21
+ }
@@ -0,0 +1,18 @@
1
+ import type { ReactNode } from "react";
2
+
3
+ export default function RootLayout({
4
+ children,
5
+ }: {
6
+ children: ReactNode;
7
+ }) {
8
+ return (
9
+ <html lang="en">
10
+ <head>
11
+ <meta charSet="utf-8" />
12
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
13
+ <title>Xplora.js App</title>
14
+ </head>
15
+ <body>{children}</body>
16
+ </html>
17
+ );
18
+ }
@@ -0,0 +1,10 @@
1
+ export default function Home() {
2
+ return (
3
+ <main className="flex min-h-screen flex-col items-center justify-center p-24">
4
+ <h1 className="text-4xl font-bold text-teal-600 mb-4">
5
+ Welcome to Xplora.js
6
+ </h1>
7
+ <p className="text-gray-600">Get started by editing src/app/page.tsx</p>
8
+ </main>
9
+ );
10
+ }
@@ -0,0 +1 @@
1
+ @import "tailwindcss";
File without changes
@@ -0,0 +1,23 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ESNext",
4
+ "module": "ESNext",
5
+ "moduleResolution": "bundler",
6
+ "jsx": "react-jsx",
7
+ "strict": true,
8
+ "esModuleInterop": true,
9
+ "skipLibCheck": true,
10
+ "forceConsistentCasingInFileNames": true,
11
+ "lib": ["DOM", "DOM.Iterable", "ESNext"],
12
+ "allowJs": true,
13
+ "noEmit": true,
14
+ "isolatedModules": true,
15
+ "incremental": true,
16
+ "baseUrl": ".",
17
+ "paths": {
18
+ "@/*": ["./src/*"]
19
+ }
20
+ },
21
+ "include": ["src/**/*.ts", "src/**/*.tsx"],
22
+ "exclude": ["node_modules"]
23
+ }