Skip to content

Commit b3d04f6

Browse files
authored
Merge pull request #79 from jcdcdev/dev/v15
15.0.9
2 parents 4a762f3 + 73fdd3a commit b3d04f6

File tree

10 files changed

+1737
-1868
lines changed

10 files changed

+1737
-1868
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ jobs:
1313
project-path: src/jcdcdev.Umbraco.ReadingTime/jcdcdev.Umbraco.ReadingTime.csproj
1414
npm-working-dir: src/jcdcdev.Umbraco.ReadingTime.Client
1515
npm-enabled: true
16+
npm-version: "22.x"
1617
umbraco-version: 15
1718
dotnet-version: "9"

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
project-path: src/jcdcdev.Umbraco.ReadingTime/jcdcdev.Umbraco.ReadingTime.csproj
1919
npm-working-dir: src/jcdcdev.Umbraco.ReadingTime.Client
2020
npm-enabled: true
21+
npm-version: "22.x"
2122
umbraco-version: 15
2223
dotnet-version: "9"
2324
- name: Release
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/default/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)