@bensandee/tooling 0.27.1 → 0.28.1

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.mts CHANGED
@@ -24,18 +24,17 @@ type PackageJson = z.infer<typeof PackageJsonSchema>;
24
24
  //#region src/types.d.ts
25
25
  type CiPlatform = "github" | "forgejo" | "none";
26
26
  type ReleaseStrategy = "release-it" | "simple" | "changesets" | "none";
27
+ type Formatter = "oxfmt" | "prettier";
27
28
  /** User's answers from the interactive prompt or CLI flags. */
28
29
  interface ProjectConfig {
29
30
  /** Project name (from package.json name or user input) */
30
31
  name: string;
31
- /** Whether this is a new project or existing */
32
- isNew: boolean;
33
32
  /** Project structure */
34
33
  structure: "single" | "monorepo";
35
34
  /** Include @bensandee/eslint-plugin oxlint plugin */
36
35
  useEslintPlugin: boolean;
37
36
  /** Formatter choice */
38
- formatter: "oxfmt" | "prettier";
37
+ formatter: Formatter;
39
38
  /** Set up vitest with a starter test */
40
39
  setupVitest: boolean;
41
40
  /** CI platform choice */
@@ -100,6 +99,8 @@ interface DetectedProjectState {
100
99
  hasChangesetsConfig: boolean;
101
100
  /** Whether package.json has a repository field (needed for release workflows) */
102
101
  hasRepositoryField: boolean;
102
+ /** Whether commit-and-tag-version is in root devDependencies (required for simple release strategy) */
103
+ hasCommitAndTagVersion: boolean;
103
104
  /** Legacy tooling configs found */
104
105
  legacyConfigs: LegacyConfig[];
105
106
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bensandee/tooling",
3
- "version": "0.27.1",
3
+ "version": "0.28.1",
4
4
  "description": "CLI tool to bootstrap and maintain standardized TypeScript project tooling",
5
5
  "bin": {
6
6
  "bst": "./dist/bin.mjs"
@@ -57,10 +57,6 @@
57
57
  "description": "Auto-detect project types for monorepo packages",
58
58
  "type": "boolean"
59
59
  },
60
- "setupDocker": {
61
- "description": "Generate Docker build/check scripts",
62
- "type": "boolean"
63
- },
64
60
  "docker": {
65
61
  "description": "Docker package overrides (package name → config)",
66
62
  "type": "object",