From 22a88ceb362e6163359234edde77837562974bad Mon Sep 17 00:00:00 2001 From: Sebastian Fastner Date: Tue, 30 Jul 2024 13:43:26 +0200 Subject: [PATCH 1/3] chore: move tooling from pnpx to dev deps --- package.json | 12 ++-- pnpm-lock.yaml | 187 +++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 172 insertions(+), 27 deletions(-) diff --git a/package.json b/package.json index ea2c9cd..ba02e25 100644 --- a/package.json +++ b/package.json @@ -7,9 +7,9 @@ "test": "pnpm run --parallel /test:/", "test:check-types": "tsc --noEmit", "test:lint": "eslint .", - "test:json-schema": "pnpm create:json-schema ; pnpx ajv-cli -s ./.tmp/data.schema.json -d 'app/data/*.json'", - "create:json-schema": "mkdir -p ./.tmp && pnpx typescript-json-schema app/data/data.types.ts ProjectsType -o ./.tmp/data.schema.json --skipLibCheck --ignoreErrors", - "create:favicons": "pnpx tsx tools/favicon-generator/favicon-generator.ts", + "test:json-schema": "pnpm create:json-schema ; ajv -s ./.tmp/data.schema.json -d 'app/data/*.json'", + "create:json-schema": "mkdir -p ./.tmp && typescript-json-schema app/data/data.types.ts ProjectsType -o ./.tmp/data.schema.json --skipLibCheck --ignoreErrors", + "create:favicons": "tsx tools/favicon-generator/favicon-generator.ts", "fix": "eslint --fix .; prettier --write .", "format": "prettier --write .", "test:check-format": "prettier --check .", @@ -42,11 +42,13 @@ "@remix-run/dev": "^2.10.3", "@storybook/react": "^8.2.6", "@tsconfig/node20": "^20.1.4", + "@types/node": "20", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@vanilla-extract/css": "^1.15.3", "@vanilla-extract/vite-plugin": "^4.0.13", "@vercel/remix": "^2.10.3", + "ajv-cli": "5.0.0", "eslint": "^8.57.0", "ico-endec": "^0.1.6", "npm-check-updates": "^16.14.20", @@ -54,7 +56,9 @@ "sharp": "^0.33.4", "sst": "ion", "svgo": "^3.3.2", + "tsx": "4.16.2", "typescript": "^5.5.4", + "typescript-json-schema": "0.64.0", "vite": "^5.3.5", "vite-tsconfig-paths": "^4.3.2" }, @@ -62,4 +66,4 @@ "engines": { "node": ">=18.0.0" } -} +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4d863f3..25e9264 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -57,6 +57,9 @@ importers: '@tsconfig/node20': specifier: ^20.1.4 version: 20.1.4 + '@types/node': + specifier: '20' + version: 20.11.23 '@types/react': specifier: ^18.3.3 version: 18.3.3 @@ -72,6 +75,9 @@ importers: '@vercel/remix': specifier: ^2.10.3 version: 2.10.3(@remix-run/dev@2.10.3(@remix-run/react@2.10.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(@remix-run/serve@2.10.3(typescript@5.5.4))(@types/node@20.11.23)(ts-node@10.9.2(@types/node@20.11.23)(typescript@5.5.4))(typescript@5.5.4)(vite@5.3.5(@types/node@20.11.23)))(@remix-run/node@2.10.3(typescript@5.5.4))(@remix-run/server-runtime@2.10.3(typescript@5.5.4))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + ajv-cli: + specifier: 5.0.0 + version: 5.0.0(ts-node@10.9.2(@types/node@20.11.23)(typescript@5.5.4)) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -93,9 +99,15 @@ importers: svgo: specifier: ^3.3.2 version: 3.3.2 + tsx: + specifier: 4.16.2 + version: 4.16.2 typescript: specifier: ^5.5.4 version: 5.5.4 + typescript-json-schema: + specifier: 0.64.0 + version: 0.64.0 vite: specifier: ^5.3.5 version: 5.3.5(@types/node@20.11.23) @@ -2404,6 +2416,9 @@ packages: '@types/ms@0.7.34': resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==} + '@types/node@16.18.104': + resolution: {integrity: sha512-OF3keVCbfPlkzxnnDBUZJn1RiCJzKeadjiW0xTEb0G1SUJ5gDVb3qnzZr2T4uIFvsbKJbXy1v2DN7e2zaEY7jQ==} + '@types/node@18.19.42': resolution: {integrity: sha512-d2ZFc/3lnK2YCYhos8iaNIYu9Vfhr92nHiyJHRltXWjXUBjEE+A4I58Tdbnw4VhggSW+2j5y5gTrLs4biNnubg==} @@ -2601,6 +2616,15 @@ packages: resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} engines: {node: '>=8'} + ajv-cli@5.0.0: + resolution: {integrity: sha512-LY4m6dUv44HTyhV+u2z5uX4EhPYTM38Iv1jdgDJJJCyOOuqB8KtZEGjPZ2T+sh5ZIJrXUfgErYx/j3gLd3+PlQ==} + hasBin: true + peerDependencies: + ts-node: '>=9.0.0' + peerDependenciesMeta: + ts-node: + optional: true + ajv@6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} @@ -2654,6 +2678,9 @@ packages: arg@5.0.2: resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} + argparse@1.0.10: + resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} + argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} @@ -3607,6 +3634,9 @@ packages: extend@3.0.2: resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} + fast-deep-equal@2.0.1: + resolution: {integrity: sha512-bCK/2Z4zLidyB4ReuIsvALH6w31YfAQDmXMqMx6FyfHqvBxtjC0eRumeSu4Bs3XtXwpyIywtSTrVT99BxY1f9w==} + fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} @@ -3614,6 +3644,10 @@ packages: resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} engines: {node: '>=8.6.0'} + fast-json-patch@2.2.1: + resolution: {integrity: sha512-4j5uBaTnsYAV5ebkidvxiLUYOwjQ+JSFljeqfTxCrH9bDmlCQaOJFS84oDJ2rAXZq2yskmk3ORfoP9DCwqFNig==} + engines: {node: '>= 0.4.0'} + fast-json-stable-stringify@2.1.0: resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} @@ -3788,6 +3822,9 @@ packages: get-tsconfig@4.7.3: resolution: {integrity: sha512-ZvkrzoUA0PQZM6fy6+/Hce561s+faD1rsNwhnO5FelNjyy7EMGJ3Rz1AQ8GYDWjhRs/7dBLOEJvhK8MiEJOAFg==} + get-tsconfig@4.7.6: + resolution: {integrity: sha512-ZAqrLlu18NbDdRaHq+AKXzAmqIUPswPWKUchfytdAjiRFnCe5ojG2bstg6mRiZabkKfCoL/e98pbBELIV/YCeA==} + giget@1.2.3: resolution: {integrity: sha512-8EHPljDvs7qKykr6uw8b+lqLiUc/vUg+KVTI0uND4s63TdsZM2Xus3mflvF0DDG9SiM4RlCkFGL+7aAjRmV7KA==} hasBin: true @@ -3817,6 +3854,7 @@ packages: glob@8.1.0: resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} engines: {node: '>=12'} + deprecated: Glob versions prior to v9 are no longer supported global-directory@4.0.1: resolution: {integrity: sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q==} @@ -4013,6 +4051,7 @@ packages: inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} @@ -4304,6 +4343,10 @@ packages: js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + js-yaml@3.14.1: + resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} + hasBin: true + js-yaml@4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true @@ -4351,6 +4394,9 @@ packages: json-parse-helpfulerror@1.0.3: resolution: {integrity: sha512-XgP0FGR77+QhUxjXkwOMkC94k3WtqEBfcnjWqhRd82qTat4SWKRE+9kUnynz/shm3I4ea2+qISvTIeGTNU7kJg==} + json-schema-migrate@2.0.0: + resolution: {integrity: sha512-r38SVTtojDRp4eD6WsCqiE0eNDt4v1WalBXb9cyZYw9ai5cGtBwzRNWjHzJl38w6TxFkXAIA7h+fyX3tnrAFhQ==} + json-schema-to-ts@1.6.4: resolution: {integrity: sha512-pR4yQ9DHz6itqswtHCm26mw45FSNfQ9rEQjosaZErhn5J3J2sIViQiz8rDaezjKAhFGpmsoczYVBgGHzFw/stA==} @@ -5076,6 +5122,9 @@ packages: path-browserify@1.0.1: resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} + path-equal@1.2.5: + resolution: {integrity: sha512-i73IctDr3F2W+bsOWDyyVm/lqsXO47aY9nsFZUjTT/aljSbkxHxxCoyZ9UUrM8jK0JVod+An+rl48RCsvWM+9g==} + path-exists@3.0.0: resolution: {integrity: sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==} engines: {node: '>=4'} @@ -5570,6 +5619,10 @@ packages: resolution: {integrity: sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==} engines: {node: '>= 0.4'} + safe-stable-stringify@2.4.3: + resolution: {integrity: sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==} + engines: {node: '>=10'} + safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} @@ -5724,6 +5777,9 @@ packages: resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} engines: {node: '>= 10.x'} + sprintf-js@1.0.3: + resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + sprintf-js@1.1.3: resolution: {integrity: sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==} @@ -5994,6 +6050,11 @@ packages: tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} + tsx@4.16.2: + resolution: {integrity: sha512-C1uWweJDgdtX2x600HjaFaucXTilT7tgUZHbOE4+ypskZ1OP8CRCSDkCxG6Vya9EwaFIVagWwpaVAn5wzypaqQ==} + engines: {node: '>=18.0.0'} + hasBin: true + tuf-js@1.1.7: resolution: {integrity: sha512-i3P9Kgw3ytjELUfpuKVDNBJvk4u5bXL6gskv572mcevPbSKCV3zt3djhmlEQ65yERjIbOSncy7U4cQJaB1CBCg==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -6048,6 +6109,15 @@ packages: typedarray-to-buffer@3.1.5: resolution: {integrity: sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==} + typescript-json-schema@0.64.0: + resolution: {integrity: sha512-Sew8llkYSzpxaMoGjpjD6NMFCr6DoWFHLs7Bz1LU48pzzi8ok8W+GZs9cG87IMBpC0UI7qwBMUI2um0LGxxLOg==} + hasBin: true + + typescript@5.1.6: + resolution: {integrity: sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==} + engines: {node: '>=14.17'} + hasBin: true + typescript@5.5.4: resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} engines: {node: '>=14.17'} @@ -8021,7 +8091,6 @@ snapshots: '@cspotcode/source-map-support@0.8.1': dependencies: '@jridgewell/trace-mapping': 0.3.9 - optional: true '@effective/color@1.0.1': dependencies: @@ -8490,7 +8559,6 @@ snapshots: dependencies: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.4.15 - optional: true '@jspm/core@2.0.1': {} @@ -9226,17 +9294,13 @@ snapshots: mkdirp: 1.0.4 path-browserify: 1.0.1 - '@tsconfig/node10@1.0.11': - optional: true + '@tsconfig/node10@1.0.11': {} - '@tsconfig/node12@1.0.11': - optional: true + '@tsconfig/node12@1.0.11': {} - '@tsconfig/node14@1.0.3': - optional: true + '@tsconfig/node14@1.0.3': {} - '@tsconfig/node16@1.0.4': - optional: true + '@tsconfig/node16@1.0.4': {} '@tsconfig/node20@20.1.4': {} @@ -9320,6 +9384,8 @@ snapshots: '@types/ms@0.7.34': {} + '@types/node@16.18.104': {} + '@types/node@18.19.42': dependencies: undici-types: 5.26.5 @@ -9596,7 +9662,6 @@ snapshots: acorn-walk@8.3.3: dependencies: acorn: 8.11.3 - optional: true acorn@7.4.1: {} @@ -9617,6 +9682,18 @@ snapshots: clean-stack: 2.2.0 indent-string: 4.0.0 + ajv-cli@5.0.0(ts-node@10.9.2(@types/node@20.11.23)(typescript@5.5.4)): + dependencies: + ajv: 8.17.1 + fast-json-patch: 2.2.1 + glob: 7.2.3 + js-yaml: 3.14.1 + json-schema-migrate: 2.0.0 + json5: 2.2.3 + minimist: 1.2.8 + optionalDependencies: + ts-node: 10.9.2(@types/node@20.11.23)(typescript@5.5.4) + ajv@6.12.6: dependencies: fast-deep-equal: 3.1.3 @@ -9670,11 +9747,14 @@ snapshots: delegates: 1.0.0 readable-stream: 3.6.2 - arg@4.1.3: - optional: true + arg@4.1.3: {} arg@5.0.2: {} + argparse@1.0.10: + dependencies: + sprintf-js: 1.0.3 + argparse@2.0.1: {} aria-query@5.3.0: @@ -10186,8 +10266,7 @@ snapshots: optionalDependencies: typescript: 5.5.4 - create-require@1.1.1: - optional: true + create-require@1.1.1: {} cross-spawn@7.0.3: dependencies: @@ -10311,8 +10390,7 @@ snapshots: detect-libc@2.0.3: {} - diff@4.0.2: - optional: true + diff@4.0.2: {} diff@5.2.0: {} @@ -10941,6 +11019,8 @@ snapshots: extend@3.0.2: {} + fast-deep-equal@2.0.1: {} + fast-deep-equal@3.1.3: {} fast-glob@3.3.2: @@ -10951,6 +11031,10 @@ snapshots: merge2: 1.4.1 micromatch: 4.0.5 + fast-json-patch@2.2.1: + dependencies: + fast-deep-equal: 2.0.1 + fast-json-stable-stringify@2.1.0: {} fast-levenshtein@2.0.6: {} @@ -11133,6 +11217,10 @@ snapshots: dependencies: resolve-pkg-maps: 1.0.0 + get-tsconfig@4.7.6: + dependencies: + resolve-pkg-maps: 1.0.0 + giget@1.2.3: dependencies: citty: 0.1.6 @@ -11633,6 +11721,11 @@ snapshots: js-tokens@4.0.0: {} + js-yaml@3.14.1: + dependencies: + argparse: 1.0.10 + esprima: 4.0.1 + js-yaml@4.1.0: dependencies: argparse: 2.0.1 @@ -11684,6 +11777,10 @@ snapshots: dependencies: jju: 1.4.0 + json-schema-migrate@2.0.0: + dependencies: + ajv: 8.17.1 + json-schema-to-ts@1.6.4: dependencies: '@types/json-schema': 7.0.15 @@ -11823,8 +11920,7 @@ snapshots: pify: 4.0.1 semver: 5.7.2 - make-error@1.3.6: - optional: true + make-error@1.3.6: {} make-fetch-happen@10.2.1: dependencies: @@ -12694,6 +12790,8 @@ snapshots: path-browserify@1.0.1: {} + path-equal@1.2.5: {} + path-exists@3.0.0: {} path-exists@4.0.0: {} @@ -13217,6 +13315,8 @@ snapshots: es-errors: 1.3.0 is-regex: 1.1.4 + safe-stable-stringify@2.4.3: {} + safer-buffer@2.1.2: {} scheduler@0.23.2: @@ -13412,6 +13512,8 @@ snapshots: split2@4.2.0: {} + sprintf-js@1.0.3: {} + sprintf-js@1.1.3: {} ssri@10.0.5: @@ -13682,6 +13784,24 @@ snapshots: '@ts-morph/common': 0.11.1 code-block-writer: 10.1.1 + ts-node@10.9.2(@types/node@16.18.104)(typescript@5.1.6): + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@tsconfig/node10': 1.0.11 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.4 + '@types/node': 16.18.104 + acorn: 8.11.3 + acorn-walk: 8.3.3 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 5.1.6 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + ts-node@10.9.2(@types/node@20.11.23)(typescript@5.5.4): dependencies: '@cspotcode/source-map-support': 0.8.1 @@ -13717,6 +13837,13 @@ snapshots: tslib@2.6.2: {} + tsx@4.16.2: + dependencies: + esbuild: 0.21.5 + get-tsconfig: 4.7.6 + optionalDependencies: + fsevents: 2.3.3 + tuf-js@1.1.7: dependencies: '@tufjs/models': 1.0.4 @@ -13782,6 +13909,22 @@ snapshots: dependencies: is-typedarray: 1.0.0 + typescript-json-schema@0.64.0: + dependencies: + '@types/json-schema': 7.0.15 + '@types/node': 16.18.104 + glob: 7.2.3 + path-equal: 1.2.5 + safe-stable-stringify: 2.4.3 + ts-node: 10.9.2(@types/node@16.18.104)(typescript@5.1.6) + typescript: 5.1.6 + yargs: 17.7.2 + transitivePeerDependencies: + - '@swc/core' + - '@swc/wasm' + + typescript@5.1.6: {} + typescript@5.5.4: {} ufo@1.4.0: {} @@ -13936,8 +14079,7 @@ snapshots: kleur: 4.1.5 sade: 1.8.1 - v8-compile-cache-lib@3.0.1: - optional: true + v8-compile-cache-lib@3.0.1: {} validate-npm-package-license@3.0.4: dependencies: @@ -14122,8 +14264,7 @@ snapshots: y18n: 5.0.8 yargs-parser: 21.1.1 - yn@3.1.1: - optional: true + yn@3.1.1: {} yocto-queue@0.1.0: {} From 3dac20c882d1cf1619988aec6eea238ac6041739 Mon Sep 17 00:00:00 2001 From: Sebastian Fastner Date: Tue, 30 Jul 2024 13:44:54 +0200 Subject: [PATCH 2/3] fix: format --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ba02e25..f5398a0 100644 --- a/package.json +++ b/package.json @@ -66,4 +66,4 @@ "engines": { "node": ">=18.0.0" } -} \ No newline at end of file +} From 23939605048bd25e380306bf601c256aa6ab199c Mon Sep 17 00:00:00 2001 From: Sebastian Fastner Date: Tue, 30 Jul 2024 13:51:29 +0200 Subject: [PATCH 3/3] refactor: rename test script names and make them easier --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f5398a0..082523c 100644 --- a/package.json +++ b/package.json @@ -5,14 +5,14 @@ "type": "module", "scripts": { "test": "pnpm run --parallel /test:/", - "test:check-types": "tsc --noEmit", + "test:types": "tsc --noEmit", "test:lint": "eslint .", "test:json-schema": "pnpm create:json-schema ; ajv -s ./.tmp/data.schema.json -d 'app/data/*.json'", "create:json-schema": "mkdir -p ./.tmp && typescript-json-schema app/data/data.types.ts ProjectsType -o ./.tmp/data.schema.json --skipLibCheck --ignoreErrors", "create:favicons": "tsx tools/favicon-generator/favicon-generator.ts", "fix": "eslint --fix .; prettier --write .", "format": "prettier --write .", - "test:check-format": "prettier --check .", + "test:format": "prettier --check .", "build": "remix vite:build", "dev": "remix vite:dev", "start": "remix-serve ./build/server/index.js", @@ -66,4 +66,4 @@ "engines": { "node": ">=18.0.0" } -} +} \ No newline at end of file