Changelog
1.7.0
README.md
file has been updated with trademark notice.Changelog
1.7.0-b1
README.md
file.Additionally, type generation is now done by tsc
in an initial build step, separate from the build of bundles.
The bundles targeting "ES2015" imports 'globalthis/polyfill' (imported by file 'src/lib.es2015.ts') for compatibility ('globalthis' package added as regular dependency). The fields "main", "module" and "exports" of package.json
file has been set to support different targets. The license-webpack-plugin
is used to generate the license of each bundle accurately. The generation of .d.ts files is now done in a separate step by tsc, before the Webpack build. Some tsconfig
files were created, extending the tsconfig.build.json
file, for building the various bundles and type definitions.
build.config.json
file was created, which is imported by webpack.config.json
to customize some Webpack build configurations.test
directory was created, with bundle integration tests, in addition to other tests. The Jest configuration (jest.config.js
) has been updated: there are 7 test projects, one is a unitary test and the others are resulting bundles tests. Scripts to run tests has been created in package.json
file. The tests have not yet been fully implemented. In fact, the test coverage is small, and what has been done is only the structure of the tests, the creation of the .spec.*
files, the configuration of Jest, etc.script/build-resources.ts
has been updated to download the ANTLR license. It's not available at node_modules
, then the license-webpack-plugin
can't insert license text in the outputh directory ./lib/
. The ANTLR license is downloaded from GitHub repository and inserted as licenseTextOverrides plugin parameter.git-commit.cjs
script was created to commit with the user's message. If no message is entered, after the timeout (5s) a default message with the date is used. The file was also created in the MathJSLab organization repository to be available on other projects as well.Changelog
1.6.2
download-files.cjs
script, which also provides a means
to clean up the downloaded files. The download of these files is triggered by
the script in the package.json
file called "download-resources".eslint.config.js
) has been revised.Changelog
1.6.1
path.resolve
changed to path.join
when possible. More rational path specifications. JavaScript files selection
removed from regular expression test (configuration.module.rules[0].test
and
configuration.module.rules[0].exclude
). JavaScript files selection
removed from regular expressions in the file 'jest.config.js' too.Changelog
1.6.0
Changelog
1.5.13
console.warn
and console.error
instead of console.log
.Changelog
1.5.12
configuration.mode = argv.mode
. Webpack configuration was hardcoded as
a factory.Changelog
1.5.11
Changelog
1.5.10
public static readonly
, followed by the class name in uppercase) was
set in each file by the literal numeric value in the files
'FunctionHandle.ts', 'CharString.ts' and 'Structure.ts'. This was necessary to
fix errors occurring in jest tests.Changelog
1.5.9