Skip to content

Conversation

@joce4248
Copy link

No description provided.

monteiro and others added 20 commits August 4, 2021 15:51
The filter "raw" is necessary to encode language with subtags in javascript file, otherwise there is an error on locale code ("en\u002DUS" for example).
This also avoids a deprecation notice from composer when generating an optimized autoloader due to the fixture app of the tests not following the PSR-4 convention configured for sources (while being in a subfolder)
* Remove 'app' from DumpCommand path

app path does not longer exists since sf4

* Rename kernelRootDir to projectDir in DumpCommand
)

The main file of the library is a CommonJS build, not an UMD build,
making it incompatible with the usage in the testsuite setup. The UMD
build is shipped in the package but is not exposed on CDNJS.
* Upgrade the JS testsuite to use QUnit 2

This uses npm to install the testsuite dependencies instead of vendoring
them in the project to make the setup easier to maintain.
This also removes the file loading the ES5-shim as all maintained
browsers support ES5 natively anyway.

* Modernize the UMD structure for the translator

* Replace the test runner for JS tests

PhantomJS is not maintained anymore and the setup was broken. The new
setup uses `@web/test-runner` to run the QUnit tests in an actual
browser.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.