Skip to content

Commit

Permalink
Don't use yarn.lock so that we don't have to update the example proje…
Browse files Browse the repository at this point in the history
…ct for the vercel deployment to be successfull
  • Loading branch information
garronej committed Feb 2, 2024
1 parent 65f71a0 commit 91428aa
Show file tree
Hide file tree
Showing 6 changed files with 813 additions and 819 deletions.
34 changes: 17 additions & 17 deletions examples/react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@
"preview": "vite preview"
},
"dependencies": {
"oidc-spa": "lastest",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.1",
"zod": "^3.22.4"
"oidc-spa": "latest",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-router-dom": "6.22.0",
"zod": "3.22.4"
},
"devDependencies": {
"@types/react": "^18.2.46",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.56.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"typescript": "^5.3.3",
"vite": "^5.0.10",
"vite-tsconfig-paths": "^4.2.3",
"vite-plugin-commonjs": "^0.10.1"
"@types/react": "18.2.51",
"@types/react-dom": "18.2.18",
"@typescript-eslint/eslint-plugin": "6.20.0",
"@typescript-eslint/parser": "6.20.0",
"@vitejs/plugin-react": "4.2.1",
"eslint": "8.56.0",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-react-refresh": "0.4.5",
"typescript": "5.3.3",
"vite": "5.0.12",
"vite-tsconfig-paths": "4.3.1",
"vite-plugin-commonjs": "0.10.1"
}
}
4 changes: 4 additions & 0 deletions examples/react-router/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
// This enables absolute imports like `import { useOidc } from "oidc";`
// instead of `import { useOidc } from "../../oidc";`
import tsconfigPaths from "vite-tsconfig-paths";
// NOTE: This plugin is for devlopement purposes (to dynamically link the local version of oidc-spa)
// You don't need this in your project.
import commonjs from "vite-plugin-commonjs";
// https://vitejs.dev/config/
export default defineConfig({
Expand Down
Loading

0 comments on commit 91428aa

Please sign in to comment.