Skip to content

Commit

Permalink
feat: implement the package
Browse files Browse the repository at this point in the history
  • Loading branch information
leynier committed Nov 23, 2024
1 parent 57b3199 commit d2201b8
Show file tree
Hide file tree
Showing 6 changed files with 6,869 additions and 2 deletions.
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Node.js dependencies
node_modules/

# Output directories
lib/
types/
dist/

# Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# TypeScript cache
*.tsbuildinfo

# Environment variables
.env
.env.local
.env.*.local

# MacOS files
.DS_Store

# Idea/VSCode settings
.idea/
.vscode/

# Miscellaneous
*.tgz
39 changes: 39 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "nuxt-use-async-data-wrapper",
"version": "1.0.0",
"description": "A utility to wrap Promise-returning functions with useAsyncData for Nuxt",
"main": "lib/index.js",
"types": "types/index.d.ts",
"keywords": [
"nuxt",
"nuxt3",
"vue",
"useAsyncData",
"reactivity",
"typescript",
"data-fetching",
"ssr",
"promises",
"vue-composables",
"frontend",
"developer-tools"
],
"author": "Leynier Gutiérrez González <leynier41@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/leynier/nuxt-use-async-data-wrapper.git"
},
"peerDependencies": {
"vue": "^3.0.0",
"nuxt": "^3.0.0"
},
"devDependencies": {
"typescript": "^5.7.2",
"vue": "^3.5.13"
},
"scripts": {
"build": "tsc"
},
"packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee"
}
Loading

0 comments on commit d2201b8

Please sign in to comment.