File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 - run : |
1515 npm install -g json && json -I -f package.json -e '
1616 this.version = "${{ github.ref }}".replace("refs/tags/", "");
17+ this.main = "dist/src/index.js";
18+ this.types = "dist/src/index.d.ts";
1719 '
20+ - run : npm run build
1821 - run : npm publish
1922 env :
2023 NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change 1515 - run : |
1616 npm install -g json && json -I -f package.json -e '
1717 this.version = "0.0.0-dev.'$(date -u +'%Y%m%d%H%M%S')'";
18+ this.main = "dist/src/index.js";
19+ this.types = "dist/src/index.d.ts";
1820 '
21+ - run : npm run build
1922 - run : npm publish --tag dev
2023 env :
2124 NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change @@ -61,3 +61,4 @@ typings/
6161.next
6262
6363package-lock.json
64+ dist
You can’t perform that action at this time.
0 commit comments