From 55f42b63e989f9e5a7557dd7ebee2dc2a19ab6e6 Mon Sep 17 00:00:00 2001 From: Philippe Serhal Date: Thu, 23 May 2024 10:06:40 -0400 Subject: [PATCH 1/3] docs(readme): fix refs to old package name (#112) This package was renamed 9 months ago. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9f03d6e9..f8f38e32 100644 --- a/README.md +++ b/README.md @@ -34,15 +34,15 @@ Create a `netlify.toml` in the root of your project. Your file should include th ```toml [[plugins]] - package = "@netlify/plugin-angular-universal" + package = "@netlify/angular-runtime" ``` Install it via your package manager: ```bash -npm install -D @netlify/plugin-angular-universal +npm install -D @netlify/angular-runtime # or -yarn add -D @netlify/plugin-angular-universal +yarn add -D @netlify/angular-runtime ``` Read more about [file-based plugin installation](https://docs.netlify.com/configure-builds/build-plugins/#file-based-installation) @@ -81,7 +81,7 @@ netlify serve ### Requirements -To use the Angular Universal plugin while building and deploying with the CLI, you need to have `netlify-cli v17.0.0` installed (or a later version). +To use the Angular Runtime while building and deploying with the CLI, you need to have `netlify-cli v17.0.0` installed (or a later version). Please also make sure to use `ntl deploy --build` (rather than `ntl build && ntl deploy`). From 9fb04f95dae41e4ea8ca264f4a53334128758626 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Mon, 27 May 2024 15:29:02 +0200 Subject: [PATCH 2/3] fix: don't shadow netlify functions (#115) --- demo.test.mjs | 1 + src/helpers/setUpEdgeFunction.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/demo.test.mjs b/demo.test.mjs index 8cc59427..3ab3c956 100644 --- a/demo.test.mjs +++ b/demo.test.mjs @@ -5,6 +5,7 @@ test('edge function config', async () => { const { config } = await import('./demo/.netlify/edge-functions/angular-ssr/angular-ssr.mjs') assert.deepEqual(config.excludedPath, [ + '/.netlify/*', '/dashboard/index.html', '/favicon.ico', '/heroes/index.html', diff --git a/src/helpers/setUpEdgeFunction.js b/src/helpers/setUpEdgeFunction.js index 9ef5f0b6..d035b32a 100644 --- a/src/helpers/setUpEdgeFunction.js +++ b/src/helpers/setUpEdgeFunction.js @@ -83,7 +83,7 @@ const setUpEdgeFunction = async ({ angularJson, constants, failBuild }) => { (path) => `/${relative(join(outputDir, 'browser'), path)}`, ) - const excludedPaths = [...staticFiles, ...(await getPrerenderedRoutes(outputDir))].map(toPosix) + const excludedPaths = ['/.netlify/*', ...staticFiles, ...(await getPrerenderedRoutes(outputDir))].map(toPosix) // buy putting this into a separate module that's imported first, // we ensure this is initialised before any other module From f66655e140b88709e9e65350a2e6043e028f8c5b Mon Sep 17 00:00:00 2001 From: "token-generator-app[bot]" <82042599+token-generator-app[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 09:43:42 -0400 Subject: [PATCH 3/3] chore(main): release 2.1.1 (#117) Co-authored-by: token-generator-app[bot] <82042599+token-generator-app[bot]@users.noreply.github.com> --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index edb514e6..3c6f58f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.1.1](https://github.com/netlify/angular-runtime/compare/v2.1.0...v2.1.1) (2024-05-27) + + +### Bug Fixes + +* don't shadow netlify functions ([#115](https://github.com/netlify/angular-runtime/issues/115)) ([9fb04f9](https://github.com/netlify/angular-runtime/commit/9fb04f95dae41e4ea8ca264f4a53334128758626)) + ## [2.1.0](https://github.com/netlify/angular-runtime/compare/v2.0.7...v2.1.0) (2024-05-22) diff --git a/package-lock.json b/package-lock.json index 412f1024..55e48ea2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@netlify/angular-runtime", - "version": "2.1.0", + "version": "2.1.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@netlify/angular-runtime", - "version": "2.1.0", + "version": "2.1.1", "license": "MIT", "dependencies": { "fs-extra": "^11.1.1", diff --git a/package.json b/package.json index 94992790..6d7379ce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@netlify/angular-runtime", - "version": "2.1.0", + "version": "2.1.1", "description": "Netlify Angular Runtime - Run Angular seamlessly on Netlify.", "main": "src/index.js", "files": [