create-sprinkles 0.2.3 → 0.2.4

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/bin.mjs CHANGED
@@ -4,6 +4,9 @@ import { createTemplate, runTemplate } from "bingo";
4
4
  import path from "node:path";
5
5
  import { handlebars } from "bingo-handlebars";
6
6
  import { z } from "zod";
7
+ //#region src/metadata.ts
8
+ const NAME = "create-sprinkles";
9
+ //#endregion
7
10
  //#region src/context.ts
8
11
  function buildContext(opts) {
9
12
  const isSPA = opts.kind === "react-router-spa";
@@ -176,9 +179,6 @@ var template_default = createTemplate({
176
179
  }
177
180
  });
178
181
  //#endregion
179
- //#region src/index.ts
180
- const NAME = "create-sprinkles";
181
- //#endregion
182
182
  //#region bin/index.ts
183
183
  prompts.intro(NAME);
184
184
  const directory = await prompts.text({
package/dist/index.d.mts CHANGED
@@ -40,7 +40,4 @@ interface TemplateContext extends Options {
40
40
  }
41
41
  declare function buildContext(opts: Options): TemplateContext;
42
42
  //#endregion
43
- //#region src/index.d.ts
44
- declare const NAME = "create-sprinkles";
45
- //#endregion
46
- export { NAME, type TemplateContext, buildContext, options, _default as template };
43
+ export { type TemplateContext, buildContext, options, _default as template };
package/dist/index.mjs CHANGED
@@ -20,6 +20,9 @@ function buildContext(opts) {
20
20
  };
21
21
  }
22
22
  //#endregion
23
+ //#region src/metadata.ts
24
+ const NAME = "create-sprinkles";
25
+ //#endregion
23
26
  //#region src/merge.ts
24
27
  function isDirectory(value) {
25
28
  return typeof value === "object" && value !== null && !Array.isArray(value);
@@ -174,7 +177,4 @@ var template_default = createTemplate({
174
177
  }
175
178
  });
176
179
  //#endregion
177
- //#region src/index.ts
178
- const NAME = "create-sprinkles";
179
- //#endregion
180
- export { NAME, buildContext, options, template_default as template };
180
+ export { buildContext, options, template_default as template };
package/package.json CHANGED
@@ -1,45 +1,54 @@
1
1
  {
2
- "name": "create-sprinkles",
3
- "version": "0.2.3",
4
- "description": "Get started with development by creating projects from templates quickly.",
5
- "homepage": "https://github.com/withsprinkles/workbench#readme",
6
- "bugs": {
7
- "url": "https://github.com/withsprinkles/workbench/issues"
8
- },
9
- "license": "MIT",
10
- "author": "Mark Malstrom <mark@malstrom.me>",
11
- "repository": {
12
- "type": "git",
13
- "url": "git+https://github.com/withsprinkles/workbench.git"
14
- },
15
- "bin": {
16
- "create-sprinkles": "dist/bin.mjs"
17
- },
18
- "files": [
19
- "dist",
20
- "templates"
21
- ],
22
- "type": "module",
23
- "types": "./dist/index.d.mts",
24
- "exports": {
25
- ".": "./dist/index.mjs",
26
- "./package.json": "./package.json"
27
- },
28
- "dependencies": {
29
- "@bomb.sh/args": "^0.3.1",
30
- "@clack/prompts": "^1.1.0",
31
- "bingo": "^0.9.2",
32
- "bingo-fs": "^0.5.6",
33
- "bingo-handlebars": "^0.1.0",
34
- "zod": "^3.25.76"
35
- },
36
- "devDependencies": {
37
- "@types/node": "^25.3.5",
38
- "@typescript/native-preview": "latest",
39
- "bingo-testers": "^0.5.8",
40
- "bumpp": "^10.4.1",
41
- "vite-plus": "latest",
42
- "vitest": "npm:@voidzero-dev/vite-plus-test@latest"
43
- },
44
- "scripts": {}
45
- }
2
+ "name": "create-sprinkles",
3
+ "version": "0.2.4",
4
+ "description": "Get started with development by creating projects from templates quickly.",
5
+ "homepage": "https://github.com/withsprinkles/create-sprinkles#readme",
6
+ "bugs": {
7
+ "url": "https://github.com/withsprinkles/create-sprinkles/issues"
8
+ },
9
+ "license": "MIT",
10
+ "author": "Mark Malstrom <mark@malstrom.me>",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/withsprinkles/create-sprinkles.git"
14
+ },
15
+ "bin": {
16
+ "create-sprinkles": "dist/bin.mjs"
17
+ },
18
+ "files": [
19
+ "dist",
20
+ "templates"
21
+ ],
22
+ "type": "module",
23
+ "types": "./dist/index.d.mts",
24
+ "exports": {
25
+ ".": "./dist/index.mjs",
26
+ "./package.json": "./package.json"
27
+ },
28
+ "scripts": {
29
+ "prepublishOnly": "vp run build"
30
+ },
31
+ "dependencies": {
32
+ "@bomb.sh/args": "^0.3.1",
33
+ "@clack/prompts": "^1.1.0",
34
+ "bingo": "^0.9.2",
35
+ "bingo-fs": "^0.5.6",
36
+ "bingo-handlebars": "^0.1.0",
37
+ "zod": "^3.25.76"
38
+ },
39
+ "devDependencies": {
40
+ "@types/node": "^25.3.5",
41
+ "@typescript/native-preview": "latest",
42
+ "bingo-testers": "^0.5.8",
43
+ "bumpp": "^10.4.1",
44
+ "vite-plus": "latest",
45
+ "vitest": "npm:@voidzero-dev/vite-plus-test@latest"
46
+ },
47
+ "packageManager": "pnpm@10.32.1",
48
+ "pnpm": {
49
+ "overrides": {
50
+ "vite": "npm:@voidzero-dev/vite-plus-core@latest",
51
+ "vitest": "npm:@voidzero-dev/vite-plus-test@latest"
52
+ }
53
+ }
54
+ }