Move to a mono-repo structure

wip

Add gitignore and edit rollup config

Update gitignore

Wip

WIP

Get rid of older json files and use js files to extend across pkgs later

Make test:native work again, thanks to @SimenB

No haste and get integration test to work

Update husky

Update package.json

Update travis and appveyor

Add lint script

Update sandbox

Update yarn version

Move eslint into sc package

Remove unnecessary files

Update lint-staged

Update CONTRIBUTING.md

Update version in lerna.json

Update contributing

Update scripts

Update contributing

Update contributing

Update contributing.md and publish script

Update contributing

v4.1.4-alpha.0

Update package json

Update lerna version

v4.1.4-alpha.0

v4.1.4-alpha.1

Independent version for sandbox and styled-components

Yarn instead of npm

Add readme to styled-components package to show up on npm

Publish

 - styled-components@4.1.4-alpha.2

Update prepublisOnly and contributing

Update gitignore

Publish

 - styled-components@4.1.4-alpha.3

Test without readme

Remove readme

Publish

 - styled-components@4.1.4-alpha.4

Copy readme prepublishOnly

Publish

 - styled-components@4.1.4-alpha.5
This commit is contained in:
Bhargav Ponnapalli
2019-01-14 21:57:29 +05:30
parent 8cf278bf4e
commit 4aa2fdbb3b
382 changed files with 13699 additions and 1069 deletions

View File

@@ -0,0 +1,3 @@
module.exports = {
rootDir: '../../packages/styled-components',
};

View File

@@ -0,0 +1,6 @@
const baseConfig = require('./config.base');
module.exports = Object.assign({}, baseConfig, {
testRegex: './integration-test/.*.js$',
testURL: 'http://localhost',
});

View File

@@ -0,0 +1,10 @@
const baseConfig = require('./config.base');
module.exports = Object.assign({}, baseConfig, {
testURL: 'http://localhost',
clearMocks: true,
roots: ['<rootDir>/src/'],
setupFiles: ['raf/polyfill', '<rootDir>/src/test/globals.js'],
setupTestFrameworkScriptFile: '<rootDir>/test-utils/setupTestFramework.js',
testPathIgnorePatterns: ['<rootDir>/src/native', '<rootDir>/src/primitives'],
});

View File

@@ -0,0 +1,13 @@
const baseConfig = require('./config.base');
const copy = Object.assign({}, baseConfig);
// react-native preset brings its own haste implementation
delete copy.haste;
module.exports = Object.assign(copy, {
testRegex: 'src/native/test/.*.js$',
preset: 'react-native',
testURL: 'http://localhost',
testEnvironment: 'jsdom',
});

View File

@@ -0,0 +1,9 @@
const baseConfig = require('./config.base');
module.exports = Object.assign({}, baseConfig, {
testRegex: 'src/primitives/test/.*.js$',
moduleFileExtensions: ['ios.js', 'js'],
preset: 'react-native',
testURL: 'http://localhost',
testEnvironment: 'jsdom',
});