Граф коммитов

404 Коммитов

Автор SHA1 Сообщение Дата
Mackinnon Buck 800de95e1e
Fix CG issues (#194) 2024-07-26 13:59:16 -07:00
Mackinnon Buck f1b37e7673
Fix CG issues and update dependencies (#192)
* Fix Angular CG issues

* Fix React CG issues
2024-05-09 15:28:01 -07:00
Mackinnon Buck 0e12deb491
[release/6.0] Fix CG issues (#176)
* Fix Angular CG issues

* Fix React CG issues
2023-11-06 12:56:14 -08:00
Mackinnon Buck 99a804ec5b
[release/6.0] Fix CG issues (#172)
* Fix Angular template CG issues

* Fix React template CG issues
2023-10-20 09:39:26 -07:00
Mackinnon Buck 1d1834bbb3
Update React and Angular dependencies (#141) 2023-05-09 13:09:42 -07:00
Marc Gravell 042dd9c627
backport webpack CVE fix to release/6.0 (#134)
* Bump webpack in /src/content/React-CSharp/ClientApp (#129)

Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.1)

* update angular to avoid CVE-2023-28154; actual issue is a transitive webpack, but there doesn't seem to be a direct way to resolve this without updating to 15.2

---------

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-07 09:29:51 -07:00
Mackinnon Buck dbfe71cc97
[release/6.0] Backport 'Update JavaScript dependencies' (#125) 2023-02-27 16:36:33 -08:00
Mackinnon Buck 0c5a96babb
Update JavaScript dependencies (#54) (#55) 2022-07-06 12:58:00 -07:00
Mackinnon Buck 74e05a19dc
React template follow-up backport (#52) 2022-05-11 11:13:07 -07:00
Mackinnon Buck bb161e0460
Backport JS dependency updates (#50) 2022-05-03 10:34:15 -07:00
Damian Edwards 08a4e743cc
Backport UseProgramMain template option (#45)
Contributes to #40945
2022-04-06 09:23:00 -07:00
Artak 3d16ec44cf
Merge pull request #38 from dotnet/javiercn/update-npm-dependencies-60
[SPA] Update NPM dependencies
2022-02-01 09:08:51 -08:00
Javier Calvarro Nelson bb7ace0dfe [SPA] Update npm depencencies for angular and react (#37)
Update NPM dependencies for Angular and React
2022-01-12 04:25:03 -08:00
Artak 9ae11cea16
Merge pull request #31 from dotnet/javiercn/update-npm-dependencies
## Description

Updates our SPA template dependencies as part of our regular update schedule on patch releases. This update contains an update from Angular 12 to Angular 13.

The update to the angular version has been performed by automation with `ng update`.

## Customer Impact

Templates contain a set of fixed package versions that get regularly out of date and start producing security warnings. As part of our regular patch process we update these dependencies to keep our customers protected and make sure they don't have a bad experience due to security warnings appearing after project creation

## Regression?

- [ ] Yes
- [X] No

## Risk

- [ ] High
- [ ] Medium
- [X] Low

We do this process regularly. 

## Verification

- [X] Manual (required)
- [ ] Automated

Validated:
* run Angular Individual auth on windows
* run Angular no auth Individual auth on windows
* run React Individual auth on windows
* run React no auth on windows
* Publish angular individual auth on Windows.
* Publish react individual auth on Windows.

Updating package dependencies is not sensitive to OS issues.

## Packaging changes reviewed?

- [ ] Yes
- [ ] No
- [X] N/A
2021-11-12 13:24:46 -08:00
Javier Calvarro Nelson 4f697716f5
[SPA] Adds Keep-Alive header to avoid console errors on Mac and Linux (#28)
The HPM proxy sends Connection: close headers and that results in Kestrel closing the connection and the proxy failing.
2021-11-12 10:55:19 -08:00
Javier Calvarro Nelson 276a164fd8 Update SPA templates NPM dependencies 2021-11-11 14:36:15 -08:00
Javier Calvarro Nelson 55da9ce020
[Hot reload] Fix hot reload script failure (#20)
* Adds `/_framework` to the list of proxied paths of the proxy configs.
2021-09-23 10:28:59 -07:00
Daniel Roth a64c11d491 Remove PR template 2021-09-10 21:25:18 -07:00
Daniel Roth 1b5d4f312e Add default PR template 2021-09-10 21:22:18 -07:00
Artak d63bb5605a
Add readme, contributing guide, and PR template (#18) 2021-09-10 21:16:10 -07:00
Javier Calvarro Nelson 796e436397
[React] Aligns service worker code with create-react-app PWA template (#19)
Aligns the template with the create-react-app template (cra-template-pwa)
2021-09-09 09:11:27 -07:00
Doug Bunting f9741d3c3f
Delete NuGet.config (#16)
- file prevents use of `darc` feeds in dotnet/aspnetcore
- cannot be automatically kept in sync w/ the file in dotnet/aspnetcore
2021-09-01 12:48:32 -07:00
Javier Calvarro Nelson 2e63715e12
[Spa] Introduce NoSpaFrontEnd option for testing purposes (#15)
[Spa] Introduces NoSpaFrontEnd (hidden) option for testing purposes (#15)

In order for us to ensure the templates are up to date with the latest changes on the .NET runtime, we want to have some tests that are able to build them (and run the server part independently) if necessary.

For that matter, we are introducing the NoSpaFrontEnd option which is hidden from the users and that can be specified in tests to remove all integration with the SPA frontend.

We will continue droping the files on disk, but there will be no npm restore during build nor we will try to launch the SPA proxy when the app launches.

We will have some tests on the ASP.NET Core repo that install the templates package produced by the repo and build the templates to at least catch build breaks that changes on ASP.NET Core can cause.
2021-08-27 09:39:14 -07:00
Hao Kung 7c217732be
Merge pull request #14 from dotnet/haok/boot5
Update spa bootstrap to 5
2021-08-25 11:55:20 -07:00
Hao Kung 21636cf925 Update spa bootstrap to 5 2021-08-25 11:44:27 -07:00
Pranav K 4e28685fe6
Merge pull request #13 from dotnet/javiercn/update-npm-versions
Update npm package versions
2021-08-24 15:09:57 -07:00
Javier Calvarro Nelson 4776fc4646 Update template versions 2021-08-24 10:36:32 -07:00
Javier Calvarro Nelson 2057e764e7
[SPA] Add support for a port range on the SPA proxy (#12)
Adds support for using a port range on Kestrel and the front-end SPA proxy
2021-08-24 04:14:15 -07:00
William Godbe dc078f5b8e
Add dotnet7 feed 2021-08-18 09:24:53 -07:00
Javier Calvarro Nelson 2f75ca0d7a
Update project files to use implicit usings (#11)
* Update projects to use implicit usings
2021-08-17 10:39:27 -07:00
Doug Bunting 373712a220
Get local builds working (#7)
* Get local builds working
- no solution file or build scripts but `dotnet pack` does the trick
- last part of #32027 unless we need Arcade or a CI build urgently

Main work was to add a few missing files and modify them for this environment
- mostly copied from dotnet/aspnetcore
  - Directory.Build.props and Directory.Build.targets created from scratch
    - some content copied from dotnet/arcade and dotnet/aspnetcore
  - NuGet.config and eng/Versions.props copied but pared down (a lot) to mandatory bits for an isolated build
- new eng/ files mostly came from src/ProjectTemplates/ in dotnet/aspnetcore
  - eng/DotNetPackageIcon.png came from src/Microsoft.DotNet.Arcade.Sdk/tools/Assets/ in dotnet/arcade
  - eng/Packaging.targets copied from src/Microsoft.DotNet.Arcade.Sdk/tools/Workarounds.targets in dotnet/arcade

nits:
- fix whitespace Directory.Build.targets target added to `$(Description)`
- fix typo in the `_AppendRepositoryUrlToPackageDescription` target name
- remove src/.gitignore and move content into new root .gitignore file
- remove SECURITY.md trailing whitespace
2021-07-29 15:23:44 -07:00
Hao Kung 9b004357a3
Merge pull request #8 from dotnet/haok/spa2
Update SQLite dbs with Duende scheme
2021-07-29 10:15:04 -07:00
Hao Kung a879d51437 Update SQLite dbs with Duende scheme 2021-07-29 10:13:30 -07:00
Stephen Halter 88d641eb03
Remove UseDeveloperExceptionPage() call (#5)
* Also remove empty newline at start of Program.cs
2021-07-23 12:34:37 -07:00
Artak f0fb4ad4e7
Create CODE-OF-CONDUCT.md 2021-07-20 14:44:24 -07:00
Hao Kung 7370afad21
Merge pull request #4 from dotnet/haok/undo
Undo copy only for package lock in SPA templates
2021-07-19 18:03:26 -07:00
Artak f22889db19
Merge pull request #3 from dotnet/mkArtakMSFT-patch-1
Added the license from the dotnet/runtime repo
2021-07-19 17:35:30 -07:00
Artak 6aca9f94a8
Updated to the license from dotnet/runtime repo 2021-07-19 16:46:11 -07:00
Hao Kung dfc8d7cdd9
Update template.json 2021-07-19 16:12:00 -07:00
Hao Kung 0162897f96
Update template.json 2021-07-19 16:11:09 -07:00
Artak ec967ad388
Added the license from the dotnet/aspnetcore repo 2021-07-19 14:42:08 -07:00
Hao Kung d3f9640dde
Merge pull request #2 from dotnet/haok/spa
IdentityServer4 -> Duende for Spa
2021-07-19 12:49:42 -07:00
Hao Kung 582be0824b IdentityServer4 -> Duende for Spa 2021-07-19 10:28:27 -07:00
Damian Edwards 65d7a026c6
Update SPA templates for C#10 (#1)
- Implicit usings
- File-scoped namespace declarations
2021-07-15 18:29:27 -07:00
Damian Edwards 04f7913cb2 Add missing qualifier to SPA templates Program.cs (dotnet/aspnetcore#34310)
Resolves dotnet/AspNetCore-ManualTests#743

Commit migrated from dotnet/aspnetcore@b22924416d
2021-07-14 02:09:20 +00:00
Hao Kung 79140422b9 Add empty line workaround (dotnet/aspnetcore#34203)
Commit migrated from dotnet/aspnetcore@c0de775565
2021-07-08 20:52:33 +00:00
Damian Edwards d79f5c006f Update templates baseline for recent changes (dotnet/aspnetcore#34186)
* Update templates baseline for recent changes
* Add using alias to fix type name conflict in templates that were missed in the previous set of changes.
* Update SPA templates
  - Use top-level statements
  - Use minimal hosting APIs
  - dotnet/aspnetcore#33947 dotnet/aspnetcore#33944
* Fix nullable issue in Blazor Server template

Commit migrated from dotnet/aspnetcore@4cdd594dad
2021-07-08 10:11:12 -07:00
DamianEdwards 802ded27e9 Enable nullable references in project templates
Contributes to dotnet/aspnetcore#33947

Commit migrated from dotnet/aspnetcore@7db552674a
2021-07-01 13:01:39 -07:00
Artak 2f2d687f6a Removed ExceptionHandleMiddleware registration (dotnet/aspnetcore#33940)
* Removed ExceptionHandleMiddleware registration

* Update Startup.cs

Commit migrated from dotnet/aspnetcore@ef4c9b8b29
2021-06-29 11:21:12 -07:00
Javier Calvarro Nelson 1ef67023b6 [SPA] Fix package-lock.json (dotnet/aspnetcore#33725)
Fixes a corrupt package-lock.json in the Angular template.

Commit migrated from dotnet/aspnetcore@f010b175fb
2021-06-22 10:24:46 -07:00