Skip to content

fix(#2755): add the missing -- for arguments after npm command #860

fix(#2755): add the missing -- for arguments after npm command

fix(#2755): add the missing -- for arguments after npm command #860

GitHub Actions / UT Tests report-ubuntu-latest succeeded Jan 30, 2025 in 1s

23 passed, 0 failed and 1 skipped

Tests passed successfully

Report Passed Failed Skipped Time
packages/@o3r/dev-tools/dist-test/junit.xml 3✅ 3s
packages/@o3r/third-party/dist-test/junit.xml 9✅ 20s
packages/@o3r/workspace/dist-test/junit.xml 11✅ 1⚪ 11s

✅ packages/@o3r/dev-tools/dist-test/junit.xml

3 tests were completed in 3s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
String utils 3✅ 3s

✅ String utils

packages/@o3r/dev-tools/src/utils/string.spec.ts
  ✅ String utils pad should add a 0 to number <10 and >=0
  ✅ String utils pad should not add a 0 to number >=10
  ✅ String utils pad should add two 0 to number <10 with digit=3

✅ packages/@o3r/third-party/dist-test/junit.xml

9 tests were completed in 20s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
A/B testing bridge 3✅ 10s
Add Iframe 5✅ 19s
third party integration 1✅ 8s

✅ A/B testing bridge

packages/@o3r/third-party/src/bridge/ab-testing/ab-testing-bridge.spec.ts
  ✅ A/B testing bridge should add a new bridge to the window
  ✅ A/B testing bridge should share the A/B testing experiments via the bridge experiments$
  ✅ A/B testing bridge should support a list of experiment

✅ Add Iframe

packages/@o3r/third-party/schematics/iframe-to-component/index.spec.ts
  ✅ Add Iframe Otter standalone component should update the component and the template
  ✅ Add Iframe Otter standalone component should throw if we add iframe to a component that already has it
  ✅ Add Iframe Angular component should throw if inexisting path
  ✅ Add Iframe Angular component Angular component should throw if no Otter component
  ✅ Add Iframe Angular component Angular component should call convert-component if no Otter component

✅ third party integration

packages/@o3r/third-party/src/index.spec.ts
  ✅ third party integration should compile

✅ packages/@o3r/workspace/dist-test/junit.xml

12 tests were completed in 11s with 11 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
generateApplication 5✅ 8s
getCommitHookInitTask 4✅ 10s
New module generator 2✅ 1⚪ 11s

✅ generateApplication

packages/@o3r/workspace/schematics/application/index.spec.ts
  ✅ generateApplication should generate an application
  ✅ generateApplication should generate an application with provided path
  ✅ generateApplication should register the application in tsconfig
  ✅ generateApplication should throw error if NX context is detected
  ✅ generateApplication should throw error if no workspace configuration is found

✅ getCommitHookInitTask

packages/@o3r/workspace/schematics/ng-add/helpers/commit-hooks/index.spec.ts
  ✅ getCommitHookInitTask should correctly register the tasks
  ✅ generateCommitLintConfig should generate template
  ✅ editPackageJson should add stage-lint if not present
  ✅ editPackageJson should not touche stage-lint if present

✅ New module generator

packages/@o3r/workspace/schematics/library/index.spec.ts
  ✅ New module generator should generate the minimum mandatory files
  ✅ New module generator should handle the missing tsconfig.base.json
  ⚪ New module generator in NX monorepo should generate Nx project.json with given name