Skip to content

Commit

Permalink
feat: esm compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Sep 12, 2023
1 parent 01a562c commit 9aa6caf
Show file tree
Hide file tree
Showing 107 changed files with 732 additions and 469 deletions.
10 changes: 5 additions & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"extends": [
"@readme/eslint-config",
"@readme/eslint-config/esm",
"@readme/eslint-config/typescript",
"@readme/eslint-config/testing/jest"
"@readme/eslint-config/testing/vitest"
],
"root": true,
"parserOptions": {
"ecmaVersion": 2020
},
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-use-before-define": "off",
Expand All @@ -20,7 +18,9 @@
"no-underscore-dangle": ["error", { "allow": ["_boundary"] }],
"spaced-comment": "off",

"unicorn/prefer-node-protocol": "error"
"unicorn/prefer-node-protocol": "error",

"vitest/require-hook": "off"
},
"env": {
"browser": true
Expand Down
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ services:
build:
context: .
dockerfile: integrations/node.Dockerfile
command: 'npx jest src/integration.test.ts'
command: 'npx vitest src/integration.test.ts'
environment:
- HTTPBIN=true
- INTEGRATION_CLIENT=node
Expand All @@ -48,7 +48,7 @@ services:
build:
context: .
dockerfile: integrations/php.Dockerfile
command: 'npx jest src/integration.test.ts'
command: 'npx vitest src/integration.test.ts'
environment:
- HTTPBIN=true
- INTEGRATION_CLIENT=php
Expand All @@ -60,7 +60,7 @@ services:
build:
context: .
dockerfile: integrations/python.Dockerfile
command: 'npx jest src/integration.test.ts'
command: 'npx vitest src/integration.test.ts'
environment:
- HTTPBIN=true
- INTEGRATION_CLIENT=python
Expand All @@ -73,7 +73,7 @@ services:
build:
context: .
dockerfile: integrations/shell.Dockerfile
command: 'npx jest src/integration.test.ts'
command: 'npx vitest src/integration.test.ts'
environment:
- HTTPBIN=true
- INTEGRATION_CLIENT=shell
Expand All @@ -85,7 +85,7 @@ services:
build:
context: .
dockerfile: integrations/csharp.Dockerfile
command: 'npx jest src/integration.test.ts'
command: 'npx vitest src/integration.test.ts'
environment:
- HTTPBIN=true
- INTEGRATION_CLIENT=csharp
Expand All @@ -97,7 +97,7 @@ services:
build:
context: .
dockerfile: integrations/c.Dockerfile
command: 'npx jest src/integration.test.ts'
command: 'npx vitest src/integration.test.ts'
environment:
- HTTPBIN=true
- INTEGRATION_CLIENT=c
Expand All @@ -109,7 +109,7 @@ services:
build:
context: .
dockerfile: integrations/go.Dockerfile
command: 'npx jest src/integration.test.ts'
command: 'npx vitest src/integration.test.ts'
environment:
- HTTPBIN=true
- INTEGRATION_CLIENT=go
Expand Down
11 changes: 0 additions & 11 deletions jest.config.js

This file was deleted.

Loading

0 comments on commit 9aa6caf

Please sign in to comment.