File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 "contributors" : [
1616 " Federico Brigante <me@fregante.com> (https://fregante.com)"
1717 ],
18+ "type" : " module" ,
1819 "exports" : {
1920 "./*" : " ./components/*.tsx"
2021 },
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ import AlertIcon from "octicons-plain-react/alert";
29292 . It fetches the latest version of @primer/octicons
30303 . It sets its own version to match that
31314 . The version script is called and it installs its own version
32+ - Use `npm version 1.2.3 --ignore-scripts` to set a custom version without updating octicons
32335 . ` git add ` is called to ensure these changes are saved in the tag itself
33346 . If the version change is successful, ` npm publish ` is run
34357 . Publishing calls ` prepack.sh ` , which builds the components and runs all the transforms
Original file line number Diff line number Diff line change 1717svgr --out-dir components \
1818 --no-index \
1919 --typescript \
20- --template template.js \
20+ --template template.cjs \
2121 --svg-props role=img \
2222 --svg-props aria-hidden=true \
23- --svg-props fill=currentColor \
2423 --no-svgo -- svgs
2524
2625rm -rf svgs
File renamed without changes.
You can’t perform that action at this time.
0 commit comments