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 b8f5ac1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
{
"packages": ["build/packages/*", "build/packages/nx/native-packages/*"],
"version": "16.8.0-beta.7",
"granularPathspec": false,
"command": {
"publish": {
"graphType": "all"
}
}
}
{"packages":["build/packages/*","build/packages/nx/native-packages/*"],"version":"16.7.4","granularPathspec":false,"command":{"publish":{"graphType":"all"}}}
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 b8f5ac1

Please sign in to comment.