Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ name: Notify on Angular bump failures
on:
pull_request:
types: [opened, synchronize, labeled, unlabeled]
paths:
- 'packages/angular-runtime/**'
jobs:
waitForWorkflows:
name: Wait for workflows
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: SSR Tests
name: SSR Tests @netlify/angular-runtime
on:
pull_request:
branches:
- main
paths:
- 'packages/angular-runtime/**'

permissions:
contents: read
Expand Down Expand Up @@ -33,6 +35,6 @@ jobs:
run: npm ci

- name: Run SSR tests
run: node ./tests/ssr.js
run: node packages/angular-runtime/tests/ssr.js
env:
DEPLOY_URL: ${{ steps.deploy.outputs.deploy-url }}
9 changes: 9 additions & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ jobs:
run: npm run build --workspaces=true

# Publishing packages in topological order, as defined in `package.json`.
- if:
${{ steps.release.outputs['packages/angular-runtime--release_created'] || github.event_name ==
'workflow_dispatch' }}
run: |
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
npm publish packages/angular-runtime/ --provenance --access=public || true
else
npm publish packages/angular-runtime/ --provenance --access=public
fi
- if:
${{ steps.release.outputs['packages/nuxt-module--release_created'] || github.event_name == 'workflow_dispatch'
}}
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ coverage
.eslintcache
.cache
.vscode
.fleet
.fleet
.idea
.angular
.nx
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"packages/angular-runtime": "4.0.0",
Comment thread
hrishikesh-k marked this conversation as resolved.
"packages/nuxt-module": "0.3.8",
"packages/vite-plugin": "2.12.8",
"packages/vite-plugin-tanstack-start": "1.3.16"
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Netlify Framework Adapters

Netlify framework adapters for Nuxt, Vite, and TanStack Start
Netlify framework adapters for Angular, Nuxt, Vite, and TanStack Start

## Installation

Expand Down Expand Up @@ -28,6 +28,7 @@ npm run dev

| Name | Description | Version |
| ----------------------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| 🅰️ [@netlify/angular-runtime](packages/angular-runtime) | Netlify Angular Runtime - run Angular seamlessly on Netlify | [![npm version](https://img.shields.io/npm/v/@netlify/angular-runtime.svg)](https://www.npmjs.com/package/@netlify/angular-runtime) |
| 🚀 [@netlify/nuxt](packages/nuxt-module) | Nuxt module with a local emulation of the Netlify environment | [![npm version](https://img.shields.io/npm/v/@netlify/nuxt.svg)](https://www.npmjs.com/package/@netlify/nuxt) |
| 🔌 [@netlify/vite-plugin](packages/vite-plugin) | Vite plugin with a local emulation of the Netlify environment | [![npm version](https://img.shields.io/npm/v/@netlify/vite-plugin.svg)](https://www.npmjs.com/package/@netlify/vite-plugin) |
| 🔌 [@netlify/vite-plugin-tanstack-start](packages/vite-plugin-tanstack-start) | Vite plugin for TanStack Start on Netlify | [![npm version](https://img.shields.io/npm/v/@netlify/vite-plugin.svg)](https://www.npmjs.com/package/@netlify/vite-plugin-tanstack-start) |
27 changes: 10 additions & 17 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,16 @@ const __dirname = path.dirname(__filename)

const packagesPath = path.join(__dirname, 'packages')
const packages = await fs.readdir(packagesPath)
const packageIgnores = packages.map((name) => includeIgnoreFile(path.resolve(packagesPath, name, '.gitignore')))
const packageIgnores = await Promise.all(
packages.map(async (name) => {
const gitignorePath = path.resolve(packagesPath, name, '.gitignore')
const exists = await fs.access(gitignorePath).then(
() => true,
() => false,
)
return exists ? includeIgnoreFile(gitignorePath) : {}
}),
)

export default tseslint.config(
// Global rules and configuration
Expand Down Expand Up @@ -147,22 +156,6 @@ export default tseslint.config(
'n/no-unsupported-features/node-builtins': 'off',
},
},
{
// `.cjs` files are always loaded as CommonJS by Node, so `require`/`module` can't be replaced with
// `import`/`export` here.
files: ['packages/angular-runtime/.eslintrc.cjs', 'packages/angular-runtime/.prettierrc.cjs'],
languageOptions: {
sourceType: 'commonjs',
globals: {
require: 'readonly',
module: 'writable',
},
},
rules: {
'@typescript-eslint/no-require-imports': 'off',
},
},

...temporarySuppressions,

// Must be last
Expand Down
Loading
Loading