Skip to content

Commit 1376cf2

Browse files
authored
feat: bring openapi-runtime-expression under SwaggerExpert umbrella (#142)
Refs #134 BREAKING CHANGE: new package name, no pure ESM module
1 parent 7478336 commit 1376cf2

Some content is hidden

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

42 files changed

+6563
-2091
lines changed

.browserslistrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[isomorphic-production]
2+
last 3 chrome versions
3+
last 3 edge version
4+
last 3 firefox versions
5+
last 3 safari versions
6+
opera >= 90
7+
node 12.20.0

.commitlintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
{
23
"extends": [
34
"@commitlint/config-conventional"

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ insert_final_newline = true
3333
trim_trailing_whitespace = false
3434

3535
[packages/apidom-ls/test/fixtures/**/*.yaml]
36-
trim_trailing_whitespace = false
36+
trim_trailing_whitespace = false

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# These are supported funding model platforms
22

33
github: [char0n]
4+
tidelift: npm/@swaggerexpert%2Fopenapi-runtime-expression
45
patreon: char0n
56
ko_fi: char0n
67
liberapay: char0n
78
issuehunt: char0n
9+

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,15 @@ updates:
99
directory: "/" # Location of package manifests
1010
schedule:
1111
interval: "daily"
12+
commit-message:
13+
prefix: "chore"
14+
include: "scope"
15+
1216

1317
- package-ecosystem: "github-actions"
1418
directory: "/"
1519
schedule:
1620
interval: "daily"
21+
commit-message:
22+
prefix: "chore"
23+
include: "scope"

.github/workflows/codeql.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -37,38 +37,38 @@ jobs:
3737
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
3838

3939
steps:
40-
- name: Checkout repository
41-
uses: actions/checkout@v4
40+
- name: Checkout repository
41+
uses: actions/checkout@v4
4242

43-
# Initializes the CodeQL tools for scanning.
44-
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v3
46-
with:
47-
languages: ${{ matrix.language }}
48-
# If you wish to specify custom queries, you can do so here or in a config file.
49-
# By default, queries listed here will override any specified in a config file.
50-
# Prefix the list here with "+" to use these queries and those in the config file.
51-
52-
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
53-
# queries: security-extended,security-and-quality
43+
# Initializes the CodeQL tools for scanning.
44+
- name: Initialize CodeQL
45+
uses: github/codeql-action/init@v3
46+
with:
47+
languages: ${{ matrix.language }}
48+
# If you wish to specify custom queries, you can do so here or in a config file.
49+
# By default, queries listed here will override any specified in a config file.
50+
# Prefix the list here with "+" to use these queries and those in the config file.
5451

55-
56-
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
57-
# If this step fails, then you should remove it and run the build manually (see below)
58-
- name: Autobuild
59-
uses: github/codeql-action/autobuild@v3
52+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
53+
# queries: security-extended,security-and-quality
6054

61-
# ℹ️ Command-line programs to run using the OS shell.
62-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
6355

64-
# If the Autobuild fails above, remove it and uncomment the following three lines.
65-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
56+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
57+
# If this step fails, then you should remove it and run the build manually (see below)
58+
- name: Autobuild
59+
uses: github/codeql-action/autobuild@v3
6660

67-
# - run: |
68-
# echo "Run, Build Application using script"
69-
# ./location_of_script_within_repo/buildscript.sh
61+
# ℹ️ Command-line programs to run using the OS shell.
62+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
7063

71-
- name: Perform CodeQL Analysis
72-
uses: github/codeql-action/analyze@v3
73-
with:
74-
category: "/language:${{matrix.language}}"
64+
# If the Autobuild fails above, remove it and uncomment the following three lines.
65+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
66+
67+
# - run: |
68+
# echo "Run, Build Application using script"
69+
# ./location_of_script_within_repo/buildscript.sh
70+
71+
- name: Perform CodeQL Analysis
72+
uses: github/codeql-action/analyze@v3
73+
with:
74+
category: "/language:${{matrix.language}}"

.github/workflows/dependabot-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ jobs:
1414
uses: ahmadnassri/action-dependabot-auto-merge@v2
1515
with:
1616
target: minor
17-
github-token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
17+
github-token: ${{ secrets.DEPENDABOT_TOKEN }}
1818
command: squash and merge

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
name: Release
23
on:
34
workflow_dispatch:
@@ -11,10 +12,12 @@ jobs:
1112
steps:
1213
- name: Checkout
1314
uses: actions/checkout@v4
15+
with:
16+
persist-credentials: false
1417
- name: Setup Node.js
1518
uses: actions/setup-node@v4
1619
with:
17-
node-version: 16
20+
node-version: 20.5.0
1821
- name: Install dependencies
1922
run: npm ci
2023
- name: Execute tests
@@ -27,7 +30,7 @@ jobs:
2730
extra_plugins: |
2831
@semantic-release/git
2932
env:
30-
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
33+
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
3134
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3235
- name: Release published
3336
if: steps.semantic.outputs.new_release_published == 'true'

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Use Node.js 16
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: 16
21+
node-version: 20.5.0
2222
- name: Install dependencies
2323
run: npm ci
2424
- name: Execute tests

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
node_modules/
22
.idea/
33
*.iml
4-
.vscode/settings.json
4+
.vscode/settings.json
5+
/cjs
6+
/es
7+
/swaggerexpert-openapi-runtime-expression-*.tgz

0 commit comments

Comments
 (0)