Skip to content

Commit

Permalink
icons pack
Browse files Browse the repository at this point in the history
  • Loading branch information
jog1t committed Sep 18, 2024
1 parent f5b841c commit 3434dac
Show file tree
Hide file tree
Showing 7 changed files with 630 additions and 53 deletions.
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ npmScopes:
fortawesome:
npmAlwaysAuth: true
npmRegistryServer: 'https://npm.fontawesome.com/'
npmAuthToken: ${FONTAWESOME_PACKAGE_TOKEN}
npmAuthToken: ${FONTAWESOME_PACKAGE_TOKEN:-}
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,5 @@
"@biomejs/biome": "1.8.2",
"lefthook": "^1.6.12",
"turbo": "^2.0.1"
},
"dependencies": {
"filesize": "^10.1.6"
}
}
6 changes: 0 additions & 6 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@
"@codemirror/lang-javascript": "^6.2.2",
"@codemirror/lang-json": "^6.0.1",
"@codemirror/view": "^6.28.4",
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-brands-svg-icons": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/pro-regular-svg-icons": "^6.5.2",
"@fortawesome/pro-solid-svg-icons": "^6.5.2",
"@fortawesome/react-fontawesome": "^0.2.2",
"@hookform/resolvers": "^3.9.0",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-avatar": "^1.0.4",
Expand Down
26 changes: 26 additions & 0 deletions packages/icons/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "@rivet-gg/icons",
"main": "index.ts",
"version": "1.0.0",
"sideEffects": false,
"files": ["index.ts", "scripts"],
"scripts": {
"postinstall": "node ./scripts/postinstall.js"
},
"types": "index.d.ts",
"exports": {
".": {
"import": "./index.ts",
"require": "./index.ts"
}
},
"engines": {
"node": ">=6"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.5.2",
"@fortawesome/free-brands-svg-icons": "^6.5.2",
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/react-fontawesome": "^0.2.2"
}
}
4 changes: 4 additions & 0 deletions packages/icons/scripts/postinstall.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
console.log(
"IM A POSTINSTALL SCRIPT, this is the postinstall script for the icons package",
);
console.log("Does the token exist?", process.env.FONTAWESOME_PACKAGE_TOKEN);
14 changes: 14 additions & 0 deletions packages/icons/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"composite": true,
"compilerOptions": {
"target": "ESNext",
"strict": true,
"esModuleInterop": true,
"noEmit": true,
"module": "ESNext",
"moduleResolution": "bundler",
"jsx": "react-jsx",
"baseUrl": "."
},
"include": ["index.tsx"]
}
Loading

0 comments on commit 3434dac

Please sign in to comment.