@getspot/spot-widget 0.0.0 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
 
2
- > @getspot/spot-widget@0.0.0 build /builds/getspot/spot-widget/packages/core
2
+ > @getspot/spot-widget@0.1.0 build /builds/getspot/spot-widget/packages/core
3
3
  > vite build
4
4
 
5
5
  The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
@@ -8,6 +8,6 @@ transforming...
8
8
  ✓ 4 modules transformed.
9
9
  rendering chunks...
10
10
  computing gzip size...
11
- dist/spot-widget.umd.js 19.98 kB │ gzip: 6.30 kB
12
- dist/spot-widget.es.js 21.41 kB │ gzip: 6.46 kB
13
- ✓ built in 142ms
11
+ dist/index.umd.js 19.98 kB │ gzip: 6.30 kB
12
+ dist/index.es.js 21.41 kB │ gzip: 6.46 kB
13
+ ✓ built in 139ms
package/CHANGELOG.md ADDED
@@ -0,0 +1,15 @@
1
+ # @getspot/spot-widget
2
+
3
+ ## 0.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - d9e86ce: Minor version bump with readme information
8
+
9
+ ## 0.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 8cd937c: Initial release of components
14
+ - 45e9fbb: Adding versioning via changeset
15
+ - 7aabff5: Updating packaging process with vite
package/README.md ADDED
@@ -0,0 +1,12 @@
1
+ # Spot Widget
2
+
3
+ ## Description
4
+ This is a UI component for displaying a quote offer to users in a checkout flow
5
+
6
+ ## Installation
7
+
8
+ ```bash
9
+ npm install --save @getspot/spot-widget
10
+ ```
11
+
12
+ ## Usage
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@getspot/spot-widget",
3
- "version": "0.0.0",
3
+ "version": "0.1.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "main": "dist/index.js",
8
- "types": "dist/index.d.ts",
7
+ "main": "dist/index.umd.js",
8
+ "module": "dist/index.es.js",
9
9
  "devDependencies": {
10
10
  "vite": "^5.0.0"
11
11
  },
package/vite.config.js CHANGED
@@ -7,7 +7,7 @@ export default defineConfig({
7
7
  lib: {
8
8
  entry: path.resolve(__dirname, "src/index.js"),
9
9
  name: "SpotWidget",
10
- fileName: (format) => `spot-widget.${format}.js`,
10
+ fileName: (format) => `index.${format}.js`,
11
11
  formats: ["umd", "es"],
12
12
  },
13
13
  rollupOptions: {
File without changes
File without changes