Skip to content

Commit d5cc092

Browse files
authored
build: languages from package linguist-languages instead (#212)
1 parent 9d33bd5 commit d5cc092

File tree

7 files changed

+81
-145
lines changed

7 files changed

+81
-145
lines changed

.changeset/serious-candles-hide.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"prettier-plugin-sh": patch
3+
"prettier-plugin-sql": patch
4+
---
5+
6+
build: languages from package `linguist-languages` instead

.github/workflows/pkg-size.yml

+11
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@ jobs:
1414
- name: Checkout
1515
uses: actions/checkout@v3
1616

17+
- name: Setup pnpm
18+
uses: pnpm/action-setup@v2
19+
with:
20+
version: latest
21+
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v3
24+
with:
25+
node-version: 16
26+
cache: pnpm
27+
1728
- name: Package Size Report
1829
uses: pkg-size/action@v1
1930
env:

.github/workflows/vercel.yml

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99

1010
jobs:
1111
deploy:
12-
if: false
1312
runs-on: ubuntu-latest
1413
steps:
1514
- uses: actions/checkout@v3

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ public-hoist-pattern[]=*prettier*
1515
public-hoist-pattern[]=rimraf
1616
public-hoist-pattern[]=simple-git-hooks
1717
public-hoist-pattern[]=*stylelint*
18+
public-hoist-pattern[]=tslib
1819
strict-peer-dependencies=false

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"workspaces": [
1111
"packages/*"
1212
],
13-
"packageManager": "pnpm@7.6.0",
13+
"packageManager": "pnpm@7.7.0",
1414
"scripts": {
1515
"build": "run-p build:*",
1616
"build:r": "r -f cjs",
1717
"build:ts": "tsc -b",
1818
"clean": "rimraf dist coverage 'packages/*/{lib,*.tsbuildinfo}'",
19-
"codesandbox:install": "npx pnpm@7.6.0 i",
19+
"codesandbox:install": "npx pnpm@7.7.0 i",
2020
"dev": "vitest",
2121
"docs:build": "w -e docs -p --publicPath /",
2222
"docs:dev": "w -e docs --disableDotRule --publicPath /",
@@ -40,7 +40,6 @@
4040
"@changesets/changelog-github": "^0.4.6",
4141
"@changesets/cli": "^2.24.1",
4242
"@pkgr/webpack-mdx": "^2.0.3",
43-
"@types/js-yaml": "^4.0.5",
4443
"@types/lodash": "^4.14.182",
4544
"@types/mvdan-sh": "^0.10.0",
4645
"@types/prettier": "^2.6.4",
@@ -49,8 +48,7 @@
4948
"@types/web": "^0.0.70",
5049
"c8": "^7.12.0",
5150
"github-markdown-css": "^5.1.0",
52-
"https-proxy-agent": "^5.0.1",
53-
"js-yaml": "^4.1.0",
51+
"linguist-languages": "^7.21.0",
5452
"lodash": "^4.17.21",
5553
"prettier-plugin-pkg": "workspace:*",
5654
"prettier-plugin-sh": "workspace:*",
@@ -66,9 +64,6 @@
6664
"unplugin-auto-import": "^0.10.2",
6765
"vitest": "^0.19.1"
6866
},
69-
"resolutions": {
70-
"prettier": "^2.7.1"
71-
},
7267
"browserslist": [
7368
"extends @1stg/browserslist-config/modern"
7469
],
@@ -88,6 +83,11 @@
8883
"!/.github",
8984
"!/.*.js"
9085
],
86+
"pnpm": {
87+
"overrides": {
88+
"prettier": "^2.7.1"
89+
}
90+
},
9191
"renovate": {
9292
"extends": [
9393
"@1stg"

pnpm-lock.yaml

+21-47
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)