Skip to content

Commit 63b1a95

Browse files
chore: delete ui-components package (#23950)
* chore: delete ui-components package * add dependency to frontend-shared that was previously provided by ui-components * whoops * fix deps
1 parent bf590eb commit 63b1a95

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+78
-2054
lines changed

.circleci/config.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1732,26 +1732,6 @@ jobs:
17321732
path: /tmp/artifacts
17331733
- store-npm-logs
17341734

1735-
ui-components-integration-tests:
1736-
<<: *defaults
1737-
steps:
1738-
- restore_cached_workspace
1739-
- run:
1740-
command: yarn build-for-tests
1741-
working_directory: packages/ui-components
1742-
- run:
1743-
command: |
1744-
CYPRESS_KONFIG_ENV=production \
1745-
CYPRESS_RECORD_KEY=$MAIN_RECORD_KEY \
1746-
yarn cypress:run --record --parallel --group ui-components
1747-
working_directory: packages/ui-components
1748-
- verify-mocha-results
1749-
- store_test_results:
1750-
path: /tmp/cypress
1751-
- store_artifacts:
1752-
path: /tmp/artifacts
1753-
- store-npm-logs
1754-
17551735
npm-webpack-preprocessor:
17561736
<<: *defaults
17571737
steps:
@@ -2502,10 +2482,6 @@ linux-x64-workflow: &linux-x64-workflow
25022482
context: [test-runner:cypress-record-key, test-runner:percy]
25032483
requires:
25042484
- build
2505-
- ui-components-integration-tests:
2506-
context: test-runner:cypress-record-key
2507-
requires:
2508-
- build
25092485
- npm-webpack-dev-server:
25102486
requires:
25112487
- system-tests-node-modules-install
@@ -2577,7 +2553,6 @@ linux-x64-workflow: &linux-x64-workflow
25772553
- server-integration-tests
25782554
- server-unit-tests
25792555
- test-kitchensink
2580-
- ui-components-integration-tests
25812556
- unit-tests
25822557
- unit-tests-release
25832558
- cli-visual-tests

npm/vite-dev-server/cypress/support/e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
// ***********************************************************
1515

1616
// Import commands.js using ES2015 syntax:
17-
import '@packages/frontend-shared/cypress/e2e/support/e2eSupport'
17+
import '@packages/frontend-shared/cypress/support/e2e'
1818
import './commands'

npm/webpack-dev-server/cypress/support/e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
// ***********************************************************
1515

1616
// Import commands.js using ES2015 syntax:
17-
import '@packages/frontend-shared/cypress/e2e/support/e2eSupport'
17+
import '@packages/frontend-shared/cypress/support/e2e'
1818
import './commands'

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"test-scripts": "mocha -r packages/ts/register --reporter spec 'scripts/unit/**/*spec.js'",
6060
"test-scripts-watch": "yarn test-scripts --watch --watch-extensions 'ts,js'",
6161
"pretest-unit": "yarn ensure-deps",
62-
"test-unit": "lerna exec yarn test-unit --ignore \"'{@packages/{driver,root,static,web-config,net-stubbing,rewriter,ui-components},@cypress/{webpack-dev-server,eslint-plugin-dev}}'\"",
62+
"test-unit": "lerna exec yarn test-unit --ignore \"'{@packages/{driver,root,static,web-config,net-stubbing,rewriter},@cypress/{webpack-dev-server,eslint-plugin-dev}}'\"",
6363
"pretest-watch": "yarn ensure-deps",
6464
"test-watch": "lerna exec yarn test-watch --ignore \"'@packages/{driver,root,static,web-config}'\"",
6565
"type-check": "yarn lerna exec yarn type-check --scope @tooling/system-tests && node scripts/type_check",
@@ -90,7 +90,6 @@
9090
"@octokit/auth-app": "3.6.1",
9191
"@octokit/core": "3.6.0",
9292
"@percy/cli": "1.2.0",
93-
"@percy/cypress": "^3.1.1",
9493
"@semantic-release/changelog": "5.0.1",
9594
"@semantic-release/git": "9.0.0",
9695
"@types/bluebird": "3.5.29",

packages/app/cypress.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default defineConfig({
3030
'just-my-luck',
3131
'combine-properties',
3232
'faker',
33-
'@packages/ui-components/cypress/support/customPercyCommand',
33+
'@packages/frontend-shared/cypress/support/customPercyCommand',
3434
],
3535
},
3636
},

packages/app/cypress/component/support/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { setActivePinia } from 'pinia'
2727
import type { Pinia } from 'pinia'
2828
import 'cypress-real-events/support'
2929

30-
import { installCustomPercyCommand } from '@packages/ui-components/cypress/support/customPercyCommand'
30+
import { installCustomPercyCommand } from '@packages/frontend-shared/cypress/support/customPercyCommand'
3131

3232
let pinia: Pinia
3333

packages/app/cypress/e2e/support/e2eSupport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import '@packages/frontend-shared/cypress/e2e/support/e2eSupport'
1+
import '@packages/frontend-shared/cypress/support/e2e'
22
import 'cypress-real-events/support'
33
import './execute-spec'
44

packages/frontend-shared/cypress.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,13 @@ export default defineConfig({
2020
viteConfig: {
2121
optimizeDeps: {
2222
include: [
23-
'@packages/ui-components/cypress/support/customPercyCommand',
23+
'cypress/support/customPercyCommand',
2424
],
2525
},
2626
},
2727
},
2828
},
2929
e2e: {
3030
baseUrl: 'http://localhost:5555',
31-
supportFile: 'cypress/e2e/support/e2eSupport.ts',
3231
},
3332
})

packages/frontend-shared/cypress/e2e/e2ePluginSetup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import path from 'path'
22
import execa from 'execa'
33

4-
import type { CyTaskResult, OpenGlobalModeOptions, RemoteGraphQLInterceptor, ResetOptionsResult, WithCtxInjected, WithCtxOptions } from './support/e2eSupport'
4+
import type { CyTaskResult, OpenGlobalModeOptions, RemoteGraphQLInterceptor, ResetOptionsResult, WithCtxInjected, WithCtxOptions } from '../support/e2e'
55
import { fixtureDirs } from '@tooling/system-tests'
66
// import type { CloudExecuteRemote } from '@packages/data-context/src/sources'
77
import { makeGraphQLServer } from '@packages/graphql/src/makeGraphQLServer'

packages/frontend-shared/cypress/fixtures/config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@
213213
"field": "scrollBehavior"
214214
},
215215
{
216-
"value": "cypress/e2e/support/e2eSupport.ts",
216+
"value": "cypress/support/e2e.ts",
217217
"from": "config",
218218
"field": "supportFile"
219219
},
@@ -290,7 +290,7 @@
290290
"just-my-luck",
291291
"combine-properties",
292292
"faker",
293-
"@packages/ui-components/cypress/support/customPercyCommand"
293+
"cypress/support/customPercyCommand"
294294
]
295295
}
296296
}

0 commit comments

Comments
 (0)