Skip to content

Commit

Permalink
Fix publish package config
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomi Markus Alber committed Dec 1, 2023
1 parent 5097f5d commit d2060c9
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 282 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
with:
node-version: "18"
registry-url: https://registry.npmjs.org
- name: publish
run: npm publish --access=public

- run: yarn
- run: yarn build
- run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
yarn.lock
dist
7 changes: 0 additions & 7 deletions dist/index.d.ts

This file was deleted.

142 changes: 0 additions & 142 deletions dist/index.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/index.test-d.d.ts

This file was deleted.

9 changes: 0 additions & 9 deletions dist/index.test-d.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/test.d.ts

This file was deleted.

115 changes: 0 additions & 115 deletions dist/test.js

This file was deleted.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "@redlotus/get-urls",
"version": "1.0.0",
"version": "1.0.1",
"description": "Get all URLs in a string",
"license": "MIT",
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json",
".": "./dist/index.js"
},
"types": "dist/index.d.ts",
"engines": {
"node": ">=16"
},
Expand Down

0 comments on commit d2060c9

Please sign in to comment.