Repository navigation
Add optional @voxpelli/tsconfig TypeScript setup - #16
Merged
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Add a three-way TypeScript setup choice in the prompt, CLI, and programmatic API:
none: JavaScript sources, without TypeScript configuration or typecheck tooling.vanilla(default): preserve the standalone DOMStack TypeScript configuration.@voxpelli/tsconfig: add the shared-config development dependency and extend@voxpelli/tsconfig/node26.json, retaining DOMStack browser libraries, bundler resolution, JSX options, and no-emit behavior while inheriting the preset strictness checks.Use
--typescript none|vanilla|@voxpelli/tsconfigor the correspondingtypescriptAPI option. Dependency ranges come from the creator manifest; update the shared-config range to ^17.0.0. No upstream DOMStack release is required beyond the existing ^12.1.0 dependency.Source extensions, framework integrations, deployment variable files, and manual setup instructions derive the source language from the selected TypeScript mode. Vanilla remains the default.
Validation
npm testpassed lint, typechecking, and 141 tests against published npm dependencies in a disposable copy.node26.json), reran all three shared-preset registry cases, covering plain, React, Preact, Tailwind, and GitHub Pages base paths: all passed, with three generated-project typechecks and five builds. The other 16 cases were unchanged and not rerun for that adjustment. All validation used published DOMStack 12.1.0 and @voxpelli/tsconfig 17.0.0 without local upstream overrides.