Skip to content

Commit

Permalink
back to single repo
Browse files Browse the repository at this point in the history
  • Loading branch information
noomorph committed Oct 9, 2023
1 parent c36ff1d commit b7da439
Show file tree
Hide file tree
Showing 140 changed files with 166 additions and 316 deletions.
4 changes: 3 additions & 1 deletion packages/presets/eslint-config/index.js → .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ module.exports = {
"assets",
"coverage",
"dist",
"jest.config.ts"
"e2e",
"website",
"/*.js"
]
};
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI

on:
push:
branches: [master]
branches: [master, alpha, beta]
paths-ignore:
- '**/*.md'
pull_request:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ npm-debug.log
.vscode/
allure-report/
allure-results/
coverage/
dist/
node_modules/
tmp/
3 changes: 3 additions & 0 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
'*.{js,ts}': ['eslint --fix', 'jest --bail --findRelatedTests --passWithNoTests'],
};
4 changes: 2 additions & 2 deletions api-old/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/api/01-descriptions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import TabItem from '@theme/TabItem';

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/api/02-steps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import TabItem from '@theme/TabItem';

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/api/03-attachments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import TabItem from '@theme/TabItem';

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/api/04-parameters.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ description: Parametrize your tests and steps

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/api/05-people.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import TabItem from '@theme/TabItem';

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/api/06-severity.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import TabItem from '@theme/TabItem';

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/api/07-links.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import TabItem from '@theme/TabItem';

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/api/08-labels.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ description: Tag your tests to provide additional context and detail.

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/config/01-grouping/01-by-suite.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import TabItem from '@theme/TabItem';

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/config/01-grouping/02-by-story.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import TabItem from '@theme/TabItem';

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/config/01-grouping/03-by-package.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import TabItem from '@theme/TabItem';

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/config/01-grouping/04-by-defect.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import TabItem from '@theme/TabItem';

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/config/01-grouping/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import DocCardList from '@theme/DocCardList';

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/config/02-statuses.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import TabItem from '@theme/TabItem';

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/config/04-environment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import TabItem from '@theme/TabItem';

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/config/05-executor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import TabItem from '@theme/TabItem';

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/config/06-history.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ description: Monitor long-term trends in your test execution.

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/config/07-errors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ description: Distinguish between types of test failures.

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/config/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import DocCardList from '@theme/DocCardList';

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/introduction/01-installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ slug: /docs/installation

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/introduction/02-usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ slug: /docs/usage

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/introduction/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ slug: /docs

:::caution

This website version refers to the unreleased version of `jest-allure2-reporter` and is not yet available
anywhere. Please use GitHub docs for the latest stable version.
This website version refers to the unreleased version of `jest-allure2-reporter`, partially available as `2.0.0-alpha.*` release.
Please use GitHub docs for the latest stable version, `1.x.x`.

:::

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 18 additions & 0 deletions e2e/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "@wix/jest-allure2-reporter-e2e",
"version": "1.0.0",
"private": true,
"scripts": {
"test": "jest || true",
"build": ":",
"start": "ALLURE_NO_ANALYTICS=1 allure serve allure-results/default",
"start:dev": "npm run build --workspace=jest-allure2-reporter && npm test && npm start"
},
"devDependencies": {
"jest": "29.x.x",
"jest-jasmine2": "29.x.x",
"jest-allure2-reporter": "..",
"ts-jest": "29.x.x",
"typescript": "5.x.x"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions e2e/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "..",
"compilerOptions": {
"noEmit": true
}
}
14 changes: 14 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/** @type {import('@jest/types').Config.InitialOptions} */
module.exports = {
modulePathIgnorePatterns: [
'<rootDir>/dist/',
'<rootDir>/e2e/',
'<rootDir>/website/',
'<rootDir>/node_modules/',
],
preset: 'ts-jest',
testEnvironment: 'node',
testMatch: ['<rootDir>/**/*.test.ts'],
reporters: ['default'],
verbose: true,
};
12 changes: 0 additions & 12 deletions lerna.json

This file was deleted.

Loading

0 comments on commit b7da439

Please sign in to comment.