mirror of
https://gitee.com/RubyMetric/chsrc.git
synced 2025-12-26 05:02:46 +00:00
Update `Bun` use `rawstr4c`
This commit is contained in:
parent
1754a1a943
commit
9213e86643
|
|
@ -30,8 +30,7 @@ pl_nodejs_bun_setsrc (char *option)
|
|||
// 用的是 npm Registry 的源
|
||||
chsrc_yield_source (pl_nodejs_group);
|
||||
|
||||
char *content = "[install]\n"
|
||||
"registry = \"@url@\"\n";
|
||||
char *content = RAWSTR_pl_nodejs_bun_config;
|
||||
|
||||
content = xy_str_gsub (content, "@url@", source.url);
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,23 @@
|
|||
|
||||
|
||||
|
||||
## Node.js
|
||||
|
||||
- namespace = `nodejs`
|
||||
|
||||
### Bun
|
||||
|
||||
- name = `bun_config`
|
||||
|
||||
```toml
|
||||
[install]
|
||||
registry = "@url@"
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
## Java
|
||||
|
||||
- namespace = `java`
|
||||
|
|
|
|||
Loading…
Reference in New Issue