parcel-reporter-zephyr 0.0.49 → 0.0.51

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.
package/README.md CHANGED
@@ -1,4 +1,30 @@
1
- # Zephyr Parcel Plugin
1
+ # Parcel Reporter Zephyr
2
+
3
+ <div align="center">
4
+
5
+ [Zephyr Cloud](https://zephyr-cloud.io) | [Zephyr Docs](https://docs.zephyr-cloud.io) | [Discord](https://zephyr-cloud.io/discord) | [Twitter](https://x.com/ZephyrCloudIO) | [LinkedIn](https://www.linkedin.com/company/zephyr-cloud/)
6
+
7
+ <hr/>
8
+ <img src="https://cdn.prod.website-files.com/669061ee3adb95b628c3acda/66981c766e352fe1f57191e2_Opengraph-zephyr.png" alt="Zephyr Logo" />
9
+ </div>
10
+
11
+ A Parcel reporter plugin for deploying applications with Zephyr Cloud. This plugin automatically handles the deployment process during your Parcel build.
12
+
13
+ ## Installation
14
+
15
+ ```bash
16
+ # npm
17
+ npm install --save-dev parcel-reporter-zephyr
18
+
19
+ # yarn
20
+ yarn add --dev parcel-reporter-zephyr
21
+
22
+ # pnpm
23
+ pnpm add --dev parcel-reporter-zephyr
24
+
25
+ # bun
26
+ bun add --dev parcel-reporter-zephyr
27
+ ```
2
28
 
3
29
  ## Usage
4
30
 
@@ -7,7 +33,7 @@
7
33
  The easiest way to use the Zephyr Parcel plugin is to add it to your `.parcelrc` file:
8
34
 
9
35
  ```json
10
- //.parcelrc
36
+ // .parcelrc
11
37
  {
12
38
  "extends": "@parcel/config-default",
13
39
  "reporters": ["...", "parcel-reporter-zephyr"]
@@ -35,3 +61,40 @@ async function build() {
35
61
 
36
62
  build();
37
63
  ```
64
+
65
+ ## Configuration
66
+
67
+ The plugin works out of the box with minimal configuration. It will automatically:
68
+
69
+ - Collect build assets and metadata
70
+ - Upload to Zephyr Cloud during the build process
71
+ - Enable deployment capabilities for your application
72
+
73
+ ## Features
74
+
75
+ - 🚀 Automatic deployment during build
76
+ - 📦 Asset optimization and caching
77
+ - 🔧 Zero-config setup
78
+ - 📊 Build analytics and monitoring
79
+ - 🌐 Global CDN distribution
80
+
81
+ ## Getting Started
82
+
83
+ 1. Install the plugin in your Parcel project
84
+ 2. Add it to your `.parcelrc` configuration
85
+ 3. Build your application as usual with `parcel build`
86
+ 4. Your app will be automatically deployed to Zephyr Cloud
87
+
88
+ ## Requirements
89
+
90
+ - Parcel 2.x or higher
91
+ - Node.js 14 or higher
92
+ - Zephyr Cloud account (sign up at [zephyr-cloud.io](https://zephyr-cloud.io))
93
+
94
+ ## Contributing
95
+
96
+ We welcome contributions! Please read our [contributing guidelines](../../CONTRIBUTING.md) for more information.
97
+
98
+ ## License
99
+
100
+ Licensed under the Apache-2.0 License. See [LICENSE](LICENSE) for more information.
@@ -20,7 +20,7 @@ const extractBuffer = (asset) => {
20
20
  return fs.readFileSync(asset.filePath, 'utf8');
21
21
  }
22
22
  catch (err) {
23
- (0, zephyr_agent_1.ze_log)(err);
23
+ zephyr_agent_1.ze_log.upload(err);
24
24
  return undefined;
25
25
  }
26
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"get-assets-map.js","sourceRoot":"","sources":["../../src/lib/get-assets-map.ts"],"names":[],"mappings":";;AAWA,oCAYC;;AAvBD,oDAA8B;AAE9B,+CAAsD;AAStD,SAAgB,YAAY,CAAC,MAAsC;IACjE,oEAAoE;IACpE,MAAM,YAAY,GAAsC,EAAE,CAAC;IAE3D,8BAA8B;IAC9B,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,EAAE,EAAE,CAAC;QAC5C,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;QAExD,YAAY,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;IAC5B,CAAC;IAED,OAAO,IAAA,6BAAc,EAAC,YAAY,EAAE,aAAa,EAAE,YAAY,CAAC,CAAC;A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AC;AAED,MAAM,aAAa,GAAG,CAAC,KAAwB,EAAsB,EAAE;IACrE,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;QACnB,IAAI,CAAC;YACH,OAAO,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;QACjD,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,qBAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;YACnB,OAAO,SAAS,CAAC;QACnB,CAAC;IACH,CAAC;IAED,OAAO,OAAO,KAAK,CAAC,OAAO,KAAK,QAAQ;QACtC,CAAC,CAAC,KAAK,CAAC,OAAO;QACf,CAAC,CAAC,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAC9C,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,KAAwB,EAAU,EAAE;IACxD,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,IAAI,OAAO,CAAC;IACnC,OAAO,IAAI,CAAC;AACd,CAAC,CAAC"}
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "parcel-reporter-zephyr",
3
- "version": "0.0.49",
3
+ "version": "0.0.51",
4
4
  "description": "Parcel reporter for Zephyr",
5
5
  "repository": {
6
6
  "type": "git",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "parcel-reporter-zephyr",
3
- "version": "0.0.49",
3
+ "version": "0.0.51",
4
4
  "description": "Parcel reporter for Zephyr",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,7 +20,7 @@
20
20
  "@parcel/plugin": "^2.13.3",
21
21
  "@parcel/types": "^2.13.3",
22
22
  "is-ci": "^4.1.0",
23
- "zephyr-agent": "0.0.49"
23
+ "zephyr-agent": "0.0.51"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/is-ci": "3.0.4",