@pigeon-posse/pigeonsh
Advanced tools
Comparing version 0.4.4 to 0.5.0
@@ -9,2 +9,3 @@ { | ||
"parserOptions" : { | ||
"ecmaVersion": 13, | ||
"sourceType": "module", | ||
@@ -118,3 +119,3 @@ "allowImportExportEverywhere": true | ||
}, | ||
"ignorePatterns": [ "dist/*.js"], | ||
"ignorePatterns": [ "dist/*", "dist/build/*" ], | ||
"overrides": [ | ||
@@ -121,0 +122,0 @@ { |
@@ -12,3 +12,3 @@ | ||
const build = { | ||
const buildCommon = { | ||
entryPoints : [ 'src/index.js' ], | ||
@@ -24,5 +24,18 @@ bundle : true, | ||
} | ||
const buildEsm = { | ||
entryPoints : [ 'src/index.js' ], | ||
bundle : true, | ||
minify : true, | ||
platform : 'node', | ||
outfile : 'dist/build/bundle.js', | ||
format : 'esm', | ||
} | ||
esbuild | ||
.build( build ) | ||
.build( buildCommon ) | ||
.catch( () => process.exit( 1 ) ) | ||
esbuild | ||
.build( buildEsm ) | ||
.catch( () => process.exit( 1 ) ) |
{ | ||
"name": "@pigeon-posse/pigeonsh", | ||
"version": "0.4.4", | ||
"version": "0.5.0", | ||
"description": "Centralize your server scripts in a single folder and run them using a command", | ||
"main": "src/index.js", | ||
"main": "dist/build/bundle.cjs", | ||
"module": "dist/build/bundle.js", | ||
"bin": { | ||
"pigeonsh": "src/index.js", | ||
"psh": "src/index.js" | ||
"pigeonsh": "dist/build/bundle.js", | ||
"psh": "dist/build/bundle.js" | ||
}, | ||
@@ -10,0 +11,0 @@ "type": "module", |
@@ -10,3 +10,7 @@ { | ||
"lint": "eslint . --ext .js", | ||
"lint-fix": "eslint . --ext .js --fix" | ||
"lint-fix": "eslint . --ext .js --fix", | ||
"cli" : "node src/index.js hello", | ||
"cli-bundle" : "pnpm pes cli-bundle-c && pnpm pes cli-bundle-esm", | ||
"cli-bundle-c" : "node dist/build/bundle.cjs hello", | ||
"cli-bundle-esm" : "node dist/build/bundle.js hello" | ||
} |
@@ -44,3 +44,3 @@ <!-- | ||
> :warning: **This package is still in _beta_ version**. It can be installed and used but things may change in the future. | ||
> :warning: **_Beta_ version**. It can be installed and used but things may change in the future. | ||
@@ -50,3 +50,3 @@ ## 🗒 Description | ||
Centralize your server scripts in a single folder and run them using the ```psh``` or ```pigeonsh``` command. | ||
Can be used with ```.sh```, ```.js```, and ```.py``` files. | ||
Can be used with ```.sh```, ```.zsh```, ```.js```, and ```.py``` files. | ||
@@ -129,3 +129,3 @@ <details> | ||
- 📂 [script-name] | ||
- 📄 main.[sh, js, py] | ||
- 📄 main.[sh, zsh, js, py] | ||
- 📜 info.[yml, yaml, json] # not required | ||
@@ -132,0 +132,0 @@ ``` |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
161409
8
660
2
6
3