Skip to content

Commit

Permalink
Knip babel updates (#1684)
Browse files Browse the repository at this point in the history
* chore: remove prerelese releases for now
* chore: add babel support to knip
  • Loading branch information
johnf authored Dec 15, 2024
1 parent 85a3a72 commit d43de84
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 34 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ on:
skip-directory:
type: boolean
description: Skip directory website deployment
pre-release:
type: boolean
description: Create a pre-release
# pre-release:
# type: boolean
# description: Create a pre-release
release:
types: [created]

Expand All @@ -35,11 +35,11 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish pre-release to NPM
if: github.event.inputs.pre-release = 'true'
run: yarn prerelease
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# - name: Publish pre-release to NPM
# if: github.event.inputs.pre-release = 'true'
# run: yarn prerelease
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

directory:
name: Directory website
Expand Down
28 changes: 2 additions & 26 deletions .knip.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "https://unpkg.com/knip@5/schema-jsonc.json",
"ignore": ["**/*.web.ts"],
"babel": true,
"workspaces": {
".": {
"ignoreDependencies": [
Expand Down Expand Up @@ -29,7 +30,7 @@
"packages/common": {
"entry": ["src/index.ts", "src/scripts/{getFonts,updatePlist}.ts"],
"ignoreDependencies": ["@react-native/assets-registry", "turbo"],
"ignore": ["src/NativeVectorIcons.ts", "babel.config.js", "react-native.config.js"]
"ignore": ["src/NativeVectorIcons.ts", "react-native.config.js"]
},
"packages/fontawesome-common": {
"entry": ["src/index.ts", "scripts/generate-fontawesome-metadata.js"],
Expand Down Expand Up @@ -67,76 +68,51 @@
"ignoreDependencies": ["oslllo-svg-fixer"]
},
"packages/ant-design": {
"ignore": ["babel.config.js"],
"ignoreDependencies": ["@ant-design/icons-svg"]
},
"packages/entypo": {
"ignore": ["babel.config.js"],
"ignoreDependencies": ["@entypo-icons/core"]
},
"packages/evil-icons": {
"ignore": ["babel.config.js"],
"ignoreDependencies": ["evil-icons"]
},
"packages/feather": {
"ignore": ["babel.config.js"],
"ignoreDependencies": ["feather-icons"]
},
"packages/fontawesome": {
"ignore": ["babel.config.js"],
"ignoreDependencies": ["font-awesome"]
},
"packages/fontawesome5": {
"ignore": ["babel.config.js"],
"ignoreDependencies": ["@fortawesome/fontawesome-free"]
},
"packages/fontawesome5-pro": {
"ignore": ["babel.config.js"],
"ignoreDependencies": ["@react-native-vector-icons/fontawesome-common"]
},
"packages/fontawesome6": {
"ignore": ["babel.config.js"],
"ignoreDependencies": ["@fortawesome/fontawesome-free"]
},
"packages/fontawesome6-pro": {
"ignore": ["babel.config.js"],
"ignoreDependencies": ["@react-native-vector-icons/fontawesome-common"]
},
"packages/fontello": {
"ignore": ["babel.config.js"]
},
"packages/fontisto": {
"ignore": ["babel.config.js"],
"ignoreDependencies": ["fontisto"]
},
"packages/foundation": {
"ignore": ["babel.config.js"],
"ignoreDependencies": ["foundation-icons"]
},
"packages/icomoon": {
"ignore": ["babel.config.js"]
},
"packages/ionicons": {
"ignore": ["babel.config.js"],
"ignoreDependencies": ["ionicons"]
},
"packages/material-design-icons": {
"ignore": ["babel.config.js"],
"ignoreDependencies": ["@mdi/font"]
},
"packages/material-icons": {
"ignore": ["babel.config.js"]
},
"packages/simple-line-icons": {
"ignore": ["babel.config.js"],
"ignoreDependencies": ["simple-line-icons"]
},
"packages/octicons": {
"ignore": ["babel.config.js"],
"ignoreDependencies": ["@primer/octicons"]
},
"packages/zocial": {
"ignore": ["babel.config.js"],
"ignoreDependencies": ["css-social-buttons"]
}
}
Expand Down

0 comments on commit d43de84

Please sign in to comment.