Skip to content

Commit eea2066

Browse files
Remove Yeoman generator - replace it with deprecation notice.
1 parent d6ae882 commit eea2066

File tree

4 files changed

+12
-260
lines changed

4 files changed

+12
-260
lines changed

templates/package-builder/src/yeoman/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
Generates ASP.NET Core projects for single-page applications.
1+
# Please use "dotnet new" templates instead
22

3-
Can generate projects with:
3+
As of .NET Core 2.0, it's no longer necessary to use Yeoman to create new Single-Page Application projects.
44

5-
* Angular
6-
* Aurelia
7-
* Knockout
8-
* React
9-
* React with Redux
10-
* Vue
5+
Using the .NET Core 2.0 SDK, you can run any of the following commands in an empty directory, without needing to install any external packages first:
116

12-
For more information about features and usage, see [this blog post](https://blogs.msdn.microsoft.com/webdev/2017/02/14/building-single-page-applications-on-asp-net-core-with-javascriptservices/).
7+
* `dotnet new angular`
8+
* `dotnet new react`
9+
* `dotnet new redux`
1310

14-
To learn more about the underlying technologies, or to report any issues, see [this project's GitHub repo](https://github.com/aspnet/JavaScriptServices).
11+
Or, if you want to create an Aurelia, Knockout, or Vue application, you should run `dotnet new --install Microsoft.AspNetCore.SpaTemplates::*` first. This will add `aurelia`, `knockout`, and `vue` templates to `dotnet new`.
12+
13+
#### This Yeoman generator is DEPRECATED
14+
15+
Please don't use `generator-aspnetcore-spa` to create new projects. Its output is outdated and no longer maintained. Instead, use `dotnet new` as described above (or if you're on Windows and use Visual Studio, you can just use *File->New Project* to create Angular, React, or React+Redux projects).

templates/package-builder/src/yeoman/app/index.ts

Lines changed: 0 additions & 238 deletions
This file was deleted.
Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
22
"name": "generator-aspnetcore-spa",
33
"version": "1.0.0",
4-
"description": "Single-Page App templates for ASP.NET Core",
4+
"description": "DEPRECATED. Do not use. Use 'dotnet new' to create ASP.NET Core Single-Page Application projects instead.",
55
"author": "Microsoft",
66
"license": "Apache-2.0",
7-
"files": [
8-
"app"
9-
],
107
"keywords": [
118
"yeoman-generator"
129
],
@@ -18,12 +15,5 @@
1815
"url": "https://github.com/aspnet/JavaScriptServices.git"
1916
},
2017
"dependencies": {
21-
"chalk": "^1.1.3",
22-
"glob": "^7.0.3",
23-
"node-uuid": "^1.4.7",
24-
"to-pascal-case": "^1.0.0",
25-
"yeoman-generator": "^0.20.2",
26-
"yeoman-option-or-prompt": "^1.0.2",
27-
"yosay": "^1.1.1"
2818
}
2919
}

0 commit comments

Comments
 (0)