mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-07 07:20:42 -05:00
refactor: move linting to each lib to enable caching (#24424)
This commit is contained in:
-119
@@ -1,119 +0,0 @@
|
||||
# unignore hidden files
|
||||
!.*
|
||||
|
||||
**/__snapshots__
|
||||
**/_test-output
|
||||
**/build
|
||||
**/cypress/fixtures
|
||||
**/dist
|
||||
**/dist-*
|
||||
**/node_modules
|
||||
**/support/fixtures/*
|
||||
!**/support/fixtures/projects
|
||||
**/support/fixtures/projects/**/_fixtures/*
|
||||
**/support/fixtures/projects/**/static/*
|
||||
**/support/fixtures/projects/**/*.jsx
|
||||
**/support/fixtures/projects/**/fail.js
|
||||
|
||||
system-tests/fixtures/*
|
||||
!system-tests/projects
|
||||
system-tests/projects/**/_fixtures/*
|
||||
system-tests/projects/**/static/*
|
||||
system-tests/projects/**/*.jsx
|
||||
system-tests/projects/**/fail.js
|
||||
system-tests/lib/scaffold/plugins/index.js
|
||||
system-tests/lib/scaffold/support/e2e.js
|
||||
system-tests/lib/scaffold/support/component.js
|
||||
system-tests/lib/scaffold/support/commands.js
|
||||
system-tests/test/support/projects/e2e/cypress/
|
||||
system-tests/projects/e2e/cypress/e2e/stdout_exit_early_failing.cy.js
|
||||
system-tests/projects/e2e/cypress/e2e/typescript_syntax_error.cy.ts
|
||||
system-tests/projects/config-with-ts-syntax-error/**
|
||||
system-tests/projects/config-with-ts-module-error/**
|
||||
system-tests/projects/no-specs-vue-2/**
|
||||
|
||||
|
||||
**/test/fixtures
|
||||
**/vendor
|
||||
|
||||
# cli/types is linted by tslint/dtslint
|
||||
cli/types
|
||||
|
||||
# cli/react, cli/vue, and cli/mount-utils are all copied from dist'd builds
|
||||
cli/react
|
||||
cli/vue
|
||||
cli/vue2
|
||||
cli/mount-utils
|
||||
|
||||
# packages/example is not linted (think about changing this)
|
||||
packages/example
|
||||
|
||||
packages/extension/test/helpers/background.js
|
||||
e2e/stdout_exit_early_failing_spec.js
|
||||
|
||||
npm/webpack-preprocessor/cypress/tests/e2e/compile-error.js
|
||||
npm/webpack-preprocessor/examples/use-babelrc/cypress/e2e/spec.cy.js
|
||||
|
||||
npm/cypress-schematic/src/**/*.js
|
||||
|
||||
**/.projects
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/.vscode
|
||||
**/.history
|
||||
**/.cy
|
||||
**/.git
|
||||
|
||||
/npm/react/bin/*
|
||||
/npm/react/**/coverage
|
||||
**/.next/**
|
||||
/npm/create-cypress-tests/initial-template
|
||||
/npm/create-cypress-tests/**/*.template.*
|
||||
|
||||
# The global eslint configuration is not set up to parse vue@2 files
|
||||
/npm/vue2/**/*.vue
|
||||
|
||||
npm/grep/cypress
|
||||
|
||||
packages/data-context/test/unit/codegen/files
|
||||
packages/config/test/__fixtures__/**/*
|
||||
packages/config/test/__babel_fixtures__/**/*
|
||||
|
||||
# community templates we test against, no need to lint
|
||||
system-tests/projects/cra-4/**/*
|
||||
system-tests/projects/cra-5/**/*
|
||||
system-tests/projects/cra-ejected/**/*
|
||||
system-tests/projects/create-react-app-configured/**/*
|
||||
system-tests/projects/create-react-app-unconfigured/**/*
|
||||
system-tests/projects/create-react-app-custom-index-html
|
||||
|
||||
system-tests/projects/vueclivue2-unconfigured/**/*
|
||||
system-tests/projects/vueclivue2-configured/**/*
|
||||
system-tests/projects/outdated-deps-vuecli3/**/*
|
||||
|
||||
system-tests/projects/vueclivue3-unconfigured/**/*
|
||||
system-tests/projects/vueclivue3-configured/**/*
|
||||
system-tests/projects/vueclivue3-custom-index-html
|
||||
|
||||
system-tests/projects/vuecli5vue3-unconfigured/**/*
|
||||
system-tests/projects/vuecli5vue3-configured/**/*
|
||||
|
||||
system-tests/projects/vue3-vite-ts-unconfigured/**/*
|
||||
system-tests/projects/vue3-vite-ts-configured/**/*
|
||||
system-tests/projects/vue3-vite-ts-custom-index-html
|
||||
|
||||
system-tests/projects/nextjs-unconfigured/**/*
|
||||
system-tests/projects/nextjs-configured/**/*
|
||||
|
||||
system-tests/projects/nuxtjs-vue2-unconfigured/**/*
|
||||
system-tests/projects/nuxtjs-vue2-configured/**/*
|
||||
|
||||
system-tests/projects/react-app-webpack-5-unconfigured/**/*
|
||||
|
||||
system-tests/project-fixtures/**
|
||||
system-tests/projects/**/*/expected-cypress*/**/*
|
||||
|
||||
# These are generated files that are not linted
|
||||
tooling/electron-mksnapshot/bin/**
|
||||
tooling/v8-snapshot/cache/**
|
||||
@@ -0,0 +1,14 @@
|
||||
**/__snapshots__
|
||||
/build
|
||||
|
||||
# cli/types is linted by tslint/dtslint
|
||||
/types
|
||||
|
||||
# these are all copied from dist'd builds from the individual libs
|
||||
/angular
|
||||
/react
|
||||
/react18
|
||||
/vue
|
||||
/vue2
|
||||
/svelte
|
||||
/mount-utils
|
||||
@@ -1,37 +1,37 @@
|
||||
exports['package.json build outputs expected properties 1'] = {
|
||||
"name": "test",
|
||||
"engines": "test engines",
|
||||
"version": "x.y.z",
|
||||
"buildInfo": "replaced by normalizePackageJson",
|
||||
"description": "Cypress is a next generation front end testing tool built for the modern web",
|
||||
"homepage": "https://github.com/cypress-io/cypress",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/cypress-io/cypress/issues"
|
||||
'name': 'test',
|
||||
'engines': 'test engines',
|
||||
'version': 'x.y.z',
|
||||
'buildInfo': 'replaced by normalizePackageJson',
|
||||
'description': 'Cypress is a next generation front end testing tool built for the modern web',
|
||||
'homepage': 'https://github.com/cypress-io/cypress',
|
||||
'license': 'MIT',
|
||||
'bugs': {
|
||||
'url': 'https://github.com/cypress-io/cypress/issues',
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/cypress-io/cypress.git"
|
||||
'repository': {
|
||||
'type': 'git',
|
||||
'url': 'https://github.com/cypress-io/cypress.git',
|
||||
},
|
||||
"keywords": [
|
||||
"automation",
|
||||
"browser",
|
||||
"cypress",
|
||||
"cypress.io",
|
||||
"e2e",
|
||||
"end-to-end",
|
||||
"integration",
|
||||
"component",
|
||||
"mocks",
|
||||
"runner",
|
||||
"spies",
|
||||
"stubs",
|
||||
"test",
|
||||
"testing"
|
||||
'keywords': [
|
||||
'automation',
|
||||
'browser',
|
||||
'cypress',
|
||||
'cypress.io',
|
||||
'e2e',
|
||||
'end-to-end',
|
||||
'integration',
|
||||
'component',
|
||||
'mocks',
|
||||
'runner',
|
||||
'spies',
|
||||
'stubs',
|
||||
'test',
|
||||
'testing',
|
||||
],
|
||||
"types": "types",
|
||||
"scripts": {
|
||||
"postinstall": "node index.js --exec install",
|
||||
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"
|
||||
}
|
||||
'types': 'types',
|
||||
'scripts': {
|
||||
'postinstall': 'node index.js --exec install',
|
||||
'size': 't="$(npm pack .)"; wc -c "${t}"; tar tvf "${t}"; rm "${t}";',
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
exports['cypress .run resolves with contents of tmp file 1'] = {
|
||||
"code": 0,
|
||||
"failingTests": []
|
||||
'code': 0,
|
||||
'failingTests': [],
|
||||
}
|
||||
|
||||
@@ -50,8 +50,8 @@ Cypress Version: 1.2.3
|
||||
`
|
||||
|
||||
exports['child kill error object'] = {
|
||||
"description": "The Test Runner unexpectedly exited via a [36mexit[39m event with signal [36mSIGKILL[39m",
|
||||
"solution": "Please search Cypress documentation for possible solutions:\n\n [34mhttps://on.cypress.io[39m\n\nCheck if there is a GitHub issue describing this crash:\n\n [34mhttps://github.com/cypress-io/cypress/issues[39m\n\nConsider opening a new issue."
|
||||
'description': 'The Test Runner unexpectedly exited via a [36mexit[39m event with signal [36mSIGKILL[39m',
|
||||
'solution': 'Please search Cypress documentation for possible solutions:\n\n [34mhttps://on.cypress.io[39m\n\nCheck if there is a GitHub issue describing this crash:\n\n [34mhttps://github.com/cypress-io/cypress/issues[39m\n\nConsider opening a new issue.',
|
||||
}
|
||||
|
||||
exports['Error message'] = `
|
||||
@@ -74,29 +74,29 @@ Cypress Version: 1.2.3
|
||||
`
|
||||
|
||||
exports['errors individual has the following errors 1'] = [
|
||||
"CYPRESS_RUN_BINARY",
|
||||
"binaryNotExecutable",
|
||||
"childProcessKilled",
|
||||
"failedDownload",
|
||||
"failedUnzip",
|
||||
"failedUnzipWindowsMaxPathLength",
|
||||
"incompatibleHeadlessFlags",
|
||||
"incompatibleTestTypeFlags",
|
||||
"incompatibleTestingTypeAndFlag",
|
||||
"invalidCacheDirectory",
|
||||
"invalidConfigFile",
|
||||
"invalidCypressEnv",
|
||||
"invalidOS",
|
||||
"invalidRunProjectPath",
|
||||
"invalidSmokeTestDisplayError",
|
||||
"invalidTestingType",
|
||||
"missingApp",
|
||||
"missingDependency",
|
||||
"missingXvfb",
|
||||
"nonZeroExitCodeXvfb",
|
||||
"notInstalledCI",
|
||||
"smokeTestFailure",
|
||||
"unexpected",
|
||||
"unknownError",
|
||||
"versionMismatch"
|
||||
'CYPRESS_RUN_BINARY',
|
||||
'binaryNotExecutable',
|
||||
'childProcessKilled',
|
||||
'failedDownload',
|
||||
'failedUnzip',
|
||||
'failedUnzipWindowsMaxPathLength',
|
||||
'incompatibleHeadlessFlags',
|
||||
'incompatibleTestTypeFlags',
|
||||
'incompatibleTestingTypeAndFlag',
|
||||
'invalidCacheDirectory',
|
||||
'invalidConfigFile',
|
||||
'invalidCypressEnv',
|
||||
'invalidOS',
|
||||
'invalidRunProjectPath',
|
||||
'invalidSmokeTestDisplayError',
|
||||
'invalidTestingType',
|
||||
'missingApp',
|
||||
'missingDependency',
|
||||
'missingXvfb',
|
||||
'nonZeroExitCodeXvfb',
|
||||
'notInstalledCI',
|
||||
'smokeTestFailure',
|
||||
'unexpected',
|
||||
'unknownError',
|
||||
'versionMismatch',
|
||||
]
|
||||
|
||||
@@ -1,27 +1,27 @@
|
||||
exports['exec run .processRunOptions does not remove --record option when using --browser 1'] = [
|
||||
"--run-project",
|
||||
'--run-project',
|
||||
null,
|
||||
"--browser",
|
||||
"test browser",
|
||||
"--record",
|
||||
"foo"
|
||||
'--browser',
|
||||
'test browser',
|
||||
'--record',
|
||||
'foo',
|
||||
]
|
||||
|
||||
exports['exec run .processRunOptions passes --browser option 1'] = [
|
||||
"--run-project",
|
||||
'--run-project',
|
||||
null,
|
||||
"--browser",
|
||||
"test browser"
|
||||
'--browser',
|
||||
'test browser',
|
||||
]
|
||||
|
||||
exports['exec run .processRunOptions passes --record option 1'] = [
|
||||
"--run-project",
|
||||
'--run-project',
|
||||
null,
|
||||
"--record",
|
||||
"my record id"
|
||||
'--record',
|
||||
'my record id',
|
||||
]
|
||||
|
||||
exports['exec run .processRunOptions defaults to e2e testingType 1'] = [
|
||||
"--run-project",
|
||||
null
|
||||
'--run-project',
|
||||
null,
|
||||
]
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
exports['lib/exec/spawn .start forces colors and streams when supported 1'] = {
|
||||
"FORCE_COLOR": "1",
|
||||
"DEBUG_COLORS": "1",
|
||||
"MOCHA_COLORS": "1",
|
||||
"FORCE_STDIN_TTY": "1",
|
||||
"FORCE_STDOUT_TTY": "1",
|
||||
"FORCE_STDERR_TTY": "1"
|
||||
'FORCE_COLOR': '1',
|
||||
'DEBUG_COLORS': '1',
|
||||
'MOCHA_COLORS': '1',
|
||||
'FORCE_STDIN_TTY': '1',
|
||||
'FORCE_STDOUT_TTY': '1',
|
||||
'FORCE_STDERR_TTY': '1',
|
||||
}
|
||||
|
||||
exports['lib/exec/spawn .start does not force colors and streams when not supported 1'] = {
|
||||
"FORCE_COLOR": "0",
|
||||
"DEBUG_COLORS": "0",
|
||||
"FORCE_STDIN_TTY": "0",
|
||||
"FORCE_STDOUT_TTY": "0",
|
||||
"FORCE_STDERR_TTY": "0"
|
||||
'FORCE_COLOR': '0',
|
||||
'DEBUG_COLORS': '0',
|
||||
'FORCE_STDIN_TTY': '0',
|
||||
'FORCE_STDOUT_TTY': '0',
|
||||
'FORCE_STDERR_TTY': '0',
|
||||
}
|
||||
|
||||
exports['lib/exec/spawn .start detects kill signal exits with error on SIGKILL 1'] = `
|
||||
|
||||
@@ -1,27 +1,27 @@
|
||||
exports['config_as_object 1'] = {
|
||||
"config": "{\"baseUrl\":\"http://localhost:2000\",\"watchForFileChanges\":false}"
|
||||
'config': '{"baseUrl":"http://localhost:2000","watchForFileChanges":false}',
|
||||
}
|
||||
|
||||
exports['env_as_object 1'] = {
|
||||
"env": "{\"foo\":\"bar\",\"magicNumber\":1234,\"host\":\"kevin.dev.local\"}"
|
||||
'env': '{"foo":"bar","magicNumber":1234,"host":"kevin.dev.local"}',
|
||||
}
|
||||
|
||||
exports['env_as_string 1'] = {
|
||||
"env": "foo=bar"
|
||||
'env': 'foo=bar',
|
||||
}
|
||||
|
||||
exports['others_unchanged 1'] = {
|
||||
"foo": "bar"
|
||||
'foo': 'bar',
|
||||
}
|
||||
|
||||
exports['reporter_options_as_object 1'] = {
|
||||
"reporterOptions": "{\"mochaFile\":\"results/my-test-output.xml\",\"toConsole\":true}"
|
||||
'reporterOptions': '{"mochaFile":"results/my-test-output.xml","toConsole":true}',
|
||||
}
|
||||
|
||||
exports['spec_as_array 1'] = {
|
||||
"spec": "[\"a\",\"b\",\"c\"]"
|
||||
'spec': '["a","b","c"]',
|
||||
}
|
||||
|
||||
exports['spec_as_string 1'] = {
|
||||
"spec": "x,y,z"
|
||||
'spec': 'x,y,z',
|
||||
}
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
"test-unit": "yarn unit",
|
||||
"test-watch": "yarn unit --watch",
|
||||
"types": "yarn dtslint",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json,.vue .",
|
||||
"unit": "cross-env BLUEBIRD_DEBUG=1 NODE_ENV=test mocha --reporter mocha-multi-reporters --reporter-options configFile=../mocha-reporter-config.json"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Vendored
+12
-11
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
/// <reference path="./cypress-npm-api.d.ts" />
|
||||
/// <reference path="./cypress-eventemitter.d.ts" />
|
||||
/// <reference path="./cypress-type-helpers.d.ts" />
|
||||
@@ -470,19 +471,19 @@ declare namespace Cypress {
|
||||
add<T extends keyof Chainable>(name: T, options: CommandOptions & {prevSubject: false}, fn: CommandFn<T>): void
|
||||
add<T extends keyof Chainable, S = any>(name: T, options: CommandOptions & {prevSubject: true}, fn: CommandFnWithSubject<T, S>): void
|
||||
add<T extends keyof Chainable, S extends PrevSubject>(
|
||||
name: T, options: CommandOptions & { prevSubject: S | ['optional'] }, fn: CommandFnWithSubject<T, PrevSubjectMap[S]>,
|
||||
name: T, options: CommandOptions & { prevSubject: S | ['optional'] }, fn: CommandFnWithSubject<T, PrevSubjectMap[S]>,
|
||||
): void
|
||||
add<T extends keyof Chainable, S extends PrevSubject>(
|
||||
name: T, options: CommandOptions & { prevSubject: S[] }, fn: CommandFnWithSubject<T, PrevSubjectMap<void>[S]>,
|
||||
name: T, options: CommandOptions & { prevSubject: S[] }, fn: CommandFnWithSubject<T, PrevSubjectMap<void>[S]>,
|
||||
): void
|
||||
addAll<T extends keyof Chainable>(fns: CommandFns): void
|
||||
addAll<T extends keyof Chainable>(options: CommandOptions & {prevSubject: false}, fns: CommandFns): void
|
||||
addAll<T extends keyof Chainable, S = any>(options: CommandOptions & { prevSubject: true }, fns: CommandFnsWithSubject<S>): void
|
||||
addAll<T extends keyof Chainable, S extends PrevSubject>(
|
||||
options: CommandOptions & { prevSubject: S | ['optional'] }, fns: CommandFnsWithSubject<PrevSubjectMap[S]>,
|
||||
options: CommandOptions & { prevSubject: S | ['optional'] }, fns: CommandFnsWithSubject<PrevSubjectMap[S]>,
|
||||
): void
|
||||
addAll<T extends keyof Chainable, S extends PrevSubject>(
|
||||
options: CommandOptions & { prevSubject: S[] }, fns: CommandFnsWithSubject<PrevSubjectMap<void>[S]>,
|
||||
options: CommandOptions & { prevSubject: S[] }, fns: CommandFnsWithSubject<PrevSubjectMap<void>[S]>,
|
||||
): void
|
||||
overwrite<T extends keyof Chainable>(name: T, fn: CommandFnWithOriginalFn<T>): void
|
||||
overwrite<T extends keyof Chainable, S extends PrevSubject>(name: T, fn: CommandFnWithOriginalFnAndSubject<T, PrevSubjectMap[S]>): void
|
||||
@@ -676,8 +677,8 @@ declare namespace Cypress {
|
||||
type CanReturnChainable = void | Chainable | Promise<unknown>
|
||||
type ThenReturn<S, R> =
|
||||
R extends void ? Chainable<S> :
|
||||
R extends R | undefined ? Chainable<S | Exclude<R, undefined>> :
|
||||
Chainable<S>
|
||||
R extends R | undefined ? Chainable<S | Exclude<R, undefined>> :
|
||||
Chainable<S>
|
||||
|
||||
/**
|
||||
* Chainable interface for non-array Subjects
|
||||
@@ -2373,8 +2374,8 @@ declare namespace Cypress {
|
||||
|
||||
type ChainableMethods<Subject = any> = {
|
||||
[P in keyof Chainable<Subject>]: Chainable<Subject>[P] extends ((...args: any[]) => any)
|
||||
? Chainable<Subject>[P]
|
||||
: never
|
||||
? Chainable<Subject>[P]
|
||||
: never
|
||||
}
|
||||
|
||||
interface SinonSpyAgent<A extends sinon.SinonSpy> {
|
||||
@@ -3112,8 +3113,8 @@ declare namespace Cypress {
|
||||
type PickConfigOpt<T> = T extends keyof DefineDevServerConfig ? DefineDevServerConfig[T] : any
|
||||
|
||||
interface AngularDevServerProjectConfig {
|
||||
root: string,
|
||||
sourceRoot: string,
|
||||
root: string
|
||||
sourceRoot: string
|
||||
buildOptions: Record<string, any>
|
||||
}
|
||||
|
||||
@@ -3162,7 +3163,7 @@ declare namespace Cypress {
|
||||
/**
|
||||
* Hosts mappings to IP addresses.
|
||||
*/
|
||||
hosts?: null | {[key: string]: string}
|
||||
hosts?: null | {[key: string]: string}
|
||||
}
|
||||
|
||||
interface PluginConfigOptions extends ResolvedConfigOptions, RuntimeConfigOptions {
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
@@ -8,7 +8,8 @@
|
||||
"build": "rollup -c rollup.config.mjs",
|
||||
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
||||
"build-prod": "yarn build",
|
||||
"check-ts": "tsc --noEmit"
|
||||
"check-ts": "tsc --noEmit",
|
||||
"lint": "eslint --ext .js,.ts,.json, ."
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
**/test/fixtures
|
||||
**/__snapshots__
|
||||
/initial-template
|
||||
/**/*.template.*
|
||||
@@ -9,7 +9,8 @@
|
||||
"prepare-example": "node scripts/example copy-to ./initial-template",
|
||||
"prepare-copy-templates": "node scripts/copy-templates copy-to ./dist/src",
|
||||
"test": "cross-env TS_NODE_PROJECT=./tsconfig.test.json mocha --config .mocharc.json './src/**/*.test.ts'",
|
||||
"test:watch": "yarn test -w"
|
||||
"test:watch": "yarn test -w",
|
||||
"lint": "eslint --ext .js,.ts,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.5.4",
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
@@ -6,7 +6,8 @@
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.json",
|
||||
"build:watch": "tsc -p tsconfig.json --watch",
|
||||
"test": "mocha -r @packages/ts/register --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json src/**/*.spec.ts"
|
||||
"test": "mocha -r @packages/ts/register --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json src/**/*.spec.ts",
|
||||
"lint": "eslint --ext .ts,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular-devkit/architect": "^0.1402.1",
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
@@ -8,7 +8,8 @@
|
||||
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
||||
"build-prod": "yarn build",
|
||||
"check-ts": "tsc --noEmit",
|
||||
"watch": "tsc -w"
|
||||
"watch": "tsc -w",
|
||||
"lint": "eslint --ext .js,.ts,.json, ."
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
@@ -12,6 +12,7 @@
|
||||
"cy:run": "node ../../scripts/cypress.js run --component",
|
||||
"cy:run:debug": "node --inspect-brk ../../scripts/start.js --component-testing --run-project ${PWD}",
|
||||
"test": "yarn cy:run",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, .",
|
||||
"watch": "yarn build --watch --watch.exclude ./dist/**/*"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
@@ -7,7 +7,8 @@
|
||||
"build": "rimraf dist && rollup -c rollup.config.mjs",
|
||||
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
||||
"build-prod": "yarn build",
|
||||
"watch": "yarn build --watch --watch.exclude ./dist/**/*"
|
||||
"watch": "yarn build --watch --watch.exclude ./dist/**/*",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cypress/mount-utils": "0.0.0-development",
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
@@ -8,6 +8,7 @@
|
||||
"build": "rollup -c rollup.config.mjs",
|
||||
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
||||
"build-prod": "yarn build",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, .",
|
||||
"check-ts": "tsc --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
@@ -12,7 +12,8 @@
|
||||
"cypress:open": "yarn cypress:run-cypress-in-cypress gulp open --project .",
|
||||
"watch": "tsc -w",
|
||||
"test": "yarn test-unit",
|
||||
"test-unit": "mocha -r ts-node/register/transpile-only --config ./test/.mocharc.js"
|
||||
"test-unit": "mocha -r ts-node/register/transpile-only --config ./test/.mocharc.js",
|
||||
"lint": "eslint --ext .js,.ts,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"debug": "^4.3.4",
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
@@ -10,6 +10,8 @@
|
||||
"build": "rimraf dist && rollup -c rollup.config.mjs",
|
||||
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
||||
"typecheck": "yarn tsd && vue-tsc --noEmit",
|
||||
"check-ts": "yarn tsd && vue-tsc --noEmit",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json,.vue .",
|
||||
"test": "yarn cy:run",
|
||||
"tsd": "yarn build && yarn tsc -p test-tsd/tsconfig.tsd.json",
|
||||
"watch": "yarn build --watch --watch.exclude ./dist/**/*"
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
@@ -9,7 +9,9 @@
|
||||
"postbuild": "node ../../scripts/sync-exported-npm-with-cli.js",
|
||||
"build-prod": "yarn build",
|
||||
"test": "echo \"Tests for @cypress/vue2 are run from system-tests\"",
|
||||
"watch": "yarn build --watch --watch.exclude ./dist/**/*"
|
||||
"watch": "yarn build --watch --watch.exclude ./dist/**/*",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json,.vue .",
|
||||
"test-ci": "node ../../scripts/run-ct-examples.js --examplesList=./examples.env"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cypress/mount-utils": "0.0.0-development",
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
"description": "Cypress preprocessor for bundling JavaScript via webpack with dependencies included and support for various ES features, TypeScript, and CoffeeScript",
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"test": "mocha test/e2e/*.spec.* --timeout 4000"
|
||||
"test": "mocha test/e2e/*.spec.* --timeout 4000",
|
||||
"lint": "eslint --ext .js,.ts,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.11.1",
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
**/test/fixtures
|
||||
**/__snapshots__
|
||||
@@ -14,7 +14,8 @@
|
||||
"cypress:run-cypress-in-cypress": "cross-env HTTP_PROXY_TARGET_FOR_ORIGIN_REQUESTS=http://localhost:4455 CYPRESS_REMOTE_DEBUGGING_PORT=6666 TZ=America/New_York",
|
||||
"cypress:open": "yarn cypress:run-cypress-in-cypress gulp open --project .",
|
||||
"test": "yarn test-unit",
|
||||
"test-unit": "mocha -r ts-node/register/transpile-only --config ./test/.mocharc.js"
|
||||
"test-unit": "mocha -r ts-node/register/transpile-only --config ./test/.mocharc.js",
|
||||
"lint": "eslint --ext .js,.ts,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"find-up": "6.3.0",
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
**/test/fixtures
|
||||
**/_test-output
|
||||
/cypress/tests/e2e/compile-error.js
|
||||
/examples/use-babelrc/cypress/e2e/spec.cy.js
|
||||
@@ -17,7 +17,8 @@
|
||||
"test-unit": "mocha test/unit/*.spec.*",
|
||||
"test-watch": "yarn test-unit & chokidar '**/*.(js|ts)' 'test/unit/*.(js|ts)' -c 'yarn test-unit'",
|
||||
"check-ts": "tsc --noEmit",
|
||||
"watch": "rimraf dist && tsc --watch"
|
||||
"watch": "rimraf dist && tsc --watch",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/parser": "7.13.0",
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@
|
||||
"get-next-version": "node scripts/get-next-version.js",
|
||||
"postinstall": "node ./scripts/run-postInstall.js",
|
||||
"jscodeshift": "jscodeshift -t ./node_modules/js-codemod/transforms/arrow-function-arguments.js",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json,.vue .",
|
||||
"lint": "lerna run lint --no-bail",
|
||||
"lint-changed": "lint-changed",
|
||||
"prepare-release-artifacts": "node ./scripts/prepare-release-artifacts.js",
|
||||
"npm-release": "node scripts/npm-release.js",
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
**/dist
|
||||
**/dist-*
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
/src/store/mobx-runner-store.ts
|
||||
@@ -15,7 +15,8 @@
|
||||
"cypress:run:e2e": "yarn cypress:run-cypress-in-cypress node ../../scripts/cypress run --project .",
|
||||
"dev": "yarn cypress:run-cypress-in-cypress gulp dev --project .",
|
||||
"start": "echo \"run 'yarn dev' from the root\" && exit 1",
|
||||
"watch": "echo \"run 'yarn dev' from the root\" && exit 1"
|
||||
"watch": "echo \"run 'yarn dev' from the root\" && exit 1",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
/test/__fixtures__/**/*
|
||||
/test/__babel_fixtures__/**/*
|
||||
**/__snapshots__
|
||||
@@ -13,7 +13,8 @@
|
||||
"test": "yarn test-unit",
|
||||
"test:clean": "find ./test/__fixtures__ -depth -name 'output.*' -type f -exec rm {} \\;",
|
||||
"test-debug": "yarn test-unit --inspect-brk=5566",
|
||||
"test-unit": "mocha --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json -r @packages/ts/register 'test/**/*.spec.ts' --exit --timeout 5000"
|
||||
"test-unit": "mocha --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json -r @packages/ts/register 'test/**/*.spec.ts' --exit --timeout 5000",
|
||||
"lint": "eslint --ext .js,.ts,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7",
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
/test/unit/codegen/files
|
||||
/test/unit/codegen/tmp
|
||||
/test/fixtures/**
|
||||
**/__snapshots__
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"extends": [
|
||||
"../../.eslintrc.js"
|
||||
],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"overrides": [
|
||||
{
|
||||
"files": [
|
||||
"*.ts"
|
||||
],
|
||||
"rules": {
|
||||
"@typescript-eslint/no-unused-vars": "off"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -11,7 +11,8 @@
|
||||
"tslint": "tslint --config ../ts/tslint.json --project .",
|
||||
"clean": "rimraf --glob \"./{src,test}/**/*.js\"",
|
||||
"test": "yarn test-unit",
|
||||
"test-unit": "mocha -r @packages/ts/register --config ./test/.mocharc.js --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json"
|
||||
"test-unit": "mocha -r @packages/ts/register --config ./test/.mocharc.js --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json",
|
||||
"lint": "eslint --ext .js,.ts,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/code-frame": "7.8.3",
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
@@ -10,7 +10,8 @@
|
||||
"cypress:open-experimentalSessionAndOrigin": "node ../../scripts/cypress open --config experimentalSessionAndOrigin=true,experimentalModifyObstructiveThirdPartyCode=true",
|
||||
"cypress:run-experimentalSessionAndOrigin": "node ../../scripts/cypress run --config experimentalSessionAndOrigin=true,experimentalModifyObstructiveThirdPartyCode=true",
|
||||
"postinstall": "patch-package",
|
||||
"start": "node -e 'console.log(require(`chalk`).red(`\nError:\n\tRunning \\`yarn start\\` is no longer needed for driver/cypress tests.\n\tWe now automatically spawn the server in e2e.setupNodeEvents config.\n\tChanges to the server will be watched and reloaded automatically.`))'"
|
||||
"start": "node -e 'console.log(require(`chalk`).red(`\nError:\n\tRunning \\`yarn start\\` is no longer needed for driver/cypress tests.\n\tWe now automatically spawn the server in e2e.setupNodeEvents config.\n\tChanges to the server will be watched and reloaded automatically.`))'",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
@@ -12,7 +12,8 @@
|
||||
"test": "yarn test-unit",
|
||||
"test-debug": "yarn test-unit --inspect-brk=5566",
|
||||
"test-unit": "mocha --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json",
|
||||
"test-watch": "yarn test-unit --watch"
|
||||
"test-watch": "yarn test-unit --watch",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@packages/icons": "0.0.0-development",
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
"clean": "rimraf ./src/*.js ./src/**/*.js ./src/**/**/*.js ./test/**/*.js || echo 'cleaned'",
|
||||
"pretest-unit": "yarn clean",
|
||||
"test-unit": "mocha",
|
||||
"test-electron": "HTML_IMAGE_CONVERSION=1 xvfb-maybe electron --no-sandbox ./node_modules/.bin/_mocha"
|
||||
"test-electron": "HTML_IMAGE_CONVERSION=1 xvfb-maybe electron --no-sandbox ./node_modules/.bin/_mocha",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"ansi_up": "5.0.0",
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
/test/helpers/background.js
|
||||
@@ -13,7 +13,8 @@
|
||||
"test-debug": "yarn test-unit --inspect-brk=5566",
|
||||
"test-unit": "cross-env NODE_ENV=test mocha -r @packages/ts/register --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json",
|
||||
"test-watch": "yarn test-unit --watch",
|
||||
"watch": "node ../../scripts/run-webpack --watch --progress"
|
||||
"watch": "node ../../scripts/run-webpack --watch --progress",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"bluebird": "3.5.3",
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
@@ -14,7 +14,8 @@
|
||||
"dev": "gulp dev --project .",
|
||||
"generate-shiki-theme": "node ./script/generate-shiki-theme.js",
|
||||
"generate-stub-specs": "node ./script/generate-stub-specs.js",
|
||||
"postinstall": "patch-package"
|
||||
"postinstall": "patch-package",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json,.vue ."
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
"tslint": "tslint --config ../ts/tslint.json --project .",
|
||||
"postinstall": "echo '@packages/graphql needs: yarn build'",
|
||||
"test-unit": "mocha -r @packages/ts/register test/unit/**/*.spec.ts --config ./test/.mocharc.js --exit",
|
||||
"test-integration": "mocha -r @packages/ts/register test/integration/**/*.spec.ts --config ./test/.mocharc.js --exit"
|
||||
"test-integration": "mocha -r @packages/ts/register test/integration/**/*.spec.ts --config ./test/.mocharc.js --exit",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@graphql-tools/delegate": "8.2.1",
|
||||
|
||||
@@ -11,7 +11,8 @@
|
||||
"test": "yarn test-unit",
|
||||
"test-debug": "yarn test-unit --inspect-brk=5566",
|
||||
"test-unit": "cross-env NODE_ENV=test mocha --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json",
|
||||
"test-watch": "cross-env NODE_ENV=test mocha --watch"
|
||||
"test-watch": "cross-env NODE_ENV=test mocha --watch",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"bluebird": "3.5.3",
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
@@ -8,7 +8,8 @@
|
||||
"build-prod": "yarn build",
|
||||
"build": "ts-node ./scripts/build.ts && ts-node ./scripts/ico.ts",
|
||||
"test-unit": "NODE_ENV=test mocha -r @packages/ts/register test/*.ts",
|
||||
"test": "yarn test-unit"
|
||||
"test": "yarn test-unit",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/mocha": "^8.0.3",
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
**/__snapshots__
|
||||
index.js
|
||||
@@ -9,7 +9,8 @@
|
||||
"clean-js": "yarn clean",
|
||||
"size": "t=\"cypress-v0.0.0.tgz\"; yarn pack --filename \"${t}\"; wc -c \"cli/${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
|
||||
"test": "yarn test-unit",
|
||||
"test-unit": "mocha --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json"
|
||||
"test-unit": "mocha --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"bluebird": "3.5.3",
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
**/dist
|
||||
**/dist-*
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
@@ -15,7 +15,8 @@
|
||||
"cypress:run:e2e": "cross-env TZ=America/New_York node ../../scripts/cypress run --e2e --project .",
|
||||
"dev": "yarn gulp dev --project .",
|
||||
"start": "echo 'run yarn dev from the root' && exit 1",
|
||||
"watch": "echo 'run yarn dev from the root' && exit 1"
|
||||
"watch": "echo 'run yarn dev from the root' && exit 1",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
@@ -6,7 +6,8 @@
|
||||
"scripts": {
|
||||
"build-prod": "tsc --project .",
|
||||
"clean-deps": "rimraf node_modules",
|
||||
"test": "CYPRESS_INTERNAL_ENV=test mocha -r @packages/ts/register --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json --exit test/unit/*"
|
||||
"test": "CYPRESS_INTERNAL_ENV=test mocha -r @packages/ts/register --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json --exit test/unit/*",
|
||||
"lint": "eslint --ext .ts,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/mime-types": "2.1.0",
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
"test": "yarn test-unit",
|
||||
"test-debug": "yarn test-unit --inspect-brk=5566",
|
||||
"test-unit": "mocha --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json",
|
||||
"test-watch": "yarn test-unit --watch"
|
||||
"test-watch": "yarn test-unit --watch",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@cypress/parse-domain": "2.4.0",
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
"run-mocha": "mocha -r @packages/ts/register -r test/pretest.ts --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json",
|
||||
"test": "CYPRESS_INTERNAL_ENV=test yarn run-mocha \"test/integration/*.spec.ts\" \"test/unit/**/*.spec.ts\"",
|
||||
"test-integration": "CYPRESS_INTERNAL_ENV=test yarn run-mocha \"test/integration/*.spec.ts\"",
|
||||
"test-unit": "CYPRESS_INTERNAL_ENV=test yarn run-mocha \"test/unit/**/*.spec.ts\""
|
||||
"test-unit": "CYPRESS_INTERNAL_ENV=test yarn run-mocha \"test/unit/**/*.spec.ts\"",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"bluebird": "3.5.3",
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"plugins": [
|
||||
"cypress",
|
||||
"@cypress/dev"
|
||||
],
|
||||
"extends": [
|
||||
"../../.eslintrc.js"
|
||||
],
|
||||
"env": {
|
||||
"cypress/globals": true
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"files": [
|
||||
"*.ts",
|
||||
"*.tsx"
|
||||
],
|
||||
"rules": {
|
||||
"@typescript-eslint/no-unused-vars": "off"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -9,7 +9,8 @@
|
||||
"cypress:open": "node ../../scripts/cypress open --project .",
|
||||
"cypress:run": "node ../../scripts/cypress run --project .",
|
||||
"cypress:run:ct": "cross-env TZ=America/New_York node ../../scripts/cypress run --component --project .",
|
||||
"watch": "yarn build-for-tests --watch --progress"
|
||||
"watch": "yarn build-for-tests --watch --progress",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cypress/react-tooltip": "0.5.3",
|
||||
|
||||
@@ -7,10 +7,7 @@
|
||||
"build-prod": "tsc --project .",
|
||||
"clean": "rimraf 'lib/**/*.js'",
|
||||
"clean-deps": "rimraf node_modules",
|
||||
"test": "yarn test-unit",
|
||||
"test-debug": "yarn test-unit --inspect-brk=5566",
|
||||
"test-unit": "mocha --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json",
|
||||
"test-watch": "yarn test-unit --watch"
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"fs-extra": "9.1.0"
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
**/__snapshots__
|
||||
**/test/fixtures
|
||||
@@ -8,7 +8,8 @@
|
||||
"build-test": "yarn build-prod --noEmit",
|
||||
"clean": "rimraf 'lib/**/*.js'",
|
||||
"clean-deps": "rimraf node_modules",
|
||||
"test": "mocha --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json"
|
||||
"test": "mocha --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"ast-types": "0.13.3",
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
**/__snapshots__
|
||||
@@ -10,7 +10,8 @@
|
||||
"cypress:open": "echo \"These tests have been moved to @packages/app. \" && exit 1",
|
||||
"cypress:run": "echo \"These tests have been moved to @packages/app. \" && exit 1",
|
||||
"postinstall": "echo '@packages/runner needs: yarn build'",
|
||||
"watch": "node ../../scripts/run-webpack --watch --progress"
|
||||
"watch": "node ../../scripts/run-webpack --watch --progress",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cypress/react-tooltip": "0.5.3",
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
"clean": "rimraf ./src/*.js ./src/**/*.js ./src/**/**/*.js ./test/**/*.js || echo 'cleaned'",
|
||||
"clean-deps": "rimraf node_modules",
|
||||
"test": "yarn test-unit",
|
||||
"test-unit": "mocha -r @packages/ts/register 'test/unit/**' --config ./test/.mocharc.js --exit --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json"
|
||||
"test-unit": "mocha -r @packages/ts/register 'test/unit/**' --config ./test/.mocharc.js --exit --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"compare-versions": "4.1.3",
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
**/support/fixtures/*
|
||||
**/__snapshots__
|
||||
@@ -17,7 +17,8 @@
|
||||
"test": "node ./test/scripts/run.js",
|
||||
"test-integration": "node ./test/scripts/run.js --glob-in-dir=test/integration",
|
||||
"test-performance": "node ./test/scripts/run.js --glob-in-dir=test/performance",
|
||||
"test-unit": "node ./test/scripts/run.js --glob-in-dir=test/unit"
|
||||
"test-unit": "node ./test/scripts/run.js --glob-in-dir=test/unit",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/parser": "7.13.0",
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
"test": "yarn test-unit",
|
||||
"test-debug": "yarn test-unit --inspect-brk=5566",
|
||||
"test-unit": "cross-env NODE_ENV=test mocha -r @packages/ts/register --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json",
|
||||
"test-watch": "cross-env NODE_ENV=test mocha -r @packages/ts/register --watch"
|
||||
"test-watch": "cross-env NODE_ENV=test mocha -r @packages/ts/register --watch",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"circular-json": "0.5.9",
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
**/__snapshots__
|
||||
@@ -8,7 +8,8 @@
|
||||
"postinstall": "patch-package",
|
||||
"test": "yarn test-unit",
|
||||
"test-unit": "node test",
|
||||
"test-watch": "echo 'no watching of tests'"
|
||||
"test-watch": "echo 'no watching of tests'",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {
|
||||
"debug": "^4.3.2",
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
"scripts": {
|
||||
"build-prod": "tsc || echo 'built, with type errors'",
|
||||
"check-ts": "tsc --noEmit",
|
||||
"clean": "rimraf src/*.js src/**/*.js"
|
||||
"clean": "rimraf src/*.js src/**/*.js",
|
||||
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.json, ."
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
**/dist
|
||||
**/*.d.ts
|
||||
**/package-lock.json
|
||||
**/tsconfig.json
|
||||
**/cypress/fixtures
|
||||
**/__snapshots__
|
||||
@@ -25,4 +25,4 @@ module.exports = defineConfig({
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
|
||||
@@ -21667,7 +21667,7 @@ jsonc-eslint-parser@^1.0.1:
|
||||
espree "^6.0.0 || ^7.2.0"
|
||||
semver "^6.3.0"
|
||||
|
||||
jsonc-parser@3.1.0, jsonc-parser@^3.0.0:
|
||||
jsonc-parser@3.1.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.1.0.tgz#73b8f0e5c940b83d03476bc2e51a20ef0932615d"
|
||||
integrity sha512-DRf0QjnNeCUds3xTjKlQQ3DpJD51GvDjJfnxUVWg6PZTo2otSm+slzNAxU/35hF8/oJIKoG9slq30JYOsF2azg==
|
||||
@@ -21677,6 +21677,11 @@ jsonc-parser@^2.3.0:
|
||||
resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-2.3.1.tgz#59549150b133f2efacca48fe9ce1ec0659af2342"
|
||||
integrity sha512-H8jvkz1O50L3dMZCsLqiuB2tA7muqbSg1AtGEkN0leAqGjsUzDJir3Zwr02BhqdcITPg3ei3mZ+HjMocAknhhg==
|
||||
|
||||
jsonc-parser@^3.0.0:
|
||||
version "3.2.0"
|
||||
resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76"
|
||||
integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==
|
||||
|
||||
jsonfile@^3.0.0:
|
||||
version "3.0.1"
|
||||
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-3.0.1.tgz#a5ecc6f65f53f662c4415c7675a0331d0992ec66"
|
||||
@@ -23022,9 +23027,9 @@ lz-string@^1.4.4:
|
||||
integrity sha1-wNjq82BZ9wV5bh40SBHPTEmNOiY=
|
||||
|
||||
macos-release@^2.2.0:
|
||||
version "2.4.1"
|
||||
resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-2.4.1.tgz#64033d0ec6a5e6375155a74b1a1eba8e509820ac"
|
||||
integrity sha512-H/QHeBIN1fIGJX517pvK8IEK53yQOW7YcEI55oYtgjDdoCQQz7eJS94qt5kNrscReEyuD/JcdFCm2XBEcGOITg==
|
||||
version "2.5.0"
|
||||
resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-2.5.0.tgz#067c2c88b5f3fb3c56a375b2ec93826220fa1ff2"
|
||||
integrity sha512-EIgv+QZ9r+814gjJj0Bt5vSLJLzswGmSUbUpbi9AIr/fsN2IWFBl2NucV9PAiek+U1STK468tEkxmVYUtuAN3g==
|
||||
|
||||
magic-string@0.26.2:
|
||||
version "0.26.2"
|
||||
|
||||
Reference in New Issue
Block a user