Skip to content

Commit 3bf342a

Browse files
authored
Merge pull request #1 from readmeio/chore/prep-fork
chore: prepping our fork
2 parents 476c8e1 + 7006248 commit 3bf342a

Some content is hidden

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

46 files changed

+5326
-4485
lines changed

.editorconfig

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

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.nyc_output/
2+
coverage/
3+
dist/
4+
node_modules/

.eslintrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extends": [
3+
"@readme/eslint-config"
4+
],
5+
"root": true,
6+
"rules": {
7+
"no-restricted-syntax": "off"
8+
}
9+
}

.eslintrc.json

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

.github/dependabot.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: "/"
5+
schedule:
6+
interval: monthly
7+
reviewers:
8+
- erunion
9+
labels:
10+
- dependencies
11+
commit-message:
12+
prefix: chore(deps)
13+
prefix-development: chore(deps-dev)
14+
15+
- package-ecosystem: npm
16+
directory: "/"
17+
schedule:
18+
interval: monthly
19+
open-pull-requests-limit: 10
20+
reviewers:
21+
- erunion
22+
labels:
23+
- dependencies
24+
commit-message:
25+
prefix: chore(deps)
26+
prefix-development: chore(deps-dev)

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
node-version:
15+
- 14
16+
- 16
17+
- 18
18+
- 19
19+
20+
steps:
21+
- uses: actions/checkout@v3
22+
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v3
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
28+
- name: Install deps
29+
run: npm ci
30+
31+
- name: Run tests
32+
run: npm test

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ name: "CodeQL"
22

33
on:
44
push:
5-
branches: [ master, develop ]
5+
branches: [main]
66
pull_request:
7-
# The branches below must be a subset of the branches above
8-
branches: [ master ]
7+
branches: [main]
98
schedule:
10-
- cron: '23 12 * * 5'
9+
- cron: '0 12 * * 1'
1110

1211
jobs:
1312
analyze:
@@ -25,15 +24,12 @@ jobs:
2524

2625
steps:
2726
- name: Checkout repository
28-
uses: actions/checkout@v2
27+
uses: actions/checkout@v3
2928

3029
- name: Initialize CodeQL
31-
uses: github/codeql-action/init@v1
30+
uses: github/codeql-action/init@v2
3231
with:
3332
languages: ${{ matrix.language }}
3433

35-
- name: Autobuild
36-
uses: github/codeql-action/autobuild@v1
37-
3834
- name: Perform CodeQL Analysis
39-
uses: github/codeql-action/analyze@v1
35+
uses: github/codeql-action/analyze@v2

.github/workflows/node.js.yml

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

.gitignore

Lines changed: 3 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,4 @@
1-
### Node ###
2-
# Logs
3-
logs
4-
*.log
5-
npm-debug.log*
6-
yarn-debug.log*
7-
yarn-error.log*
8-
lerna-debug.log*
9-
10-
# Diagnostic reports (https://nodejs.org/api/report.html)
11-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12-
13-
# Runtime data
14-
pids
15-
*.pid
16-
*.seed
17-
*.pid.lock
18-
19-
# Directory for instrumented libs generated by jscoverage/JSCover
20-
lib-cov
21-
22-
# Coverage directory used by tools like istanbul
23-
coverage
24-
coverage/**
25-
*.lcov
26-
27-
# nyc test coverage
28-
.nyc_output
29-
30-
# Dependency directories
1+
.nyc_output/
2+
coverage/
3+
dist/
314
node_modules/
32-
node_modules/*
33-
34-
# Output of 'npm pack'
35-
*.tgz
36-
37-
# dotenv environment variables file
38-
.env
39-
.env.test
40-
41-
# parcel-bundler cache (https://parceljs.org/)
42-
.cache
43-
44-
.idea

.husky/pre-commit

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

0 commit comments

Comments
 (0)