New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ngx-rocket/scripts

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngx-rocket/scripts - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

3

CHANGELOG.md

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

# 1.0.3
- Properly fixed extra resources copy
# 1.0.2

@@ -2,0 +5,0 @@ - Fixed extra resources copy on Windows

12

hooks/after_prepare/copy-android-resources.js

@@ -11,13 +11,13 @@ #!/usr/bin/env node

const execSync = require('child_process').execSync;
const path = require('path');
const rootdir = process.argv[2];
const isWin = /^win/.test(process.platform);
const inputPath = process.env.ANDROID_NATIVE_RESOURCES_PATH || 'resources/android/extra/';
const androidResourcesPath = 'platforms/android/res/';
const inputPath = process.env.ANDROID_NATIVE_RESOURCES_PATH || path.normalize('resources/android/extra');
const androidResourcesPath = path.normalize('platforms/android/res');
function copyAndroidResources() {
const command = `${isWin ? 'xcopy /S /Y /F' : 'cp -Rf'} "${inputPath}*" "${androidResourcesPath}"`;
process.stdout.write(`Executing command: ${command}\n`);
execSync(command);
process.stdout.write('Android native resources copied\n');
const command = `${isWin ? 'xcopy /S /Y /I' : 'cp -Rfv'} "${path.join(inputPath, '.')}" "${androidResourcesPath}"`;
process.stdout.write(`Copying Android native resources with command: ${command}\n`);
execSync(command, {stdio: 'inherit'});
}

@@ -24,0 +24,0 @@

{
"name": "@ngx-rocket/scripts",
"version": "1.0.2",
"version": "1.0.3",
"description": "Support scripts for ngX-Rocket projects",

@@ -5,0 +5,0 @@ "repository": "ngx-rocket/scripts",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc