aesthetic-adapter-typestyle
Advanced tools
Comparing version 3.0.1 to 4.0.0-alpha.0
@@ -0,1 +1,9 @@ | ||
# 4.0.0 | ||
#### 💥 Breaking | ||
- Rewritten to support the | ||
[core 5.0 changes](https://github.com/milesj/aesthetic/blob/master/packages/aesthetic/CHANGELOG.md). | ||
- Adapter no longer extends `Aesthetic` and does not accept options in the constructor. | ||
### 3.0.1 - 2019-09-15 | ||
@@ -2,0 +10,0 @@ |
@@ -5,4 +5,4 @@ /** | ||
*/ | ||
import TypeStyleAesthetic from './TypeStyleAesthetic'; | ||
import TypeStyleAdapter from './TypeStyleAdapter'; | ||
export * from './types'; | ||
export default TypeStyleAesthetic; | ||
export default TypeStyleAdapter; |
@@ -5,5 +5,5 @@ /** | ||
*/ | ||
import TypeStyleAesthetic from './TypeStyleAesthetic'; | ||
import TypeStyleAdapter from './TypeStyleAdapter'; | ||
export * from './types'; | ||
export default TypeStyleAesthetic; | ||
export default TypeStyleAdapter; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -7,3 +7,3 @@ "use strict"; | ||
var _TypeStyleAesthetic = _interopRequireDefault(require("./TypeStyleAesthetic")); | ||
var _TypeStyleAdapter = _interopRequireDefault(require("./TypeStyleAdapter")); | ||
@@ -24,3 +24,3 @@ var _types = require("./types"); | ||
*/ | ||
var _default = _TypeStyleAesthetic.default; | ||
var _default = _TypeStyleAdapter.default; | ||
exports.default = _default; |
{ | ||
"name": "aesthetic-adapter-typestyle", | ||
"version": "3.0.1", | ||
"version": "4.0.0-alpha.0", | ||
"description": "TypeStyle support for Aesthetic.", | ||
@@ -20,3 +20,3 @@ "keywords": [ | ||
"dependencies": { | ||
"aesthetic-utils": "^2.0.1" | ||
"aesthetic-utils": "^3.0.0-alpha.0" | ||
}, | ||
@@ -30,3 +30,7 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "9e25a97050daf05f81b04815c301f93cdc1d3b56" | ||
"funding": { | ||
"type": "ko-fi", | ||
"url": "https://ko-fi.com/milesjohnson" | ||
}, | ||
"gitHead": "1909ec6f57b2ddcc63355122e38d74c9d06d2a23" | ||
} |
# Aesthetic with TypeStyle | ||
[![Build Status](https://travis-ci.org/milesj/aesthetic.svg?branch=master)](https://travis-ci.org/milesj/aesthetic) | ||
[![Build Status](https://github.com/milesj/aesthetic/workflows/Build/badge.svg)](https://github.com/milesj/aesthetic/actions?query=branch%3Amaster) | ||
[![npm version](https://badge.fury.io/js/aesthetic-adapter-typestyle.svg)](https://www.npmjs.com/package/aesthetic-adapter-typestyle) | ||
@@ -11,7 +11,9 @@ [![npm deps](https://david-dm.org/milesj/aesthetic.svg?path=packages/adapter-typestyle)](https://www.npmjs.com/package/aesthetic-adapter-typestyle) | ||
```ts | ||
import TypeStyleAesthetic from 'aesthetic-adapter-typestyle'; | ||
import aesthetic from 'aesthetic'; | ||
import TypeStyleAdapter from 'aesthetic-adapter-typestyle'; | ||
import { TypeStyle } from 'typestyle'; | ||
import { Theme } from './types'; | ||
const aesthetic = new TypeStyleAesthetic<Theme>(new TypeStyle({ autoGenerateTag: true }), options); | ||
aesthetic.configure({ | ||
adapter: new TypeStyleAdapter(new TypeStyle({ autoGenerateTag: true })), | ||
}); | ||
``` | ||
@@ -18,0 +20,0 @@ |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
36
17847
206
2
1
+ Addedaesthetic-utils@3.1.0(transitive)