Skip to content

Commit dd37e9c

Browse files
committed
Merge branch 'feature/rewrite' into beta
2 parents 240649b + bf8076e commit dd37e9c

373 files changed

Lines changed: 46813 additions & 9956 deletions

File tree

Some content is hidden

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

.editorconfig

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
[*.ts]
1+
[*]
2+
root = true
23
indent_style = space
34
indent_size = 2
5+
charset = utf-8
6+
end_of_line = lf
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true
49

5-
[*.tsx]
6-
indent_style = space
7-
indent_size = 2
10+
[*.md,*.snap]
11+
trim_trailing_whitespace = false

.eslintrc.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
module.exports = {
2+
env: {
3+
node: true,
4+
},
5+
extends: 'eslint:recommended',
6+
parserOptions: {
7+
ecmaVersion: 5,
8+
sourceType: 'module',
9+
impliedStrict: true,
10+
},
11+
rules: {
12+
'no-console': ['error', { allow: ['warn', 'error', 'log'] }],
13+
indent: ['error', 2],
14+
'linebreak-style': ['error', 'unix'],
15+
quotes: ['error', 'single'],
16+
semi: ['error', 'never'],
17+
'comma-dangle': [
18+
'error',
19+
{
20+
arrays: 'always-multiline',
21+
objects: 'always-multiline',
22+
imports: 'always-multiline',
23+
exports: 'always-multiline',
24+
functions: 'never',
25+
},
26+
],
27+
},
28+
}

.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,13 @@ jspm_packages
4545
.idea
4646

4747

48-
# Long paths
48+
# tests specific
4949
tests/simple-long-path/long-src-path
50+
# is linked to the temp dir of the os
51+
e2e/__workdir_synlink__
52+
**/.ts-jest-e2e.json
53+
# while refactoring...
54+
old/
55+
56+
# binaries
57+
*.tgz

.npmignore

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# TypeScript source code
2-
src
3-
41
# Tests
5-
tests
2+
e2e
3+
4+
# sources are inlined
5+
src
66

77
# Developement scripts
8-
scripts
8+
scripts
99

1010
# Logs
1111
logs
@@ -46,4 +46,23 @@ jspm_packages
4646
.npm
4747

4848
# Optional REPL history
49-
.node_repl_history
49+
.node_repl_history
50+
# while refactoring...
51+
old
52+
53+
*.tgz
54+
55+
# others
56+
.npmignore
57+
.eslintrc.js
58+
jest.config.js
59+
.vscode
60+
.github
61+
appveyor.yml
62+
.editorconfig
63+
.prettierignore
64+
tsconfig.json
65+
.prettierrc
66+
.travis.yml
67+
tsconfig.build.json
68+
tslint.json

.prettierignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
dist/
2+
e2e/
3+
!e2e/__helpers__
4+
!e2e/__serializers__
5+
!e2e/__tests__
6+
node_modules/
7+
src/**/__snapshots__/

.prettierrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
semi: false
2+
printWidth: 80
3+
singleQuote: true
4+
tabWidth: 2
5+
useTabs: false
6+
trailingComma: all
7+
overrides:
8+
- files: "**/*.js"
9+
options:
10+
trailingComma: es5

.travis.yml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
1-
dist: trusty
2-
sudo: required
31
language: node_js
4-
cache: yarn
5-
git:
6-
depth: 5
2+
3+
env:
4+
- TS_JEST_E2E_WORKDIR=/tmp/ts-jest-e2e-workdir
5+
6+
cache:
7+
npm: true
8+
directories:
9+
- /tmp/ts-jest-e2e-workdir/__templates__
10+
711
node_js:
812
- "10"
913
- "8"
1014
- "6"
11-
before_install:
12-
- sudo sysctl fs.inotify.max_user_watches=524288
13-
- yarn global add greenkeeper-lockfile@1 rimraf
14-
before_script:
15-
# - greenkeeper-lockfile-update
15+
1616
script:
17-
- yarn test
18-
after_script:
19-
# - greenkeeper-lockfile-upload
20-
notifications:
21-
slack:
22-
secure: "Rj32dEDWEbNrwn0b+dFpUPPMg20IRScOA1eXUXaNY1TyluSd2rIRN1uwH0tOTglDieExeNOhfsc5iqxqSRomwelB3JzVwAJqv+IzFU3U0JlmntIZoxijiPr9Xxwu+ZB7nO1NSjHChyG/pVuKEYYYhmtHoIuI6D4hR2y4PRSPsKc5qOx4B7mfAzYio8JRNBVDe7B3CSWbXBnQ31pqjNhpNEiCkZyUzE9CdJnsr0GFUkZ6LlzlXMhXVXCihzlirSKKCEDj/A3O2jbfULqglKKHCwa/WVtObBCPOjp8Kk0sw0DSwU8GZPBv76iwPDgLCC5M45zM7vW0QhaLKtV5/tXIApuf2dOcOM3Q5wirfY4KetaNCpMqBIfBzo17h4pzWK/is6WyEYHyZmN9+mkBSYvWSM5s9vGubWKDnWAA2d6mtIgM6xAHNPyTJ8RWLGeyi1TJYOSIyIASaQEcXl25tD2KEjA7A33fJl2FXcsiDVE8+TUuecFl7A4TpFZU9mIS2N5RkIqE40xLCkIjx3m9YotlDSjATNLFQpQIESPhmlqN7Ray00aVd5tOCFg+674oGTPh2lQdSKIt1+Llr0uEEwcrUCKqyQ2lYGiTOuODj54Ix8gWSVsVtfy4/w3ckal/h2OlTeY88tAmFw4Ck+ZV+PrO2JsEmT7iipAQI0gkecJXUlE="
17+
- npm run clean -- --when-ci-commit-message
18+
- npm run test -- --coverage
File renamed without changes.

0 commit comments

Comments
 (0)