Skip to content

Commit 622cf6e

Browse files
committed
deps: updated Inter font to v4.0
1 parent 45baf45 commit 622cf6e

File tree

9 files changed

+950
-600
lines changed

9 files changed

+950
-600
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
strategy:
2828
matrix:
29-
node-version: [12.x, 14.x]
29+
node-version: [18.x, 20.x]
3030
steps:
3131
- uses: actions/checkout@v2
3232

@@ -64,7 +64,7 @@ jobs:
6464
uses: actions/cache@v1
6565
with:
6666
path: node_modules
67-
key: 12.x-${{ runner.OS }}-build-${{ hashFiles('package.json') }}
67+
key: 18.x-${{ runner.OS }}-build-${{ hashFiles('package.json') }}
6868

6969
- name: Build
7070
if: steps.cache-modules.outputs.cache-hit != 'true'

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ dist
55
node_modules
66
package-lock.json
77
yarn.lock
8+
pnpm-lock.yaml

biome.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
3+
"organizeImports": {
4+
"enabled": true
5+
},
6+
"linter": {
7+
"enabled": true,
8+
"rules": {
9+
"recommended": true
10+
}
11+
}
12+
}

inter.json

Lines changed: 338 additions & 1 deletion
Large diffs are not rendered by default.

package.json

Lines changed: 52 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -1,88 +1,54 @@
11
{
2-
"name": "tailwindcss-font-inter",
3-
"description": "TailwindCSS plugin for pleasant Inter Typeface integration",
4-
"version": "3.0.1",
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-
"@types/parse-unit": "^1.0.1",
55-
"parse-unit": "^1.0.1"
56-
},
57-
"eslintConfig": {
58-
"env": {
59-
"jest": true
60-
},
61-
"parserOptions": {
62-
"ecmaVersion": 2018,
63-
"sourceType": "module"
64-
},
65-
"extends": [
66-
"eslint-config-postcss",
67-
"prettier"
68-
],
69-
"plugins": [
70-
"prettier"
71-
],
72-
"rules": {
73-
"prettier/prettier": [
74-
"error",
75-
{
76-
"semi": false,
77-
"singleQuote": true,
78-
"printWidth": 100,
79-
"tabWidth": 2,
80-
"useTabs": false,
81-
"trailingComma": "es5",
82-
"bracketSpacing": true,
83-
"parser": "flow"
84-
}
85-
]
86-
}
87-
}
2+
"name": "tailwindcss-font-inter",
3+
"description": "TailwindCSS plugin for pleasant Inter Typeface integration",
4+
"version": "3.0.1",
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": "biome lint .",
12+
"lint:fix": "biome check . --write",
13+
"test": "jest"
14+
},
15+
"repository": {
16+
"type": "git",
17+
"url": "https://github.com/semencov/tailwindcss-font-inter.git"
18+
},
19+
"keywords": [
20+
"tailwindcss",
21+
"tailwindcss-plugin",
22+
"tailwind-plugin",
23+
"inter ui",
24+
"inter",
25+
"font",
26+
"font-feature-settings"
27+
],
28+
"bugs": {
29+
"email": "hello@smcv.dev",
30+
"url": "https://github.com/semencov/tailwindcss-font-inter/issues"
31+
},
32+
"homepage": "https://github.com/semencov/tailwindcss-font-inter",
33+
"peerDependencies": {
34+
"tailwindcss": "^2.0.0 || ^3.0.0"
35+
},
36+
"devDependencies": {
37+
"@biomejs/biome": "^1.8.3",
38+
"fontkit": "^1.9.0",
39+
"lodash": "^4.17.21",
40+
"mkdirp": "^3.0.1",
41+
"node-fetch": "^2.7.0",
42+
"rimraf": "^6.0.1",
43+
"tailwindcss": "^3.4.10",
44+
"cssjson": "^2.1.3",
45+
"jest": "^26.6.3",
46+
"postcss": "^8.2.13"
47+
},
48+
"dependencies": {
49+
"parse-unit": "^1.0.1"
50+
},
51+
"engines": {
52+
"node": ">=18.0.0"
53+
}
8854
}

0 commit comments

Comments
 (0)