Skip to content

Commit

Permalink
Prepare project command (#407)
Browse files Browse the repository at this point in the history
Co-authored-by: Nícholas Oliveira <nicholas.andre@10up.com>
  • Loading branch information
tlovett1 and nicholasio authored Jun 5, 2024
1 parent dcc09bb commit 1f612a2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/yellow-pumpkins-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"10up-toolkit": patch
---

Update `project` command to use latest
2 changes: 1 addition & 1 deletion packages/toolkit/project/gitlab/.gitlab-ci.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/toolkit/scripts/project/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const run = async () => {
];

const files = await fg(`${initPath}/**/*`, {
ignore: ['**/*/node_modules', '**/*/vendor'],
ignore: ['**/*/node_modules', '**/*/vendor', '**/*/dist'],
dot: true,
});

Expand Down

0 comments on commit 1f612a2

Please sign in to comment.