nuxt-umami
Advanced tools
Comparing version 2.3.0 to 2.3.2-beta.1
@@ -21,77 +21,1 @@ export default defineNuxtConfig({ | ||
}); | ||
declare module '@nuxt/schema' { | ||
interface AppConfigInput { | ||
umami: { | ||
/** | ||
* Your umami endpoint. This is where you would | ||
* normally load the script from. | ||
* @required true | ||
* @example 'https://ijkml.xyz/' | ||
*/ | ||
host?: string | ||
/** | ||
* Unique identifier provided by Umami | ||
* | ||
* @required true | ||
* @example `3c255b6d-678a-42dd-8074-272ee5b78484` | ||
*/ | ||
id?: string | ||
/** | ||
* Configure the tracker to only run on specific domains. | ||
* Provide an array or comma delimited list of domains (without 'http'). | ||
* Leave as `undefined` to run on all domains. | ||
* | ||
* @example `mywebsite.com, mywebsite2.com` | ||
* @example ['mywebsite.com', 'mywebsite2.com'] | ||
* @default undefined | ||
*/ | ||
domains?: string | string[] | ||
/** | ||
* Whether to ignore browsers' Do Not Track setting. | ||
* | ||
* Setting this to `false` will totally disable tracking | ||
* on browsers that have the DoNotTrack setting turned on. | ||
* @default true | ||
*/ | ||
ignoreDnt?: boolean | ||
/** | ||
* Option to automatically track page views. | ||
* | ||
* @default true | ||
*/ | ||
autoTrack?: boolean | ||
/** | ||
* Whether or not to track during development (localhost). | ||
* | ||
* @default false | ||
*/ | ||
ignoreLocalhost?: boolean | ||
/** | ||
* Version of Umami used, either `1.x.x` or `2.x.x` | ||
* | ||
* @default 1 | ||
*/ | ||
version?: 1 | 2 | ||
/** | ||
* Self-hosted Umami lets you set a COLLECT_API_ENDPOINT, which is: | ||
* - `/api/collect` by default in Umami v1 | ||
* - `/api/send` by default in Umami v2. See Umami [Docs](https://umami.is/docs/environment-variables). | ||
*/ | ||
customEndpoint?: `/${string}` | ||
} | ||
} | ||
interface AppConfig { | ||
umami: { | ||
host: string | ||
id: string | ||
autoTrack?: boolean | ||
domains?: string | string[] | ||
ignoreDnt?: boolean | ||
ignoreLocalhost?: boolean | ||
version?: 1 | 2 | ||
customEndpoint?: `/${string}` | ||
} | ||
} | ||
} |
{ | ||
"name": "nuxt-umami", | ||
"type": "module", | ||
"version": "2.3.0", | ||
"version": "2.3.2-beta.1", | ||
"description": "Integrate Umami Analytics into Nuxt", | ||
@@ -24,2 +24,3 @@ "author": "ML <me.mlaure@gmail.com>", | ||
"middleware/", | ||
"plugins/", | ||
"internal/", | ||
@@ -44,9 +45,9 @@ "app.config.ts", | ||
"@antfu/eslint-config": "^0.38.5", | ||
"@types/node": "^18.16.0", | ||
"@types/node": "^18.16.3", | ||
"bumpp": "^9.1.0", | ||
"eslint": "^8.39.0", | ||
"eslint-plugin-vue": "^9.11.0", | ||
"nuxt": "^3.4.2", | ||
"nuxt": "^3.4.3", | ||
"typescript": "^5.0.4" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18425
10
400
2
1