@joystick.js/cli-canary 0.0.0-canary.1635 → 0.0.0-canary.1636

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,3 +1,3 @@
1
- import n from"fs";import t from"chalk";const{readFile:a}=n.promises,r=(e={})=>{e.onLoad({filter:/\.js$/},async(o={})=>{(await a(o.path,"utf-8"))?.match(/process.env.NODE_ENV\s+=\s/gi)?.length&&console.warn(t.yellowBright(`
1
+ import n from"fs";import t from"chalk";const{readFile:r}=n.promises,a=(e={})=>{e.onLoad({filter:/\.js$/},async(o={})=>{(await r(o.path,"utf-8"))?.match(/process.env.NODE_ENV\s+=\s/gi)?.length&&console.warn(t.yellowBright(`
2
2
  [WARNING] process.env.NODE_ENV should only be set via a CLI flag in development or via external environment variables in production.
3
- `))}).catch(o=>{console.log("WNE",o)})};var c=r;export{c as default};
3
+ `))})};var c=a;export{c as default};
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@joystick.js/cli-canary",
3
3
  "type": "module",
4
- "version": "0.0.0-canary.1635",
5
- "canary_version": "0.0.0-canary.1634",
4
+ "version": "0.0.0-canary.1636",
5
+ "canary_version": "0.0.0-canary.1635",
6
6
  "description": "The CLI for Joystick.",
7
7
  "main": "dist/index.js",
8
8
  "bin": {
@@ -14,8 +14,6 @@ const warn_node_environment = (build = {}) => {
14
14
  )
15
15
  );
16
16
  }
17
- }).catch((error) => {
18
- console.log('WNE', error);
19
17
  });
20
18
  };
21
19