使用 chef_prep_this()

This commit is contained in:
Aoran Zeng
2025-08-22 13:08:27 +08:00
parent 12e69edb86
commit adca7b3ea2
69 changed files with 75 additions and 151 deletions

View File

@@ -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");

View File

@@ -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)
{

View File

@@ -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");

View File

@@ -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");

View File

@@ -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");

View File

@@ -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");

View File

@@ -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");