{"_id":"@appthrust/kubernetes-models-appthrust","_rev":"5-822c974c392b3df37868d3d7efb5aac4","name":"@appthrust/kubernetes-models-appthrust","dist-tags":{"latest":"0.4.0"},"versions":{"0.2.0":{"name":"@appthrust/kubernetes-models-appthrust","version":"0.2.0","keywords":["kubernetes","kubernetes-models","appthrust"],"author":{"name":"zima","email":"zima@craftsman-software.com"},"license":"MIT","_id":"@appthrust/kubernetes-models-appthrust@0.2.0","maintainers":[{"name":"suin","email":"suinyeze@gmail.com"},{"name":"k-okina","email":"okinakahiro@gmail.com"},{"name":"zimagen","email":"zima@craftsman-software.com"}],"dist":{"shasum":"13a8c8b1a6d2e77d5ad3474fca063c8e7ab87c40","tarball":"https://registry.npmjs.org/@appthrust/kubernetes-models-appthrust/-/kubernetes-models-appthrust-0.2.0.tgz","fileCount":27,"integrity":"sha512-8WhVOBwsqN6Kyv0Al+lCIWNxmZsiK1OKDSh3m040c/xxjM7drbMXZ33YO3xwChDhMagfAUMmdeIx/8vUnx1GaA==","signatures":[{"sig":"MEQCIHW3ZScS0hmtUTg2LcCp8k9yO6HC3h+Uxi9VkMKO2dqFAiBlqmxaJ1+7QVRI3KNCQ1afl95LgCicAIQqGlaxANMKng==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104901},"main":"index.cjs","types":"index.d.ts","module":"index.mjs","engines":{"node":">=14"},"gitHead":"81eb11671c5673a9afc7892d2bc13bf07d39fd24","scripts":{"build":"crd-generate && publish-scripts build","prepack":"publish-scripts prepack"},"_npmUser":{"name":"zimagen","email":"zima@craftsman-software.com"},"_npmVersion":"10.8.2","description":"kubernetes models for appthrust","directories":{},"sideEffects":false,"_nodeVersion":"22.5.1","crd-generate":{"input":["../../appthrust/apps/project/crds/projects.appthrust.io.yaml"],"output":"./gen"},"dependencies":{"@swc/helpers":"^0.5.8","@kubernetes-models/base":"workspace:^","@kubernetes-models/validate":"workspace:^","@kubernetes-models/apimachinery":"workspace:^"},"publishConfig":{"access":"public","directory":"dist","linkDirectory":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^0.29.8","@kubernetes-models/crd-generate":"workspace:^","@kubernetes-models/publish-scripts":"workspace:^"},"_npmOperationalInternal":{"tmp":"tmp/kubernetes-models-appthrust_0.2.0_1734500071893_0.576970440409381","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@appthrust/kubernetes-models-appthrust","version":"0.3.0","keywords":["kubernetes","kubernetes-models","appthrust"],"author":{"name":"zima","email":"zima@craftsman-software.com"},"license":"MIT","_id":"@appthrust/kubernetes-models-appthrust@0.3.0","maintainers":[{"name":"suin","email":"suinyeze@gmail.com"},{"name":"k-okina","email":"okinakahiro@gmail.com"},{"name":"zimagen","email":"zima@craftsman-software.com"}],"dist":{"shasum":"614bcd66cb5cf099acc4e62fc507a4dfae6120f5","tarball":"https://registry.npmjs.org/@appthrust/kubernetes-models-appthrust/-/kubernetes-models-appthrust-0.3.0.tgz","fileCount":27,"integrity":"sha512-5dp2gPIwo9hDF1N8XPJfibuDBoP61860qzDY8Nl2KUezjejQzcBsCR82hjV5YeyyV1dqbeX272CDO0YFcbFqWA==","signatures":[{"sig":"MEUCIA1OiKdEK1HysMgWmPT9vBiPdJ92ZIY3EmpWcPbq5kWdAiEAtVU3kv+NNPPmlSyBTEN5AoakOrCTI8kB4KRCCQ4Dw0Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104871},"main":"index.cjs","types":"index.d.ts","module":"index.mjs","engines":{"node":">=14"},"gitHead":"81eb11671c5673a9afc7892d2bc13bf07d39fd24","scripts":{"build":"crd-generate && publish-scripts build","prepack":"publish-scripts prepack"},"_npmUser":{"name":"zimagen","email":"zima@craftsman-software.com"},"_npmVersion":"10.8.2","description":"kubernetes models for appthrust","directories":{},"sideEffects":false,"_nodeVersion":"22.5.1","crd-generate":{"input":["../../appthrust/apps/project/crds/projects.appthrust.io.yaml"],"output":"./gen"},"dependencies":{"@swc/helpers":"^0.5.8","@kubernetes-models/base":"^5.0.1","@kubernetes-models/validate":"^4.0.0","@kubernetes-models/apimachinery":"^2.0.2"},"publishConfig":{"access":"public","directory":"dist","linkDirectory":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^0.29.8","@kubernetes-models/crd-generate":"workspace:^","@kubernetes-models/publish-scripts":"workspace:^"},"_npmOperationalInternal":{"tmp":"tmp/kubernetes-models-appthrust_0.3.0_1734500653252_0.3394217742078538","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@appthrust/kubernetes-models-appthrust","version":"0.4.0","description":"kubernetes models for appthrust","repository":{"type":"git","url":"git+https://github.com/tommy351/kubernetes-models-ts.git"},"homepage":"https://github.com/tommy351/kubernetes-models-ts/tree/master/third-party/appthrust","author":{"name":"zima","email":"zima@craftsman-software.com"},"license":"MIT","main":"index.cjs","module":"index.mjs","types":"index.d.ts","sideEffects":false,"publishConfig":{"access":"public","directory":"dist","linkDirectory":true},"keywords":["kubernetes","kubernetes-models","appthrust"],"engines":{"node":">=14"},"dependencies":{"@swc/helpers":"^0.5.8","@kubernetes-models/apimachinery":"^2.0.0","@kubernetes-models/validate":"^4.0.0","@kubernetes-models/base":"^5.0.0"},"devDependencies":{"vitest":"^0.29.8","@kubernetes-models/crd-generate":"^5.0.0","@kubernetes-models/publish-scripts":"^1.2.0"},"crd-generate":{"input":["./projects.appthrust.io.yaml"],"output":"./gen"},"exports":{".":{"types":"./index.d.ts","import":"./index.mjs","require":"./index.js"},"./appthrust.io":{"types":"./appthrust.io/index.d.ts","import":"./appthrust.io/index.mjs","require":"./appthrust.io/index.js"},"./appthrust.io/v1alpha1":{"types":"./appthrust.io/v1alpha1/index.d.ts","import":"./appthrust.io/v1alpha1/index.mjs","require":"./appthrust.io/v1alpha1/index.js"},"./appthrust.io/v1alpha1/*":{"types":"./appthrust.io/v1alpha1/*.d.ts","import":"./appthrust.io/v1alpha1/*.mjs","require":"./appthrust.io/v1alpha1/*.js"},"./package.json":"./package.json"},"scripts":{"build":"crd-generate && publish-scripts build"},"_id":"@appthrust/kubernetes-models-appthrust@0.4.0","bugs":{"url":"https://github.com/tommy351/kubernetes-models-ts/issues"},"_integrity":"sha512-BuGMA4rNYN2UXCQxBJbJkF4Z1D6c90eM04wJSVwHFQXS3Y1Xx+e//TZj9Is3hRZHgTJameWqv+k50QXbX1+Uug==","_resolved":"/private/tmp/nix-shell.BSnFXq/6ea586d20f9d6ad74c3e34175ac9c090/appthrust-kubernetes-models-appthrust-0.4.0.tgz","_from":"file:appthrust-kubernetes-models-appthrust-0.4.0.tgz","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-BuGMA4rNYN2UXCQxBJbJkF4Z1D6c90eM04wJSVwHFQXS3Y1Xx+e//TZj9Is3hRZHgTJameWqv+k50QXbX1+Uug==","shasum":"ef15ad98181f7f8a0b7e571d7269143c4de55293","tarball":"https://registry.npmjs.org/@appthrust/kubernetes-models-appthrust/-/kubernetes-models-appthrust-0.4.0.tgz","fileCount":17,"unpackedSize":56913,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBwtnziUFh2Xl/fedcatfca0HamT4nkQgNyqC0eOHUJQIhAN/ZFkziDA3ceD7Pvay/VNi254tOwe8vhi+P3YGQOqh2"}]},"_npmUser":{"name":"suin","email":"suinyeze@gmail.com"},"directories":{},"maintainers":[{"name":"suin","email":"suinyeze@gmail.com"},{"name":"k-okina","email":"okinakahiro@gmail.com"},{"name":"zimagen","email":"zima@craftsman-software.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/kubernetes-models-appthrust_0.4.0_1734588338077_0.23392311608969862"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-18T05:34:31.781Z","modified":"2024-12-19T06:05:38.468Z","0.1.0":"2024-12-18T05:23:12.449Z","0.2.0":"2024-12-18T05:34:32.069Z","0.3.0":"2024-12-18T05:44:13.400Z","0.4.0":"2024-12-19T06:05:38.247Z"},"author":{"name":"zima","email":"zima@craftsman-software.com"},"license":"MIT","keywords":["kubernetes","kubernetes-models","appthrust"],"description":"kubernetes models for appthrust","maintainers":[{"name":"suin","email":"suinyeze@gmail.com"},{"name":"k-okina","email":"okinakahiro@gmail.com"},{"name":"zimagen","email":"zima@craftsman-software.com"}],"readme":"# @appthrust/appthrust\n\n[appthrust](https://github.com/appthrust/appthrust) models.\n\n## Installation\n\nInstall with npm.\n\n```sh\nnpm install @appthrust/appthrust@0.1.0\n```\n\n## Usage\n\n```js\nimport { Project, IProject } from \"@appthrust/appthrust/projects.appthrust.io/v1alpha1\";\n\n// Create a new Project\nconst project = new Project({\n  metadata: {\n    name: \"my-project\",\n  },\n  spec: {\n    displayName: \"My Project\",\n    description: \"This is my first project\",\n    template: \"nodejs\",\n  },\n});\n\n// Validate against JSON schema\nproject.validate();\n\n// Get the raw JSON representation\nconst json = project.toJSON();\n\n// Create a new instance from JSON\nconst anotherProject = new Project(json);\n```\n\n## Getting CRDs from appthrust repository\n\nIf you encounter issues with the token expiring when getting CRDs, you can clone the appthrust repository and specify the relative path to the CRD files instead.\n\n1. Clone the appthrust repository:\n\n```sh\ngit clone https://github.com/appthrust/appthrust.git\n```\n\n2. In your `package.json`, update the `crd-generate.input` field to point to the cloned CRD files. For example:\n\n```json\n\"crd-generate\": {\n  \"input\": [\n    \"../../appthrust/apps/project/crds/projects.appthrust.io.yaml\"\n  ],\n  \"output\": \"./gen\"\n}\n```\n\nThis way, the CRDs will be read from the cloned repository instead of the token URL.\n\n## License\n\nMIT","readmeFilename":"README.md","homepage":"https://github.com/tommy351/kubernetes-models-ts/tree/master/third-party/appthrust","repository":{"type":"git","url":"git+https://github.com/tommy351/kubernetes-models-ts.git"},"bugs":{"url":"https://github.com/tommy351/kubernetes-models-ts/issues"}}