Skip to content

Commit d0243c2

Browse files
authored
Merge pull request #97 from jcdcdev/dev/v15
15.1.9
2 parents abf7fca + 80698a6 commit d0243c2

File tree

14 files changed

+1645
-1850
lines changed

14 files changed

+1645
-1850
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ jobs:
1414
npm-working-dir: src/Umbraco.Community.SimpleDashboards.Client
1515
npm-enabled: true
1616
umbraco-version: 15
17-
dotnet-version: "9"
17+
dotnet-version: "9"
18+
npm-version: "22.x"

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
npm-enabled: true
2121
umbraco-version: 15
2222
dotnet-version: "9"
23+
npm-version: "22.x"
2324
- name: Release
2425
uses: jcdcdev/jcdcdev.Umbraco.GitHub.Release@main
2526
with:
Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,26 @@
1-
import { defineConfig } from '@hey-api/openapi-ts';
1+
import { defineConfig, defaultPlugins } from '@hey-api/openapi-ts';
22

33
export default defineConfig({
44
input: 'http://localhost:54813/umbraco/swagger/SimpleDashboards/swagger.json',
5+
plugins: [
6+
...defaultPlugins,
7+
'legacy/fetch',
8+
'@hey-api/schemas',
9+
{
10+
dates: true,
11+
name: '@hey-api/transformers',
12+
},
13+
{
14+
enums: 'javascript',
15+
name: '@hey-api/typescript',
16+
},
17+
{
18+
name: '@hey-api/sdk',
19+
transformer: true,
20+
},
21+
],
522
output: {
623
format: 'prettier',
724
path: './src/api',
8-
},
9-
client: "legacy/fetch",
10-
types: {
11-
enums: 'typescript',
12-
},
25+
}
1326
});

0 commit comments

Comments
 (0)