Skip to content

add parseOneLiner#39

Merged
NoEgAm merged 1 commit intomainfrom
one-liner
Jan 15, 2026
Merged

add parseOneLiner#39
NoEgAm merged 1 commit intomainfrom
one-liner

Conversation

@tiye
Copy link
Member

@tiye tiye commented Jan 12, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new parseOneLiner function to simplify parsing single Cirru expressions, along with package infrastructure improvements. The function validates that exactly one expression is present and throws an error otherwise.

Changes:

  • Added parseOneLiner function with comprehensive documentation and error handling
  • Enhanced documentation for the existing parse function
  • Updated package.json with repository metadata and npm provenance configuration
  • Modernized GitHub Actions workflow with newer action versions and enhanced security

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

File Description
src/index.ts Added new parseOneLiner function and documentation for parse function
src/parser.test.ts Added comprehensive test suite for parseOneLiner covering various edge cases
package.json Bumped version to 0.0.7, added repository config and npm provenance settings
.github/workflows/npm-publish.yaml Updated to modern GitHub Actions versions, added permissions, and integrated provenance publishing

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@NoEgAm NoEgAm merged commit 6ecce75 into main Jan 15, 2026
2 of 3 checks passed
@NoEgAm NoEgAm deleted the one-liner branch January 15, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants