Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.11.0-alpha.2 #521

Merged
merged 41 commits into from
Jun 25, 2024
Merged

v0.11.0-alpha.2 #521

merged 41 commits into from
Jun 25, 2024

Conversation

Luna-Klatzer
Copy link
Member

@Luna-Klatzer Luna-Klatzer commented Jun 25, 2024

What type of change does this PR perform?

  • Maintenance (Non-breaking change that updates dependencies)
  • Info or documentation change (Non-breaking change that updates repo info files (e.g. README.md, CONTRIBUTING.md, etc.) or online documentation)
  • Website feature update or docs development changes (Change that changes the design or functionality of the websites or docs)
  • Development or internal changes (These changes do not add new features or fix bugs, but update the code in other ways)
  • Bug fix (Non-breaking change which fixes an issue)
  • New feature (Non-breaking change which adds functionality)
  • Breaking change (Major bug fix or feature that would cause existing functionality not to work as expected.)
  • Requires a documentation update, as it changes language or compiler behaviour

Summary

New development version 0.11.0-alpha.2, which adds support for Kipper config files, auto-config loading for quick Kipper command invocations and adds the new CLI command kipper new for quickly setting up a new project.

List of Changes

  • Implemented Kipper config scheme and parser.
  • Added project setup wizard.
  • Added @kipper/cli automatic config loading.

Does this PR create new warnings?

None.

Detailed Changelog

Added

  • Support for config files with a new monorepo package called @kipper/config, which implements config file loading
    and parsing. This package is used by the Kipper CLI to automatically load and parse config files.
    (#502).
  • Added setup wizard to the @kipper/cli to automatically create a Kipper project with a config file.
    (#502).
  • New class:
    • PromptModule in @kipper/cli, which contains all prompt-related functions and classes.
  • New functions:
    • loadConfig() in @kipper/cli, which loads a config file from the specified path.
    • loadAutoConfig() in @kipper/cli, which loads a config file from the current working directory.
    • copyConfigResources() in @kipper/cli, which copies the resources from the config file to the output directory.

Linked issues or PRs

Luna-Klatzer and others added 30 commits February 11, 2024 19:50
…support-for-kippercli

Add config file support for `@kipper/cli`
@Luna-Klatzer Luna-Klatzer added release New release of the Kipper module. skip changelog Do not include in the changelog when a new release is drafted labels Jun 25, 2024
@Luna-Klatzer Luna-Klatzer added this to the v0.11.0 milestone Jun 25, 2024
@Luna-Klatzer Luna-Klatzer requested a review from a team June 25, 2024 07:44
@Luna-Klatzer Luna-Klatzer self-assigned this Jun 25, 2024
@Luna-Klatzer Luna-Klatzer requested review from lorenzholzbauer and removed request for a team June 25, 2024 07:44
Copy link
Contributor

github-actions bot commented Jun 25, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
./kipper/web/kipper-standalone.min.js 136.05 KB (+0.21% 🔺) 2.8 s (+0.21% 🔺) 2.7 s (-7.22% 🔽) 5.4 s
./kipper/web/kipper-standalone.js 136.09 KB (+0.21% 🔺) 2.8 s (+0.21% 🔺) 3.1 s (-10.02% 🔽) 5.8 s

Copy link

codecov bot commented Jun 25, 2024

Codecov Report

Attention: Patch coverage is 75.26596% with 93 lines in your changes missing coverage. Please review.

Project coverage is 83.49%. Comparing base (b5f1ca8) to head (49a06e9).
Report is 2 commits behind head on next.

Files Patch % Lines
kipper/cli/src/commands/new.ts 78.33% 8 Missing and 5 partials ⚠️
kipper/cli/src/decorators.ts 28.57% 10 Missing ⚠️
kipper/config/src/kipper-config-interpreter.ts 87.50% 2 Missing and 8 partials ⚠️
kipper/cli/src/prompt-module.ts 40.00% 9 Missing ⚠️
kipper/config/src/tools.ts 42.85% 4 Missing and 4 partials ⚠️
kipper/cli/src/config-loader.ts 58.82% 6 Missing and 1 partial ⚠️
kipper/cli/src/copy-resources.ts 45.45% 6 Missing ⚠️
kipper/config/src/abstract/config-interpreter.ts 83.33% 3 Missing and 3 partials ⚠️
kipper/cli/src/commands/compile.ts 78.26% 0 Missing and 5 partials ⚠️
kipper/cli/src/input/file-stream.ts 44.44% 5 Missing ⚠️
... and 6 more
Additional details and impacted files
@@            Coverage Diff             @@
##             next     #521      +/-   ##
==========================================
- Coverage   83.85%   83.49%   -0.37%     
==========================================
  Files         191      205      +14     
  Lines        3271     3598     +327     
  Branches      341      406      +65     
==========================================
+ Hits         2743     3004     +261     
- Misses        383      421      +38     
- Partials      145      173      +28     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Luna-Klatzer Luna-Klatzer merged commit 098477a into next Jun 25, 2024
29 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release New release of the Kipper module. skip changelog Do not include in the changelog when a new release is drafted
Projects
Development

Successfully merging this pull request may close these issues.

1 participant