@optimizely/ocp-local-env 1.0.0-beta.9 → 1.0.1
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.
- package/README.md +18 -133
- package/dist/package.json +15 -9
- package/dist/public/bundle.fa87c838198caf8c051a.js +3 -0
- package/dist/public/{bundle.82dc5d29fffb9f205051.js.LICENSE.txt → bundle.fa87c838198caf8c051a.js.LICENSE.txt} +3 -3
- package/dist/public/bundle.fa87c838198caf8c051a.js.map +1 -0
- package/dist/public/index.html +1 -1
- package/dist/src/cli.js +2 -2
- package/dist/src/cli.js.map +1 -1
- package/dist/src/executor/FunctionExecutor.js +8 -5
- package/dist/src/executor/FunctionExecutor.js.map +1 -1
- package/dist/src/executor/JobExecutor.js +0 -17
- package/dist/src/executor/JobExecutor.js.map +1 -1
- package/dist/src/executor/LifecycleExecutor.js +11 -2
- package/dist/src/executor/LifecycleExecutor.js.map +1 -1
- package/dist/src/executor/watcher.d.ts +6 -0
- package/dist/src/executor/watcher.js +45 -0
- package/dist/src/executor/watcher.js.map +1 -1
- package/dist/src/local_engine/LocalJobApi.d.ts +31 -2
- package/dist/src/local_engine/LocalJobApi.js +42 -17
- package/dist/src/local_engine/LocalJobApi.js.map +1 -1
- package/dist/src/local_engine/LocalNotifier.d.ts +3 -2
- package/dist/src/local_engine/LocalNotifier.js +7 -0
- package/dist/src/local_engine/LocalNotifier.js.map +1 -1
- package/dist/src/local_engine/LocalSourceApi.d.ts +40 -0
- package/dist/src/local_engine/LocalSourceApi.js +69 -0
- package/dist/src/local_engine/LocalSourceApi.js.map +1 -0
- package/dist/src/local_engine/local-engine-child-base.d.ts +0 -12
- package/dist/src/local_engine/local-engine-child-base.js +0 -127
- package/dist/src/local_engine/local-engine-child-base.js.map +1 -1
- package/dist/src/local_engine/local-engine-client.d.ts +19 -29
- package/dist/src/local_engine/local-engine-client.js +45 -94
- package/dist/src/local_engine/local-engine-client.js.map +1 -1
- package/dist/src/local_engine/local-engine-types.d.ts +13 -50
- package/dist/src/local_engine/local-engine-unified.d.ts +6 -13
- package/dist/src/local_engine/local-engine-unified.js +108 -222
- package/dist/src/local_engine/local-engine-unified.js.map +1 -1
- package/dist/src/local_engine/localSDKConfig.d.ts +6 -0
- package/dist/src/local_engine/localSDKConfig.js +66 -1
- package/dist/src/local_engine/localSDKConfig.js.map +1 -1
- package/dist/src/local_engine/storage/BaseKVStoreWrapper.d.ts +1 -2
- package/dist/src/local_engine/storage/BaseKVStoreWrapper.js.map +1 -1
- package/dist/src/local_engine/storage/LocalConfigStore.d.ts +7 -13
- package/dist/src/local_engine/storage/LocalConfigStore.js +9 -31
- package/dist/src/local_engine/storage/LocalConfigStore.js.map +1 -1
- package/dist/src/local_engine/storage/LocalKVStore.d.ts +4 -0
- package/dist/src/local_engine/storage/LocalKVStore.js +23 -0
- package/dist/src/local_engine/storage/LocalKVStore.js.map +1 -1
- package/dist/src/local_engine/storage/SourceDataStore.d.ts +16 -14
- package/dist/src/local_engine/storage/SourceDataStore.js +57 -57
- package/dist/src/local_engine/storage/SourceDataStore.js.map +1 -1
- package/dist/src/local_engine/utils.d.ts +2 -0
- package/dist/src/local_engine/utils.js +4 -2
- package/dist/src/local_engine/utils.js.map +1 -1
- package/dist/src/server/api/deploy.d.ts +20 -0
- package/dist/src/server/api/deploy.js +399 -0
- package/dist/src/server/api/deploy.js.map +1 -0
- package/dist/src/server/api/destinations.js +1 -1
- package/dist/src/server/api/destinations.js.map +1 -1
- package/dist/src/server/api/env.d.ts +2 -0
- package/dist/src/server/api/env.js +28 -0
- package/dist/src/server/api/env.js.map +1 -0
- package/dist/src/server/api/functions.js +13 -12
- package/dist/src/server/api/functions.js.map +1 -1
- package/dist/src/server/api/opalTools.d.ts +4 -0
- package/dist/src/server/api/opalTools.js +81 -0
- package/dist/src/server/api/opalTools.js.map +1 -0
- package/dist/src/server/api/schema.d.ts +6 -0
- package/dist/src/server/api/schema.js +95 -0
- package/dist/src/server/api/schema.js.map +1 -0
- package/dist/src/server/api/sources.d.ts +1 -2
- package/dist/src/server/api/sources.js +16 -275
- package/dist/src/server/api/sources.js.map +1 -1
- package/dist/src/server/api/v1.js +63 -55
- package/dist/src/server/api/v1.js.map +1 -1
- package/dist/src/server/api.d.ts +4 -0
- package/dist/src/server/api.js +131 -9
- package/dist/src/server/api.js.map +1 -1
- package/dist/src/server/app-discovery.js +37 -4
- package/dist/src/server/app-discovery.js.map +1 -1
- package/dist/src/server/app-env.d.ts +21 -0
- package/dist/src/server/app-env.js +122 -0
- package/dist/src/server/app-env.js.map +1 -0
- package/dist/src/server/browserFocus.d.ts +5 -0
- package/dist/src/server/browserFocus.js +39 -0
- package/dist/src/server/browserFocus.js.map +1 -0
- package/dist/src/server/config.d.ts +3 -0
- package/dist/src/server/config.js +7 -0
- package/dist/src/server/config.js.map +1 -1
- package/dist/src/server/mockDataGenerator.d.ts +1 -2
- package/dist/src/server/mockDataGenerator.js +77 -35
- package/dist/src/server/mockDataGenerator.js.map +1 -1
- package/dist/src/server/mockToolDataGenerator.d.ts +12 -0
- package/dist/src/server/mockToolDataGenerator.js +393 -0
- package/dist/src/server/mockToolDataGenerator.js.map +1 -0
- package/dist/src/server.js +152 -168
- package/dist/src/server.js.map +1 -1
- package/dist/src/types/app.d.ts +1 -3
- package/dist/src/types/app.js.map +1 -1
- package/dist/src/ui/components/App.js +303 -47
- package/dist/src/ui/components/App.js.map +1 -1
- package/dist/src/ui/components/DeployModal.d.ts +16 -0
- package/dist/src/ui/components/DeployModal.js +75 -0
- package/dist/src/ui/components/DeployModal.js.map +1 -0
- package/dist/src/ui/components/DestinationBatchEditor.d.ts +9 -1
- package/dist/src/ui/components/DestinationBatchEditor.js +12 -4
- package/dist/src/ui/components/DestinationBatchEditor.js.map +1 -1
- package/dist/src/ui/components/DestinationsView.js +5 -1
- package/dist/src/ui/components/DestinationsView.js.map +1 -1
- package/dist/src/ui/components/EntityNotAvailable.d.ts +15 -0
- package/dist/src/ui/components/EntityNotAvailable.js +27 -0
- package/dist/src/ui/components/EntityNotAvailable.js.map +1 -0
- package/dist/src/ui/components/EnvViewer.d.ts +8 -0
- package/dist/src/ui/components/EnvViewer.js +35 -0
- package/dist/src/ui/components/EnvViewer.js.map +1 -0
- package/dist/src/ui/components/FunctionsView.d.ts +2 -6
- package/dist/src/ui/components/FunctionsView.js +52 -75
- package/dist/src/ui/components/FunctionsView.js.map +1 -1
- package/dist/src/ui/components/JobsView.js +4 -4
- package/dist/src/ui/components/JobsView.js.map +1 -1
- package/dist/src/ui/components/KVStoreViewer.js +5 -5
- package/dist/src/ui/components/KVStoreViewer.js.map +1 -1
- package/dist/src/ui/components/KeyValueEditor.d.ts +15 -0
- package/dist/src/ui/components/KeyValueEditor.js +12 -0
- package/dist/src/ui/components/KeyValueEditor.js.map +1 -0
- package/dist/src/ui/components/NotificationViewer.d.ts +2 -11
- package/dist/src/ui/components/NotificationViewer.js +69 -15
- package/dist/src/ui/components/NotificationViewer.js.map +1 -1
- package/dist/src/ui/components/OdpSchemaView.d.ts +3 -0
- package/dist/src/ui/components/OdpSchemaView.js +58 -0
- package/dist/src/ui/components/OdpSchemaView.js.map +1 -0
- package/dist/src/ui/components/OpalToolsView.d.ts +9 -0
- package/dist/src/ui/components/OpalToolsView.js +399 -0
- package/dist/src/ui/components/OpalToolsView.js.map +1 -0
- package/dist/src/ui/components/ResponseViewer.d.ts +39 -0
- package/dist/src/ui/components/ResponseViewer.js +43 -0
- package/dist/src/ui/components/ResponseViewer.js.map +1 -0
- package/dist/src/ui/components/SecretsStoreViewer.js +3 -2
- package/dist/src/ui/components/SecretsStoreViewer.js.map +1 -1
- package/dist/src/ui/components/SettingsStoreViewer.js +3 -2
- package/dist/src/ui/components/SettingsStoreViewer.js.map +1 -1
- package/dist/src/ui/components/SourceEmittedDataPanel.d.ts +8 -0
- package/dist/src/ui/components/SourceEmittedDataPanel.js +103 -0
- package/dist/src/ui/components/SourceEmittedDataPanel.js.map +1 -0
- package/dist/src/ui/components/SourcesView.js +4 -8
- package/dist/src/ui/components/SourcesView.js.map +1 -1
- package/dist/src/ui/components/StoreViewer.js +2 -1
- package/dist/src/ui/components/StoreViewer.js.map +1 -1
- package/dist/src/ui/components/TabbedConsole.d.ts +11 -0
- package/dist/src/ui/components/TabbedConsole.js +134 -44
- package/dist/src/ui/components/TabbedConsole.js.map +1 -1
- package/dist/src/ui/components/ToolSettingsView.d.ts +7 -0
- package/dist/src/ui/components/ToolSettingsView.js +25 -0
- package/dist/src/ui/components/ToolSettingsView.js.map +1 -0
- package/dist/src/ui/components/common/EyeIcon.js +2 -1
- package/dist/src/ui/components/common/EyeIcon.js.map +1 -1
- package/dist/src/ui/hooks/useKeyValuePairs.d.ts +52 -0
- package/dist/src/ui/hooks/useKeyValuePairs.js +66 -0
- package/dist/src/ui/hooks/useKeyValuePairs.js.map +1 -0
- package/dist/src/ui/store/formStateSlice.d.ts +19 -2
- package/dist/src/ui/store/formStateSlice.js +69 -4
- package/dist/src/ui/store/formStateSlice.js.map +1 -1
- package/dist/src/ui/types/common.d.ts +33 -0
- package/dist/src/ui/types/common.js +6 -0
- package/dist/src/ui/types/common.js.map +1 -0
- package/package.json +15 -9
- package/dist/public/bundle.82dc5d29fffb9f205051.js +0 -3
- package/dist/public/bundle.82dc5d29fffb9f205051.js.map +0 -1
- package/dist/src/executor/SourceExecutor.d.ts +0 -32
- package/dist/src/executor/SourceExecutor.js +0 -163
- package/dist/src/executor/SourceExecutor.js.map +0 -1
- package/dist/src/local_engine/storage/SourceJobExecutionStore.d.ts +0 -25
- package/dist/src/local_engine/storage/SourceJobExecutionStore.js +0 -61
- package/dist/src/local_engine/storage/SourceJobExecutionStore.js.map +0 -1
- package/dist/src/ui/components/SourceDataViewer.d.ts +0 -8
- package/dist/src/ui/components/SourceDataViewer.js +0 -84
- package/dist/src/ui/components/SourceDataViewer.js.map +0 -1
- package/dist/src/ui/components/SourceJobsSection.d.ts +0 -8
- package/dist/src/ui/components/SourceJobsSection.js +0 -99
- package/dist/src/ui/components/SourceJobsSection.js.map +0 -1
- package/dist/src/ui/components/SourceLifecycleSection.d.ts +0 -7
- package/dist/src/ui/components/SourceLifecycleSection.js +0 -58
- package/dist/src/ui/components/SourceLifecycleSection.js.map +0 -1
- package/dist/src/ui/components/SourceWebhookEditor.d.ts +0 -8
- package/dist/src/ui/components/SourceWebhookEditor.js +0 -181
- package/dist/src/ui/components/SourceWebhookEditor.js.map +0 -1
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ The OCP Local Testing Tool enables developers to build, test, and debug OCP appl
|
|
|
19
19
|
|
|
20
20
|
## Prerequisites
|
|
21
21
|
|
|
22
|
-
- Node.js
|
|
22
|
+
- Node.js v18 or later
|
|
23
23
|
- Yarn or npm
|
|
24
24
|
- Modern web browser (Chrome, Firefox, Edge, or Safari)
|
|
25
25
|
|
|
@@ -30,158 +30,43 @@ The OCP Local Testing Tool enables developers to build, test, and debug OCP appl
|
|
|
30
30
|
npm install -g @optimizely/ocp-local-env
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
If you run nodeJS with `nvm`, you can just run `ocp-local-env` command in your terminal. You will need to run `npm install -g @optimizely/ocp-local-env` command for every node version you are using.
|
|
34
|
-
|
|
35
|
-
If you are not using `nvm`, you might need to add the output of `npm bin -g` command to your `PATH` environment variable, open you terminal and then run `ocp-local-env` command.
|
|
36
|
-
|
|
37
33
|
## Quick Start
|
|
38
34
|
|
|
39
35
|
1. Navigate to your OCP app directory (containing app.yml)
|
|
40
36
|
2. Run the local testing tool
|
|
37
|
+
|
|
41
38
|
```bash
|
|
42
39
|
ocp-local-env
|
|
43
40
|
```
|
|
44
|
-
3. The tool will automatically open your browser to http://localhost:3000
|
|
45
|
-
4. Start developing and testing your OCP app
|
|
46
|
-
|
|
47
|
-
## Configuration
|
|
48
|
-
|
|
49
|
-
The OCP Local Testing Tool can be configured through environment variables and configuration files.
|
|
50
|
-
|
|
51
|
-
### Environment Variables
|
|
52
|
-
|
|
53
|
-
Create a `.env.local` file in your project root to configure the tool:
|
|
54
|
-
|
|
55
|
-
```bash
|
|
56
|
-
# Copy the example file
|
|
57
|
-
cp .env.example .env.local
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
Available configuration options:
|
|
61
|
-
|
|
62
|
-
- `APP_ROOT_DIR`: Root directory for the OCP app (default: current directory)
|
|
63
|
-
- `OCP_LOCAL_PORT`: Port to run the server on (default: 3000)
|
|
64
|
-
- `OCP_LOCAL_VERBOSE`: Enable verbose logging (default: false)
|
|
65
|
-
|
|
66
|
-
### Command Line Options
|
|
67
|
-
|
|
68
|
-
The `ocp-local-env` command supports several options:
|
|
69
|
-
|
|
70
|
-
```bash
|
|
71
|
-
ocp-local-env [options]
|
|
72
|
-
|
|
73
|
-
Options:
|
|
74
|
-
-p, --port <port> Port to run the server on (default: 3000)
|
|
75
|
-
-c, --config <path> Path to custom config file
|
|
76
|
-
--path <path> Path to the OCP app root directory
|
|
77
|
-
-v, --verbose Enable verbose logging
|
|
78
|
-
--no-open Don't automatically open browser
|
|
79
|
-
-h, --help Display help for command
|
|
80
|
-
```
|
|
81
|
-
|
|
82
|
-
You can also use the explicit `start` command:
|
|
83
|
-
|
|
84
|
-
```bash
|
|
85
|
-
ocp-local-env start [options]
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
### Configuration File
|
|
89
|
-
|
|
90
|
-
You can create a `.ocp-local/config.json` file in your app directory to configure advanced options:
|
|
91
|
-
|
|
92
|
-
```json
|
|
93
|
-
{
|
|
94
|
-
"account": {
|
|
95
|
-
"organizationId": "my-org-123",
|
|
96
|
-
"instanceId": "my-instance-456",
|
|
97
|
-
"trackerId": "my-tracker-id"
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
**Account Configuration Options:**
|
|
103
|
-
|
|
104
|
-
- `organizationId` (optional): Organization ID for the account context (default: `"local-test-org"`)
|
|
105
|
-
- `instanceId` (optional): Instance ID for the account context (default: `"local-test-instance"`)
|
|
106
|
-
- `trackerId` (optional): Tracker ID for the account context (default: `"local-testing-tracker"`)
|
|
107
|
-
|
|
108
|
-
These values are used to populate the `account` object in the AppContext that's available to your app code via the app SDK. This allows you to test your app with different account configurations.
|
|
109
|
-
|
|
110
|
-
### Examples
|
|
111
|
-
|
|
112
|
-
```bash
|
|
113
|
-
# Start with a specific app directory
|
|
114
|
-
ocp-local-env --path /path/to/my-ocp-app
|
|
115
41
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
# Enable verbose logging
|
|
120
|
-
ocp-local-env --verbose
|
|
121
|
-
|
|
122
|
-
# Don't open browser automatically
|
|
123
|
-
ocp-local-env --no-open
|
|
124
|
-
|
|
125
|
-
# Combine options
|
|
126
|
-
ocp-local-env --path /path/to/my-ocp-app --port 8080 --verbose
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
## Documentation
|
|
130
|
-
|
|
131
|
-
For detailed documentation, see the following guides:
|
|
132
|
-
|
|
133
|
-
- [Design Document](docs/design-document.md) - Overall architecture and design
|
|
134
|
-
- [Technical Specifications](docs/technical-specifications.md) - Detailed implementation specifications
|
|
135
|
-
- [Usage Guide](docs/usage-guide.md) - How to use the OCP Local Testing Tool
|
|
136
|
-
- [Project Structure](docs/project-structure.md) - Code organization and architecture
|
|
137
|
-
- [Implementation Plan](docs/implementation-plan.md) - Phased approach to building the tool
|
|
42
|
+
3. The tool will automatically open your browser to <http://localhost:3000>
|
|
43
|
+
4. Start developing and testing your OCP app
|
|
138
44
|
|
|
139
45
|
## Development
|
|
140
46
|
|
|
141
|
-
###
|
|
47
|
+
### Running Tests
|
|
142
48
|
|
|
143
49
|
```bash
|
|
144
|
-
#
|
|
145
|
-
|
|
146
|
-
cd ocp-local-env
|
|
50
|
+
# Run unit tests
|
|
51
|
+
yarn test
|
|
147
52
|
|
|
148
|
-
#
|
|
149
|
-
|
|
53
|
+
# Run E2E tests (requires setup first)
|
|
54
|
+
yarn test:e2e:setup # Clone test app and install dependencies
|
|
55
|
+
yarn test:e2e # Run Playwright tests
|
|
150
56
|
|
|
151
|
-
#
|
|
152
|
-
yarn
|
|
153
|
-
|
|
154
|
-
# Build the project
|
|
155
|
-
yarn build
|
|
156
|
-
|
|
157
|
-
# Start the development server
|
|
158
|
-
yarn dev
|
|
57
|
+
# E2E test options
|
|
58
|
+
yarn test:e2e:ui # Run with Playwright UI
|
|
59
|
+
yarn test:e2e:debug # Run in debug mode
|
|
159
60
|
```
|
|
160
61
|
|
|
161
|
-
###
|
|
162
|
-
|
|
163
|
-
The project follows a modular structure with clear separation of concerns:
|
|
62
|
+
### E2E Test App
|
|
164
63
|
|
|
165
|
-
- `
|
|
166
|
-
- `src/ui`: React-based user interface
|
|
167
|
-
- `src/executor`: Code execution and file watching
|
|
168
|
-
- `docs`: Documentation files
|
|
64
|
+
E2E tests use a real OCP app (`hub-shakedown`) to test the local testing tool. The app is cloned into `e2e/apps/` during setup. You can specify a different test app using the `E2E_TEST_APP` environment variable.
|
|
169
65
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
## Contributing
|
|
173
|
-
|
|
174
|
-
Contributions are welcome! Please read the [Contributing Guide](CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests.
|
|
175
|
-
|
|
176
|
-
## License
|
|
66
|
+
## Documentation
|
|
177
67
|
|
|
178
|
-
|
|
68
|
+
https://docs.developers.optimizely.com/optimizely-connect-platform/docs/local-testing#/versions
|
|
179
69
|
|
|
180
70
|
## Support
|
|
181
71
|
|
|
182
|
-
For support, please create an issue on the [GitHub repository](https://github.com/optimizely/ocp-
|
|
183
|
-
|
|
184
|
-
## Acknowledgements
|
|
185
|
-
|
|
186
|
-
- Optimizely Connect Platform Team
|
|
187
|
-
- OCP App Developers Community
|
|
72
|
+
For support, please create an issue on the [GitHub repository](https://github.com/optimizely/ocp-developer-feedback/issues/new/choose) or contact the Optimizely Connect Platform team.
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optimizely/ocp-local-env",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Local testing environment for Optimizely Connect Platform (OCP) applications",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -12,11 +12,15 @@
|
|
|
12
12
|
],
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsc && webpack --mode production",
|
|
15
|
-
"dev": "concurrently \"tsc --watch\" \"webpack --mode development --watch\" \"nodemon dist/src/server.js\"",
|
|
15
|
+
"dev": "concurrently \"tsc --watch\" \"webpack --mode development --watch\" \"OCP_LOCAL_OPEN_BROWSER=false nodemon dist/src/server.js\"",
|
|
16
16
|
"dev:server": "tsc --watch && nodemon dist/src/server.js",
|
|
17
17
|
"dev:ui": "webpack --mode development --watch",
|
|
18
18
|
"start": "node dist/src/server.js",
|
|
19
19
|
"test": "jest",
|
|
20
|
+
"test:e2e": "playwright test",
|
|
21
|
+
"test:e2e:setup": "node scripts/setup-e2e-apps.js",
|
|
22
|
+
"test:e2e:ui": "playwright test --ui",
|
|
23
|
+
"test:e2e:debug": "playwright test --debug",
|
|
20
24
|
"lint": "npx eslint 'src/**'",
|
|
21
25
|
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
22
26
|
"prepare": "npm run build",
|
|
@@ -42,8 +46,6 @@
|
|
|
42
46
|
"dependencies": {
|
|
43
47
|
"@faker-js/faker": "^10.1.0",
|
|
44
48
|
"@reduxjs/toolkit": "^2.11.0",
|
|
45
|
-
"@zaiusinc/app-sdk": "^2.3.0",
|
|
46
|
-
"@zaiusinc/node-sdk": "^2.0.0",
|
|
47
49
|
"chalk": "^4.1.2",
|
|
48
50
|
"chokidar": "^3.5.3",
|
|
49
51
|
"commander": "^9.4.1",
|
|
@@ -56,9 +58,12 @@
|
|
|
56
58
|
"react-dom": ">=17.0.0",
|
|
57
59
|
"react-redux": "^9.2.0",
|
|
58
60
|
"react-router-dom": "^6.28.0",
|
|
61
|
+
"semver": "^7.7.4",
|
|
59
62
|
"uuid": "^9.0.0"
|
|
60
63
|
},
|
|
61
64
|
"devDependencies": {
|
|
65
|
+
"@optimizely/axiom-icons": "^1.13.1",
|
|
66
|
+
"@playwright/test": "^1.40.0",
|
|
62
67
|
"@testing-library/dom": "^10.4.1",
|
|
63
68
|
"@testing-library/jest-dom": "^6.9.1",
|
|
64
69
|
"@testing-library/react": "^16.3.0",
|
|
@@ -69,24 +74,25 @@
|
|
|
69
74
|
"@types/node": "^18.19.122",
|
|
70
75
|
"@types/react": "^18.3.23",
|
|
71
76
|
"@types/react-dom": "^18.3.7",
|
|
77
|
+
"@types/semver": "^7.7.1",
|
|
72
78
|
"@types/uuid": "^9.0.0",
|
|
73
79
|
"@typescript-eslint/eslint-plugin": "^5.48.0",
|
|
74
80
|
"@typescript-eslint/parser": "^5.48.0",
|
|
75
81
|
"concurrently": "^7.6.0",
|
|
76
82
|
"css-loader": "^6.7.3",
|
|
77
|
-
"eslint": "^
|
|
83
|
+
"eslint": "^9.26.0",
|
|
78
84
|
"eslint-config-prettier": "^8.6.0",
|
|
79
85
|
"eslint-plugin-react": "^7.31.11",
|
|
80
86
|
"html-webpack-plugin": "^5.5.0",
|
|
81
87
|
"husky": "^8.0.3",
|
|
82
88
|
"identity-obj-proxy": "^3.0.0",
|
|
83
89
|
"jest": "^29.3.1",
|
|
84
|
-
"jest-environment-jsdom": "^
|
|
85
|
-
"lint-staged": "^
|
|
90
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
91
|
+
"lint-staged": "^15.2.0",
|
|
86
92
|
"nodemon": "^3.1.10",
|
|
87
93
|
"parse-path": "^7.0.0",
|
|
88
94
|
"prettier": "^2.8.1",
|
|
89
|
-
"release-it": "^
|
|
95
|
+
"release-it": "^17.10.0",
|
|
90
96
|
"style-loader": "^3.3.1",
|
|
91
97
|
"ts-jest": "^29.0.3",
|
|
92
98
|
"ts-loader": "^9.4.2",
|
|
@@ -99,7 +105,7 @@
|
|
|
99
105
|
"react-dom": ">=17.0.0"
|
|
100
106
|
},
|
|
101
107
|
"engines": {
|
|
102
|
-
"node": ">=
|
|
108
|
+
"node": ">=18.0.0"
|
|
103
109
|
},
|
|
104
110
|
"lint-staged": {
|
|
105
111
|
"*.{ts,tsx}": [
|