File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed
Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -25,17 +25,19 @@ jobs:
2525 with :
2626 node-version : 22
2727 cache : " npm"
28+ # required for proper publish authorization
29+ registry-url : ' https://registry.npmjs.org/'
2830 - name : Install dependencies
2931 run : npm ci
3032 - name : Build links-metadata
31- working-directory : ./tools /links-metadata
32- run : npm run build
33+ working-directory : ./shared /links-metadata
34+ run : npm run build && npm run update-main
3335 - name : Build links-check
3436 working-directory : ./tools/links-check
3537 run : npm run build
3638 - name : Publish links-metadata
3739 run : npm publish --access public
38- working-directory : ./tools /links-metadata
40+ working-directory : ./shared /links-metadata
3941 env :
4042 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
4143 - name : Publish links-check
Original file line number Diff line number Diff line change 11{
22 "name" : " @fluffylabs/links-metadata" ,
3- "version" : " 1.1.0 " ,
3+ "version" : " 1.1.2 " ,
44 "scripts" : {
55 "build" : " tsc" ,
6- "prepublish" : " npm run build" ,
6+ "update-main" : " sed -i s#index\\ .ts#dist/index.js# ./package.json" ,
7+ "prepublish" : " npm run build && npm run update-main" ,
78 "qa" : " biome ci" ,
89 "qa-fix" : " npm run format; npm run lint" ,
910 "format" : " biome format --write" ,
1011 "lint" : " biome lint --write; biome check --write"
1112 },
13+ "main" : " index.ts" ,
1214 "files" : [" dist" ],
1315 "author" : " Fluffy Labs" ,
1416 "license" : " MPL-2.0" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @fluffylabs/links-check" ,
3- "version" : " 0.2.0 " ,
3+ "version" : " 0.2.1 " ,
44 "description" : " Check list of files for Gray Paper Reader links and make sure they are up to date." ,
55 "main" : " ./dist/index.js" ,
66 "bin" : {
2727 "typescript" : " ^5.6.3"
2828 },
2929 "dependencies" : {
30- "@fluffylabs/links-metadata" : " ^1.1.0 " ,
30+ "@fluffylabs/links-metadata" : " ^1.1.2 " ,
3131 "commander" : " ^12.1.0" ,
3232 "fast-glob" : " ^3.3.3" ,
3333 "ignore" : " ^6.0.2"
You can’t perform that action at this time.
0 commit comments