Skip to content

Commit

Permalink
CI Package Deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon committed Nov 29, 2024
1 parent 685cd7e commit e4cf5cd
Show file tree
Hide file tree
Showing 98 changed files with 326 additions and 98 deletions.
133 changes: 133 additions & 0 deletions packages/version/recase.art
Original file line number Diff line number Diff line change
@@ -1,5 +1,138 @@
[
#[
version: 1.0.0
date: to :date "2024-11-29T08:58:02+00:00"
link: "https://github.com/drkameleon/recase.art/releases/tag/v1.0.0"
details: #[
size: 6893
files: 5
readme: {
<h1 align="center">
Recase
</h1>

<p align="center">
<i>Unicode-friendly string case converter for Arturo</i>
<br><br>
<img src="https://img.shields.io/github/license/arturo-lang/grafito?style=for-the-badge">
<img src="https://img.shields.io/badge/language-Arturo-orange.svg?style=for-the-badge">
</p>

---

<!--ts-->

* [What does this package do?](#what-does-this-package-do)
* [How do I use it?](#how-do-i-use-it)
* [Function Reference](#function-reference)
* [License](#license)

<!--te-->

---

### What does this package do?

This package provides an function (`recase`) that allows to convert to and from different case styles, with full support of Unicode characters:

- TitleCase
- camelCase
- snake_case
- kebab-case
- plain case

> [!IMPORTANT]
> All whitespace within the string will be stripped, to allow for a more efficient "word" separation.

### How do I use it?

Simply `import` it and use the included `recase` function:

```arturo
import "recase"!

recase.snake "This is an example"
; => "this_is_an_example"

recase.camel "Print SQL"
; => "printSQL"
```

### Function reference

#### `recase`

##### Description

convert case of given string

##### Usage

<pre>
<b>recase</b> <ins>str</ins> <i>:string</i>
</pre>

##### Attributes

| Option | Type(s) | Description |
|----|----|----|
| title | | convert to TitleCase |
| camel | | convert to camelCase |
| snake | | convert to snake_case |
| kebab | | convert to kebab-case |
| plain | | convert to plain case |
| custom: | `:char` `:string` | use custom separator |

##### Returns

- *:string*

<hr/>

### License

MIT License

Copyright (c) 2024 Yanis Zafirópulos

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

}
license: #[
name: "MIT"
url: "https://choosealicense.com/licenses/mit/"
]
]
url: "https://api.github.com/repos/drkameleon/recase.art/zipball/v1.0.0"
info: #[
entry: "recase.art"
requires: [
>
0.9.83
]
executable: false
depends: [

]
]
]
#[
version: 0.0.3
date: to :date "2024-09-02T15:37:17+00:00"
link: "https://github.com/drkameleon/recase.art/releases/tag/v0.0.3"
Expand Down
2 changes: 1 addition & 1 deletion public/_packages/artsembly/0.3.0/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
currentElement.html(got.items[0].stargazers_count);
});
});
var searchables = [{"value":"artsembly","description":"Arturo VM Bytecode assembler","tags":["arturo","arturo-package","assembler","bytecode","bytecode-compiler","vm"],"version":"0.3.0"},{"value":"claude","description":"Claude.ai API client for Arturo","tags":["ai","api","api-client","artificial-intelligence","arturo","arturo-package","claude-ai","claude-api"],"version":"0.0.1"},{"value":"dummy","description":"This package will serve merely as test for Arturo's package manager","tags":["test"],"version":"0.0.5"},{"value":"fianchetto","description":"Chess-aware custom types, FEN/PGN parsing & more","tags":["arturo","arturo-language","arturo-package","chess","chess-programming","fen","fen-parsing","pgn","pgn-parser"],"version":"0.0.1"},{"value":"grace","description":"A minimalistic code editor, inspired by Monaco/VSCode, based on Ace & written in Arturo","tags":["arturo","arturo-package","code","code-editor","editor","syntax-highlighting"],"version":"0.0.1"},{"value":"grafito","description":"Portable, Serverless & Lightweight SQLite-based Graph Database in Arturo","tags":["arturo","cross-platform","database","database-engine","graph","graph-database","graphdb","portable","portable-database","query-language","serverless","sqlite","sqlite3"],"version":"0.2.11"},{"value":"html","description":"HTML generator for Arturo","tags":["arturo","arturo-module","css","css3","html","html-generator","html5","javascript"],"version":"0.0.4"},{"value":"mathjax","description":"A wrapper for using mathjax in Arturo's webview","tags":["arturo","arturo-package","gui","javascript","latex","webview"],"version":"0.0.2"},{"value":"mermaid","description":"A wrapper for using mermaid in Arturo's webview","tags":["arturo","arturo-package","diagrams","gui","javascript","mermaid","mermaid-charting-language","webview"],"version":"0.0.1"},{"value":"mimetypes","description":"MIME content type registry & recognition","tags":["arturo","arturo-language","arturo-package","file","http","mimetype","web-server"],"version":"0.0.4"},{"value":"peregrino","description":"Lightning-fast command-line benchmarking tool & library","tags":["arturo","arturo-package","benchmark","benchmarking-utility","cli","terminal","tool"],"version":"0.0.2"},{"value":"progressive","description":"A customizeable, text-based progress bar generator & library","tags":["arturo","arturo-package","cli","progress-bar","terminal"],"version":"0.0.3"},{"value":"recase","description":"Unicode-friendly string case converter","tags":["arturo","arturo-language","arturo-package","camelcase","casing","kebabcase","snakecase","string-manipulation","titlecase"],"version":"0.0.3"},{"value":"rsv","description":"RSV parser and serializer for Arturo","tags":[],"version":"0.1.1"},{"value":"states","description":":states is a lean Finite State Machine package for the Arturo Programming Language","tags":["arturo","arturo-language","finite-state-machine","fsm","package","pkgr-art"],"version":"0.1.0"},{"value":"tabular","description":"Feature-rich ASCII table generator for the terminal","tags":["arturo","arturo-package","ascii","cli","csv","table","table-generator","terminal"],"version":"0.0.1"},{"value":"tasks","description":"A rake-inspired task system for Arturo","tags":[],"version":"1.0.0"},{"value":"unidecode","description":"Unicode -> ASCII converter","tags":["arturo","arturo-language","arturo-package","ascii","unicode","unicode-converter","unidecode"],"version":"0.0.3"},{"value":"unitt","description":"Unitt is a basic unit-test tool for the Arturo Programming language.","tags":["arturo","arturo-lang","package","unit-tests"],"version":"1.1.2"},{"value":"validator","description":"A batteries-included, supercharged & customizable, string validation library for Arturo","tags":["arturo","arturo-package","credit-card-validator","iban-checker","isbn-validation","validation-library","validator"],"version":"0.6.0"}];
var searchables = [{"value":"artsembly","description":"Arturo VM Bytecode assembler","tags":["arturo","arturo-package","assembler","bytecode","bytecode-compiler","vm"],"version":"0.3.0"},{"value":"claude","description":"Claude.ai API client for Arturo","tags":["ai","api","api-client","artificial-intelligence","arturo","arturo-package","claude-ai","claude-api"],"version":"0.0.1"},{"value":"dummy","description":"This package will serve merely as test for Arturo's package manager","tags":["test"],"version":"0.0.5"},{"value":"fianchetto","description":"Chess-aware custom types, FEN/PGN parsing & more","tags":["arturo","arturo-language","arturo-package","chess","chess-programming","fen","fen-parsing","pgn","pgn-parser"],"version":"0.0.1"},{"value":"grace","description":"A minimalistic code editor, inspired by Monaco/VSCode, based on Ace & written in Arturo","tags":["arturo","arturo-package","code","code-editor","editor","syntax-highlighting"],"version":"0.0.1"},{"value":"grafito","description":"Portable, Serverless & Lightweight SQLite-based Graph Database in Arturo","tags":["arturo","cross-platform","database","database-engine","graph","graph-database","graphdb","portable","portable-database","query-language","serverless","sqlite","sqlite3"],"version":"0.2.11"},{"value":"html","description":"HTML generator for Arturo","tags":["arturo","arturo-module","css","css3","html","html-generator","html5","javascript"],"version":"0.0.4"},{"value":"mathjax","description":"A wrapper for using mathjax in Arturo's webview","tags":["arturo","arturo-package","gui","javascript","latex","webview"],"version":"0.0.2"},{"value":"mermaid","description":"A wrapper for using mermaid in Arturo's webview","tags":["arturo","arturo-package","diagrams","gui","javascript","mermaid","mermaid-charting-language","webview"],"version":"0.0.1"},{"value":"mimetypes","description":"MIME content type registry & recognition","tags":["arturo","arturo-language","arturo-package","file","http","mimetype","web-server"],"version":"0.0.4"},{"value":"peregrino","description":"Lightning-fast command-line benchmarking tool & library","tags":["arturo","arturo-package","benchmark","benchmarking-utility","cli","terminal","tool"],"version":"0.0.2"},{"value":"progressive","description":"A customizeable, text-based progress bar generator & library","tags":["arturo","arturo-package","cli","progress-bar","terminal"],"version":"0.0.3"},{"value":"recase","description":"Unicode-friendly string case converter","tags":["arturo","arturo-language","arturo-package","camelcase","casing","kebabcase","snakecase","string-manipulation","titlecase"],"version":"1.0.0"},{"value":"rsv","description":"RSV parser and serializer for Arturo","tags":[],"version":"0.1.1"},{"value":"states","description":":states is a lean Finite State Machine package for the Arturo Programming Language","tags":["arturo","arturo-language","finite-state-machine","fsm","package","pkgr-art"],"version":"0.1.0"},{"value":"tabular","description":"Feature-rich ASCII table generator for the terminal","tags":["arturo","arturo-package","ascii","cli","csv","table","table-generator","terminal"],"version":"0.0.1"},{"value":"tasks","description":"A rake-inspired task system for Arturo","tags":[],"version":"1.0.0"},{"value":"unidecode","description":"Unicode -> ASCII converter","tags":["arturo","arturo-language","arturo-package","ascii","unicode","unicode-converter","unidecode"],"version":"0.0.3"},{"value":"unitt","description":"Unitt is a basic unit-test tool for the Arturo Programming language.","tags":["arturo","arturo-lang","package","unit-tests"],"version":"1.1.2"},{"value":"validator","description":"A batteries-included, supercharged & customizable, string validation library for Arturo","tags":["arturo","arturo-package","credit-card-validator","iban-checker","isbn-validation","validation-library","validator"],"version":"0.6.0"}];
var fuseOptions = {
isCaseSensitive: true,
keys: [
Expand Down
Loading

0 comments on commit e4cf5cd

Please sign in to comment.