create-foldkit-app 0.1.0-canary.1

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/package.json ADDED
@@ -0,0 +1,52 @@
1
+ {
2
+ "name": "create-foldkit-app",
3
+ "version": "0.1.0-canary.1",
4
+ "description": "Create Foldkit applications",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "bin": {
8
+ "create-foldkit-app": "./dist/index.js"
9
+ },
10
+ "files": [
11
+ "dist",
12
+ "templates"
13
+ ],
14
+ "scripts": {
15
+ "clean": "rimraf dist *.tsbuildinfo",
16
+ "build": "pnpm run clean && tsc -b",
17
+ "format": "prettier -w .",
18
+ "typecheck": "tsc -b --noEmit"
19
+ },
20
+ "dependencies": {
21
+ "@effect/cli": "^0.69.2",
22
+ "@effect/platform": "^0.90.9",
23
+ "@effect/platform-node": "^0.96.1",
24
+ "@types/prompts": "^2.4.9",
25
+ "chalk": "^5.6.2",
26
+ "effect": "^3.16.8",
27
+ "prompts": "^2.4.2",
28
+ "rimraf": "^6.0.1",
29
+ "typescript": "^5.9.2"
30
+ },
31
+ "keywords": [
32
+ "create-foldkit-app",
33
+ "foldkit",
34
+ "scaffolding",
35
+ "effect",
36
+ "cli",
37
+ "template"
38
+ ],
39
+ "author": "Devin Jameson",
40
+ "license": "MIT",
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "https://github.com/devinjameson/foldkit.git",
44
+ "directory": "packages/create-foldkit-app"
45
+ },
46
+ "publishConfig": {
47
+ "access": "public"
48
+ },
49
+ "engines": {
50
+ "node": ">=18.0.0"
51
+ }
52
+ }
@@ -0,0 +1,4 @@
1
+ node_modules
2
+ dist
3
+ *.tsbuildinfo
4
+ pnpm-lock.yaml
@@ -0,0 +1,12 @@
1
+ {
2
+ "semi": false,
3
+ "singleQuote": true,
4
+ "trailingComma": "all",
5
+ "printWidth": 100,
6
+
7
+ "importOrder": ["<THIRD_PARTY_MODULES>", "^[./]"],
8
+ "importOrderSeparation": true,
9
+ "importOrderSortSpecifiers": true,
10
+
11
+ "plugins": ["@trivago/prettier-plugin-sort-imports"]
12
+ }
@@ -0,0 +1,15 @@
1
+ # My Foldkit App
2
+
3
+ A Foldkit application built with Effect-TS.
4
+
5
+ ## Getting Started
6
+
7
+ ```bash
8
+ pnpm install
9
+ pnpm dev
10
+ ```
11
+
12
+ ## Learn More
13
+
14
+ - [Foldkit Documentation](https://github.com/devinjameson/foldkit)
15
+ - [Effect Documentation](https://effect.website)
@@ -0,0 +1,13 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <link href="/src/styles.css" rel="stylesheet" />
7
+ <title>Foldkit App</title>
8
+ </head>
9
+ <body>
10
+ <div id="root"></div>
11
+ <script type="module" src="./src/main.ts"></script>
12
+ </body>
13
+ </html>
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "my-foldkit-app",
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "scripts": {
6
+ "dev": "vite",
7
+ "build": "vite build",
8
+ "preview": "vite preview",
9
+ "typecheck": "tsc --noEmit",
10
+ "format": "prettier -w ."
11
+ }
12
+ }
@@ -0,0 +1 @@
1
+ @import 'tailwindcss';
@@ -0,0 +1,15 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2022",
4
+ "module": "ESNext",
5
+ "lib": ["ES2022", "DOM"],
6
+ "moduleResolution": "bundler",
7
+ "strict": true,
8
+ "skipLibCheck": true,
9
+ "esModuleInterop": true,
10
+ "exactOptionalPropertyTypes": true,
11
+ "isolatedModules": true,
12
+ "noEmit": true
13
+ },
14
+ "include": ["src/**/*"]
15
+ }
@@ -0,0 +1,6 @@
1
+ import tailwindcss from '@tailwindcss/vite'
2
+ import { defineConfig } from 'vite'
3
+
4
+ export default defineConfig({
5
+ plugins: [tailwindcss()],
6
+ })