ru.Bee 1.3.3 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/rubee +36 -4
- data/lib/app/views/app.tsx +27 -0
- data/lib/app/views/apples_.erb +1 -0
- data/lib/app/views/index.html +47 -0
- data/lib/app/views/layout.erb +3 -3
- data/lib/app/views/utils/redirectToBackend.tsx +9 -0
- data/lib/app/views/welcome_show.erb +1 -1
- data/lib/config/base_configuration.rb +9 -0
- data/lib/config/routes.rb +1 -0
- data/lib/esbuild.config.js +33 -0
- data/lib/js/app.js +13 -0
- data/lib/js/app.js.map +7 -0
- data/lib/js/bundle.js +26157 -0
- data/lib/js/bundle.js.map +7 -0
- data/lib/node_modules/@types/cookie/LICENSE +21 -0
- data/lib/node_modules/@types/cookie/README.md +15 -0
- data/lib/node_modules/@types/cookie/index.d.ts +154 -0
- data/lib/node_modules/@types/cookie/package.json +30 -0
- data/lib/node_modules/cookie/LICENSE +24 -0
- data/lib/node_modules/cookie/README.md +248 -0
- data/lib/node_modules/cookie/dist/index.d.ts +114 -0
- data/lib/node_modules/cookie/dist/index.js +239 -0
- data/lib/node_modules/cookie/dist/index.js.map +1 -0
- data/lib/node_modules/cookie/package.json +42 -0
- data/lib/node_modules/js-tokens/CHANGELOG.md +151 -0
- data/lib/node_modules/js-tokens/LICENSE +21 -0
- data/lib/node_modules/js-tokens/README.md +240 -0
- data/lib/node_modules/js-tokens/index.js +23 -0
- data/lib/node_modules/js-tokens/package.json +30 -0
- data/lib/node_modules/loose-envify/LICENSE +21 -0
- data/lib/node_modules/loose-envify/README.md +45 -0
- data/lib/node_modules/loose-envify/cli.js +16 -0
- data/lib/node_modules/loose-envify/custom.js +4 -0
- data/lib/node_modules/loose-envify/index.js +3 -0
- data/lib/node_modules/loose-envify/loose-envify.js +36 -0
- data/lib/node_modules/loose-envify/package.json +36 -0
- data/lib/node_modules/loose-envify/replace.js +65 -0
- data/lib/node_modules/react/LICENSE +21 -0
- data/lib/node_modules/react/README.md +37 -0
- data/lib/node_modules/react/cjs/react-jsx-dev-runtime.development.js +1315 -0
- data/lib/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +10 -0
- data/lib/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +10 -0
- data/lib/node_modules/react/cjs/react-jsx-runtime.development.js +1333 -0
- data/lib/node_modules/react/cjs/react-jsx-runtime.production.min.js +11 -0
- data/lib/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +11 -0
- data/lib/node_modules/react/cjs/react.development.js +2740 -0
- data/lib/node_modules/react/cjs/react.production.min.js +26 -0
- data/lib/node_modules/react/cjs/react.shared-subset.development.js +20 -0
- data/lib/node_modules/react/cjs/react.shared-subset.production.min.js +10 -0
- data/lib/node_modules/react/index.js +7 -0
- data/lib/node_modules/react/jsx-dev-runtime.js +7 -0
- data/lib/node_modules/react/jsx-runtime.js +7 -0
- data/lib/node_modules/react/package.json +47 -0
- data/lib/node_modules/react/react.shared-subset.js +7 -0
- data/lib/node_modules/react/umd/react.development.js +3343 -0
- data/lib/node_modules/react/umd/react.production.min.js +31 -0
- data/lib/node_modules/react/umd/react.profiling.min.js +31 -0
- data/lib/node_modules/react-dom/LICENSE +21 -0
- data/lib/node_modules/react-dom/README.md +60 -0
- data/lib/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +7029 -0
- data/lib/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +93 -0
- data/lib/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js +7093 -0
- data/lib/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js +101 -0
- data/lib/node_modules/react-dom/cjs/react-dom-server.browser.development.js +7014 -0
- data/lib/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +96 -0
- data/lib/node_modules/react-dom/cjs/react-dom-server.node.development.js +7070 -0
- data/lib/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +102 -0
- data/lib/node_modules/react-dom/cjs/react-dom-test-utils.development.js +1763 -0
- data/lib/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +40 -0
- data/lib/node_modules/react-dom/cjs/react-dom.development.js +29923 -0
- data/lib/node_modules/react-dom/cjs/react-dom.production.min.js +322 -0
- data/lib/node_modules/react-dom/cjs/react-dom.profiling.min.js +366 -0
- data/lib/node_modules/react-dom/client.js +25 -0
- data/lib/node_modules/react-dom/index.js +38 -0
- data/lib/node_modules/react-dom/package.json +62 -0
- data/lib/node_modules/react-dom/profiling.js +38 -0
- data/lib/node_modules/react-dom/server.browser.js +17 -0
- data/lib/node_modules/react-dom/server.js +3 -0
- data/lib/node_modules/react-dom/server.node.js +17 -0
- data/lib/node_modules/react-dom/test-utils.js +7 -0
- data/lib/node_modules/react-dom/umd/react-dom-server-legacy.browser.development.js +7026 -0
- data/lib/node_modules/react-dom/umd/react-dom-server-legacy.browser.production.min.js +75 -0
- data/lib/node_modules/react-dom/umd/react-dom-server.browser.development.js +7011 -0
- data/lib/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +76 -0
- data/lib/node_modules/react-dom/umd/react-dom-test-utils.development.js +1759 -0
- data/lib/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +33 -0
- data/lib/node_modules/react-dom/umd/react-dom.development.js +29924 -0
- data/lib/node_modules/react-dom/umd/react-dom.production.min.js +267 -0
- data/lib/node_modules/react-dom/umd/react-dom.profiling.min.js +285 -0
- data/lib/node_modules/react-router/CHANGELOG.md +1526 -0
- data/lib/node_modules/react-router/LICENSE.md +23 -0
- data/lib/node_modules/react-router/README.md +7 -0
- data/lib/node_modules/react-router/dist/development/chunk-KNED5TY2.mjs +10476 -0
- data/lib/node_modules/react-router/dist/development/dom-export.d.mts +23 -0
- data/lib/node_modules/react-router/dist/development/dom-export.d.ts +23 -0
- data/lib/node_modules/react-router/dist/development/dom-export.js +6111 -0
- data/lib/node_modules/react-router/dist/development/dom-export.mjs +234 -0
- data/lib/node_modules/react-router/dist/development/fog-of-war-1hWhK5ey.d.mts +1690 -0
- data/lib/node_modules/react-router/dist/development/fog-of-war-oa9CGk10.d.ts +1690 -0
- data/lib/node_modules/react-router/dist/development/future-ldDp5FKH.d.mts +21 -0
- data/lib/node_modules/react-router/dist/development/future-ldDp5FKH.d.ts +21 -0
- data/lib/node_modules/react-router/dist/development/index.d.mts +841 -0
- data/lib/node_modules/react-router/dist/development/index.d.ts +841 -0
- data/lib/node_modules/react-router/dist/development/index.js +10624 -0
- data/lib/node_modules/react-router/dist/development/index.mjs +242 -0
- data/lib/node_modules/react-router/dist/development/lib/types/route-module.d.mts +209 -0
- data/lib/node_modules/react-router/dist/development/lib/types/route-module.d.ts +209 -0
- data/lib/node_modules/react-router/dist/development/lib/types/route-module.js +28 -0
- data/lib/node_modules/react-router/dist/development/lib/types/route-module.mjs +10 -0
- data/lib/node_modules/react-router/dist/development/route-data-5OzAzQtT.d.mts +1716 -0
- data/lib/node_modules/react-router/dist/development/route-data-5OzAzQtT.d.ts +1716 -0
- data/lib/node_modules/react-router/dist/production/chunk-ZIM7OIE3.mjs +10476 -0
- data/lib/node_modules/react-router/dist/production/dom-export.d.mts +23 -0
- data/lib/node_modules/react-router/dist/production/dom-export.d.ts +23 -0
- data/lib/node_modules/react-router/dist/production/dom-export.js +6111 -0
- data/lib/node_modules/react-router/dist/production/dom-export.mjs +234 -0
- data/lib/node_modules/react-router/dist/production/fog-of-war-1hWhK5ey.d.mts +1690 -0
- data/lib/node_modules/react-router/dist/production/fog-of-war-oa9CGk10.d.ts +1690 -0
- data/lib/node_modules/react-router/dist/production/future-ldDp5FKH.d.mts +21 -0
- data/lib/node_modules/react-router/dist/production/future-ldDp5FKH.d.ts +21 -0
- data/lib/node_modules/react-router/dist/production/index.d.mts +841 -0
- data/lib/node_modules/react-router/dist/production/index.d.ts +841 -0
- data/lib/node_modules/react-router/dist/production/index.js +10624 -0
- data/lib/node_modules/react-router/dist/production/index.mjs +242 -0
- data/lib/node_modules/react-router/dist/production/lib/types/route-module.d.mts +209 -0
- data/lib/node_modules/react-router/dist/production/lib/types/route-module.d.ts +209 -0
- data/lib/node_modules/react-router/dist/production/lib/types/route-module.js +28 -0
- data/lib/node_modules/react-router/dist/production/lib/types/route-module.mjs +10 -0
- data/lib/node_modules/react-router/dist/production/route-data-5OzAzQtT.d.mts +1716 -0
- data/lib/node_modules/react-router/dist/production/route-data-5OzAzQtT.d.ts +1716 -0
- data/lib/node_modules/react-router/package.json +116 -0
- data/lib/node_modules/react-router-dom/LICENSE.md +23 -0
- data/lib/node_modules/react-router-dom/README.md +6 -0
- data/lib/node_modules/react-router-dom/dist/index.d.mts +2 -0
- data/lib/node_modules/react-router-dom/dist/index.d.ts +2 -0
- data/lib/node_modules/react-router-dom/dist/index.js +45 -0
- data/lib/node_modules/react-router-dom/dist/index.mjs +18 -0
- data/lib/node_modules/react-router-dom/package.json +82 -0
- data/lib/node_modules/scheduler/LICENSE +21 -0
- data/lib/node_modules/scheduler/README.md +9 -0
- data/lib/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +700 -0
- data/lib/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +20 -0
- data/lib/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +207 -0
- data/lib/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +14 -0
- data/lib/node_modules/scheduler/cjs/scheduler.development.js +634 -0
- data/lib/node_modules/scheduler/cjs/scheduler.production.min.js +19 -0
- data/lib/node_modules/scheduler/index.js +7 -0
- data/lib/node_modules/scheduler/package.json +36 -0
- data/lib/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +699 -0
- data/lib/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +19 -0
- data/lib/node_modules/scheduler/umd/scheduler.development.js +152 -0
- data/lib/node_modules/scheduler/umd/scheduler.production.min.js +146 -0
- data/lib/node_modules/scheduler/umd/scheduler.profiling.min.js +146 -0
- data/lib/node_modules/scheduler/unstable_mock.js +7 -0
- data/lib/node_modules/scheduler/unstable_post_task.js +7 -0
- data/lib/node_modules/set-cookie-parser/LICENSE +21 -0
- data/lib/node_modules/set-cookie-parser/README.md +202 -0
- data/lib/node_modules/set-cookie-parser/lib/set-cookie.js +224 -0
- data/lib/node_modules/set-cookie-parser/package.json +45 -0
- data/lib/node_modules/turbo-stream/LICENSE +7 -0
- data/lib/node_modules/turbo-stream/README.md +31 -0
- data/lib/node_modules/turbo-stream/dist/flatten.d.ts +2 -0
- data/lib/node_modules/turbo-stream/dist/flatten.js +203 -0
- data/lib/node_modules/turbo-stream/dist/turbo-stream.d.ts +13 -0
- data/lib/node_modules/turbo-stream/dist/turbo-stream.js +207 -0
- data/lib/node_modules/turbo-stream/dist/turbo-stream.mjs +673 -0
- data/lib/node_modules/turbo-stream/dist/unflatten.d.ts +2 -0
- data/lib/node_modules/turbo-stream/dist/unflatten.js +243 -0
- data/lib/node_modules/turbo-stream/dist/utils.d.ts +44 -0
- data/lib/node_modules/turbo-stream/dist/utils.js +55 -0
- data/lib/node_modules/turbo-stream/package.json +50 -0
- data/lib/package-lock.json +133 -0
- data/lib/package.json +12 -0
- data/lib/rubee/controllers/base_controller.rb +14 -0
- data/lib/rubee.rb +100 -21
- data/lib/tests/rubee_generator_test.rb +190 -0
- data/lib/tests/rubeeapp_test.rb +12 -0
- data/lib/tests/test.db +0 -0
- data/lib/tests/user_model_test.rb +5 -0
- data/readme.md +288 -64
- metadata +172 -3
@@ -0,0 +1,116 @@
|
|
1
|
+
{
|
2
|
+
"name": "react-router",
|
3
|
+
"version": "7.5.0",
|
4
|
+
"description": "Declarative routing for React",
|
5
|
+
"keywords": [
|
6
|
+
"react",
|
7
|
+
"router",
|
8
|
+
"route",
|
9
|
+
"routing",
|
10
|
+
"history",
|
11
|
+
"link"
|
12
|
+
],
|
13
|
+
"repository": {
|
14
|
+
"type": "git",
|
15
|
+
"url": "https://github.com/remix-run/react-router",
|
16
|
+
"directory": "packages/react-router"
|
17
|
+
},
|
18
|
+
"license": "MIT",
|
19
|
+
"author": "Remix Software <hello@remix.run>",
|
20
|
+
"sideEffects": false,
|
21
|
+
"types": "./dist/development/index.d.ts",
|
22
|
+
"main": "./dist/development/index.js",
|
23
|
+
"module": "./dist/development/index.mjs",
|
24
|
+
"exports": {
|
25
|
+
".": {
|
26
|
+
"node": {
|
27
|
+
"types": "./dist/development/index.d.ts",
|
28
|
+
"module-sync": "./dist/development/index.mjs",
|
29
|
+
"default": "./dist/development/index.js"
|
30
|
+
},
|
31
|
+
"import": {
|
32
|
+
"types": "./dist/development/index.d.mts",
|
33
|
+
"default": "./dist/development/index.mjs"
|
34
|
+
},
|
35
|
+
"default": {
|
36
|
+
"types": "./dist/development/index.d.ts",
|
37
|
+
"default": "./dist/development/index.js"
|
38
|
+
}
|
39
|
+
},
|
40
|
+
"./route-module": {
|
41
|
+
"import": {
|
42
|
+
"types": "./dist/development/lib/types/route-module.d.mts"
|
43
|
+
},
|
44
|
+
"default": {
|
45
|
+
"types": "./dist/development/lib/types/route-module.d.ts"
|
46
|
+
}
|
47
|
+
},
|
48
|
+
"./dom": {
|
49
|
+
"node": {
|
50
|
+
"types": "./dist/development/dom-export.d.ts",
|
51
|
+
"module-sync": "./dist/development/dom-export.mjs",
|
52
|
+
"default": "./dist/development/dom-export.js"
|
53
|
+
},
|
54
|
+
"import": {
|
55
|
+
"types": "./dist/development/dom-export.d.mts",
|
56
|
+
"default": "./dist/development/dom-export.mjs"
|
57
|
+
},
|
58
|
+
"default": {
|
59
|
+
"types": "./dist/development/dom-export.d.ts",
|
60
|
+
"default": "./dist/development/dom-export.js"
|
61
|
+
}
|
62
|
+
},
|
63
|
+
"./package.json": "./package.json"
|
64
|
+
},
|
65
|
+
"wireit": {
|
66
|
+
"build": {
|
67
|
+
"command": "rimraf dist && tsup",
|
68
|
+
"files": [
|
69
|
+
"lib/**",
|
70
|
+
"*.ts",
|
71
|
+
"tsconfig.json",
|
72
|
+
"package.json"
|
73
|
+
],
|
74
|
+
"output": [
|
75
|
+
"dist/**"
|
76
|
+
]
|
77
|
+
}
|
78
|
+
},
|
79
|
+
"dependencies": {
|
80
|
+
"@types/cookie": "^0.6.0",
|
81
|
+
"cookie": "^1.0.1",
|
82
|
+
"set-cookie-parser": "^2.6.0",
|
83
|
+
"turbo-stream": "2.4.0"
|
84
|
+
},
|
85
|
+
"devDependencies": {
|
86
|
+
"@types/set-cookie-parser": "^2.4.1",
|
87
|
+
"react": "^18.2.0",
|
88
|
+
"react-dom": "^18.2.0",
|
89
|
+
"rimraf": "^6.0.1",
|
90
|
+
"tsup": "^8.3.0",
|
91
|
+
"typescript": "^5.1.6",
|
92
|
+
"wireit": "0.14.9"
|
93
|
+
},
|
94
|
+
"peerDependencies": {
|
95
|
+
"react": ">=18",
|
96
|
+
"react-dom": ">=18"
|
97
|
+
},
|
98
|
+
"peerDependenciesMeta": {
|
99
|
+
"react-dom": {
|
100
|
+
"optional": true
|
101
|
+
}
|
102
|
+
},
|
103
|
+
"files": [
|
104
|
+
"dist/",
|
105
|
+
"CHANGELOG.md",
|
106
|
+
"LICENSE.md",
|
107
|
+
"README.md"
|
108
|
+
],
|
109
|
+
"engines": {
|
110
|
+
"node": ">=20.0.0"
|
111
|
+
},
|
112
|
+
"scripts": {
|
113
|
+
"build": "wireit",
|
114
|
+
"typecheck": "tsc"
|
115
|
+
}
|
116
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) React Training LLC 2015-2019
|
4
|
+
Copyright (c) Remix Software Inc. 2020-2021
|
5
|
+
Copyright (c) Shopify Inc. 2022-2023
|
6
|
+
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
9
|
+
in the Software without restriction, including without limitation the rights
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
12
|
+
furnished to do so, subject to the following conditions:
|
13
|
+
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
15
|
+
copies or substantial portions of the Software.
|
16
|
+
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
23
|
+
SOFTWARE.
|
@@ -0,0 +1,6 @@
|
|
1
|
+
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:
|
2
|
+
|
3
|
+
```diff
|
4
|
+
-import { Routes } from "react-router-dom"
|
5
|
+
+import { Routes } from "react-router"
|
6
|
+
```
|
@@ -0,0 +1,45 @@
|
|
1
|
+
/**
|
2
|
+
* react-router-dom v7.5.0
|
3
|
+
*
|
4
|
+
* Copyright (c) Remix Software Inc.
|
5
|
+
*
|
6
|
+
* This source code is licensed under the MIT license found in the
|
7
|
+
* LICENSE.md file in the root directory of this source tree.
|
8
|
+
*
|
9
|
+
* @license MIT
|
10
|
+
*/
|
11
|
+
"use strict";
|
12
|
+
var __defProp = Object.defineProperty;
|
13
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
14
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
15
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
16
|
+
var __export = (target, all) => {
|
17
|
+
for (var name in all)
|
18
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
19
|
+
};
|
20
|
+
var __copyProps = (to, from, except, desc) => {
|
21
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
22
|
+
for (let key of __getOwnPropNames(from))
|
23
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
24
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
25
|
+
}
|
26
|
+
return to;
|
27
|
+
};
|
28
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
29
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
30
|
+
|
31
|
+
// index.ts
|
32
|
+
var react_router_dom_exports = {};
|
33
|
+
__export(react_router_dom_exports, {
|
34
|
+
HydratedRouter: () => import_dom.HydratedRouter,
|
35
|
+
RouterProvider: () => import_dom.RouterProvider
|
36
|
+
});
|
37
|
+
module.exports = __toCommonJS(react_router_dom_exports);
|
38
|
+
var import_dom = require("react-router/dom");
|
39
|
+
__reExport(react_router_dom_exports, require("react-router"), module.exports);
|
40
|
+
// Annotate the CommonJS export names for ESM import in node:
|
41
|
+
0 && (module.exports = {
|
42
|
+
HydratedRouter,
|
43
|
+
RouterProvider,
|
44
|
+
...require("react-router")
|
45
|
+
});
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/**
|
2
|
+
* react-router-dom v7.5.0
|
3
|
+
*
|
4
|
+
* Copyright (c) Remix Software Inc.
|
5
|
+
*
|
6
|
+
* This source code is licensed under the MIT license found in the
|
7
|
+
* LICENSE.md file in the root directory of this source tree.
|
8
|
+
*
|
9
|
+
* @license MIT
|
10
|
+
*/
|
11
|
+
|
12
|
+
// index.ts
|
13
|
+
import { HydratedRouter, RouterProvider } from "react-router/dom";
|
14
|
+
export * from "react-router";
|
15
|
+
export {
|
16
|
+
HydratedRouter,
|
17
|
+
RouterProvider
|
18
|
+
};
|
@@ -0,0 +1,82 @@
|
|
1
|
+
{
|
2
|
+
"name": "react-router-dom",
|
3
|
+
"version": "7.5.0",
|
4
|
+
"description": "Declarative routing for React web applications",
|
5
|
+
"keywords": [
|
6
|
+
"react",
|
7
|
+
"router",
|
8
|
+
"route",
|
9
|
+
"routing",
|
10
|
+
"history",
|
11
|
+
"link"
|
12
|
+
],
|
13
|
+
"repository": {
|
14
|
+
"type": "git",
|
15
|
+
"url": "https://github.com/remix-run/react-router",
|
16
|
+
"directory": "packages/react-router-dom"
|
17
|
+
},
|
18
|
+
"license": "MIT",
|
19
|
+
"author": "Remix Software <hello@remix.run>",
|
20
|
+
"sideEffects": false,
|
21
|
+
"main": "./dist/main.js",
|
22
|
+
"unpkg": "./dist/umd/react-router-dom.production.min.js",
|
23
|
+
"module": "./dist/index.mjs",
|
24
|
+
"types": "./dist/index.d.ts",
|
25
|
+
"exports": {
|
26
|
+
".": {
|
27
|
+
"node": {
|
28
|
+
"types": "./dist/index.d.ts",
|
29
|
+
"module-sync": "./dist/index.mjs",
|
30
|
+
"default": "./dist/index.js"
|
31
|
+
},
|
32
|
+
"import": {
|
33
|
+
"types": "./dist/index.d.mts",
|
34
|
+
"default": "./dist/index.mjs"
|
35
|
+
},
|
36
|
+
"default": {
|
37
|
+
"types": "./dist/index.d.ts",
|
38
|
+
"default": "./dist/index.js"
|
39
|
+
}
|
40
|
+
},
|
41
|
+
"./package.json": "./package.json"
|
42
|
+
},
|
43
|
+
"wireit": {
|
44
|
+
"build": {
|
45
|
+
"command": "tsup",
|
46
|
+
"files": [
|
47
|
+
"*.ts",
|
48
|
+
"tsconfig.json",
|
49
|
+
"package.json"
|
50
|
+
],
|
51
|
+
"output": [
|
52
|
+
"dist/**"
|
53
|
+
]
|
54
|
+
}
|
55
|
+
},
|
56
|
+
"dependencies": {
|
57
|
+
"react-router": "7.5.0"
|
58
|
+
},
|
59
|
+
"devDependencies": {
|
60
|
+
"react": "^18.2.0",
|
61
|
+
"react-dom": "^18.2.0",
|
62
|
+
"tsup": "^8.3.0",
|
63
|
+
"typescript": "^5.1.6",
|
64
|
+
"wireit": "0.14.9"
|
65
|
+
},
|
66
|
+
"peerDependencies": {
|
67
|
+
"react": ">=18",
|
68
|
+
"react-dom": ">=18"
|
69
|
+
},
|
70
|
+
"files": [
|
71
|
+
"dist/",
|
72
|
+
"LICENSE.md",
|
73
|
+
"README.md"
|
74
|
+
],
|
75
|
+
"engines": {
|
76
|
+
"node": ">=20.0.0"
|
77
|
+
},
|
78
|
+
"scripts": {
|
79
|
+
"build": "wireit",
|
80
|
+
"typecheck": "tsc"
|
81
|
+
}
|
82
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) Facebook, Inc. and its affiliates.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# `scheduler`
|
2
|
+
|
3
|
+
This is a package for cooperative scheduling in a browser environment. It is currently used internally by React, but we plan to make it more generic.
|
4
|
+
|
5
|
+
The public API for this package is not yet finalized.
|
6
|
+
|
7
|
+
### Thanks
|
8
|
+
|
9
|
+
The React team thanks [Anton Podviaznikov](https://podviaznikov.com/) for donating the `scheduler` package name.
|