Skip to content

Commit 6d138b8

Browse files
authored
Nitro examples. (#1161)
### Description Scaffolding a few Nitro examples. ### Type of Change - [x] New Example - [ ] Example updates (Bug fixes, new features, etc.) - [ ] Other (changes to the codebase, but not to examples)
1 parent 36a2f3b commit 6d138b8

File tree

23 files changed

+15261
-0
lines changed

23 files changed

+15261
-0
lines changed
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# Dependencies
2+
node_modules
3+
jspm_packages
4+
5+
# Nitro
6+
nitro.d.ts
7+
.nitro
8+
.data
9+
10+
package-lock.json
11+
12+
# Logs
13+
*.log
14+
15+
# Temp directories
16+
.temp
17+
.tmp
18+
.cache
19+
20+
# Generated dirs
21+
dist
22+
.nuxt
23+
.output
24+
.gen
25+
.tmp
26+
nuxt.d.ts
27+
28+
# Junit reports
29+
reports
30+
31+
# Coverage reports
32+
coverage
33+
*.lcov
34+
.nyc_output
35+
36+
# VSCode
37+
.vscode
38+
39+
# Intellij idea
40+
*.iml
41+
.idea
42+
43+
# OSX
44+
.DS_Store
45+
.AppleDouble
46+
.LSOverride
47+
48+
# Files that might appear in the root of a volume
49+
.DocumentRevisions-V100
50+
.fseventsd
51+
.Spotlight-V100
52+
.TemporaryItems
53+
.Trashes
54+
.VolumeIcon.icns
55+
.com.apple.timemachine.donotpresent
56+
57+
# Directories potentially created on remote AFP share
58+
.AppleDB
59+
.AppleDesktop
60+
Network Trash Folder
61+
Temporary Items
62+
.apdisk
63+
64+
.vercel_build_output
65+
.build-*
66+
.env
67+
.netlify
68+
.vercel
69+
.amplify-hosting
70+
staticwebapp.config.json
71+
.eslintcache
72+
playground/firebase.json
73+
.zeabur
74+
.apphosting
75+
76+
test/fixture/functions
77+
.data
78+
79+
.pnpm-store
80+
.wrangler
81+
82+
# mirror pkg
83+
.mirror
84+
85+
# Generated types
86+
*.d.ts
87+
!runtime-meta.d.ts
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default defineNitroConfig({
2+
compatibilityDate: "2025-03-01",
3+
});
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "example-cached-handler",
3+
"private": true,
4+
"scripts": {
5+
"dev": "nitro dev",
6+
"build": "nitro build"
7+
},
8+
"devDependencies": {
9+
"nitropack": "latest"
10+
}
11+
}

0 commit comments

Comments
 (0)