Skip to content

Commit 77d8571

Browse files
committed
Merge branch 'main' into fix/catch-404
2 parents 1183796 + 2a2738b commit 77d8571

File tree

9 files changed

+23927
-16795
lines changed

9 files changed

+23927
-16795
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules
2+
test

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ jobs:
3232
- name: Linting
3333
run: npm run format:ci
3434
if: "${{ matrix.node-version == '*' }}"
35+
- name: Run tests
36+
run: npm run test

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ node_modules
1414

1515
# Optional REPL history
1616
.node_repl_history
17+
18+
# Tests
19+
test

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,25 @@ Create a `netlify.toml` in the root of your project. Your file should include th
3131
If you'd like to install this plugin at a fixed version, install it via your package manager:
3232

3333
```bash
34-
npm install @netlify/plugin-angular-universal
34+
npm install -D @netlify/plugin-angular-universal
3535
# or
36-
yarn add @netlify/plugin-angular-universal
36+
yarn add -D @netlify/plugin-angular-universal
3737
```
3838

3939
Read more about [file-based plugin installation](https://docs.netlify.com/configure-builds/build-plugins/#file-based-installation)
4040
in our docs.
4141

4242
## CLI Usage
4343

44+
### Requirements
45+
46+
To use the Essential Angular Universal plugin while building and deploying with the CLI, you need to have `netlify-cli v5.4.13` installed (or a later version).
47+
48+
Please also make sure to use `ntl deploy --build --prod` (rather than `ntl build`).
49+
4450
### Plugin Side Effects
4551

46-
This plugin will make direct changes to your project source when run via the CLI:
52+
When this plugin is run as part of the build process using the Netlify CLI, direct changes will be made to your project source:
4753

4854
1. It will modify your angular.json to add a `serverless` project configuration.
4955
2. It will add `serverless.ts` and `tsconfig.serverless.json` files.
@@ -91,4 +97,4 @@ for details.
9197
## License
9298

9399
This project is licensed under the MIT License - see the
94-
[LICENSE.md](LICENSE.md) file for details
100+
[LICENSE.md](LICENSE.md) file for details

netlify.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,5 @@ functions = "demo/netlify/functions"
44
publish = "demo/dist/angular-bfdx/browser"
55
base="."
66

7-
# TO-DO: remove after cli redirect fix is out https://github.com/netlify/cli/pull/2920
8-
# any additional redirects for the site should come *before* this one
9-
[[redirects]]
10-
from = "/*"
11-
to = "/.netlify/functions/angular-builder"
12-
status = 200
13-
147
[[plugins]]
158
package="."

0 commit comments

Comments
 (0)