feat(it-tests): test schematics with yarn 1 #7339
Annotations
10 errors and 1 warning
Test:
packages/@o3r/test-helpers/src/utilities/package-manager.ts#L114
Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app
STDERR:
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
OUTPUT:
,yarn run v1.22.19
$ ng add @o3r/[email protected] --skip-confirmation --project-name test-app
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
at execCmd (../test-helpers/src/utilities/package-manager.ts:114:11)
at packageManagerExec (../test-helpers/src/utilities/package-manager.ts:146:10)
at Object.<anonymous> (schematics/index.it.spec.ts:30:23)
|
Test:
packages/@o3r/test-helpers/src/utilities/package-manager.ts#L114
Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app
STDERR:
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
OUTPUT:
,yarn run v1.22.19
$ ng add @o3r/[email protected] --skip-confirmation --project-name test-app
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
at execCmd (../test-helpers/src/utilities/package-manager.ts:114:11)
at packageManagerExec (../test-helpers/src/utilities/package-manager.ts:146:10)
at Object.<anonymous> (schematics/index.it.spec.ts:33:23)
|
Test:
packages/@o3r/test-helpers/src/utilities/package-manager.ts#L114
Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app
STDERR:
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
OUTPUT:
,yarn run v1.22.19
$ ng add @o3r/[email protected] --skip-confirmation --project-name test-app
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
at execCmd (../test-helpers/src/utilities/package-manager.ts:114:11)
at packageManagerExec (../test-helpers/src/utilities/package-manager.ts:146:10)
at Object.<anonymous> (schematics/index.it.spec.ts:33:23)
|
Test:
packages/@o3r/test-helpers/src/utilities/package-manager.ts#L114
Command failed: yarn ng add @o3r/[email protected] --enable-metadata-extract --project-name test-app --skip-confirmation
STDERR:
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
⚠ Package has unmet peer dependencies. Adding the package may not succeed.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
OUTPUT:
,yarn run v1.22.19
$ ng add @o3r/[email protected] --enable-metadata-extract --project-name test-app --skip-confirmation
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
⚠ Package has unmet peer dependencies. Adding the package may not succeed.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
at execCmd (../test-helpers/src/utilities/package-manager.ts:114:11)
at packageManagerExec (../test-helpers/src/utilities/package-manager.ts:146:10)
at Object.<anonymous> (schematics/index.it.spec.ts:33:23)
|
Test:
packages/@o3r/test-helpers/src/utilities/package-manager.ts#L114
Command failed: yarn ng add @o3r/[email protected] --project-name test-app --skip-confirmation
STDERR:
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
OUTPUT:
,yarn run v1.22.19
$ ng add @o3r/[email protected] --project-name test-app --skip-confirmation
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
at execCmd (../test-helpers/src/utilities/package-manager.ts:114:11)
at packageManagerExec (../test-helpers/src/utilities/package-manager.ts:146:10)
at Object.<anonymous> (schematics/index.it.spec.ts:33:23)
|
Test:
packages/@o3r/test-helpers/src/utilities/package-manager.ts#L114
Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --enable-metadata-extract --project-name test-app
STDERR:
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
⚠ Package has unmet peer dependencies. Adding the package may not succeed.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
OUTPUT:
,yarn run v1.22.19
$ ng add @o3r/[email protected] --skip-confirmation --enable-metadata-extract --project-name test-app
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
⚠ Package has unmet peer dependencies. Adding the package may not succeed.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
at execCmd (../test-helpers/src/utilities/package-manager.ts:114:11)
at packageManagerExec (../test-helpers/src/utilities/package-manager.ts:146:10)
at Object.<anonymous> (schematics/index.it.spec.ts:30:23)
|
Test:
packages/@o3r/test-helpers/src/utilities/package-manager.ts#L114
Command failed: yarn ng add @o3r/[email protected] --enable-metadata-extract --skip-confirmation --project-name test-app
STDERR:
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
OUTPUT:
,yarn run v1.22.19
$ ng add @o3r/[email protected] --enable-metadata-extract --skip-confirmation --project-name test-app
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
at execCmd (../test-helpers/src/utilities/package-manager.ts:114:11)
at packageManagerExec (../test-helpers/src/utilities/package-manager.ts:146:10)
at Object.<anonymous> (schematics/index.it.spec.ts:33:23)
|
Test:
packages/@o3r/test-helpers/src/utilities/package-manager.ts#L114
Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app
STDERR:
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
OUTPUT:
,yarn run v1.22.19
$ ng add @o3r/[email protected] --skip-confirmation --project-name test-app
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
at execCmd (../test-helpers/src/utilities/package-manager.ts:114:11)
at packageManagerExec (../test-helpers/src/utilities/package-manager.ts:146:10)
at Object.<anonymous> (schematics/index.it.spec.ts:30:23)
|
Test:
packages/@o3r/test-helpers/src/utilities/package-manager.ts#L114
Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app
STDERR:
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
OUTPUT:
,yarn run v1.22.19
$ ng add @o3r/[email protected] --skip-confirmation --project-name test-app
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.
at execCmd (../test-helpers/src/utilities/package-manager.ts:114:11)
at packageManagerExec (../test-helpers/src/utilities/package-manager.ts:146:10)
at Object.<anonymous> (schematics/index.it.spec.ts:30:23)
|
Test:
packages/@o3r/test-helpers/src/utilities/package-manager.ts#L267
Command failed: yarn set version 4.1.0
at setPackagerManagerConfig (../../@o3r/test-helpers/src/utilities/package-manager.ts:267:21)
at ../../@o3r/test-helpers/src/test-environments/create-test-environment-blank.ts:54:29
at createWithLock (../../@o3r/test-helpers/src/utilities/create-with-lock.ts:80:5)
at createTestEnvironmentBlank (../../@o3r/test-helpers/src/test-environments/create-test-environment-blank.ts:37:3)
at prepareTestEnv (../../@o3r/test-helpers/src/prepare-test-env.ts:113:7)
at Object.<anonymous> (src/index.it.spec.ts:28:22)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: stCarolas/[email protected], actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading