Skip to content

Commit

Permalink
fix(utilities): missing typings
Browse files Browse the repository at this point in the history
  • Loading branch information
julianpoemp committed Nov 24, 2023
1 parent 1751c9f commit 5cefe60
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion libs/utilities/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
/// <reference types="vitest" />
import { defineConfig } from 'vite';
import dts from 'vite-plugin-dts';
import * as path from 'path';
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';

export default defineConfig({
cacheDir: '../node_modules/.vite/utilities',

plugins: [],
plugins: [
dts({
entryRoot: 'src',
tsConfigFilePath: path.join(__dirname, 'tsconfig.lib.json'),
skipDiagnostics: true,
}),
nxViteTsPaths(),
],

// Uncomment this if you are using workers.
// worker: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"release:lib:ngx-utilities": "nx build ngx-utilities && nx run ngx-utilities:version --push",
"publish:lib:ngx-utilities": "nx build ngx-utilities && nx npm ngx-utilities",
"release:lib:utilities": "node runner.js build:lib utilities && nx run utilities:version --push",
"publish:lib:utilities": "node runner.js build:lib && nx npm utilities",
"publish:lib:utilities": "node runner.js build:lib utilities && nx npm utilities",
"release:lib:web-media": "nx bundle web-media && nx run web-media:version --push",
"publish:lib:web-media": "nx bundle web-media && nx npm web-media",
"analyze:octra": "nx build --configuration production --stats-json && webpack-bundle-analyzer dist/apps/octra/stats.json",
Expand Down

0 comments on commit 5cefe60

Please sign in to comment.