Skip to content

Commit

Permalink
v1.0.1 - package.json exports
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanburns23 committed Mar 2, 2023
1 parent 6c9ed90 commit ac4bf80
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 15 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.1 (2023-03-02)

- add package.json main export, remove exports object

## 1.0.0 (2023-03-02)

- Enable strict mode
Expand Down
1 change: 0 additions & 1 deletion index.ts

This file was deleted.

1 change: 1 addition & 0 deletions lit-weather.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { LitWeather } from './src/LitWeather.js';
export { LitWeather } from './src/LitWeather.js';

window.customElements.define('lit-weather', LitWeather);
18 changes: 4 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "lit-weather",
"version": "1.0.0",
"version": "1.0.1",
"description": "Lit powered weather forecast web component, leveraging the OpenWeatherMap API. It's customizable with tailwindcss, lightweight, and shadow dom free.",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"main": "dist/lit-weather.js",
"module": "dist/lit-weather.js",
"types": "dist/lit-weather.d.ts",
"type": "module",
"author": "ryanburns23",
"license": "MIT",
Expand All @@ -15,17 +16,6 @@
"icons",
"custom-elements.json"
],
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./lit-weather": {
"import": "./dist/lit-weather.js",
"types": "./dist/index.d.ts"
},
"./customElements": "./custom-elements.json"
},
"scripts": {
"start": "web-dev-server --open demo/ --node-resolve",
"start:watch": "web-dev-server --open demo/ --node-resolve --watch",
Expand Down

1 comment on commit ac4bf80

@vercel
Copy link

@vercel vercel bot commented on ac4bf80 Mar 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.