Skip to content

Commit

Permalink
chore: update module
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza committed Mar 3, 2023
1 parent 983550f commit 16e03a8
Show file tree
Hide file tree
Showing 10 changed files with 2,735 additions and 7,707 deletions.
1 change: 0 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# editorconfig.org
root = true

[*]
Expand Down
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
shamefully-hoist=true
strict-peer-dependencies=false
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
- [Support CSS API v2](https://developers.google.com/fonts/docs/css2)
- [Add dns-prefetch](https://developer.mozilla.org/en-US/docs/Web/Performance/dns-prefetch)
- [Add preconnect](https://developer.mozilla.org/en-US/docs/Web/Performance/dns-prefetch#Best_practices)
- [Add preload](https://developer.mozilla.org/pt-BR/docs/Web/HTML/Preloading_content)
- [Add preload](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/preload)
- Download css/fonts to local project (No need external resources)
- Encode fonts to base64

Expand Down
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,31 +22,32 @@
],
"scripts": {
"build": "nuxt-module-build",
"dev": "nuxi dev playground",
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build --stub && nuxi prepare playground",
"dev": "nuxt dev playground",
"lint": "eslint --ext .js,.ts,.vue",
"prepack": "pnpm build",
"release": "pnpm test && pnpm build && changelogen --release && git push --follow-tags && pnpm publish",
"test": "pnpm lint && vitest run --coverage"
},
"dependencies": {
"@nuxt/kit": "^3.0.0-rc.12",
"google-fonts-helper": "^3.2.1",
"pathe": "^1.0.0"
"@nuxt/kit": "^3.2.3",
"google-fonts-helper": "^3.2.4",
"pathe": "^1.1.0"
},
"devDependencies": {
"@nuxt/module-builder": "latest",
"@nuxt/test-utils": "^3.0.0-rc.12",
"@nuxt/test-utils": "latest",
"@nuxtjs/eslint-config-typescript": "latest",
"@vitest/coverage-c8": "latest",
"changelogen": "latest",
"del": "latest",
"eslint": "latest",
"nuxt": "^3.0.0-rc.12",
"nuxt": "latest",
"vitest": "latest"
},
"publishConfig": {
"access": "public"
},
"packageManager": "pnpm@7.14.0"
"packageManager": "pnpm@7.28.0"
}
2 changes: 1 addition & 1 deletion playground/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import GoogleFontsModule from '..'
import GoogleFontsModule from '../src/module'

export default defineNuxtConfig({
modules: [
Expand Down
Loading

0 comments on commit 16e03a8

Please sign in to comment.