dyna-ts-react-module-boilerplate
Advanced tools
Comparing version 5.7.21 to 16.7.22
@@ -827,2 +827,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
}); | ||
exports.Button = exports.ESize = exports.EColor = exports.EStyle = void 0; | ||
@@ -876,3 +877,3 @@ var React = __webpack_require__(/*! react */ "react"); | ||
onClick = _a.onClick; | ||
var className = [userClassName, "my-button my-button--style-" + style, "my-button--color-" + color, "my-button--size-" + size].filter(Boolean).join(' '); | ||
var className = [userClassName, "my-button my-button--style-" + style + " ", "my-button--color-" + color, "my-button--size-" + size].filter(Boolean).join(' '); | ||
return React.createElement("a", { | ||
@@ -946,6 +947,26 @@ className: className, | ||
exports.Button = Button_1.Button; | ||
exports.EStyle = Button_1.EStyle; | ||
exports.EColor = Button_1.EColor; | ||
exports.ESize = Button_1.ESize; | ||
Object.defineProperty(exports, "Button", { | ||
enumerable: true, | ||
get: function get() { | ||
return Button_1.Button; | ||
} | ||
}); | ||
Object.defineProperty(exports, "EStyle", { | ||
enumerable: true, | ||
get: function get() { | ||
return Button_1.EStyle; | ||
} | ||
}); | ||
Object.defineProperty(exports, "EColor", { | ||
enumerable: true, | ||
get: function get() { | ||
return Button_1.EColor; | ||
} | ||
}); | ||
Object.defineProperty(exports, "ESize", { | ||
enumerable: true, | ||
get: function get() { | ||
return Button_1.ESize; | ||
} | ||
}); | ||
@@ -952,0 +973,0 @@ /***/ }), |
{ | ||
"name": "dyna-ts-react-module-boilerplate", | ||
"version": "5.7.21", | ||
"version": "16.7.22", | ||
"description": "About", | ||
@@ -15,4 +15,5 @@ "repository": { | ||
"create": "echo Creation started... && rm -rf .git && rm -rf yarn.lock; mv README.md README.boilerplate.md && echo \\# readme > README.md && yarn install && node _boilerplateCreateModule.js && echo --- module created", | ||
"check-deps": "yarn install --check-files", | ||
"start": "webpack-dev-server --config webpack.dev.config.js --devtool eval --progress --inline --hot --content-base dev/public --open --host 127.0.0.1 --port 3200 ", | ||
"start-at": "webpack-dev-server --config webpack.dev.config.js --devtool eval --progress --inline --hot --content-base dev/public --open --host 127.0.0.1 --port", | ||
"start-at": "webpack-dev-serven check-depsr --config webpack.dev.config.js --devtool eval --progress --inline --hot --content-base dev/public --open --host 127.0.0.1 --port", | ||
"lint": "tslint './src/**/*.ts*' --format stylish --force", | ||
@@ -54,3 +55,3 @@ "build-analyze": "set NODE_ENV=production && webpack --config webpack.dist.analyze.config.js", | ||
"@types/enzyme-adapter-react-16": "^1.0.3", | ||
"@types/jest": "^23.3.9", | ||
"@types/jest": "^26.0.15", | ||
"@types/node": "^10.12.2", | ||
@@ -61,3 +62,3 @@ "@types/react": "^16.7.6", | ||
"awesome-typescript-loader": "^5.2.1", | ||
"babel-jest": "20.0.3", | ||
"babel-jest": "^26.6.3", | ||
"babel-loader": "^8.1.0", | ||
@@ -70,2 +71,3 @@ "babel-preset-react-app": "^6.1.0", | ||
"dyna-node-fs": "^1.0.4", | ||
"dyna-showcase": "^2.0.1", | ||
"enzyme": "^3.7.0", | ||
@@ -78,7 +80,7 @@ "enzyme-adapter-react-16": "^1.6.0", | ||
"image-webpack-loader": "^4.5.0", | ||
"jest": "^23.6.0", | ||
"jest-cli": "^23.6.0", | ||
"jest-junit": "^11.1.0", | ||
"jsdom": "11.5.1", | ||
"jsdom-global": "3.0.2", | ||
"jest": "^26.6.3", | ||
"jest-cli": "^26.6.3", | ||
"jest-junit": "^12.0.0", | ||
"jsdom": "^16.4.0", | ||
"jsdom-global": "^3.0.2", | ||
"less": "^3.9.0", | ||
@@ -91,3 +93,2 @@ "less-loader": "^4.1.0", | ||
"raw-loader": "^0.5.1", | ||
"react-addons-test-utils": "^15.6.2", | ||
"react-hot-loader": "^4.3.12", | ||
@@ -100,4 +101,4 @@ "react-test-renderer": "^16.6.1", | ||
"svg-inline-loader": "^0.8.0", | ||
"ts-jest": "^26.4.1", | ||
"tslint": "^5.11.0", | ||
"ts-jest": "^26.4.3", | ||
"tslint": "^6.1.3", | ||
"typescript": "^3.1.6", | ||
@@ -114,3 +115,5 @@ "typings-for-css-modules-loader": "^1.7.0", | ||
"jest": { | ||
"setupTestFrameworkScriptFile": "./tests/setup/testSetup.js", | ||
"setupFilesAfterEnv": [ | ||
"./tests/setup/testSetup.ts" | ||
], | ||
"automock": false, | ||
@@ -120,3 +123,3 @@ "collectCoverage": false, | ||
"transform": { | ||
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js" | ||
".(ts|tsx)": "ts-jest" | ||
}, | ||
@@ -146,4 +149,4 @@ "testRegex": "(src|tests)/.*\\.(test|spec)\\.(ts|tsx|js|jsx)$", | ||
"dyna": { | ||
"changeId": "1deha8ef-1d6h0413-60960523440847120" | ||
"changeId": "1f833a6c-1dbb759f-9877717844184760" | ||
} | ||
} |
@@ -23,8 +23,10 @@ # About | ||
# Compatibility | ||
# Supported React versions | ||
- React 16 | ||
|React version|Git entity|Name| | ||
|:---:|---|---| | ||
|15|tag|v4.1.5| | ||
|16|branch|master| | ||
|17|branch|react-v17| | ||
For React 15 use the tag v4.1.5 of this repo. | ||
# Features | ||
@@ -88,2 +90,8 @@ | ||
Like an App, this boilerplate uses the `dyna-showcase` where it is a very light StoryBook like solution. | ||
One of the benefits is that it is speedy compared with StoraBook, and you can see the actual edges of the components (for high fidelity dev). | ||
It is ideal for development, but you can easily replace it with yours, `yarn remove dyna-showcase`, and write your app under the `/dev` folder. | ||
_StoryBook is still available!_ | ||
## Lint | ||
@@ -90,0 +98,0 @@ |
@@ -29,3 +29,4 @@ { | ||
"types": [ | ||
"node" | ||
"node", | ||
"jest" | ||
] | ||
@@ -32,0 +33,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117420
55
1754
174