Skip to content

Commit

Permalink
feat: upgrade to Nx 19.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benpsnyder committed Sep 24, 2024
1 parent 3db6911 commit f214910
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 27 deletions.
2 changes: 2 additions & 0 deletions apps/app/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import analog from '@analogjs/platform';
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
import { visualizer } from 'rollup-plugin-visualizer';
import { type Plugin, defineConfig, splitVendorChunkPlugin } from 'vite';
import tsconfigPaths from 'vite-tsconfig-paths';

// https://vitejs.dev/config/
export default defineConfig(({ mode }) => {
Expand Down Expand Up @@ -37,6 +38,7 @@ export default defineConfig(({ mode }) => {
},
},
plugins: [
tsconfigPaths(),
{
name: 'custom-url-and-date-replacer', // replaced @rollup/plugin-replace given compatability issues with latest vite
transform(code, id) {
Expand Down
Binary file modified bun.lockb
Binary file not shown.
37 changes: 15 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
"@ngneat/overview": "^5.1.1",
"@ngneat/until-destroy": "^10.0.0",
"@ngxpert/cmdk": "^1.0.0",
"@nx/angular": "19.6.5",
"@nx/devkit": "19.6.5",
"@nx/plugin": "19.6.5",
"@nx/angular": "19.8.0",
"@nx/devkit": "19.8.0",
"@nx/plugin": "19.8.0",
"@swc/helpers": "0.5.13",
"@testing-library/cypress": "^10.0.2",
"@trpc/client": "10.45.2",
Expand Down Expand Up @@ -118,15 +118,15 @@
"@faker-js/faker": "^9.0.2",
"@ng-icons/lucide": "^26.5.0",
"@ngtools/webpack": "18.0.3",
"@nx/cypress": "19.6.5",
"@nx/eslint": "19.6.5",
"@nx/eslint-plugin": "19.6.5",
"@nx/jest": "19.6.5",
"@nx/js": "19.6.5",
"@nx/storybook": "19.6.5",
"@nx/vite": "19.6.5",
"@nx/web": "19.6.5",
"@nx/workspace": "19.6.5",
"@nx/cypress": "19.8.0",
"@nx/eslint": "19.8.0",
"@nx/eslint-plugin": "19.8.0",
"@nx/jest": "19.8.0",
"@nx/js": "19.8.0",
"@nx/storybook": "19.8.0",
"@nx/vite": "19.8.0",
"@nx/web": "19.8.0",
"@nx/workspace": "19.8.0",
"@rollup/plugin-replace": "^6.0.1",
"@schematics/angular": "18.2.5",
"@semantic-release/changelog": "^6.0.3",
Expand Down Expand Up @@ -166,6 +166,7 @@
"cypress-axe": "^1.5.0",
"cypress-real-events": "^1.13.0",
"drizzle-kit": "0.24.2",
"esbuild": "^0.24.0",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-cypress": "3.5.0",
Expand All @@ -178,7 +179,7 @@
"jsonc-eslint-parser": "^2.4.0",
"lint-staged": "^15.2.10",
"ng-packagr": "18.2.1",
"nx": "19.6.5",
"nx": "19.8.0",
"oxlint": "^0.9.7",
"playwright": "^1.47.2",
"pnpm": "^9.11.0",
Expand Down Expand Up @@ -207,15 +208,7 @@
"vitest": "2.1.1",
"xo": "^0.59.3"
},
"trustedDependencies": [
"core-js",
"@biomejs/biome",
"nx",
"esbuild",
"@swc/core",
"cypress",
"sharp"
],
"trustedDependencies": ["core-js", "@biomejs/biome", "nx", "esbuild", "@swc/core", "cypress", "sharp"],
"readme": "ERROR: No README data found!",
"_id": "[email protected]",
"nx": {
Expand Down
9 changes: 5 additions & 4 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@
"sourceMap": true,
"declaration": false,
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"moduleResolution": "Node",
"esModuleInterop": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"target": "es2015",
"module": "esnext",
"lib": ["es2017", "dom"],
"target": "ESNext",
"module": "ESNext",
"lib": ["es2022", "dom"],
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"baseUrl": ".",
Expand Down
4 changes: 3 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"installCommand": "curl -fsSL https://bun.sh/install | bash && ~/.bun/bin/bun install --frozen-lockfile"
"installCommand": "curl -fsSL https://bun.sh/install | bash && ~/.bun/bin/bun install --frozen-lockfile",
"buildCommand": "bun run build",
"devCommand": "bun nx serve"
}

0 comments on commit f214910

Please sign in to comment.