Skip to content

Commit bee4310

Browse files
committed
Upgrade to v33
1 parent a5ef0c4 commit bee4310

66 files changed

Lines changed: 39034 additions & 18884 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*/node_modules
2+
*/npm-debug.log

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ jobs:
3131
echo TESTS FAILED
3232
exit 1
3333
fi
34-
working-directory: ./VuetifyNuxtTemplate.Tests
34+
working-directory: ./VuetifyNuxt.Tests
3535

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
LETSENCRYPT_EMAIL: ${{ env.letsencrypt_email }}
5050
with:
5151
input: deploy/docker-compose-template.yml
52-
output: deploy/VuetifyNuxtTemplate-docker-compose.yml
52+
output: deploy/VuetifyNuxt-docker-compose.yml
5353

5454
- name: copy compose file via scp
5555
uses: appleboy/scp-action@v0.1.1
@@ -58,7 +58,7 @@ jobs:
5858
username: ${{ secrets.DEPLOY_USERNAME }}
5959
port: ${{ secrets.DEPLOY_PORT }}
6060
key: ${{ secrets.DEPLOY_KEY }}
61-
source: "deploy/VuetifyNuxtTemplate-docker-compose.yml"
61+
source: "deploy/VuetifyNuxt-docker-compose.yml"
6262
target: "~/"
6363

6464
- name: Set the value
@@ -79,4 +79,4 @@ jobs:
7979
envs: APPTOKEN,USERNAME
8080
script: |
8181
echo $APPTOKEN | docker login ghcr.io -u $USERNAME --password-stdin
82-
docker-compose -f ~/deploy/VuetifyNuxtTemplate-docker-compose.yml up -d
82+
docker-compose -f ~/deploy/VuetifyNuxt-docker-compose.yml up -d

.vscode/launch.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"type": "coreclr",
1111
"request": "launch",
1212
"preLaunchTask": "build",
13-
"program": "${workspaceFolder}/VuetifyNuxtTemplate/bin/Debug/net5/VuetifyNuxtTemplate.dll",
13+
"program": "${workspaceFolder}/VuetifyNuxt/bin/Debug/net5/VuetifyNuxt.dll",
1414
"args": [],
15-
"cwd": "${workspaceFolder}/VuetifyNuxtTemplate",
15+
"cwd": "${workspaceFolder}/VuetifyNuxt",
1616
"console": "internalConsole",
1717
"stopAtEntry": false,
1818
"internalConsoleOptions": "openOnSessionStart",
@@ -25,9 +25,9 @@
2525
"type": "coreclr",
2626
"request": "launch",
2727
"preLaunchTask": "build",
28-
"program": "${workspaceFolder}/VuetifyNuxtTemplate/bin/Debug/net5/VuetifyNuxtTemplate.dll",
28+
"program": "${workspaceFolder}/VuetifyNuxt/bin/Debug/net5/VuetifyNuxt.dll",
2929
"args": [],
30-
"cwd": "${workspaceFolder}/VuetifyNuxtTemplate",
30+
"cwd": "${workspaceFolder}/VuetifyNuxt",
3131
"stopAtEntry": false,
3232
"internalConsoleOptions": "openOnSessionStart",
3333
"launchBrowser": {

Dockerfile

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
11
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
2-
WORKDIR /source
2+
WORKDIR /app
33

44
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \
55
&& apt-get install -y --no-install-recommends nodejs \
66
&& echo "node version: $(node --version)" \
77
&& echo "npm version: $(npm --version)" \
88
&& rm -rf /var/lib/apt/lists/*
99

10-
COPY VuetifyNuxtTemplate/package.json .
11-
COPY VuetifyNuxtTemplate/npm-shrinkwrap.json .
12-
13-
RUN npm --prefix VuetifyNuxtTemplate install
14-
1510
COPY . .
1611
RUN dotnet restore
1712

18-
WORKDIR /source/VuetifyNuxtTemplate
19-
RUN dotnet publish -c release -o /app --no-restore
13+
WORKDIR /app/VuetifyNuxt
14+
RUN dotnet publish -c release -o /out --no-restore
2015

2116
FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS runtime
2217
WORKDIR /app
23-
COPY --from=build /app ./
24-
ENTRYPOINT ["dotnet", "VuetifyNuxtTemplate.dll"]
18+
COPY --from=build /out ./
19+
ENTRYPOINT ["dotnet", "VuetifyNuxt.dll"]

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010

1111
$ x new vuetify-nuxt ProjectName
1212

13+
Alternatively write new project files directly into an empty repository, using the Directory Name as the ProjectName:
14+
15+
$ git clone https://github.com/<User>/<ProjectName>.git
16+
$ cd <ProjectName>
17+
$ x new vuetify-nuxt
18+
1319
## Description
1420

1521
Nuxt is an opinionated structured framework for rapidly developing Web Applications utilizing developer-friendly [Vue Single Page Components](https://vuejs.org/v2/guide/single-file-components.html) and featuring Hot module replacement that together with [.NET Core's watched builds](https://docs.servicestack.net/templates-websites#watched-net-core-builds) provides an highly productive development experience.
@@ -45,7 +51,7 @@ Whilst Nuxt.js is a JavaScript (ES 6/7) App it still benefits from [ServiceStack
4551
$ npm run dtos
4652

4753
This will update the Servers `dtos.ts` and generate its corresponding `dtos.js` which can be imported as normal classes as seen in
48-
[gateway.js](https://github.com/NetCoreTemplates/vuetify-nuxt/blob/master/VuetifyNuxtTemplate/src/shared/gateway.js#L3). Despite the App not being built with TypeScript, developing using a "TypeScript-aware" IDE like VS Code will still be able to utilize the TypeScript classes in [@servicestack/client](https://github.com/ServiceStack/servicestack-client) and the generated `dtos.ts` to provide a rich, typed intelli-sense experience.
54+
[gateway.js](https://github.com/NetCoreTemplates/vuetify-nuxt/blob/master/VuetifyNuxt/src/shared/gateway.js#L3). Despite the App not being built with TypeScript, developing using a "TypeScript-aware" IDE like VS Code will still be able to utilize the TypeScript classes in [@servicestack/client](https://github.com/ServiceStack/servicestack-client) and the generated `dtos.ts` to provide a rich, typed intelli-sense experience.
4955

5056
## Generate Static Production Build
5157

VuetifyNuxtTemplate.ServiceInterface/MyServices.cs renamed to VuetifyNuxt.ServiceInterface/MyServices.cs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using System;
22
using System.Collections.Generic;
33
using ServiceStack;
4-
using VuetifyNuxtTemplate.ServiceModel;
4+
using VuetifyNuxt.ServiceModel;
55

6-
namespace VuetifyNuxtTemplate.ServiceInterface
6+
namespace VuetifyNuxt.ServiceInterface
77
{
88
public class MyServices : Service
99
{
@@ -17,14 +17,15 @@ public object Any(Hello request)
1717
Results = new Dictionary<string, string>
1818
{
1919
{"servicestack.net", "https://servicestack.net"},
20-
{"StackOverflow", "http://stackoverflow.com/search?q=servicestack"},
20+
{"Documentation", "https://docs.servicestack.net"},
2121
{"Customer Forums", "https://forums.servicestack.net"},
2222
{"Issue Tracker", "https://github.com/ServiceStack/Issues"},
23+
{"StackOverflow", "http://stackoverflow.com/search?q=servicestack"},
2324
{"Feature Requests", "http://servicestack.uservoice.com/forums/176786-feature-requests"},
24-
{"Release Notes", "https://servicestack.net/release-notes"},
25-
{"Live Demos", "https://github.com/ServiceStackApps/LiveDemos"},
26-
{".NET Core Live Demos", "https://github.com/NetCoreApps/LiveDemos"},
27-
{"Gistlyn", "http://gistlyn.com"},
25+
{".NET 5 Live Demos", "https://github.com/NetCoreApps/LiveDemos"},
26+
{".NET Framework Demos", "https://github.com/ServiceStackApps/LiveDemos"},
27+
{"Instant Client Apps", "https://apps.servicestack.net"},
28+
{"What's New", "https://servicestack.net/whatsnew"},
2829
}
2930
};
3031

VuetifyNuxtTemplate.ServiceInterface/VuetifyNuxtTemplate.ServiceInterface.csproj renamed to VuetifyNuxt.ServiceInterface/VuetifyNuxt.ServiceInterface.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</ItemGroup>
1010

1111
<ItemGroup>
12-
<ProjectReference Include="..\VuetifyNuxtTemplate.ServiceModel\VuetifyNuxtTemplate.ServiceModel.csproj" />
12+
<ProjectReference Include="..\VuetifyNuxt.ServiceModel\VuetifyNuxt.ServiceModel.csproj" />
1313
</ItemGroup>
1414

1515
</Project>

VuetifyNuxtTemplate.ServiceModel/GetLinks.cs renamed to VuetifyNuxt.ServiceModel/GetLinks.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Collections.Generic;
22
using ServiceStack;
33

4-
namespace VuetifyNuxtTemplate.ServiceModel
4+
namespace VuetifyNuxt.ServiceModel
55
{
66
[Route("/links")]
77
public class GetLinks : IReturn<GetLinksResponse> {}

VuetifyNuxtTemplate.ServiceModel/GetPost.cs renamed to VuetifyNuxt.ServiceModel/GetPost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Collections.Generic;
22
using ServiceStack;
33

4-
namespace VuetifyNuxtTemplate.ServiceModel
4+
namespace VuetifyNuxt.ServiceModel
55
{
66
[Route("/posts")]
77
public class GetPost : IReturn<GetPostResponse>

0 commit comments

Comments
 (0)