New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

sandstone-cli

Package Overview
Dependencies
Maintainers
2
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sandstone-cli - npm Package Compare versions

Comparing version
2.1.1
to
2.1.2
+3
-3
package.json
{
"name": "sandstone-cli",
"version": "2.1.1",
"version": "2.1.2",
"description": "The CLI for Sandstone - the minecraft pack creation library.",

@@ -12,4 +12,4 @@ "type": "module",

"scripts": {
"build": "bun scripts/version.ts && bun build src/index.ts --outfile=lib/index.js --target=bun --external=@parcel/watcher --external=figlet --external=@inquirer/prompts && bun build src/create.ts --outfile=lib/create.js --target=bun --external=@parcel/watcher --external=figlet --external=@inquirer/prompts",
"dev:build": "tsc && bun run build"
"bundle": "bun scripts/version.ts && bun build src/index.ts --outfile=lib/index.js --target=bun --external=@parcel/watcher --external=figlet --external=@inquirer/prompts && bun build src/create.ts --outfile=lib/create.js --target=bun --external=@parcel/watcher --external=figlet --external=@inquirer/prompts",
"dev:build": "tsc && bun bundle"
},

@@ -16,0 +16,0 @@ "repository": {

@@ -12,3 +12,2 @@ sandstone-cli

* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->

@@ -18,7 +17,7 @@ # Usage

```sh-session
$ npm install -g sandstone-cli
$ bun i -g sandstone-cli
$ sand COMMAND
running command...
$ sand (--version)
sandstone-cli/0.6.7 win32-x64 node-v18.15.0
$ sand -v
2.1.1
$ sand --help [COMMAND]

@@ -30,5 +29,1 @@ USAGE

<!-- usagestop -->
# Commands
<!-- commands -->
<!-- commandsstop -->

@@ -441,2 +441,18 @@ import path from 'node:path'

// Auto-register pack types if existing resources are present
// This ensures handleResources() is called even when no resources are created programmatically
const resourcesFolder = path.join(folder, 'resources')
if (await fs.pathExists(path.join(resourcesFolder, 'resourcepack'))) {
const files = await fs.readdir(path.join(resourcesFolder, 'resourcepack'))
if (files.length > 0) {
sandstonePack.resourcePack()
}
}
if (await fs.pathExists(path.join(resourcesFolder, 'datapack'))) {
const files = await fs.readdir(path.join(resourcesFolder, 'datapack'))
if (files.length > 0) {
sandstonePack.dataPack()
}
}
// File exclusion setup

@@ -443,0 +459,0 @@ const excludeOption = resources?.exclude

@@ -1,1 +0,1 @@

export const CLI_VERSION = '2.1.1'
export const CLI_VERSION = '2.1.2'

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display