Skip to content

Commit be8a8b6

Browse files
authored
chore: remove some build warnings (#1612)
1. remove old entry point from knip config addresses: ``` . check:knip$ knip │ Configuration hints (1) │ ./lingui.config.ts .knip.jsonc Refine entry pattern (no matches) └─ Done in 3.1s ``` 2. upgrade caniuse-lite addresses: ``` . check:lint$ eslint src │ Browserslist: caniuse-lite is outdated. Please run: │ npx update-browserslist-db@latest │ Why you should do it regularly: https://github.com/browserslist/update-db#readme └─ Done in 5.4s ``` 3. approve builds addresses: ``` ╭ Warning ───────────────────────────────────────────────────────────────────────────────────╮ │ │ │ Ignored build scripts: esbuild, oxc-resolver. │ │ Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts. │ │ │ ╰────────────────────────────────────────────────────────────────────────────────────────────╯ ```
1 parent 0a5a6b8 commit be8a8b6

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.knip.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://unpkg.com/knip@2/schema.json",
3-
"entry": ["src/index.tsx", "./lingui.config.ts"],
3+
"entry": ["src/index.tsx"],
44
"project": ["src/**/*.{ts,tsx}"],
55
"ignore": [
66
"src/graphql-client/*.ts",

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,11 @@
113113
"brace-expansion@>=2.0.0 <=2.0.1": "^2.0.2",
114114
"tmp@<=0.2.3": ">=0.2.4",
115115
"js-yaml@<4.1.1": ">=4.1.1"
116-
}
116+
},
117+
"onlyBuiltDependencies": [
118+
"esbuild",
119+
"oxc-resolver"
120+
]
117121
},
118122
"packageManager": "pnpm@10.25.0+sha512.5e82639027af37cf832061bcc6d639c219634488e0f2baebe785028a793de7b525ffcd3f7ff574f5e9860654e098fe852ba8ac5dd5cefe1767d23a020a92f501"
119123
}

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)