-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/add more flexibility #413
Conversation
🦋 Changeset detectedLatest commit: 8587947 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…able; remove composer block that wasnt doing anything
… a option in the build command that lets you specify
…nt to bash including the proper WORDPRESS_VERSION
Feature/add more flexibility tl
} | ||
}); | ||
// Copy contents of toolkitPath/project/local into cliPath | ||
execSync(`rsync -rc "${toolkitPath}/project/local/" "${cliPath}"`); |
Check warning
Code scanning / CodeQL
Shell command built from environment values Medium
absolute path
This shell command depends on an uncontrolled
absolute path
process.chdir(cliPath); | ||
|
||
if (template !== 'none' && !skipComposer) { | ||
execSync(`bash -l ${__dirname}/bash/scripts.sh update-composer`, { |
Check warning
Code scanning / CodeQL
Shell command built from environment values Medium
absolute path
}); | ||
} | ||
|
||
execSync(`bash -l ${__dirname}/bash/scripts.sh initialize-git`, { |
Check warning
Code scanning / CodeQL
Shell command built from environment values Medium
absolute path
|
||
setEnvVariables(variables); | ||
|
||
execSync(`bash -l ${__dirname}/bash/scripts.sh package`, { |
Check warning
Code scanning / CodeQL
Shell command built from environment values Medium
absolute path
|
||
setEnvVariables(variables); | ||
|
||
execSync(`bash -l ${__dirname}/bash/scripts.sh update-composer`, { |
Check warning
Code scanning / CodeQL
Shell command built from environment values Medium
absolute path
log(chalk.red('No build script found.')); | ||
process.exit(1); | ||
} | ||
execSync(`${process.env.SHELL} ${__dirname}/bash/scripts.sh ${buildType}`, { |
Check warning
Code scanning / CodeQL
Shell command built from environment values Medium
absolute path
commit 8b74e5a Author: Dustin Rue <[email protected]> Date: Wed Aug 21 14:36:32 2024 -0500 Feature/add more flexibility (#413) Co-authored-by: Taylor Lovett <[email protected]>
Related Issue/RFC: None but all changes are related to the project sub command.
Description of the Change
--layout=modern
Alternate Designs
Possible Drawbacks
Verification Process
Create repositories using the original design as well as updated design and then performed builds in each. Verified that builds for UIKit based projects complete with out any issue for both the
build
andcreate-payload
commands.Checklist: