Skip to content

Commit

Permalink
Add the dist/ folder
Browse files Browse the repository at this point in the history
  • Loading branch information
victorquinn committed May 30, 2024
1 parent 6ee4087 commit 63fb2c2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
- name: Run tests
run: npm test

- name: Build it
run: npm run build

- name: Get current version
id: get_version
run: echo "version=$(jq -r .version package.json)" >> $GITHUB_ENV
Expand All @@ -52,5 +55,4 @@ jobs:

- name: Publish to npm
if: env.new_version == 'true'
run: |
npm publish
run: npm publish
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "weather-plus",
"version": "0.0.6",
"version": "0.0.8",
"description": "Weather Plus is a powerful wrapper around various Weather APIs that simplifies adding weather data to your application",
"main": "./dist",
"main": "./dist/index.js",
"repository": "[email protected]:TextureHQ/weather-plus.git",
"author": "Victor Quinn <[email protected]>",
"license": "MIT",
Expand All @@ -15,6 +15,9 @@
"test:watch": "jest --watch",
"prebuild": "rimraf ./dist"
},
"files": [
"dist"
],
"dependencies": {
"axios": "^1.6.8",
"ngeohash": "^0.6.3",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true
}
},
"exclude": ["node_modules", "jest.config.ts"]
}

0 comments on commit 63fb2c2

Please sign in to comment.