nx version fixed to before and path (#1135)

This commit is contained in:
BFlat authored and GitHub committed 2026-03-12 14:29:52 +07:00
1 parent fc81854b99
commit e7d1d796e1
6 files changed
+808 -4825

No files matched your search

@@ -1,7 +1,7 @@
/// <reference types='vitest' />
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import tsconfigPaths from 'vite-tsconfig-paths';
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
import { execSync } from 'child_process';
import path from 'path';
@@ -42,7 +42,7 @@ export default defineConfig(() => ({
port: 4300,
host: 'localhost',
},
plugins: [generateNewsPlugin(), tsconfigPaths(), react()],
plugins: [generateNewsPlugin(), nxViteTsPaths(), react()],
// Uncomment this if you are using workers.
// worker: {
// plugins: [ nxViteTsPaths() ],
+2 -2
View File
@@ -1,5 +1,5 @@
import { defineConfig, loadEnv } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";
import { nxViteTsPaths } from "@nx/vite/plugins/nx-tsconfig-paths.plugin";
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), "");
@@ -7,6 +7,6 @@ export default defineConfig(({ mode }) => {
return {
// no Remix Vite plugin here
plugins: [tsconfigPaths()],
plugins: [nxViteTsPaths()],
};
});
+2 -2
View File
@@ -1,5 +1,5 @@
import { defineConfig, type Plugin } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";
import { nxViteTsPaths } from "@nx/vite/plugins/nx-tsconfig-paths.plugin";
import path from "path";
import { resolve } from "node:path";
import wasm from "vite-plugin-wasm";
@@ -56,7 +56,7 @@ export default defineConfig({
},
},
},
plugins: [sparkWasmDataUrlFix(), tsconfigPaths(), wasm()],
plugins: [sparkWasmDataUrlFix(), nxViteTsPaths(), wasm()],
server: {
fs: {
allow: [workspaceRoot],
+2 -1
View File
@@ -3,7 +3,8 @@
"version": "0.0.1",
"private": true,
"nx": {
"name": "genhub"
"name": "genhub",
"implicitDependencies": ["!artcraft"]
},
"dependencies": {
"@base-ui/react": "^1.2.0",
+795 -4812
View File
File diff suppressed because it is too large. Load diff
+5 -6
View File
@@ -50,8 +50,8 @@
"@netlify/remix-edge-adapter": "^3.4.3",
"@nx/eslint": "21.2.3",
"@nx/eslint-plugin": "21.2.3",
"@nx/js": "22.5.4",
"@nx/next": "^22.5.4",
"@nx/js": "21.2.3",
"@nx/next": "21.2.3",
"@nx/react": "21.2.3",
"@nx/remix": "21.2.3",
"@nx/vite": "21.2.3",
@@ -59,10 +59,9 @@
"@nx/workspace": "21.2.3",
"@remix-run/dev": "^2.15.0",
"@remix-run/node": "^2.16.5",
"@swc-node/register": "~1.11.1",
"@swc/cli": "~0.8.0",
"@swc/core": "~1.15.5",
"@swc/helpers": "~0.5.18",
"@swc-node/register": "~1.9.1",
"@swc/core": "~1.5.7",
"@swc/helpers": "~0.5.11",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.4.2",
"@testing-library/react": "16.1.0",