Skip to main content

25 posts tagged with "Improved"

Enhancements and updates to existing features

View All Tags

trackunit/iris-app v0.0.571 - Node upgraded to v20.12.2

In this version of the App SDK, we have upgraded Node to the current LTS version 20.12.2. Make sure to upgrade your workspace to at least Node v20.12.2.

If using volta, you can install the latest LTS version of Node by running:

volta install node@lts

Otherwise, you can download the latest LTS version of Node from the Node.js website.

trackunit/ui-icons v0.0.76 - new format for icons

[Breaking change] In this version of our App SDK a new format was introduced for icons, which require an update of jest configurations in extensions that use this library.

Extensions created with @trackunit/iris-app@0.0.366 should already have the required configuration.

Add the following entries to the moduleNameMapper array of jest.config.ts in all relevant libraries.

'@trackunit/ui-icons/icons-sprite-outline.svg': 'jest-transform-stub',
'@trackunit/ui-icons/icons-sprite-solid.svg': 'jest-transform-stub',

The end result should look like the following.

export default {
displayName: 'extension',
preset: '../../jest.preset.js',
transform: {
'^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': '@nx/react/plugins/jest',
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nx/react/babel'] }],
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory: '../../coverage/libs/extension',
moduleNameMapper: {
'@trackunit/css-core': 'jest-transform-stub',
'@trackunit/ui-icons/icons-sprite-outline.svg': 'jest-transform-stub',
'@trackunit/ui-icons/icons-sprite-solid.svg': 'jest-transform-stub',
},
};

trackunit/iris-app v0.0.367 - renamed publishApp to submitApp

[Breaking change] In this version of our App SDK we have renamed publishApp to submitApp to avoid confusion about when an app was actually made public. This change means that for existing apps you should open up the project.json file and change:

"publishApp": {
"executor": "@trackunit/iris-app:publish",

To now refer to the submit executor:

"submitApp": {
"executor": "@trackunit/iris-app:submit",