{"_id":"@brayjamin/graal-type-introspection","_rev":"4-cbbcca7a1a7204ab230fc20735661236","name":"@brayjamin/graal-type-introspection","dist-tags":{"latest":"0.1.8"},"versions":{"0.1.4":{"name":"@brayjamin/graal-type-introspection","version":"0.1.4","main":"index.d.ts","license":"MIT","scripts":{"lint":"eslint ./src --max-warnings 0","postinstall":"ts-node ./src/index.ts","prettier":"prettier --check ./src/**/*.{ts,tsx}","typecheck":"tsc --noEmit","yamjs":"yarn --cwd ../../"},"dependencies":{"fast-glob":"^3.2.12","ts-node":"^10.9.1","typescript":"^5.1.3"},"devDependencies":{"@types/node":"^18.15.3"},"description":"This is an experimental package that scans the user's installed graal-types, generates a JavaType.d.ts file, and allows `@yam-js/core` to pull in those types automatically into `Java.type`.","author":{"name":"Kyle Mercer"},"_id":"@brayjamin/graal-type-introspection@0.1.4","_nodeVersion":"18.13.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-DdO/+kKg/0gQ0QqV2fSpufSgcu0w7a8ySya9fLoI8Ais4TNRYJXkmU2Ba5REjxsSP0CihColisTT8SC82dU2dw==","shasum":"a325364d6aafd85cd32785eab18b1715915a94d1","tarball":"https://registry.npmjs.org/@brayjamin/graal-type-introspection/-/graal-type-introspection-0.1.4.tgz","fileCount":6,"unpackedSize":423651,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0jRo/Fsfx9dKaIa7Q0DYbvgBDEZRIzT+qcBKDfHznxAIgNOdK3EBYKzpPqMa6ZPkznRnPyRRHfciAUgpkrug8+oc="}]},"_npmUser":{"name":"brayjamin","email":"brayjamindev@gmail.com"},"directories":{},"maintainers":[{"name":"brayjamin","email":"brayjamindev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graal-type-introspection_0.1.4_1686965821957_0.5608909107662854"},"_hasShrinkwrap":false},"0.1.5":{"name":"@brayjamin/graal-type-introspection","version":"0.1.5","main":"index.d.ts","license":"MIT","scripts":{"lint":"eslint ./src --max-warnings 0","postinstall":"ts-node ./src/index.ts","prettier":"prettier --check ./src/**/*.{ts,tsx}","typecheck":"tsc --noEmit","yamjs":"yarn --cwd ../../"},"dependencies":{"fast-glob":"^3.2.12","ts-node":"^10.9.1","typescript":"^5.1.3"},"devDependencies":{"@types/node":"^18.15.3"},"description":"This is an experimental package that scans the user's installed graal-types, generates a JavaType.d.ts file, and allows `@yam-js/core` to pull in those types automatically into `Java.type`.","author":{"name":"Kyle Mercer"},"_id":"@brayjamin/graal-type-introspection@0.1.5","_nodeVersion":"18.13.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-Zgby4iPwTMaffo4TIzp4OaJJts+/awKozs+5ZsR5ipN3zYCs83n8e8V0/y+RuMd5OYr/e7O7CJWVW5iVwWPOUQ==","shasum":"da8b96674b35ded05580804c87ed443ff0d39294","tarball":"https://registry.npmjs.org/@brayjamin/graal-type-introspection/-/graal-type-introspection-0.1.5.tgz","fileCount":6,"unpackedSize":6020,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAClScPVsVxs0w47e12grxtXFrvsDU2PcS7wLf0JNfKIAiEAm3jIE/ytcMwCSQ4F5zAVzwiAodo/97OEkyayJWdId78="}]},"_npmUser":{"name":"brayjamin","email":"brayjamindev@gmail.com"},"directories":{},"maintainers":[{"name":"brayjamin","email":"brayjamindev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graal-type-introspection_0.1.5_1686966067082_0.2652709832673841"},"_hasShrinkwrap":false},"0.1.3":{"name":"@brayjamin/graal-type-introspection","version":"0.1.3","main":"index.d.ts","license":"MIT","scripts":{"lint":"eslint ./src --max-warnings 0","postinstall":"ts-node ./src/index.ts","prettier":"prettier --check ./src/**/*.{ts,tsx}","typecheck":"tsc --noEmit","yamjs":"yarn --cwd ../../"},"dependencies":{"fast-glob":"^3.2.12","ts-node":"^10.9.1","typescript":"^5.1.3"},"devDependencies":{"@types/node":"^18.15.3"},"gitHead":"8becc6b5d9b794bff5be7dc6e3ff5fe37a26db86","description":"This is an experimental package that scans the user's installed graal-types, generates a JavaType.d.ts file, and allows `@yam-js/core` to pull in those types automatically into `Java.type`.","_id":"@brayjamin/graal-type-introspection@0.1.3","_nodeVersion":"18.13.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-KUotwoisAYEjENjTQomB+ltpbmMK1sGxaxwWA+jZwA4Y98l0zv5oQPGcPJmWm5FBlu2Eh0ZeK6v2X2yVRW5NRw==","shasum":"c9cea35d3c19d9c81f2d8cdac5ce88d60bb0b0c5","tarball":"https://registry.npmjs.org/@brayjamin/graal-type-introspection/-/graal-type-introspection-0.1.3.tgz","fileCount":5,"unpackedSize":5621,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDc/rAYedw/Eh0IMyX6v12nC2kfKXfyjQfyMIPod9+h4wIgfbTlFbZyNfwiZ4W1VXHnnsjsrB4aipQw4MEIxCvgiYs="}]},"_npmUser":{"name":"brayjamin","email":"brayjamindev@gmail.com"},"directories":{},"maintainers":[{"name":"brayjamin","email":"brayjamindev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graal-type-introspection_0.1.3_1687131533375_0.6800614277388541"},"_hasShrinkwrap":false},"0.1.7":{"name":"@brayjamin/graal-type-introspection","version":"0.1.7","main":"index.d.ts","license":"MIT","scripts":{"lint":"eslint ./src --max-warnings 0","postinstall":"ts-node ./src/index.ts","prettier":"prettier --check ./src/**/*.{ts,tsx}","typecheck":"tsc --noEmit","yamjs":"yarn --cwd ../../"},"dependencies":{"fast-glob":"^3.2.12","ts-node":"^10.9.1","typescript":"^5.1.3"},"devDependencies":{"@types/node":"^18.15.3"},"gitHead":"8becc6b5d9b794bff5be7dc6e3ff5fe37a26db86","description":"This is an experimental package that scans the user's installed graal-types, generates a JavaType.d.ts file, and allows `@yam-js/core` to pull in those types automatically into `Java.type`.","_id":"@brayjamin/graal-type-introspection@0.1.7","_nodeVersion":"18.13.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-2kR5O+EiSK/rGESr6h4Xvrx7p1pq9iW3r0ljb2b84Ortba5ENNxisqIT4hpyn7bnNvFHpKfVF1+W02CB40VjJQ==","shasum":"6860f5f9a6e2279b9f71313c2dc91e0ae9427871","tarball":"https://registry.npmjs.org/@brayjamin/graal-type-introspection/-/graal-type-introspection-0.1.7.tgz","fileCount":5,"unpackedSize":5922,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE6jhNGw7AzxVKmiDuL9P6s9F+3MRBWFfrsUv/qXnitmAiBj1cEJSP8Lu97nOp4JCutMAKBfo1elR085O5gOMAIRPQ=="}]},"_npmUser":{"name":"brayjamin","email":"brayjamindev@gmail.com"},"directories":{},"maintainers":[{"name":"brayjamin","email":"brayjamindev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graal-type-introspection_0.1.7_1687133232122_0.8353664429903926"},"_hasShrinkwrap":false},"0.1.8":{"name":"@brayjamin/graal-type-introspection","version":"0.1.8","main":"index.d.ts","license":"MIT","scripts":{"lint":"eslint ./src --max-warnings 0","postinstall":"ts-node ./src/index.ts","prettier":"prettier --check ./src/**/*.{ts,tsx}","typecheck":"tsc --noEmit","yamjs":"yarn --cwd ../../"},"dependencies":{"fast-glob":"^3.2.12","ts-node":"^10.9.1","typescript":"^5.1.3"},"devDependencies":{"@types/node":"^18.15.3"},"gitHead":"8becc6b5d9b794bff5be7dc6e3ff5fe37a26db86","description":"This is an experimental package that scans the user's installed graal-types, generates a JavaType.d.ts file, and allows `@yam-js/core` to pull in those types automatically into `Java.type`.","_id":"@brayjamin/graal-type-introspection@0.1.8","_nodeVersion":"18.13.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-iIBK0FXp+Pbks30PQ1KXYtFDsCRqWPdoYqzm5zcjIoDu/PtAW/+jLvKSIZqEz5dd9jGL9e2cGswkGpSVkixhag==","shasum":"c12328e186a7098d1ab9d80cf656be8115436dbf","tarball":"https://registry.npmjs.org/@brayjamin/graal-type-introspection/-/graal-type-introspection-0.1.8.tgz","fileCount":5,"unpackedSize":5766,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCA0qA7o0ByQE+BlyUEbNP2bWuklarpWjHSv7w1gTYcFAIhAOv+Vozkq30iONAspzfVla7kktYcdkZ4Oz/0Kv9Ksjwo"}]},"_npmUser":{"name":"brayjamin","email":"brayjamindev@gmail.com"},"directories":{},"maintainers":[{"name":"brayjamin","email":"brayjamindev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graal-type-introspection_0.1.8_1687137046874_0.5183280293346475"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-17T01:37:01.906Z","0.1.4":"2023-06-17T01:37:02.193Z","modified":"2023-06-19T01:10:47.172Z","0.1.5":"2023-06-17T01:41:07.254Z","0.1.3":"2023-06-18T23:38:53.570Z","0.1.7":"2023-06-19T00:07:12.305Z","0.1.8":"2023-06-19T01:10:47.049Z"},"maintainers":[{"name":"brayjamin","email":"brayjamindev@gmail.com"}],"description":"This is an experimental package that scans the user's installed graal-types, generates a JavaType.d.ts file, and allows `@yam-js/core` to pull in those types automatically into `Java.type`.","license":"MIT","readme":"# Graal Type Introspection\n\nThis is an experimental package that scans the user's installed graal-types, generates a JavaType.d.ts file, and allows `@yam-js/core` to pull in those types automatically into `Java.type`.\n\n# Note\n\nThe developer will need to add `@yam-js` into `typeRoots` within their `tsconfig.json` file\n\n# Grakkit\n\nThis is possible to be added into an existing Grakkit package, however, there are a few caveats.\n\n- You need to use `patch-package` to remove `declare const Java: any;` from `@grakkit/stdlib/scope.d.ts`.\n- Once removed, you can declare your own typedef in a `d.ts` file. For example:\n\n```typescript\nimport { JavaTypes } from '@yam-js/graal-type-introspection'\n\ntype JavaTypeKey<T extends string> = T | keyof JavaTypes\n\nexport type Java = {\n  type: <Key extends string>(name: JavaTypeKey<Key>) => JavaTypes[Key]\n  extend: any\n}\n\ndeclare global {\n  const Java: Java\n}\n```\n","readmeFilename":"README.md"}