Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): migrate to community @faker-js/faker #30098

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@cypress-design/vue-icon": "^0.26.0",
"@cypress-design/vue-statusicon": "^0.5.7",
"@cypress-design/vue-tabs": "^0.5.1",
"@faker-js/faker": "5.5.3",
"@graphql-typed-document-node/core": "^3.1.0",
"@headlessui/vue": "1.4.0",
"@iconify-json/mdi": "1.1.63",
Expand All @@ -51,7 +52,6 @@
"dayjs": "^1.9.3",
"disparity": "^3.0.0",
"engine.io-client": "3.5.2",
"faker": "5.5.3",
"fuzzysort": "^1.1.4",
"graphql": "^15.5.1",
"graphql-tag": "^2.12.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/components/FileMatchButton.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Defining emits for "Button.vue" removes the native handler on the
// <button> element. vue-tsc just can't handle this yet.
import FileMatchButton from './FileMatchButton.vue'
import faker from 'faker'
import faker from '@faker-js/faker'
import { ref } from 'vue'
const fileMatchButtonSelector = '[data-cy=file-match-button]'

Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/components/FileMatchIndicator.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import FileMatchIndicator from './FileMatchIndicator.vue'
import faker from 'faker'
import faker from '@faker-js/faker'

faker.seed(1)

Expand Down
2 changes: 1 addition & 1 deletion packages/frontend-shared/cypress/fixtures/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
"vue3-file-selector",
"just-my-luck",
"combine-properties",
"faker",
"@faker-js/faker",
"cypress/support/customPercyCommand"
]
}
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"devDependencies": {
"@antfu/utils": "^0.7.8",
"@cypress-design/css": "^0.13.3",
"@faker-js/faker": "5.5.3",
"@graphql-typed-document-node/core": "^3.1.0",
"@headlessui/vue": "1.4.0",
"@iconify-json/logos": "1.1.42",
Expand Down Expand Up @@ -52,7 +53,6 @@
"cypress-real-events": "1.6.0",
"dayjs": "^1.9.3",
"fake-uuid": "^1.0.0",
"faker": "5.5.3",
"floating-vue": "2.0.0-beta.17",
"fuzzysort": "^1.1.4",
"graphql": "^15.5.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend-shared/script/testStubSpecs.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import JustMyLuck from 'just-my-luck'
import faker from 'faker'
import faker from '@faker-js/faker'
import { template, keys, reduce, templateSettings } from 'lodash'
import dayjs from 'dayjs'
import relativeTime from 'dayjs/plugin/relativeTime'
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend-shared/src/components/Alert.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import CoffeeIcon from '~icons/mdi/coffee'
import LoadingIcon from '~icons/mdi/loading'
import faker from 'faker'
import faker from '@faker-js/faker'
import Alert from './Alert.vue'
import { defaultMessages } from '../locales/i18n'
import { ref } from 'vue'
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend-shared/src/components/Collapsible.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Collapsible from './Collapsible.vue'
import faker from 'faker'
import faker from '@faker-js/faker'

faker.seed(1)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ListRowHeader from './ListRowHeader.vue'
import faker from 'faker'
import faker from '@faker-js/faker'
import { IconFileChangesAdded, IconActionAdd } from '@cypress-design/vue-icon'
import Button from '@cy/components/Button.vue'

Expand Down
2 changes: 1 addition & 1 deletion packages/frontend-shared/src/warning/Warning.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defaultMessages } from '@cy/i18n'
import Warning from './Warning.vue'
import faker from 'faker'
import faker from '@faker-js/faker'
import { ref } from 'vue'

faker.seed(1)
Expand Down
2 changes: 1 addition & 1 deletion packages/launchpad/src/components/code/FileRow.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable no-irregular-whitespace */
import FileRow from './FileRow.vue'
import faker from 'faker'
import faker from '@faker-js/faker'
import { defaultMessages } from '@cy/i18n'

const content = `import { defineConfig } from 'cypress'
Expand Down
2 changes: 1 addition & 1 deletion packages/launchpad/src/warning/WarningList.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { WarningListFragmentDoc } from '../generated/graphql-test'
import WarningList from './WarningList.vue'
import faker from 'faker'
import faker from '@faker-js/faker'
import { defaultMessages } from '@cy/i18n'
import { WarningList_RemoveWarningDocument } from '../generated/graphql'

Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3607,6 +3607,11 @@
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.57.0.tgz#a5417ae8427873f1dd08b70b3574b453e67b5f7f"
integrity sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==

"@faker-js/[email protected]":
version "5.5.3"
resolved "https://registry.yarnpkg.com/@faker-js/faker/-/faker-5.5.3.tgz#18e3af6b8eae7984072bbeb0c0858474d7c4cefe"
integrity sha512-R11tGE6yIFwqpaIqcfkcg7AICXzFg14+5h5v0TfF/9+RMDL6jhzCy/pxHVOfbALGdtVYdt6JdR21tuxEgl34dw==

"@fellow/coffeelint2@^2.2.3":
version "2.2.6"
resolved "https://registry.yarnpkg.com/@fellow/coffeelint2/-/coffeelint2-2.2.6.tgz#df7ff93baed710931a0d6b8e7adb25ec089a5011"
Expand Down Expand Up @@ -16071,11 +16076,6 @@ fake-uuid@^1.0.0:
resolved "https://registry.yarnpkg.com/fake-uuid/-/fake-uuid-1.0.0.tgz#7d570548f188ea5e5f4cf0d742a8b2d19b468412"
integrity sha512-EK0o9XKlJNhW01NkMRb+9mxXe6b9vxu/jXc3XRxbCwZpFPcT3ZcEsRG8cu0IgpIU8iiRmaYBLJBMViPZVOwnmQ==

[email protected]:
version "5.5.3"
resolved "https://registry.yarnpkg.com/faker/-/faker-5.5.3.tgz#c57974ee484431b25205c2c8dc09fda861e51e0e"
integrity sha512-wLTv2a28wjUyWkbnX7u/ABZBkUkIF2fCd73V6P2oFqEGEktDfzWx4UxrSqtPRw0xPRAcjeAOIiJWqZm3pP4u3g==

fancy-log@^1.3.2:
version "1.3.3"
resolved "https://registry.yarnpkg.com/fancy-log/-/fancy-log-1.3.3.tgz#dbc19154f558690150a23953a0adbd035be45fc7"
Expand Down