Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROE-1679: add path aliases, alias compiling config to tsconfig; chang… #500

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dgolubevs
Copy link
Contributor

@dgolubevs dgolubevs commented Dec 6, 2022

…e jest.config.js to jest.config.ts for reading config from tsconfig; made changes in few ts files and tests to check compilation;

JIRA link

https://companieshouse.atlassian.net/browse/ROE-1679

Change description

Add ability top use aliases in import statement in all *.ts files

import Module from '../../../jutils/file.ts';
-> import Module from '@utils/file.ts'

Work checklist

  • Tests added where applicable
  • UI changes meet accessibility criteria

Merge instructions

We are committed to keeping commit history clean, consistent and linear. To achieve this, this commit should be structured as follows:

<type>[optional scope]: <description>

and contain the following structural elements:

  • fix: a commit that patches a bug in your codebase (this correlates with PATCH in semantic versioning),
  • feat: a commit that introduces a new feature to the codebase (this correlates with MINOR in semantic versioning),
  • BREAKING CHANGE: a commit that has a footer BREAKING CHANGE: introduces a breaking API change (correlating with MAJOR in semantic versioning). A BREAKING CHANGE can be part of commits of any type,
  • types other than fix: and feat: are allowed, for example build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others,
  • footers other than BREAKING CHANGE: <description> may be provided.

…e jest.config.js to jest.config.ts for reading config from tsconfig; made changes in few ts files and tests to check compilation;
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.

None yet

1 participant