Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

Commit 70adca7

Browse files
Update mentions of samples to examples and clean up files
1 parent ee41433 commit 70adca7

File tree

7 files changed

+8
-2010
lines changed

7 files changed

+8
-2010
lines changed

.gitignore

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -380,10 +380,7 @@ FodyWeavers.xsd
380380
**/Media/**
381381
!**/Media/Web.config
382382

383-
# Ignore the copied App_Plugins folder
384-
samples/*/App_Plugins/uiexamples/*
385-
/samples/Umbraco14.Website/App_Plugins
386-
/samples/Umbraco15.Website/App_Plugins
387-
388-
/samples/Umbraco14.Website/App_Plugins/Example.UI
389-
/samples/Umbraco15.Website/App_Plugins/Example.UI
383+
# Ignore the copied App_Plugins folder and appsettings-schema.json files
384+
/examples/*/App_Plugins/**
385+
/examples/*/appsettings-schema.json
386+
/examples/*/appsettings-schema.*.json

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Steps to get the test sites working:
1515
- Username: uiexamples@example.com
1616
- Password: 1234567890
1717

18-
For v115 you will also need to run `npm ci` within the `src\Our.Umbraco.UiExamples.v15` directory, and then `npm run dev` to start the development batch job. This will copy the files from the package into `samples\Umbraco15.Website` ready to see in the backoffice.
18+
For v115 you will also need to run `npm ci` within the `src\Our.Umbraco.UiExamples.v15` directory, and then `npm run dev` to start the development batch job. This will copy the files from the package into `examples\Umbraco15.Website` ready to see in the backoffice.
1919

2020
## Making changes
2121
The files you will be working on are in the `App_Plugins` folder in the main `Our.Umbraco.UiExamples` project. Changed files need to be copied into the test websites so you can confirm they work, which is automatically done when building the test websites (using a MSBuild target).

examples/Umbraco13.Website/appsettings-schema.Umbraco.Cms.json

Lines changed: 0 additions & 1959 deletions
This file was deleted.

src/Our.Umbraco.UiExamples.v15/.gitignore

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/Our.Umbraco.UiExamples.v15/Readme.md renamed to src/Our.Umbraco.UiExamples.v15/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ go into `src`
99
run `npm ci`
1010
run `npm run dev`
1111

12-
This will build the typescript, output it into the folder within the Umbraco 15 website for use in there, more specifically: `/samples/Umbraco15.Website/App_Plugins/Example.UI/scripts`.
12+
This will build the typescript, output it into the folder within the Umbraco 15 website for use in there, more specifically: `/examples/Umbraco15.Website/App_Plugins/Example.UI/scripts`.
1313

1414
## Running the Umbraco15 website
1515

16-
In a separate terminal window, to run the umbraco project, open the path /samples/Umbraco15.Website/
16+
In a separate terminal window, to run the umbraco project, open the path /examples/Umbraco15.Website/
1717

1818
run `dotnet run`
1919

src/Our.Umbraco.UiExamples.v15/index.html

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/Our.Umbraco.UiExamples.v15/vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default defineConfig({
99
entry: ["src/dashboards/welcome-dashboard.ts"], // your web component source file
1010
formats: ["es"],
1111
},
12-
outDir: "../../samples/Umbraco15.Website/App_Plugins/Example.UI", // your web component will be saved in this location
12+
outDir: "../../examples/Umbraco15.Website/App_Plugins/Example.UI", // your web component will be saved in this location
1313
sourcemap: true,
1414
rollupOptions: {
1515
input: Object.fromEntries(

0 commit comments

Comments
 (0)