@duffel/components 3.0.3-canary → 3.0.5-canary

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.
@@ -4,7 +4,7 @@
4
4
  set -e
5
5
 
6
6
  # Define where to upload files too
7
- GCP_PREFIX=gs://duffel-assets/components/ancillaries
7
+ GCP_PREFIX=gs://duffel-assets/components/
8
8
 
9
9
  # Gets current version from package.json
10
10
  VERSION=$(jq '.version' package.json -r)
@@ -30,10 +30,5 @@ if gsutil -q stat "$GCP_PREFIX/$VERSION/index.js"; then
30
30
  fi
31
31
 
32
32
  # Uploads fixtures
33
- gcloud storage cp -r dist/ancillaries "$GCP_PREFIX/$VERSION"
34
-
35
- # Check if --latest argument is provided
36
- if [ "$1" == "--latest" ]; then
37
- # Copies the current version into the latest folder
38
- gcloud storage cp -r "$GCP_PREFIX/$VERSION" "$GCP_PREFIX/latest"
39
- fi
33
+ gcloud storage cp -r cdn-dist "$GCP_PREFIX/$VERSION"
34
+
@@ -1,3 +1,7 @@
1
+ /**
2
+ * This file is one of the entry points for the library -- `@duffel/components/custom-elements`.
3
+ * If you'd like to expose other custom element functions, please add them here.
4
+ */
1
5
  export {
2
6
  onDuffelAncillariesPayloadReady,
3
7
  renderDuffelAncillariesCustomElement,
@@ -11,7 +11,7 @@
11
11
  />
12
12
 
13
13
  <!-- 1. This script loads duffel-components -->
14
- <script src="http://localhost:8000/ancillaries/index.js"></script>
14
+ <script src="http://localhost:8000/index.js"></script>
15
15
  </head>
16
16
 
17
17
  <body style="font-family: sans-serif">
@@ -11,7 +11,7 @@
11
11
  />
12
12
 
13
13
  <!-- 1. This script loads duffel-components -->
14
- <script src="http://localhost:8000/ancillaries/index.js"></script>
14
+ <script src="http://localhost:8000/index.js"></script>
15
15
  </head>
16
16
 
17
17
  <body style="font-family: sans-serif">
package/src/index.ts CHANGED
@@ -1,2 +1,6 @@
1
+ /**
2
+ * This file is the main entry point for the library -- `@duffel/components`.
3
+ * If you'd like to expose other react components, please add them here.
4
+ */
1
5
  export * from "./components/DuffelAncillaries";
2
6
  export * from "./types";
package/tsconfig.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "exclude": [
43
43
  "node_modules",
44
44
  "**/**.css.js",
45
- "./dist/**/*",
45
+ "./cdn-dist/**/*",
46
46
  "./react-dist/**/*",
47
47
  "./src/examples/**/*",
48
48
  "./src/stories/**/*",