Skip to content

chore: starter tests for plugin hooks #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
test
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ jobs:
- name: Linting
run: npm run format:ci
if: "${{ matrix.node-version == '*' }}"
- name: Run tests
run: npm run test
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ node_modules

# Optional REPL history
.node_repl_history

# Tests
test
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ Create a `netlify.toml` in the root of your project. Your file should include th
If you'd like to install this plugin at a fixed version, install it via your package manager:

```bash
npm install @netlify/plugin-angular-universal
npm install -D @netlify/plugin-angular-universal
# or
yarn add @netlify/plugin-angular-universal
yarn add -D @netlify/plugin-angular-universal
```

Read more about [file-based plugin installation](https://docs.netlify.com/configure-builds/build-plugins/#file-based-installation)
Expand All @@ -43,7 +43,7 @@ in our docs.

### Plugin Side Effects

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

1. It will modify your angular.json to add a `serverless` project configuration.
2. It will add `serverless.ts` and `tsconfig.serverless.json` files.
Expand Down
Loading