Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#32 Updating dependency. #33

Merged
merged 1 commit into from
May 26, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
7 changes: 0 additions & 7 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,13 @@ jobs:

# Run build *after* tests - since tests no longer require transpiled JS to run
# We still want to run build to catch any TS error possibly lurking somewhere.
# Because we test first and build then, we can do compilation without __tests__ directory.
# We re-add it to src folder in order to include it in published NPM package (if CD pipeline).
# Notice we must produce stub package.json file to dist-cjs folder, otherwise `require` will fail on relative imports within the dist-cjs folder.
- id: compile
name: Compile ${{ matrix.dir }}
shell: bash
run: |
set -e

./scripts/build.sh '${{ matrix.dir }}' ci
if [[ -d '${{ matrix.dir }}/dist-cjs' ]]; then
sudo chmod -R o=rwX '${{ matrix.dir }}/dist-cjs'
cat '${{ matrix.dir }}/package.json' | jq -M 'del(.files, .type, .main, .module, .types, .exports)' > '${{ matrix.dir }}/dist-cjs/package.json'
fi

- id: lint
name: Lint ${{ matrix.dir }}
Expand Down
5 changes: 2 additions & 3 deletions metadata/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ty-ras/metadata-openapi",
"version": "1.0.0",
"version": "1.0.1",
"author": {
"name": "Stanislav Muhametsin",
"email": "346799+stazz@users.noreply.github.com",
Expand Down Expand Up @@ -32,15 +32,14 @@
},
"dependencies": {
"@ty-ras/metadata": "^1.0.1",
"@ty-ras/metadata-jsonschema": "^1.0.0"
"@ty-ras/metadata-jsonschema": "^1.0.1"
},
"peerDependencies": {
"openapi-types": "^12.0.2"
},
"devDependencies": {
"@babel/core": "7.21.5",
"@babel/eslint-parser": "7.21.3",
"@ty-ras/server-test-support": "1.0.0",
"@types/node": "18.16.3",
"@typescript-eslint/eslint-plugin": "5.59.2",
"@typescript-eslint/parser": "5.59.2",
Expand Down
113 changes: 4 additions & 109 deletions metadata/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,6 @@
"@jridgewell/gen-mapping" "^0.3.0"
"@jridgewell/trace-mapping" "^0.3.9"

"@ava/cooperate@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@ava/cooperate/-/cooperate-1.0.0.tgz#e9b7fbf0e6cdeab5d30f14f7e283eddc22d51f0d"
integrity sha512-jdf8Fd3cuj/Gk7XM67p1u4IZ7ohbv93x8e4Z+J7A9rRrolOU6v6oQ9ZsilYfgKnuPE72t/GorTC4ArtUP5m3Wg==
dependencies:
never "^1.0.3"

"@ava/get-port@2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@ava/get-port/-/get-port-2.0.0.tgz#9bd789d113ffeb666753bca9000de0f66390c7c8"
integrity sha512-n8DTwgjjeps/9lkTAzhdhxCGWeZJbL8jAgICFJHv5eNKvbF9onvh4tqd5blPWZ07uJYtpLySli6l/+lc2Wxakw==
dependencies:
"@ava/cooperate" "^1.0.0"

"@babel/code-frame@^7.21.4":
version "7.21.4"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.21.4.tgz#d0fa9e4413aca81f2b23b9442797bda1826edb39"
Expand Down Expand Up @@ -401,17 +387,10 @@
resolved "https://registry.yarnpkg.com/@ty-ras/data/-/data-1.0.0.tgz#d49c7ccba3e26463d05470ff10bb947f8f3293d7"
integrity sha512-WjiVqThVwVX6NpkU3sweiG1I2b6hiIt4VuvbSGWwniAXBJVZg6AFrndOtCgf6MQmmgS/LqOtmT1xbeF/Gk1Ayg==

"@ty-ras/endpoint@^1.0.1":
"@ty-ras/metadata-jsonschema@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@ty-ras/endpoint/-/endpoint-1.0.1.tgz#5c190b735bbab3dcfb21363d3cefbf8ebcd0ceb0"
integrity sha512-J8jqQpLWR2BhnaMPja3rnO1EkMWqSThRRARrzk/QL/Pv6nwBkLEkHMxoJIyu8hC+bGbL+SKz5WyLFyVwywIOVA==
dependencies:
"@ty-ras/data-backend" "^1.0.1"

"@ty-ras/metadata-jsonschema@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@ty-ras/metadata-jsonschema/-/metadata-jsonschema-1.0.0.tgz#5976a31fca13b697fd20c541a64f8fe0d49750e9"
integrity sha512-9JybZQU0CAsod8Gbl5l+p4sFN7U4OPWEfjI/DzzhMFpSUbpVA8E8CJL6ZyHClKvdX1wdCTTqYMWilCbEAzzzZQ==
resolved "https://registry.yarnpkg.com/@ty-ras/metadata-jsonschema/-/metadata-jsonschema-1.0.1.tgz#5402d02641cc8adfeeca665e64d33a49b5da7e5a"
integrity sha512-EnKtaGeF95l6nbUbMQqkSmv0MojLtahY9qFYpEddHx+1Yz2TvoHi1aFl40uX6qugUr7DVgbS5R6eg+5dY0VGcQ==

"@ty-ras/metadata@^1.0.1":
version "1.0.1"
Expand All @@ -420,22 +399,6 @@
dependencies:
"@ty-ras/data-backend" "^1.0.1"

"@ty-ras/server-test-support@1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@ty-ras/server-test-support/-/server-test-support-1.0.0.tgz#7d1335f72e95ed07c5f5b0c907fa674fbf6a95b7"
integrity sha512-CMmyB4pMd+2Jjz2JliJT6kw/ZwMvNSo7Vj9eZAVDeLvDIA43T1z6lwYqEiIAXQGj1OsvwOUgdxeX4LUre/kc+A==
dependencies:
"@ava/get-port" "2.0.0"
"@ty-ras/server" "^1.0.0"
raw-body "2.5.1"

"@ty-ras/server@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@ty-ras/server/-/server-1.0.0.tgz#84c5f54accc02da62744590356bc79f948fa3aa2"
integrity sha512-h1Ss92jIIJn3wwVEP0L2oMT/EYrm9UvDft5YJ9WHMhDZBTXX4EZwTgG7WE//lD4tHHTUvUvhQCpK0BUprAxO+Q==
dependencies:
"@ty-ras/endpoint" "^1.0.1"

"@types/istanbul-lib-coverage@^2.0.1":
version "2.0.4"
resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44"
Expand Down Expand Up @@ -743,11 +706,6 @@ browserslist@^4.21.3:
node-releases "^2.0.8"
update-browserslist-db "^1.0.10"

bytes@3.1.2:
version "3.1.2"
resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5"
integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==

c8@7.13.0:
version "7.13.0"
resolved "https://registry.yarnpkg.com/c8/-/c8-7.13.0.tgz#a2a70a851278709df5a9247d62d7f3d4bcb5f2e4"
Expand Down Expand Up @@ -1002,11 +960,6 @@ del@^7.0.0:
rimraf "^3.0.2"
slash "^4.0.0"

depd@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df"
integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==

diff@^4.0.1:
version "4.0.2"
resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d"
Expand Down Expand Up @@ -1435,24 +1388,6 @@ html-escaper@^2.0.0:
resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453"
integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==

http-errors@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3"
integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==
dependencies:
depd "2.0.0"
inherits "2.0.4"
setprototypeof "1.2.0"
statuses "2.0.1"
toidentifier "1.0.1"

iconv-lite@0.4.24:
version "0.4.24"
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==
dependencies:
safer-buffer ">= 2.1.2 < 3"

ignore-by-default@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-2.1.0.tgz#c0e0de1a99b6065bdc93315a6f728867981464db"
Expand Down Expand Up @@ -1489,7 +1424,7 @@ inflight@^1.0.4:
once "^1.3.0"
wrappy "1"

inherits@2, inherits@2.0.4:
inherits@2:
version "2.0.4"
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
Expand Down Expand Up @@ -1787,11 +1722,6 @@ natural-compare@^1.4.0:
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==

never@^1.0.3:
version "1.1.0"
resolved "https://registry.yarnpkg.com/never/-/never-1.1.0.tgz#567b50d1fa4cfa123226e5e039706e7c18bba20f"
integrity sha512-K0xfZVKUX7hrmbZKmyD1KB+PT8I9b9Ffxvmht8FhRjMIoe7/XyTfgyQko7G6RKvfnT9oxCrq0CARm1De5uXEbQ==

node-releases@^2.0.8:
version "2.0.12"
resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.12.tgz#35627cc224a23bfb06fb3380f2b3afaaa7eb1039"
Expand Down Expand Up @@ -1979,16 +1909,6 @@ queue-microtask@^1.2.2:
resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"
integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==

raw-body@2.5.1:
version "2.5.1"
resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.1.tgz#fe1b1628b181b700215e5fd42389f98b71392857"
integrity sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==
dependencies:
bytes "3.1.2"
http-errors "2.0.0"
iconv-lite "0.4.24"
unpipe "1.0.0"

readdirp@~3.6.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7"
Expand Down Expand Up @@ -2037,11 +1957,6 @@ run-parallel@^1.1.9:
dependencies:
queue-microtask "^1.2.2"

"safer-buffer@>= 2.1.2 < 3":
version "2.1.2"
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==

semver@^6.0.0, semver@^6.3.0:
version "6.3.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
Expand All @@ -2061,11 +1976,6 @@ serialize-error@^7.0.1:
dependencies:
type-fest "^0.13.1"

setprototypeof@1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424"
integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==

shebang-command@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea"
Expand Down Expand Up @@ -2136,11 +2046,6 @@ stack-utils@^2.0.6:
dependencies:
escape-string-regexp "^2.0.0"

statuses@2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63"
integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==

string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
Expand Down Expand Up @@ -2238,11 +2143,6 @@ to-regex-range@^5.0.1:
dependencies:
is-number "^7.0.0"

toidentifier@1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35"
integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==

ts-node@10.9.1:
version "10.9.1"
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b"
Expand Down Expand Up @@ -2296,11 +2196,6 @@ typescript@5.0.4:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.4.tgz#b217fd20119bd61a94d4011274e0ab369058da3b"
integrity sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==

unpipe@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"
integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==

update-browserslist-db@^1.0.10:
version "1.0.11"
resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940"
Expand Down