build(deps): add react-router-dom
Install react-router-dom to support client-side navigation. This is a prerequisite for implementing the multi-step authentication flow and other routed features. Additionally, this commit includes minor copy improvements to the password reset forms for better clarity.
This commit is contained in:
23
node_modules/react-router-dom/LICENSE.md
generated
vendored
Normal file
23
node_modules/react-router-dom/LICENSE.md
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) React Training LLC 2015-2019
|
||||
Copyright (c) Remix Software Inc. 2020-2021
|
||||
Copyright (c) Shopify Inc. 2022-2023
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
6
node_modules/react-router-dom/README.md
generated
vendored
Normal file
6
node_modules/react-router-dom/README.md
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
This package simply re-exports everything from `react-router` to smooth the upgrade path for v6 applications. Once upgraded you can change all of your imports and remove it from your dependencies:
|
||||
|
||||
```diff
|
||||
-import { Routes } from "react-router-dom"
|
||||
+import { Routes } from "react-router"
|
||||
```
|
||||
2
node_modules/react-router-dom/dist/index.d.mts
generated
vendored
Normal file
2
node_modules/react-router-dom/dist/index.d.mts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export { HydratedRouter, RouterProvider, RouterProviderProps } from 'react-router/dom';
|
||||
export * from 'react-router';
|
||||
2
node_modules/react-router-dom/dist/index.d.ts
generated
vendored
Normal file
2
node_modules/react-router-dom/dist/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export { HydratedRouter, RouterProvider, RouterProviderProps } from 'react-router/dom';
|
||||
export * from 'react-router';
|
||||
45
node_modules/react-router-dom/dist/index.js
generated
vendored
Normal file
45
node_modules/react-router-dom/dist/index.js
generated
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* react-router-dom v7.7.1
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/
|
||||
"use strict";
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __export = (target, all) => {
|
||||
for (var name in all)
|
||||
__defProp(target, name, { get: all[name], enumerable: true });
|
||||
};
|
||||
var __copyProps = (to, from, except, desc) => {
|
||||
if (from && typeof from === "object" || typeof from === "function") {
|
||||
for (let key of __getOwnPropNames(from))
|
||||
if (!__hasOwnProp.call(to, key) && key !== except)
|
||||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
||||
}
|
||||
return to;
|
||||
};
|
||||
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
||||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
||||
|
||||
// index.ts
|
||||
var index_exports = {};
|
||||
__export(index_exports, {
|
||||
HydratedRouter: () => import_dom.HydratedRouter,
|
||||
RouterProvider: () => import_dom.RouterProvider
|
||||
});
|
||||
module.exports = __toCommonJS(index_exports);
|
||||
var import_dom = require("react-router/dom");
|
||||
__reExport(index_exports, require("react-router"), module.exports);
|
||||
// Annotate the CommonJS export names for ESM import in node:
|
||||
0 && (module.exports = {
|
||||
HydratedRouter,
|
||||
RouterProvider,
|
||||
...require("react-router")
|
||||
});
|
||||
18
node_modules/react-router-dom/dist/index.mjs
generated
vendored
Normal file
18
node_modules/react-router-dom/dist/index.mjs
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* react-router-dom v7.7.1
|
||||
*
|
||||
* Copyright (c) Remix Software Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE.md file in the root directory of this source tree.
|
||||
*
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
// index.ts
|
||||
import { HydratedRouter, RouterProvider } from "react-router/dom";
|
||||
export * from "react-router";
|
||||
export {
|
||||
HydratedRouter,
|
||||
RouterProvider
|
||||
};
|
||||
82
node_modules/react-router-dom/package.json
generated
vendored
Normal file
82
node_modules/react-router-dom/package.json
generated
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"name": "react-router-dom",
|
||||
"version": "7.7.1",
|
||||
"description": "Declarative routing for React web applications",
|
||||
"keywords": [
|
||||
"react",
|
||||
"router",
|
||||
"route",
|
||||
"routing",
|
||||
"history",
|
||||
"link"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/remix-run/react-router",
|
||||
"directory": "packages/react-router-dom"
|
||||
},
|
||||
"license": "MIT",
|
||||
"author": "Remix Software <hello@remix.run>",
|
||||
"sideEffects": false,
|
||||
"main": "./dist/main.js",
|
||||
"unpkg": "./dist/umd/react-router-dom.production.min.js",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"node": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"module-sync": "./dist/index.mjs",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"import": {
|
||||
"types": "./dist/index.d.mts",
|
||||
"default": "./dist/index.mjs"
|
||||
},
|
||||
"default": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
}
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"wireit": {
|
||||
"build": {
|
||||
"command": "tsup",
|
||||
"files": [
|
||||
"*.ts",
|
||||
"tsconfig.json",
|
||||
"package.json"
|
||||
],
|
||||
"output": [
|
||||
"dist/**"
|
||||
]
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"react-router": "7.7.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"react": "^19.1.0",
|
||||
"react-dom": "^19.1.0",
|
||||
"tsup": "^8.3.0",
|
||||
"typescript": "^5.1.6",
|
||||
"wireit": "0.14.9"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=18",
|
||||
"react-dom": ">=18"
|
||||
},
|
||||
"files": [
|
||||
"dist/",
|
||||
"LICENSE.md",
|
||||
"README.md"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "wireit",
|
||||
"typecheck": "tsc"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user