Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
6 changes: 3 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
const { overrides } = require('@netlify/eslint-config-node')
import { overrides } from '@netlify/eslint-config-node'

module.exports = {
export default {
extends: '@netlify/eslint-config-node',
rules: {
'max-depth': 0,
complexity: 0,
'fp/no-let': 0,
'fp/no-loops': 0,
'fp/no-mutation': 0,
'fp/no-mutating-methods': 0,
'id-length': 0,
'max-depth': 0,
'max-statements': 0,
'no-await-in-loop': 0,
'node/exports-style': 0,
Expand Down
18 changes: 4 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,11 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
node-version: [18.19.1, 20.19.1, 22]
exclude:
- os: macOS-latest
node-version: 18.19.1
- os: windows-latest
node-version: 18.19.1
- os: macOS-latest
node-version: 20.19.1
- os: windows-latest
node-version: 20.19.1
node-version: [22, 24]
fail-fast: false

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
Comment thread
coderabbitai[bot] marked this conversation as resolved.
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
Expand All @@ -35,10 +26,9 @@ jobs:
name: NPM Install
- name: Linting
run: npm run format:ci
if: "${{ matrix.node-version == '20.19.1' }}"
- name: Install Deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: 2.5.6
deno-version: 2.4.5
- name: Run tests
run: npm run test
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
commitlint --edit $1
1 change: 1 addition & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run format
File renamed without changes.
2 changes: 1 addition & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] }
export default { extends: ['@commitlint/config-conventional'] }
2 changes: 1 addition & 1 deletion common-engine.d.mts → common-engine.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This is duplicating module resolution from package.json#exports
// because some module resolution settings in tsconfig.json are not honoring export maps
// https://www.typescriptlang.org/docs/handbook/modules/theory.html#module-resolution
export * from './src/common-engine.mjs'
export * from './src/common-engine.js'
2 changes: 1 addition & 1 deletion common-engine.mjs → common-engine.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This is duplicating module resolution from package.json#exports
// because some module resolution settings in tsconfig.json are not honoring export maps
// https://www.typescriptlang.org/docs/handbook/modules/theory.html#module-resolution
export * from './src/common-engine.mjs'
export * from './src/common-engine.js'
2 changes: 1 addition & 1 deletion context.d.mts → context.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This is duplicating module resolution from package.json#exports
// because some module resolution settings in tsconfig.json are not honoring export maps
// https://www.typescriptlang.org/docs/handbook/modules/theory.html#module-resolution
export * from './src/context.mjs'
export * from './src/context.js'
2 changes: 1 addition & 1 deletion context.mjs → context.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This is duplicating module resolution from package.json#exports
// because some module resolution settings in tsconfig.json are not honoring export maps
// https://www.typescriptlang.org/docs/handbook/modules/theory.html#module-resolution
export * from './src/context.mjs'
export * from './src/context.js'
27 changes: 6 additions & 21 deletions demo/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,10 @@
"options": {
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": [
"zone.js"
],
"polyfills": ["zone.js"],
"tsConfig": "tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css"
],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css"],
"scripts": [],
"server": "src/main.server.ts",
"outputMode": "server",
Expand Down Expand Up @@ -78,18 +71,10 @@
"test": {
"builder": "@angular/build:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "tsconfig.spec.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css"
],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css"],
"scripts": []
}
}
Expand Down
46 changes: 46 additions & 0 deletions demo/deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading