Skip to content

Commit

Permalink
fix(js): change TS standalone preset to generate at the root (#19003)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysoo authored Sep 5, 2023
1 parent 37a0f7b commit ce172d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/workspace/src/generators/preset/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ async function createPreset(tree: Tree, options: Schema) {
const { libraryGenerator } = require('@nx' + '/js');
return libraryGenerator(tree, {
name: options.name,
directory: join('packages', options.name),
directory: '.',
projectNameAndRootFormat: 'as-provided',
bundler: 'tsc',
unitTestRunner: 'vitest',
Expand Down

0 comments on commit ce172d8

Please sign in to comment.