@usequeek/create-theme 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare function createTheme(dir: string, answers: Answers, options: {
|
|
|
22
22
|
log?: (line: string) => void;
|
|
23
23
|
}): Promise<void>;
|
|
24
24
|
/**
|
|
25
|
-
* Flags → answers (prompting when a prompter is given) → the theme. Shared by the CLI and `queek
|
|
25
|
+
* Flags → answers (prompting when a prompter is given) → the theme. Shared by the CLI and `queek theme init`.
|
|
26
26
|
* With no folder argument, a person at the prompts gets a folder named after the theme's slug (checked
|
|
27
27
|
* with the name, before the next question); a script gets `my-theme`.
|
|
28
28
|
*
|
package/dist/index.js
CHANGED
|
@@ -135,7 +135,7 @@ function gitStep(target) {
|
|
|
135
135
|
export async function createTheme(dir, answers, options) {
|
|
136
136
|
const log = options.log ?? ((line) => console.log(line));
|
|
137
137
|
const { target, state } = checkTarget(dir, options.force);
|
|
138
|
-
const stage = mkdtempSync(join(tmpdir(), 'queek-
|
|
138
|
+
const stage = mkdtempSync(join(tmpdir(), 'queek-create-'));
|
|
139
139
|
try {
|
|
140
140
|
await fetchStarter(options.template ?? STARTER, stage);
|
|
141
141
|
setupTheme(stage, answers);
|
|
@@ -273,7 +273,7 @@ function startingLists(flags) {
|
|
|
273
273
|
return cachedLists() ?? bundled;
|
|
274
274
|
}
|
|
275
275
|
/**
|
|
276
|
-
* Flags → answers (prompting when a prompter is given) → the theme. Shared by the CLI and `queek
|
|
276
|
+
* Flags → answers (prompting when a prompter is given) → the theme. Shared by the CLI and `queek theme init`.
|
|
277
277
|
* With no folder argument, a person at the prompts gets a folder named after the theme's slug (checked
|
|
278
278
|
* with the name, before the next question); a script gets `my-theme`.
|
|
279
279
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usequeek/create-theme",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "npm create @usequeek/theme — start a Queek storefront theme from the official starter.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@clack/prompts": "^1.8.1",
|
|
25
|
-
"@usequeek/theme-check": "^0.
|
|
25
|
+
"@usequeek/theme-check": "^0.7.0",
|
|
26
26
|
"giget": "^3.3.1"
|
|
27
27
|
},
|
|
28
28
|
"keywords": [
|