diff --git a/README.md b/README.md index b232d39..20d740a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ +[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/karoltheguy/PodletJS) +[![NPM Deployment](https://github.com/karoltheguy/podletjs/actions/workflows/npm-publish.yml/badge.svg?branch=main)](https://github.com/karoltheguy/podletjs/actions/workflows/npm-publish.yml) +[![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0) + +![Lines](./badges_output/lines.svg) ![Statements](./badges_output/statements.svg) ![Branches](./badges_output/branches.svg) ![Functions](./badges_output/functions.svg) # PodletJS JavaScript port of [Podlet](https://github.com/containers/podlet) diff --git a/ROADMAP.md b/ROADMAP.md index 3295220..2a7fccd 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -1,6 +1,6 @@ # PodletJS Roadmap -## Current Status: ✅ Feature Complete (v0.1.0) +## Current Status: ✅ Feature Complete (v1.0.0) PodletJS successfully implements the core functionality of the original Podlet (Rust) with: - **Docker run command parsing** (40+ flags supported) @@ -181,12 +181,3 @@ npx podlet-js compose docker-compose.yml --output ./quadlets/ ## Contributing Send pull a requests if you're interested in implementing any of these features. - ---- - -## Version Planning - -- **v0.1.x**: Bug fixes and minor improvements -- **v0.2.0**: CLI interface + Pod generation -- **v0.3.0**: Build context handling + Version compatibility -- **v1.0.0**: Production hardening + Extended features diff --git a/badges_output/branches.svg b/badges_output/branches.svg new file mode 100644 index 0000000..b94d5e3 --- /dev/null +++ b/badges_output/branches.svg @@ -0,0 +1,12 @@ + + + BRANCHES: 95% + + + + + + BRANCHES + 95% + + \ No newline at end of file diff --git a/badges_output/branches_chart.svg b/badges_output/branches_chart.svg new file mode 100644 index 0000000..ec0dcb6 --- /dev/null +++ b/badges_output/branches_chart.svg @@ -0,0 +1,5 @@ + + BRANCHES + + 95% + diff --git a/badges_output/functions.svg b/badges_output/functions.svg new file mode 100644 index 0000000..cab7602 --- /dev/null +++ b/badges_output/functions.svg @@ -0,0 +1,12 @@ + + + FUNCTIONS: 98% + + + + + + FUNCTIONS + 98% + + \ No newline at end of file diff --git a/badges_output/functions_chart.svg b/badges_output/functions_chart.svg new file mode 100644 index 0000000..d28642f --- /dev/null +++ b/badges_output/functions_chart.svg @@ -0,0 +1,5 @@ + + FUNCTIONS + + 98% + diff --git a/badges_output/lines.svg b/badges_output/lines.svg new file mode 100644 index 0000000..96c075a --- /dev/null +++ b/badges_output/lines.svg @@ -0,0 +1,12 @@ + + + LINES: 99% + + + + + + LINES + 99% + + \ No newline at end of file diff --git a/badges_output/lines_chart.svg b/badges_output/lines_chart.svg new file mode 100644 index 0000000..cba8c77 --- /dev/null +++ b/badges_output/lines_chart.svg @@ -0,0 +1,5 @@ + + LINES + + 99% + diff --git a/badges_output/statements.svg b/badges_output/statements.svg new file mode 100644 index 0000000..5c7c87e --- /dev/null +++ b/badges_output/statements.svg @@ -0,0 +1,12 @@ + + + STATEMENTS: 99% + + + + + + STATEMENTS + 99% + + \ No newline at end of file diff --git a/badges_output/statements_chart.svg b/badges_output/statements_chart.svg new file mode 100644 index 0000000..f1fc8ee --- /dev/null +++ b/badges_output/statements_chart.svg @@ -0,0 +1,5 @@ + + STATEMENTS + + 99% + diff --git a/jest.config.js b/jest.config.js index 8384c30..c3e0137 100644 --- a/jest.config.js +++ b/jest.config.js @@ -5,9 +5,20 @@ export default { '/test/unit/**/*.test.js', '/test/e2e/**/*.test.js' ], - transform: {}, + transform: { + '^.+\\.js$': 'babel-jest' + }, + collectCoverageFrom: [ + 'src/**/*.js' + ], collectCoverage: true, coverageDirectory: '/coverage', + coverageReporters: [ + "json-summary", + "text", + "lcov", + "clover" + ], testTimeout: 30000, verbose: true }; diff --git a/package-lock.json b/package-lock.json index ebafeb6..a8a86cf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "podlet-js", - "version": "0.1.0", + "name": "podletjs", + "version": "1.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "podlet-js", - "version": "0.1.0", + "name": "podletjs", + "version": "1.0.1", "license": "MPL-2.0", "dependencies": { "composerize": "^1.7.2", @@ -21,6 +21,9 @@ "fs-extra": "^11.3.0", "jest": "^30.0.4", "tmp": "^0.2.3" + }, + "engines": { + "node": ">=16.0.0" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index 62e2137..03a338e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "podletjs", - "version": "1.0.0", + "version": "1.0.1", "description": "JavaScript port of Podlet - Generate Podman Quadlet files from Docker run commands and compose files", "main": "src/index.js", "type": "module",