Skip to content

Commit ce172d8

Browse files
authored
fix(js): change TS standalone preset to generate at the root (#19003)
1 parent 37a0f7b commit ce172d8

File tree

1 file changed

+1
-1
lines changed
  • packages/workspace/src/generators/preset

1 file changed

+1
-1
lines changed

packages/workspace/src/generators/preset/preset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ async function createPreset(tree: Tree, options: Schema) {
163163
const { libraryGenerator } = require('@nx' + '/js');
164164
return libraryGenerator(tree, {
165165
name: options.name,
166-
directory: join('packages', options.name),
166+
directory: '.',
167167
projectNameAndRootFormat: 'as-provided',
168168
bundler: 'tsc',
169169
unitTestRunner: 'vitest',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy