-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
01faba0
commit b1061d3
Showing
261 changed files
with
18,006 additions
and
14,082 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules | ||
webui/node_modules | ||
webui/src/generated | ||
/node_modules | ||
/webui/node_modules | ||
/webui/src/generated/* | ||
!/webui/src/generated/graphql-typing-ts.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1 @@ | ||
module.exports = { | ||
presets: [ | ||
[ | ||
"react-app", | ||
{ | ||
flow: true, | ||
}, | ||
], | ||
], | ||
plugins: [ | ||
[ | ||
"@emotion", | ||
{ | ||
autoLabel: "never", | ||
}, | ||
], | ||
], | ||
}; | ||
module.exports = require('@tarantool.io/babel-config')({}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
opera >= 65 | ||
chrome >= 75 | ||
edge >= 80 | ||
bb >= 10 | ||
android >= 80 | ||
firefox >= 65 | ||
safari >= 12 | ||
ios_saf >= 12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
WEBPACK_DEV_SERVER_PROXY=true | ||
REACT_APP_API_ENTRY=http://localhost:8081 | ||
WEBPACK_DEV_SERVER_PROXY=true | ||
WEBPACK_APP_ENTRY=start.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules | ||
src/generated | ||
/node_modules | ||
/src/generated/* | ||
!/src/generated/graphql-typing-ts.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,3 @@ | ||
'use strict'; | ||
|
||
if (typeof Promise === 'undefined') { | ||
// Rejection tracking prevents a common issue where React gets into an | ||
// inconsistent state due to an error, but it gets swallowed by a Promise, | ||
// and the user has no idea what causes React's erratic future behavior. | ||
require('promise/lib/rejection-tracking').enable(); | ||
window.Promise = require('promise/lib/es6-extensions.js'); | ||
} | ||
|
||
// fetch() polyfill for making API calls. | ||
require('whatwg-fetch'); | ||
|
||
// Object.assign() is commonly used with React. | ||
// It will use the native implementation if it's present and isn't buggy. | ||
Object.assign = require('object-assign'); | ||
|
||
// In tests, polyfill requestAnimationFrame since jsdom doesn't provide it yet. | ||
// We don't polyfill it in the browser--this is user's responsibility. | ||
if (process.env.NODE_ENV === 'test') { | ||
require('raf').polyfill(global); | ||
} | ||
require('@tarantool.io/webpack-config/polyfills'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
module.exports = { | ||
collectCoverageFrom: ['src/**/*.{js,jsx,mjs}'], | ||
collectCoverageFrom: ['src/**/*.{js,jsx,ts,tsx,mjs}'], | ||
setupFiles: ['<rootDir>/config/polyfills.js'], | ||
testMatch: ['<rootDir>/src/**/__tests__/**/*.{js,jsx,mjs}', '<rootDir>/src/**/?(*.)(spec|test).{js,jsx,mjs}'], | ||
testMatch: [ | ||
'<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx,mjs}', | ||
'<rootDir>/src/**/?(*.)(spec|test).{js,jsx,ts,tsx,mjs}', | ||
], | ||
testEnvironment: 'node', | ||
testURL: 'http://localhost', | ||
transform: { | ||
'^.+\\.(js|jsx|mjs)$': 'babel-jest', | ||
'^.+\\.(ts|tsx)$': 'ts-jest', | ||
'^.+\\.css$': '<rootDir>/config/jest/cssTransform.js', | ||
'^(?!.*\\.(js|jsx|mjs|css|json)$)': '<rootDir>/config/jest/fileTransform.js', | ||
'^(?!.*\\.(js|jsx|ts|tsx|mjs|css|json)$)': '<rootDir>/config/jest/fileTransform.js', | ||
}, | ||
transformIgnorePatterns: ['[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$'], | ||
moduleNameMapper: { | ||
'^src/(.*)$': '<rootDir>/src/$1', | ||
'^~/(.*)$': '<rootDir>/src/$1', | ||
}, | ||
moduleFileExtensions: ['web.js', 'js', 'json', 'web.jsx', 'jsx', 'node', 'mjs'], | ||
moduleFileExtensions: ['web.js', 'js', 'ts', 'json', 'web.jsx', 'jsx', 'tsx', 'node', 'mjs'], | ||
}; |
Oops, something went wrong.