Skip to content

Commit 0c98551

Browse files
authored
Merge branch 'master' into dev
2 parents f7b4f63 + d4fcdfa commit 0c98551

File tree

4 files changed

+73
-21
lines changed

4 files changed

+73
-21
lines changed

.github/bump.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ release:
2525
new-prefix: ''
2626
- replace-prefix: 'deps: '
2727
new-prefix: ''
28+
- replace-prefix: 'build(deps): '
29+
new-prefix: ''
2830
- replace-prefix: 'build: '
2931
new-prefix: ''
3032
branch:
@@ -71,6 +73,7 @@ categories:
7173
skip-label: 'Development'
7274
commits:
7375
- 'deps:'
76+
- 'build(deps):'
7477
changes-prefix: ':green_book: '
7578
bump:
7679
default: 'patch'

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
uses: actions/setup-node@v1
3535
with:
3636
node-version: ${{ matrix.node-version }}
37+
registry-url: https://registry.npmjs.org/
3738

3839
- name: Cache node_modules
3940
id: cache-modules

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
TailwindCSS Plugin to integrate with Inter Typeface from Rasmus Andersson [@rsms](https://twitter.com/rsms). It adds `.font-inter` class to apply Inter font family, adjusts letter spacing for each font size according to the [Dynamic Metrics](https://rsms.me/inter/dynmetrics/) and allows to toggle font feature settings. Optionally adds `@font-face` from [https://rsms.me/inter/inter.css](https://rsms.me/inter/inter.css).
44

5-
The plugin is inspired with [tailwind-plugin-inter-font](https://github.com/suburbicode/tailwind-plugin-font-inter) plugin developed by Imam Susanto [@imsus](https://github.com/imsus).
5+
The plugin is inspired with [tailwind-plugin-inter-font](https://github.com/imsus/tailwind-plugin-font-inter) plugin developed by Imam Susanto [@imsus](https://github.com/imsus).
66

77
:warning: **This plugin produces pretty large amount of utility classes! It is highly recommended to use it in JIT-mode or with `purge` option.**
88

@@ -43,16 +43,15 @@ You can set additional options for plugin:
4343
```js
4444
// tailwind.config.js
4545
module.exports = {
46-
...
47-
46+
/* ... */
4847
plugins: [
49-
require('tailwindcss-font-inter')({ // default settings
50-
a: -0.0223,
51-
b: 0.185,
52-
c: -0.1745,
53-
baseFontSize: 16,
54-
importFontFace: true,
55-
})
48+
require('tailwindcss-font-inter')({ // default settings
49+
a: -0.0223,
50+
b: 0.185,
51+
c: -0.1745,
52+
baseFontSize: 16,
53+
importFontFace: true,
54+
})
5655
]
5756
}
5857
```

package.json

Lines changed: 60 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,64 @@
11
{
2-
"name": "tailwindcss-font-inter",
3-
"description": "TailwindCSS plugin for pleasant Inter Typeface integration",
4-
"version": "2.0.5",
5-
"license": "MIT",
6-
"main": "src/index.js",
7-
"author": "Yuri Sementsov <hello@smcv.dev>",
8-
"files": ["src", "inter.json"],
9-
"scripts": {
10-
"update": "node ./update.js",
11-
"lint": "eslint . --fix",
12-
"test": "jest && eslint ."
2+
"name": "tailwindcss-font-inter",
3+
"description": "TailwindCSS plugin for pleasant Inter Typeface integration",
4+
"version": "3.0.0",
5+
"license": "MIT",
6+
"main": "src/index.js",
7+
"author": "Yuri Sementsov <hello@smcv.dev>",
8+
"files": [
9+
"src",
10+
"inter.json"
11+
],
12+
"scripts": {
13+
"update": "node ./update.js",
14+
"lint": "eslint . --fix",
15+
"test": "jest && eslint ."
16+
},
17+
"repository": {
18+
"type": "git",
19+
"url": "https://github.com/semencov/tailwindcss-font-inter.git"
20+
},
21+
"keywords": [
22+
"tailwindcss",
23+
"tailwindcss-plugin",
24+
"tailwind-plugin",
25+
"inter ui",
26+
"inter",
27+
"font",
28+
"font-feature-settings"
29+
],
30+
"bugs": {
31+
"email": "hello@smcv.dev",
32+
"url": "https://github.com/semencov/tailwindcss-font-inter/issues"
33+
},
34+
"homepage": "https://github.com/semencov/tailwindcss-font-inter",
35+
"peerDependencies": {
36+
"tailwindcss": "^2.0.0 || ^3.0.0"
37+
},
38+
"devDependencies": {
39+
"cssjson": "^2.1.3",
40+
"eslint": "^6.0.1",
41+
"eslint-config-postcss": "^2.0.2",
42+
"eslint-config-prettier": "^6.0.0",
43+
"eslint-plugin-prettier": "^3.0.1",
44+
"fontkit": "^1.8.1",
45+
"jest": "^26.6.3",
46+
"mkdirp": "^1.0.4",
47+
"node-fetch": "^2.6.1",
48+
"postcss": "^8.2.13",
49+
"prettier": "^1.18.2",
50+
"rimraf": "^3.0.2",
51+
"tailwindcss": "^3.0.2"
52+
},
53+
"dependencies": {
54+
"parse-unit": "^1.0.1"
55+
},
56+
"engines": {
57+
"node": ">=12.0.0"
58+
},
59+
"eslintConfig": {
60+
"env": {
61+
"jest": true
1362
},
1463
"repository": {
1564
"type": "git",

0 commit comments

Comments
 (0)