Skip to content

Commit

Permalink
fix(js): change TS standalone preset to generate at the root
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysoo committed Sep 5, 2023
1 parent 99eebfb commit f746fa2
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 @@ -169,7 +169,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 f746fa2

Please sign in to comment.