Skip to content

Commit

Permalink
build: languages from package linguist-languages instead (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin authored Jul 29, 2022
1 parent 9d33bd5 commit d5cc092
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 145 deletions.
6 changes: 6 additions & 0 deletions .changeset/serious-candles-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"prettier-plugin-sh": patch
"prettier-plugin-sql": patch
---

build: languages from package `linguist-languages` instead
11 changes: 11 additions & 0 deletions .github/workflows/pkg-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: pnpm

- name: Package Size Report
uses: pkg-size/action@v1
env:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/vercel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:

jobs:
deploy:
if: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ public-hoist-pattern[]=*prettier*
public-hoist-pattern[]=rimraf
public-hoist-pattern[]=simple-git-hooks
public-hoist-pattern[]=*stylelint*
public-hoist-pattern[]=tslib
strict-peer-dependencies=false
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"workspaces": [
"packages/*"
],
"packageManager": "pnpm@7.6.0",
"packageManager": "pnpm@7.7.0",
"scripts": {
"build": "run-p build:*",
"build:r": "r -f cjs",
"build:ts": "tsc -b",
"clean": "rimraf dist coverage 'packages/*/{lib,*.tsbuildinfo}'",
"codesandbox:install": "npx pnpm@7.6.0 i",
"codesandbox:install": "npx pnpm@7.7.0 i",
"dev": "vitest",
"docs:build": "w -e docs -p --publicPath /",
"docs:dev": "w -e docs --disableDotRule --publicPath /",
Expand All @@ -40,7 +40,6 @@
"@changesets/changelog-github": "^0.4.6",
"@changesets/cli": "^2.24.1",
"@pkgr/webpack-mdx": "^2.0.3",
"@types/js-yaml": "^4.0.5",
"@types/lodash": "^4.14.182",
"@types/mvdan-sh": "^0.10.0",
"@types/prettier": "^2.6.4",
Expand All @@ -49,8 +48,7 @@
"@types/web": "^0.0.70",
"c8": "^7.12.0",
"github-markdown-css": "^5.1.0",
"https-proxy-agent": "^5.0.1",
"js-yaml": "^4.1.0",
"linguist-languages": "^7.21.0",
"lodash": "^4.17.21",
"prettier-plugin-pkg": "workspace:*",
"prettier-plugin-sh": "workspace:*",
Expand All @@ -66,9 +64,6 @@
"unplugin-auto-import": "^0.10.2",
"vitest": "^0.19.1"
},
"resolutions": {
"prettier": "^2.7.1"
},
"browserslist": [
"extends @1stg/browserslist-config/modern"
],
Expand All @@ -88,6 +83,11 @@
"!/.github",
"!/.*.js"
],
"pnpm": {
"overrides": {
"prettier": "^2.7.1"
}
},
"renovate": {
"extends": [
"@1stg"
Expand Down
68 changes: 21 additions & 47 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d5cc092

Please sign in to comment.