Add initial system prompt to generate site from components #73
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Steps I do:
headless-site
to use templateId99b9a3c7-82ad-4e1b-9066-e490bb9863af
instead of212b41cb-0da6-4401-9c72-7c579e6477a2
so it won't create a site with stores so we'll be able to add storesV3How to find the path where to patch:
Lets say you want to modify some program you're calling via npm create ...
and you want to know where npm puts the kodim so you can edit them, you can do that by modifying:
vim
npm root -g
/npm/node_modules/@npmcli/promise-spawn/lib/index.jsaround line 18, put something like:
console.log(
NPX spawn cmd params -> cmd: ${cmd} args: ${args} env PATH(first element): ${opts.env['PATH'].split(':')[0]}
);`the printout will be something like that:
NPX spawn cmd params -> cmd: sh args: -c,create-headless-site env PATH(first element): /Users/yurym/.npm/_npx/3204a0b61a95e1f5/node_modules/.bin
the last part is the path where the local code is cached.
npm create @wix/headless-site@latest
and create a blank siteapi-proxy-com.wixpress.stores.catalog.proxy.catalog-read-proxy
npm i @wix/headless-ecom @wix/headless-media @wix/headless-seo @wix/headless-stores @wix/stores --force