Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
manifest_version="$(unzip -p "$package" staticwebassets/App_Plugins/TheBuilder.WebAnalytics/umbraco-package.json | jq -r '.version')"
grep -Fqx 'README.md' <<< "$entries"
grep -Fqx 'staticwebassets/App_Plugins/TheBuilder.WebAnalytics/umbraco-package.json' <<< "$entries"
grep -Fqx 'staticwebassets/App_Plugins/TheBuilder.WebAnalytics/web-analytics.js' <<< "$entries"
grep -Fqx 'staticwebassets/App_Plugins/TheBuilder.WebAnalytics/web-dashboard.js' <<< "$entries"
test "$manifest_version" = "$PACKAGE_VERSION"
grep -Fq "<version>$PACKAGE_VERSION</version>" <<< "$nuspec"
if [[ -n "$RELEASE_TAG" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion src/TheBuilder.WebAnalytics/Client/umbraco-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"name": "Web Analytics Bundle",
"alias": "TheBuilder.WebAnalytics.Bundle",
"type": "bundle",
"js": "/App_Plugins/TheBuilder.WebAnalytics/web-analytics.js"
"js": "/App_Plugins/TheBuilder.WebAnalytics/web-dashboard.js"
}
]
}
3 changes: 2 additions & 1 deletion src/TheBuilder.WebAnalytics/Client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ export default defineConfig({
lib: {
entry: "src/bundle.manifests.ts", // Bundle registers one or more manifests
formats: ["es"],
fileName: "web-analytics",
// Avoid a common ad-blocker filename pattern for the backoffice entry point.
fileName: "web-dashboard",
},
outDir: outputDirectory, // your web component will be saved in this location
emptyOutDir: true,
Expand Down
2 changes: 1 addition & 1 deletion src/TheBuilder.WebAnalytics/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* Open a terminal inside the `\Client` folder
* Run `npm install` to install all the dependencies
* Run `npm run build` to build the project
* The build output is copied to `wwwroot\App_Plugins\TheBuilder.WebAnalytics\web-analytics.js`
* The build output is copied to `wwwroot\App_Plugins\TheBuilder.WebAnalytics\web-dashboard.js`

== File Watching ==
* Add this Razor Class Library Project as a project reference to an Umbraco Website project
Expand Down
2 changes: 1 addition & 1 deletion src/TheBuilder.WebAnalytics/TheBuilder.WebAnalytics.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<BackofficeAssetsPattern>wwwroot/App_Plugins/TheBuilder.WebAnalytics/**/*</BackofficeAssetsPattern>
<BackofficeAssetsDirectory>$(MSBuildProjectDirectory)/wwwroot/App_Plugins/TheBuilder.WebAnalytics</BackofficeAssetsDirectory>
<BackofficeManifest>$(BackofficeAssetsDirectory)/umbraco-package.json</BackofficeManifest>
<BackofficeEntryPoint>$(BackofficeAssetsDirectory)/web-analytics.js</BackofficeEntryPoint>
<BackofficeEntryPoint>$(BackofficeAssetsDirectory)/web-dashboard.js</BackofficeEntryPoint>
<BackofficeBuildStamp>$(MSBuildProjectDirectory)/obj/backoffice-$(Version).stamp</BackofficeBuildStamp>
</PropertyGroup>

Expand Down
Loading