mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-20 18:05:08 +08:00
使用 chef_prep_this()
This commit is contained in:
@@ -7,8 +7,7 @@ def_target(pl_js_bun, "bun");
|
||||
void
|
||||
pl_js_bun_prelude (void)
|
||||
{
|
||||
use_this(pl_js_bun);
|
||||
chef_allow_gsr(pl_js_bun);
|
||||
chef_prep_this (pl_js_bun, gsr);
|
||||
|
||||
chef_set_created_on (this, "2024-09-29");
|
||||
chef_set_last_updated (this, "2025-07-22");
|
||||
|
@@ -70,8 +70,7 @@ pl_js_group_setsrc (char *option)
|
||||
|
||||
chsrc_set_target_group_mode ();
|
||||
|
||||
use_this(pl_js_group);
|
||||
Source_t source = chsrc_yield_source_and_confirm (this, option);
|
||||
use_this_source (pl_js_group);
|
||||
|
||||
if (npm_exist)
|
||||
{
|
||||
|
@@ -7,8 +7,7 @@ def_target(pl_js_yarn, "yarn");
|
||||
void
|
||||
pl_js_yarn_prelude (void)
|
||||
{
|
||||
use_this(pl_js_yarn);
|
||||
chef_allow_gsr(pl_js_yarn);
|
||||
chef_prep_this (pl_js_yarn, gsr);
|
||||
|
||||
chef_set_created_on (this, "2023-09-09");
|
||||
chef_set_last_updated (this, "2025-07-11");
|
||||
|
@@ -14,8 +14,7 @@ def_target(pl_js_group, "js/javascript/node/nodejs");
|
||||
void
|
||||
pl_js_group_prelude (void)
|
||||
{
|
||||
use_this(pl_js_group);
|
||||
chef_allow_gsr(pl_js_group);
|
||||
chef_prep_this (pl_js_group, gsr);
|
||||
|
||||
chef_set_created_on (this, "2023-09-09");
|
||||
chef_set_last_updated (this, "2025-07-11");
|
||||
@@ -51,8 +50,7 @@ def_target(pl_js_nodejs_binary, "__internal_use_nodejs_binary__");
|
||||
void
|
||||
pl_js_nodejs_binary_prelude (void)
|
||||
{
|
||||
use_this(pl_js_nodejs_binary);
|
||||
chef_allow_gsr(pl_js_group);
|
||||
chef_prep_this (pl_js_nodejs_binary, NOOP);
|
||||
|
||||
chef_set_created_on (this, "2023-09-09");
|
||||
chef_set_last_updated (this, "2025-07-11");
|
||||
|
@@ -7,8 +7,7 @@ def_target(pl_js_npm, "npm");
|
||||
void
|
||||
pl_js_npm_prelude (void)
|
||||
{
|
||||
use_this(pl_js_npm);
|
||||
chef_allow_gsr(pl_js_npm);
|
||||
chef_prep_this (pl_js_npm, gsr);
|
||||
|
||||
chef_set_created_on (this, "2023-08-30");
|
||||
chef_set_last_updated (this, "2025-07-11");
|
||||
|
@@ -7,8 +7,7 @@ def_target(pl_js_nvm, "nvm");
|
||||
void
|
||||
pl_js_nvm_prelude (void)
|
||||
{
|
||||
use_this(pl_js_nvm);
|
||||
chef_allow_gsr(pl_js_nvm);
|
||||
chef_prep_this (pl_js_nvm, gsr);
|
||||
|
||||
chef_set_created_on (this, "2024-09-23");
|
||||
chef_set_last_updated (this, "2025-06-19");
|
||||
|
@@ -7,8 +7,7 @@ def_target(pl_js_pnpm, "pnpm");
|
||||
void
|
||||
pl_js_pnpm_prelude (void)
|
||||
{
|
||||
use_this(pl_js_pnpm);
|
||||
chef_allow_gsr(pl_js_pnpm);
|
||||
chef_prep_this (pl_js_pnpm, gsr);
|
||||
|
||||
chef_set_created_on (this, "2024-04-18");
|
||||
chef_set_last_updated (this, "2025-07-11");
|
||||
|
Reference in New Issue
Block a user