From 973d4f6e33679b90a355672eef19271b7b882a0b Mon Sep 17 00:00:00 2001 From: Taylor Lovett Date: Tue, 4 Jun 2024 15:26:27 -0400 Subject: [PATCH 1/3] Don't search dist directory --- packages/toolkit/scripts/project/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/toolkit/scripts/project/init.js b/packages/toolkit/scripts/project/init.js index eaa735b5..1f51accd 100644 --- a/packages/toolkit/scripts/project/init.js +++ b/packages/toolkit/scripts/project/init.js @@ -159,7 +159,7 @@ const run = async () => { ]; const files = await fg(`${initPath}/**/*`, { - ignore: ['**/*/node_modules', '**/*/vendor'], + ignore: ['**/*/node_modules', '**/*/vendor', '**/*/dist'], dot: true, }); From 4ae92331ece449d1261b7a549d89f69ceba3f767 Mon Sep 17 00:00:00 2001 From: Taylor Lovett Date: Tue, 4 Jun 2024 15:26:40 -0400 Subject: [PATCH 2/3] Dont reference toolkit next tag --- packages/toolkit/project/gitlab/.gitlab-ci.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/toolkit/project/gitlab/.gitlab-ci.tmpl b/packages/toolkit/project/gitlab/.gitlab-ci.tmpl index 18f6ff5d..81fc5b15 100644 --- a/packages/toolkit/project/gitlab/.gitlab-ci.tmpl +++ b/packages/toolkit/project/gitlab/.gitlab-ci.tmpl @@ -25,7 +25,7 @@ build_plugins_and_themes: stage: build script: - nvm install 18 - - npx 10up-toolkit@next project create-payload $CI_COMMIT_REF_NAME + - npx 10up-toolkit project create-payload $CI_COMMIT_REF_NAME artifacts: paths: - payload From 866d9badf46a1ef7316a6846e5e86b9a1ac9e330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=ADcholas=20Oliveira?= Date: Wed, 5 Jun 2024 18:00:37 -0300 Subject: [PATCH 3/3] chore: changeset --- .changeset/yellow-pumpkins-fail.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/yellow-pumpkins-fail.md diff --git a/.changeset/yellow-pumpkins-fail.md b/.changeset/yellow-pumpkins-fail.md new file mode 100644 index 00000000..484cdafd --- /dev/null +++ b/.changeset/yellow-pumpkins-fail.md @@ -0,0 +1,5 @@ +--- +"10up-toolkit": patch +--- + +Update `project` command to use latest