From 67855e52b5550f457a8576082d32b5bbc2192c99 Mon Sep 17 00:00:00 2001 From: kahirokunn Date: Fri, 22 Mar 2024 14:20:52 +0900 Subject: [PATCH] rename kubekit-import -> kubekit-sync --- examples/nextjs-usage/package.json | 4 +- examples/nextjs-usage/yarn.lock | 221 +++++++----------- examples/nodejs-usage/package.json | 4 +- examples/nodejs-usage/yarn.lock | 14 +- .../.gitignore | 0 .../README.md | 0 .../lib/bin/cli.d.ts | 0 .../lib/bin/cli.js | 0 .../lib/bin/cli.js.map | 0 .../lib/bin/patchOpenApi.d.ts | 0 .../lib/bin/patchOpenApi.js | 0 .../lib/bin/patchOpenApi.js.map | 0 .../package.json | 2 +- .../src/bin/cli.ts | 0 .../src/bin/patchOpenApi.ts | 0 .../tsconfig.json | 0 .../yarn.lock | 0 17 files changed, 99 insertions(+), 146 deletions(-) rename packages/{kubekit-import => kubekit-sync}/.gitignore (100%) rename packages/{kubekit-import => kubekit-sync}/README.md (100%) rename packages/{kubekit-import => kubekit-sync}/lib/bin/cli.d.ts (100%) rename packages/{kubekit-import => kubekit-sync}/lib/bin/cli.js (100%) rename packages/{kubekit-import => kubekit-sync}/lib/bin/cli.js.map (100%) rename packages/{kubekit-import => kubekit-sync}/lib/bin/patchOpenApi.d.ts (100%) rename packages/{kubekit-import => kubekit-sync}/lib/bin/patchOpenApi.js (100%) rename packages/{kubekit-import => kubekit-sync}/lib/bin/patchOpenApi.js.map (100%) rename packages/{kubekit-import => kubekit-sync}/package.json (96%) rename packages/{kubekit-import => kubekit-sync}/src/bin/cli.ts (100%) rename packages/{kubekit-import => kubekit-sync}/src/bin/patchOpenApi.ts (100%) rename packages/{kubekit-import => kubekit-sync}/tsconfig.json (100%) rename packages/{kubekit-import => kubekit-sync}/yarn.lock (100%) diff --git a/examples/nextjs-usage/package.json b/examples/nextjs-usage/package.json index 2bf86f1d..527348c3 100644 --- a/examples/nextjs-usage/package.json +++ b/examples/nextjs-usage/package.json @@ -7,7 +7,7 @@ "build": "next build", "start": "next start", "lint": "next lint", - "import": "npx @kubekit/import ./", + "import": "npx @kubekit/sync ./", "gen": "npx @kubekit/codegen gen-config/storage-config.ts && npx @kubekit/codegen gen-config/core-v1-config.ts" }, "dependencies": { @@ -18,7 +18,7 @@ }, "devDependencies": { "@kubekit/codegen": "0.0.3", - "@kubekit/import": "^0.0.2", + "@kubekit/sync": "^0.0.3", "@types/node": "^20", "@types/react": "^18", "@types/react-dom": "^18", diff --git a/examples/nextjs-usage/yarn.lock b/examples/nextjs-usage/yarn.lock index 6209813a..6a5f3e8d 100644 --- a/examples/nextjs-usage/yarn.lock +++ b/examples/nextjs-usage/yarn.lock @@ -308,10 +308,10 @@ semver "^7.3.5" swagger2openapi "^7.0.4" -"@kubekit/import@^0.0.2": - version "0.0.2" - resolved "https://registry.yarnpkg.com/@kubekit/import/-/import-0.0.2.tgz#9ead0f552e08d5c1ac4188f83c2d1038bd568263" - integrity sha512-0sEHuSkMLueA1hi85UYNYlmynlLitaRkotlgoWkwailu8kUH89KUz3U7/l7aUhOYR6ZES6NM2+WDP8E9F/3FaA== +"@kubekit/sync@^0.0.3": + version "0.0.3" + resolved "https://registry.yarnpkg.com/@kubekit/sync/-/sync-0.0.3.tgz#7cad4522b022e1368870ebbb65b5d58027e8534f" + integrity sha512-C46dP00LuV1tv6OaxcKDrF6j4Jkk//+uFYXsFeOWXHCTr/o4/0QGRr28tVYKh1DCHrpZeBvQQZMR2GFl1NHBzQ== "@kubernetes/client-node@^0.20.0": version "0.20.0" @@ -335,10 +335,10 @@ optionalDependencies: openid-client "^5.3.0" -"@next/env@14.2.0-canary.34": - version "14.2.0-canary.34" - resolved "https://registry.yarnpkg.com/@next/env/-/env-14.2.0-canary.34.tgz#3d2ea7015dc7369074ef4a8070fe77b36ff6e792" - integrity sha512-+UnJFqUAItXw2fzoNL51E6o3Tk4NIHG0On+fz/ZMaCKmT2el1HnNUyY9e2ikMUDe6Pu/C4anetCsLQQJ6nO2XA== +"@next/env@14.2.0-canary.37": + version "14.2.0-canary.37" + resolved "https://registry.yarnpkg.com/@next/env/-/env-14.2.0-canary.37.tgz#3e20d25a97ba4af4ba60468cb7943f71ca5a1c97" + integrity sha512-/EhLR3hmhsW3koeiHesplyY1TkE83tDagAnMLj22Z/KlNphBPIBBD1sZizvecsuBjALisHMf2wvV1C/+N3X29A== "@next/eslint-plugin-next@14.1.3": version "14.1.3" @@ -347,50 +347,50 @@ dependencies: glob "10.3.10" -"@next/swc-darwin-arm64@14.2.0-canary.34": - version "14.2.0-canary.34" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.0-canary.34.tgz#a1f873c8e84cea2555ff6ac40703a6497297247a" - integrity sha512-NfN8pRseATMHOMhQWoLQeploAVsedbHnT688S8mFUEe+C1XZkJOb9/8TEbFiInnIS/5AMnWDchX4Qp77Jjnp2w== - -"@next/swc-darwin-x64@14.2.0-canary.34": - version "14.2.0-canary.34" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.0-canary.34.tgz#3736e33c653f77b7fabdfd20f7692f63e1c56140" - integrity sha512-47rvRum73+HsBasIucs6OFVTF8PbJAUGEnulMd6JKFu1IMPj7iEy8bqHqCNmUx6CrFeXH+3LBvwAeM/qrpvhJQ== - -"@next/swc-linux-arm64-gnu@14.2.0-canary.34": - version "14.2.0-canary.34" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.0-canary.34.tgz#f926990824a49a5d377ab3ae83b575d0446449b8" - integrity sha512-Ao0NZm88zJevFLuvBVX+mDTY7Y9MiXhO5B0/oBwe/RSf1ikoRhEim5Tkq/YNUjQoJTXqP6VZ8opQQy7mAOazVQ== - -"@next/swc-linux-arm64-musl@14.2.0-canary.34": - version "14.2.0-canary.34" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.0-canary.34.tgz#1f0cbc92f5807c08cb701c86427d6233770ca171" - integrity sha512-+X0BLCM/GXmKlhQmRp5Ryrsqra65IOodkmfa85KOI+zzyyplHyMeuTFpeFxJmChFg6lVnqNDlvnGmq7sRCmbag== - -"@next/swc-linux-x64-gnu@14.2.0-canary.34": - version "14.2.0-canary.34" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.0-canary.34.tgz#5e98ee93428685ed1ee065afc54a6fcc642dcab7" - integrity sha512-i9wbQtLtIiOGbXDB67XlVmNjEuoanhKWvh6ZGUTpZbYg/ngEvM4r4aiFQs/ryfjxZWAayo1trnnsAs53gbRxWg== - -"@next/swc-linux-x64-musl@14.2.0-canary.34": - version "14.2.0-canary.34" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.0-canary.34.tgz#1486f556aeb1a5443a2cf6f8703907c817733b35" - integrity sha512-bHItdOZ6dgAS8iH8kOfxX30FHfD3BGot2iTPUDljq3Cltrq8n4AalkLthzj1f/YM9MV9SD/fkDLxCL/B3LWfIQ== - -"@next/swc-win32-arm64-msvc@14.2.0-canary.34": - version "14.2.0-canary.34" - resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.0-canary.34.tgz#711f87435b0bd57f03248a0733b22cd64adf5a42" - integrity sha512-aPnKT3yDB2t3VhNLPIjhwxPPRxipnA9ts3geWx/1Jy9l4PtsLAdSDe5KhPdMaY/PjFsSyhW340BKJVcz7B01Kw== - -"@next/swc-win32-ia32-msvc@14.2.0-canary.34": - version "14.2.0-canary.34" - resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.0-canary.34.tgz#ce824793e1209505e588d9a4d2ca39cec6f73048" - integrity sha512-Bib8yd/I6HKpA7jNyTZgShUICuoqNrUvHOxujRQzLCZqUTGiSVLoO1HA8N4fOUVT6aDOUJ5VZ6FHGkBZsc82iQ== - -"@next/swc-win32-x64-msvc@14.2.0-canary.34": - version "14.2.0-canary.34" - resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.0-canary.34.tgz#5fff3a9100e4be07b9bb040c01a13f67e14e7c6f" - integrity sha512-USnVpLQxG4cnoExBHl+rcVthbHxVmpyC5CBA9ADGCaZyWhIhLO3On3FHdPYICZ2opufaCqi1IvOmWQfr7JGxRg== +"@next/swc-darwin-arm64@14.2.0-canary.37": + version "14.2.0-canary.37" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.0-canary.37.tgz#ce0bb54bd11c152d9386bbf189cd39b679571086" + integrity sha512-KyKTKP1REUdmlHrfuZyqUwvj70jedUAet+KbFARGs0dHUAweAMV9Y97AVZVUzv1cCs72UnnWo68VyrncdkmRtQ== + +"@next/swc-darwin-x64@14.2.0-canary.37": + version "14.2.0-canary.37" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.0-canary.37.tgz#43888ac353da13485d778b36305ca767bdebc12b" + integrity sha512-UKFZ/O+3ERMJB+9/SYfgVpzsNe7PlChTmzluUlyUQy6KnlCuWfxwFyKXTKG1Vd7a8zpMgGJ+ttM4XI5u2tCfPg== + +"@next/swc-linux-arm64-gnu@14.2.0-canary.37": + version "14.2.0-canary.37" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.0-canary.37.tgz#fc51cd0343ee660855e4f622ec95db2c1f99b28b" + integrity sha512-p3l3s29nTb78/HencnOAeZGA0qWBdM7Ad6POZ2uNZyB1c/SoqDO9kPJzYOYwLOXUOACUccgPYVa+vugu6Ys1ZA== + +"@next/swc-linux-arm64-musl@14.2.0-canary.37": + version "14.2.0-canary.37" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.0-canary.37.tgz#9fe2ac6be6e9228ac0b5785ddc1fe69ce1ffc8c8" + integrity sha512-yNt3Ut4ign3gkZkqRleg807oiIxS8Szjb593bOj7CGg1fXQKWhxc/cahRkCTRvuDniC1ghYSrpdVBCVckbbJwg== + +"@next/swc-linux-x64-gnu@14.2.0-canary.37": + version "14.2.0-canary.37" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.0-canary.37.tgz#f089973af3a4ca9819a706da8628af2ebed5181a" + integrity sha512-EaZ+dxKcuugiV9au6KHwoXizt5whOfmOFBFsAoVAwoaqrnbs+11siCIgj/iuVlC/5Fe6N49b9zOtIWuMxwJeNg== + +"@next/swc-linux-x64-musl@14.2.0-canary.37": + version "14.2.0-canary.37" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.0-canary.37.tgz#6b02065d6f69e29d3e611754190a9994ee1f9709" + integrity sha512-ZutOLRpzL3RxLuJ723Ax8Wwg6EQq/xQNyyIAAZCsr/4abZ1GynqfbqMvWfouYYrebscds55UIQ/c5uB7yyxL0Q== + +"@next/swc-win32-arm64-msvc@14.2.0-canary.37": + version "14.2.0-canary.37" + resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.0-canary.37.tgz#d365c209f395df9af112198c396c2dc0f4675ce8" + integrity sha512-zBoHT0vPnSH471NT6lay/oxwsSNo5OR8gn7aFG37HObfakR/aNtRu4iy+YRFbxrYC8ylYhwOCvqsQjBzso0v6Q== + +"@next/swc-win32-ia32-msvc@14.2.0-canary.37": + version "14.2.0-canary.37" + resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.0-canary.37.tgz#fba00613a216b5b1bff795213f18cadeb6febe00" + integrity sha512-O6yUPDzJZbCohZTEXi03R3T5sdOLEgoU9he56ymUBdg6PKy00O9ZaNcTrOMm9rGX3n57PjMQ5o+M1vG//HkDyw== + +"@next/swc-win32-x64-msvc@14.2.0-canary.37": + version "14.2.0-canary.37" + resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.0-canary.37.tgz#302f7668714aa8d9a5b05053aa0cf3259cdf633e" + integrity sha512-QaSLdGntMgpJ6DORMgWp8ShGfDYJ/rx+Npa8gt2cC8qGPBk37VecFaVaa+j8Pstrefxh7+1RLcUXTMovFn+dqA== "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -911,9 +911,9 @@ camelcase-css@^2.0.1: integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA== caniuse-lite@^1.0.30001579, caniuse-lite@^1.0.30001587, caniuse-lite@^1.0.30001599: - version "1.0.30001599" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001599.tgz#571cf4f3f1506df9bf41fcbb6d10d5d017817bce" - integrity sha512-LRAQHZ4yT1+f9LemSMeqdMpMxZcc4RMWdj4tiFe3G8tNkWK+E58g+/tzotb5cU6TbcVJLr4fySiAW7XmxQvZQA== + version "1.0.30001600" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001600.tgz#93a3ee17a35aa6a9f0c6ef1b2ab49507d1ab9079" + integrity sha512-+2S9/2JFhYmYaDpZvo0lKkfvuKIglrx68MwOBqMGHhQsNkLjB5xtc/TGoEPs+MxjSyN/72qer2g97nzR641mOQ== caseless@~0.12.0: version "0.12.0" @@ -1156,9 +1156,9 @@ ecc-jsbn@~0.1.1: safer-buffer "^2.1.0" electron-to-chromium@^1.4.668: - version "1.4.713" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.713.tgz#7cd8e4083c948f8d0cc686fcfdde97d97fd76556" - integrity sha512-vDarADhwntXiULEdmWd77g2dV6FrNGa8ecAC29MZ4TwPut2fvosD0/5sJd1qWNNe8HcJFAC+F5Lf9jW1NPtWmw== + version "1.4.715" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.715.tgz#bb16bcf2a3537962fccfa746b5c98c5f7404ff46" + integrity sha512-XzWNH4ZSa9BwVUQSDorPWAUQ5WGuYz7zJUNpNif40zFCiCl20t8zgylmreNmn26h5kiyw2lg7RfTmeMBsDklqg== emoji-regex@^8.0.0: version "8.0.0" @@ -1178,54 +1178,7 @@ enhanced-resolve@^5.12.0: graceful-fs "^4.2.4" tapable "^2.2.0" -es-abstract@^1.22.1, es-abstract@^1.22.3: - version "1.22.5" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.22.5.tgz#1417df4e97cc55f09bf7e58d1e614bc61cb8df46" - integrity sha512-oW69R+4q2wG+Hc3KZePPZxOiisRIqfKBVo/HLx94QcJeWGU/8sZhCvc829rd1kS366vlJbzBfXf9yWwf0+Ko7w== - dependencies: - array-buffer-byte-length "^1.0.1" - arraybuffer.prototype.slice "^1.0.3" - available-typed-arrays "^1.0.7" - call-bind "^1.0.7" - es-define-property "^1.0.0" - es-errors "^1.3.0" - es-set-tostringtag "^2.0.3" - es-to-primitive "^1.2.1" - function.prototype.name "^1.1.6" - get-intrinsic "^1.2.4" - get-symbol-description "^1.0.2" - globalthis "^1.0.3" - gopd "^1.0.1" - has-property-descriptors "^1.0.2" - has-proto "^1.0.3" - has-symbols "^1.0.3" - hasown "^2.0.1" - internal-slot "^1.0.7" - is-array-buffer "^3.0.4" - is-callable "^1.2.7" - is-negative-zero "^2.0.3" - is-regex "^1.1.4" - is-shared-array-buffer "^1.0.3" - is-string "^1.0.7" - is-typed-array "^1.1.13" - is-weakref "^1.0.2" - object-inspect "^1.13.1" - object-keys "^1.1.1" - object.assign "^4.1.5" - regexp.prototype.flags "^1.5.2" - safe-array-concat "^1.1.0" - safe-regex-test "^1.0.3" - string.prototype.trim "^1.2.8" - string.prototype.trimend "^1.0.7" - string.prototype.trimstart "^1.0.7" - typed-array-buffer "^1.0.2" - typed-array-byte-length "^1.0.1" - typed-array-byte-offset "^1.0.2" - typed-array-length "^1.0.5" - unbox-primitive "^1.0.2" - which-typed-array "^1.1.14" - -es-abstract@^1.23.0, es-abstract@^1.23.1, es-abstract@^1.23.2: +es-abstract@^1.22.1, es-abstract@^1.22.3, es-abstract@^1.23.0, es-abstract@^1.23.1, es-abstract@^1.23.2: version "1.23.2" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.23.2.tgz#693312f3940f967b8dd3eebacb590b01712622e0" integrity sha512-60s3Xv2T2p1ICykc7c+DNDPLDMm9t4QxCOUU0K9JxiLjM3C1zB9YVdN7tjxrFd4+AkZ8CdX1ovUga4P2+1e+/w== @@ -2508,11 +2461,11 @@ natural-compare@^1.4.0: integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== next@^14.2.0-canary.23: - version "14.2.0-canary.34" - resolved "https://registry.yarnpkg.com/next/-/next-14.2.0-canary.34.tgz#f0c7faafcaf9509ec93def9519eb530e13171c55" - integrity sha512-5sEm36b0bigB6LV3LOZ1ky9Pq+Nn94TPms0B5c248l2kTTm62y42fAHtc0EGtEniqN/wiQHl+IgLSCLrlyU/EA== + version "14.2.0-canary.37" + resolved "https://registry.yarnpkg.com/next/-/next-14.2.0-canary.37.tgz#fef41d035aa45dd1bc68ee0bc78590694c025fe4" + integrity sha512-RWrXlxLPx0zvwWncbE/P1ThYYIoQreYuGMa9ul0JFsQC1pr/+3k2AdmPJGGG6bbXTBB5op+UwWX95H98CIdHmw== dependencies: - "@next/env" "14.2.0-canary.34" + "@next/env" "14.2.0-canary.37" "@swc/helpers" "0.5.5" busboy "1.6.0" caniuse-lite "^1.0.30001579" @@ -2520,15 +2473,15 @@ next@^14.2.0-canary.23: postcss "8.4.31" styled-jsx "5.1.1" optionalDependencies: - "@next/swc-darwin-arm64" "14.2.0-canary.34" - "@next/swc-darwin-x64" "14.2.0-canary.34" - "@next/swc-linux-arm64-gnu" "14.2.0-canary.34" - "@next/swc-linux-arm64-musl" "14.2.0-canary.34" - "@next/swc-linux-x64-gnu" "14.2.0-canary.34" - "@next/swc-linux-x64-musl" "14.2.0-canary.34" - "@next/swc-win32-arm64-msvc" "14.2.0-canary.34" - "@next/swc-win32-ia32-msvc" "14.2.0-canary.34" - "@next/swc-win32-x64-msvc" "14.2.0-canary.34" + "@next/swc-darwin-arm64" "14.2.0-canary.37" + "@next/swc-darwin-x64" "14.2.0-canary.37" + "@next/swc-linux-arm64-gnu" "14.2.0-canary.37" + "@next/swc-linux-arm64-musl" "14.2.0-canary.37" + "@next/swc-linux-x64-gnu" "14.2.0-canary.37" + "@next/swc-linux-x64-musl" "14.2.0-canary.37" + "@next/swc-win32-arm64-msvc" "14.2.0-canary.37" + "@next/swc-win32-ia32-msvc" "14.2.0-canary.37" + "@next/swc-win32-x64-msvc" "14.2.0-canary.37" node-fetch-h2@^2.3.0: version "2.3.0" @@ -3071,7 +3024,7 @@ run-parallel@^1.1.9: dependencies: queue-microtask "^1.2.2" -safe-array-concat@^1.1.0, safe-array-concat@^1.1.2: +safe-array-concat@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.1.2.tgz#81d77ee0c4e8b863635227c721278dd524c20edb" integrity sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q== @@ -3310,7 +3263,7 @@ string.prototype.matchall@^4.0.10: set-function-name "^2.0.2" side-channel "^1.0.6" -string.prototype.trim@^1.2.8, string.prototype.trim@^1.2.9: +string.prototype.trim@^1.2.9: version "1.2.9" resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz#b6fa326d72d2c78b6df02f7759c73f8f6274faa4" integrity sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw== @@ -3320,7 +3273,7 @@ string.prototype.trim@^1.2.8, string.prototype.trim@^1.2.9: es-abstract "^1.23.0" es-object-atoms "^1.0.0" -string.prototype.trimend@^1.0.7, string.prototype.trimend@^1.0.8: +string.prototype.trimend@^1.0.8: version "1.0.8" resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz#3651b8513719e8a9f48de7f2f77640b26652b229" integrity sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ== @@ -3330,13 +3283,13 @@ string.prototype.trimend@^1.0.7, string.prototype.trimend@^1.0.8: es-object-atoms "^1.0.0" string.prototype.trimstart@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz#d4cdb44b83a4737ffbac2d406e405d43d0184298" - integrity sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg== + version "1.0.8" + resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz#7ee834dda8c7c17eff3118472bb35bfedaa34dde" + integrity sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg== dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" + call-bind "^1.0.7" + define-properties "^1.2.1" + es-object-atoms "^1.0.0" "strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" @@ -3452,9 +3405,9 @@ tapable@^2.2.0: integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== tar@^6.1.11: - version "6.2.0" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.0.tgz#b14ce49a79cb1cd23bc9b016302dea5474493f73" - integrity sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ== + version "6.2.1" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.1.tgz#717549c541bc3c2af15751bea94b1dd068d4b03a" + integrity sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A== dependencies: chownr "^2.0.0" fs-minipass "^2.0.0" @@ -3589,9 +3542,9 @@ typed-array-byte-offset@^1.0.2: is-typed-array "^1.1.13" typed-array-length@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.5.tgz#57d44da160296d8663fd63180a1802ebf25905d5" - integrity sha512-yMi0PlwuznKHxKmcpoOdeLwxBoVPkqZxd7q2FgMkmD3bNwvF5VW0+UlUQ1k1vmktTu4Yu13Q0RIxEP8+B+wloA== + version "1.0.6" + resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.6.tgz#57155207c76e64a3457482dfdc1c9d1d3c4c73a3" + integrity sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g== dependencies: call-bind "^1.0.7" for-each "^0.3.3" diff --git a/examples/nodejs-usage/package.json b/examples/nodejs-usage/package.json index 8751dcde..6f247469 100644 --- a/examples/nodejs-usage/package.json +++ b/examples/nodejs-usage/package.json @@ -8,7 +8,7 @@ }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "import": "npx @kubekit/import ./", + "import": "npx @kubekit/sync ./", "gen": "npx @kubekit/codegen gen-config/storage-config.ts && npx @kubekit/codegen gen-config/core-v1-config.ts", "dev": "npx tsx src/main.ts" }, @@ -19,7 +19,7 @@ }, "devDependencies": { "@kubekit/codegen": "0.0.3", - "@kubekit/import": "^0.0.2", + "@kubekit/sync": "^0.0.3", "esbuild": "^0.20.2", "esbuild-runner": "^2.2.2" } diff --git a/examples/nodejs-usage/yarn.lock b/examples/nodejs-usage/yarn.lock index 66ef4b44..eab9b081 100644 --- a/examples/nodejs-usage/yarn.lock +++ b/examples/nodejs-usage/yarn.lock @@ -196,10 +196,10 @@ semver "^7.3.5" swagger2openapi "^7.0.4" -"@kubekit/import@^0.0.2": - version "0.0.2" - resolved "https://registry.yarnpkg.com/@kubekit/import/-/import-0.0.2.tgz#9ead0f552e08d5c1ac4188f83c2d1038bd568263" - integrity sha512-0sEHuSkMLueA1hi85UYNYlmynlLitaRkotlgoWkwailu8kUH89KUz3U7/l7aUhOYR6ZES6NM2+WDP8E9F/3FaA== +"@kubekit/sync@^0.0.3": + version "0.0.3" + resolved "https://registry.yarnpkg.com/@kubekit/sync/-/sync-0.0.3.tgz#7cad4522b022e1368870ebbb65b5d58027e8534f" + integrity sha512-C46dP00LuV1tv6OaxcKDrF6j4Jkk//+uFYXsFeOWXHCTr/o4/0QGRr28tVYKh1DCHrpZeBvQQZMR2GFl1NHBzQ== "@kubernetes/client-node@^0.20.0": version "0.20.0" @@ -1019,9 +1019,9 @@ swagger2openapi@^7.0.4, swagger2openapi@^7.0.8: yargs "^17.0.1" tar@^6.1.11: - version "6.2.0" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.0.tgz#b14ce49a79cb1cd23bc9b016302dea5474493f73" - integrity sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ== + version "6.2.1" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.1.tgz#717549c541bc3c2af15751bea94b1dd068d4b03a" + integrity sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A== dependencies: chownr "^2.0.0" fs-minipass "^2.0.0" diff --git a/packages/kubekit-import/.gitignore b/packages/kubekit-sync/.gitignore similarity index 100% rename from packages/kubekit-import/.gitignore rename to packages/kubekit-sync/.gitignore diff --git a/packages/kubekit-import/README.md b/packages/kubekit-sync/README.md similarity index 100% rename from packages/kubekit-import/README.md rename to packages/kubekit-sync/README.md diff --git a/packages/kubekit-import/lib/bin/cli.d.ts b/packages/kubekit-sync/lib/bin/cli.d.ts similarity index 100% rename from packages/kubekit-import/lib/bin/cli.d.ts rename to packages/kubekit-sync/lib/bin/cli.d.ts diff --git a/packages/kubekit-import/lib/bin/cli.js b/packages/kubekit-sync/lib/bin/cli.js similarity index 100% rename from packages/kubekit-import/lib/bin/cli.js rename to packages/kubekit-sync/lib/bin/cli.js diff --git a/packages/kubekit-import/lib/bin/cli.js.map b/packages/kubekit-sync/lib/bin/cli.js.map similarity index 100% rename from packages/kubekit-import/lib/bin/cli.js.map rename to packages/kubekit-sync/lib/bin/cli.js.map diff --git a/packages/kubekit-import/lib/bin/patchOpenApi.d.ts b/packages/kubekit-sync/lib/bin/patchOpenApi.d.ts similarity index 100% rename from packages/kubekit-import/lib/bin/patchOpenApi.d.ts rename to packages/kubekit-sync/lib/bin/patchOpenApi.d.ts diff --git a/packages/kubekit-import/lib/bin/patchOpenApi.js b/packages/kubekit-sync/lib/bin/patchOpenApi.js similarity index 100% rename from packages/kubekit-import/lib/bin/patchOpenApi.js rename to packages/kubekit-sync/lib/bin/patchOpenApi.js diff --git a/packages/kubekit-import/lib/bin/patchOpenApi.js.map b/packages/kubekit-sync/lib/bin/patchOpenApi.js.map similarity index 100% rename from packages/kubekit-import/lib/bin/patchOpenApi.js.map rename to packages/kubekit-sync/lib/bin/patchOpenApi.js.map diff --git a/packages/kubekit-import/package.json b/packages/kubekit-sync/package.json similarity index 96% rename from packages/kubekit-import/package.json rename to packages/kubekit-sync/package.json index 3bd79ef4..858e67ed 100644 --- a/packages/kubekit-import/package.json +++ b/packages/kubekit-sync/package.json @@ -1,5 +1,5 @@ { - "name": "@kubekit/import", + "name": "@kubekit/sync", "version": "0.0.3", "main": "lib/index.js", "author": "kahirokunn", diff --git a/packages/kubekit-import/src/bin/cli.ts b/packages/kubekit-sync/src/bin/cli.ts similarity index 100% rename from packages/kubekit-import/src/bin/cli.ts rename to packages/kubekit-sync/src/bin/cli.ts diff --git a/packages/kubekit-import/src/bin/patchOpenApi.ts b/packages/kubekit-sync/src/bin/patchOpenApi.ts similarity index 100% rename from packages/kubekit-import/src/bin/patchOpenApi.ts rename to packages/kubekit-sync/src/bin/patchOpenApi.ts diff --git a/packages/kubekit-import/tsconfig.json b/packages/kubekit-sync/tsconfig.json similarity index 100% rename from packages/kubekit-import/tsconfig.json rename to packages/kubekit-sync/tsconfig.json diff --git a/packages/kubekit-import/yarn.lock b/packages/kubekit-sync/yarn.lock similarity index 100% rename from packages/kubekit-import/yarn.lock rename to packages/kubekit-sync/yarn.lock