Skip to content

Commit 49f2749

Browse files
authored
Merge branch 'main' into no-subscribe-in-pipe
Signed-off-by: Dane Vanderbilt <[email protected]>
2 parents 6a48006 + 1a2e615 commit 49f2749

File tree

214 files changed

+13059
-7583
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

214 files changed

+13059
-7583
lines changed

.circleci/config.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ indent_size = 2
99
insert_final_newline = true
1010
trim_trailing_whitespace = true
1111

12+
[*.{js,ts}]
13+
quote_type = single
14+
1215
[*.md]
1316
indent_size = 4
1417
insert_final_newline = false

.eslintrc.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/FUNDING.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: "/"
5+
schedule:
6+
interval: weekly
7+
8+
- package-ecosystem: npm
9+
directory: "/"
10+
schedule:
11+
interval: weekly
12+
allow:
13+
- dependency-type: development
14+
versioning-strategy: increase
15+
groups:
16+
vitest:
17+
patterns:
18+
- "vitest"
19+
- "@vitest/*"
20+
typescript-eslint:
21+
patterns:
22+
- "typescript-eslint"
23+
- "@typescript-eslint/*"
24+
eslint:
25+
patterns:
26+
- "eslint"
27+
- "@eslint/*"

.github/workflows/ci.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
pull_request: {}
6+
workflow_call: {}
7+
8+
concurrency:
9+
group: '${{ github.workflow }} - ${{ github.head_ref || github.ref }}'
10+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
11+
12+
permissions:
13+
contents: read
14+
pull-requests: write
15+
16+
jobs:
17+
18+
check:
19+
strategy:
20+
matrix:
21+
node-version: [18, 20]
22+
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
29+
- name: Setup Node.js
30+
uses: actions/setup-node@v4
31+
with:
32+
node-version: ${{ matrix.node-version }}
33+
- name: Setup LCOV
34+
uses: hrishikesh-kadam/setup-lcov@v1
35+
- name: Setup Yarn
36+
run: corepack enable
37+
38+
- name: Install Packages
39+
run: yarn install
40+
41+
- name: Type Check
42+
run: yarn typecheck
43+
44+
- name: Lint
45+
run: yarn lint
46+
47+
- name: Test Coverage
48+
run: yarn coverage
49+
50+
- name: Report Coverage
51+
if: ${{ matrix.node-version == 20 && github.event_name == 'pull_request' }}
52+
uses: zgosalvez/github-actions-report-lcov@v4
53+
with:
54+
coverage-files: coverage/lcov.info
55+
minimum-coverage: 90
56+
github-token: ${{ secrets.GITHUB_TOKEN }}
57+
update-comment: true

.github/workflows/publish.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
on:
2+
workflow_dispatch: {}
3+
release:
4+
types:
5+
- published
6+
7+
jobs:
8+
check:
9+
uses: ./.github/workflows/ci.yml
10+
secrets: inherit
11+
12+
publish:
13+
needs: check
14+
15+
runs-on: ubuntu-latest
16+
17+
permissions:
18+
contents: read
19+
id-token: write
20+
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
25+
- name: Setup Node.js
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: lts/*
29+
registry-url: 'https://registry.npmjs.com'
30+
check-latest: true
31+
- name: Setup Yarn
32+
run: corepack enable
33+
34+
- name: Install Packages
35+
run: yarn install
36+
37+
- name: Build
38+
run: yarn build
39+
40+
- name: Publish
41+
run: |
42+
npm install -g npm@latest
43+
npm publish --provenance
44+
env:
45+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 133 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,133 @@
1-
yarn-error.log
2-
/build
3-
/dist
4-
/node_modules
5-
/temp
1+
# Node.gitignore
2+
3+
# Logs
4+
logs
5+
*.log
6+
npm-debug.log*
7+
yarn-debug.log*
8+
yarn-error.log*
9+
lerna-debug.log*
10+
.pnpm-debug.log*
11+
12+
# Diagnostic reports (https://nodejs.org/api/report.html)
13+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
14+
15+
# Runtime data
16+
pids
17+
*.pid
18+
*.seed
19+
*.pid.lock
20+
21+
# Directory for instrumented libs generated by jscoverage/JSCover
22+
lib-cov
23+
24+
# Coverage directory used by tools like istanbul
25+
coverage
26+
*.lcov
27+
28+
# nyc test coverage
29+
.nyc_output
30+
31+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
32+
.grunt
33+
34+
# Bower dependency directory (https://bower.io/)
35+
bower_components
36+
37+
# node-waf configuration
38+
.lock-wscript
39+
40+
# Compiled binary addons (https://nodejs.org/api/addons.html)
41+
build/Release
42+
43+
# Dependency directories
44+
node_modules/
45+
jspm_packages/
46+
47+
# Snowpack dependency directory (https://snowpack.dev/)
48+
web_modules/
49+
50+
# TypeScript cache
51+
*.tsbuildinfo
52+
53+
# Optional npm cache directory
54+
.npm
55+
56+
# Optional eslint cache
57+
.eslintcache
58+
59+
# Optional stylelint cache
60+
.stylelintcache
61+
62+
# Microbundle cache
63+
.rpt2_cache/
64+
.rts2_cache_cjs/
65+
.rts2_cache_es/
66+
.rts2_cache_umd/
67+
68+
# Optional REPL history
69+
.node_repl_history
70+
71+
# Output of 'npm pack'
72+
*.tgz
73+
74+
# Yarn Integrity file
75+
.yarn-integrity
76+
77+
# dotenv environment variable files
78+
.env
79+
.env.development.local
80+
.env.test.local
81+
.env.production.local
82+
.env.local
83+
84+
# parcel-bundler cache (https://parceljs.org/)
85+
.cache
86+
.parcel-cache
87+
88+
# Next.js build output
89+
.next
90+
out
91+
92+
# Nuxt.js build / generate output
93+
.nuxt
94+
dist
95+
96+
# Gatsby files
97+
.cache/
98+
# Comment in the public line in if your project uses Gatsby and not Next.js
99+
# https://nextjs.org/blog/next-9-1#public-directory-support
100+
# public
101+
102+
# vuepress build output
103+
.vuepress/dist
104+
105+
# vuepress v2.x temp and cache directory
106+
.temp
107+
.cache
108+
109+
# Docusaurus cache and generated files
110+
.docusaurus
111+
112+
# Serverless directories
113+
.serverless/
114+
115+
# FuseBox cache
116+
.fusebox/
117+
118+
# DynamoDB Local files
119+
.dynamodb/
120+
121+
# TernJS port file
122+
.tern-port
123+
124+
# Stores VSCode versions used for testing VSCode extensions
125+
.vscode-test
126+
127+
# yarn v2
128+
.yarn/cache
129+
.yarn/unplugged
130+
.yarn/build-state.yml
131+
.yarn/install-state.gz
132+
.pnp.*
133+

.husky/pre-commit

Lines changed: 0 additions & 4 deletions
This file was deleted.

.markdownlint.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"line-length": false,
3+
"MD024": {
4+
"siblings_only": true
5+
}
6+
}

0 commit comments

Comments
 (0)