1. Remove duplicate/broken code in product tables section 2. Fix PostCSS config for Tailwind 4 3. Add @tailwindcss/postcss dependency 4. Remove --production flag from Dockerfile (sharp required) All fixes enable successful Docker build with favicon working.
26 lines
407 B
JavaScript
26 lines
407 B
JavaScript
import prompts from "prompts";
|
|
class PromptsPrompt {
|
|
#force;
|
|
constructor({ force }) {
|
|
this.#force = force;
|
|
}
|
|
async confirm({
|
|
message,
|
|
defaultValue
|
|
}) {
|
|
if (this.#force) {
|
|
return true;
|
|
}
|
|
const { value } = await prompts({
|
|
type: "confirm",
|
|
name: "value",
|
|
message,
|
|
initial: defaultValue
|
|
});
|
|
return value;
|
|
}
|
|
}
|
|
export {
|
|
PromptsPrompt
|
|
};
|