Skip to content

Commit ff7d02f

Browse files
ranm8GiladShohamdavidfirst
authored
Introduce Environments extension (teambit#2682)
* introduce Environment extension (examples of environments are react/angular/node etc) to provide an easy way to combine all environment's tasks and services. * introduce React Environment extension * introduce Jest tester * implement envs services/context * integrate Jest tester with React environment * change typescript compile to be extendible by other components. * integrate Typescript compiler with React environment * running composer with components * adjusted eslint to work with react * docs and compositions * change compiler extension to work as part of an "environment" * introduce Releaser extension to manage the processes running onTag, * implement typescript programmatic API for project-references * fix typescript types collision between Mocha and Jest * change compiler-ext to use the newly introduce "task" to run on release * refactor compile-ext, removed lots of old code Co-authored-by: Ran Mizrahi <[email protected]> Co-authored-by: Gilad Shoham <[email protected]> Co-authored-by: David First <[email protected]>
1 parent afa9ee9 commit ff7d02f

File tree

130 files changed

+31857
-8099
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+31857
-8099
lines changed

.eslintrc.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@ module.exports = {
88
}
99
},
1010
parserOptions: {
11-
project: './tsconfig.json'
11+
project: './tsconfig.json',
12+
ecmaFeatures: {
13+
jsx: true // Allows for the parsing of JSX
14+
}
1215
},
1316
extends: [
1417
'airbnb-typescript/base',
1518
// 'plugin:@typescript-eslint/recommended-requiring-type-checking',
1619
'plugin:@typescript-eslint/recommended',
1720
// 'plugin:eslint-comments/recommended',
1821
'plugin:promise/recommended',
22+
'plugin:react/recommended',
1923
// 'plugin:unicorn/recommended',
2024
// 'plugin:mocha/recommended',
2125
'prettier',
@@ -89,6 +93,7 @@ module.exports = {
8993
}
9094
],
9195
env: {
96+
browser: true,
9297
node: true,
9398
mocha: true
9499
}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ nodeBin
8181
_book
8282

8383
# pkg releases
84-
releases/
84+
/releases/
8585
bin/bit
8686

8787
# sonarcloud dir

custom-types/jest/index.d.ts

Whitespace-only changes.

0 commit comments

Comments
 (0)