Socket
Socket
Sign inDemoInstall

@shopify/slate-config

Package Overview
Dependencies
0
Maintainers
4
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-beta.11 to 1.0.0-beta.12

36

common/paths.schema.js

@@ -18,2 +18,6 @@ const path = require('path');

// Source directory of assets folder
'paths.theme.src.assets': (config) =>
path.join(config.get('paths.theme.src'), 'assets'),
// Source of theme configuration files

@@ -23,12 +27,4 @@ 'paths.theme.src.config': (config) =>

// Source font directory for theme
'paths.theme.src.fonts': (config) =>
path.join(config.get('paths.theme.src'), 'assets', 'fonts'),
// Source of images directory
'paths.theme.src.images': (config) =>
path.join(config.get('paths.theme.src'), 'assets', 'images'),
// Source of theme liquid layout files
'paths.theme.src.layouts': (config) =>
'paths.theme.src.layout': (config) =>
path.join(config.get('paths.theme.src'), 'layout'),

@@ -42,3 +38,3 @@

'paths.theme.src.scripts': (config) =>
path.join(config.get('paths.theme.src'), 'assets', 'scripts'),
path.join(config.get('paths.theme.src'), 'scripts'),

@@ -50,9 +46,5 @@ // Source snippets directory

// Static asset directory for files that statically copied to paths.theme.dist.assets
'paths.theme.src.static': (config) =>
path.join(config.get('paths.theme.src'), 'assets', 'static'),
'paths.theme.src.sections': (config) =>
path.join(config.get('paths.theme.src'), 'sections'),
// Main SVG source directory for theme
'paths.theme.src.svgs': (config) =>
path.join(config.get('paths.theme.src'), 'assets', 'svg'),
// Source liquid template directory

@@ -77,2 +69,6 @@ 'paths.theme.src.templates': (config) =>

// Distribution of theme liquid layout files
'paths.theme.dist.layout': (config) =>
path.join(config.get('paths.theme.dist'), 'layout'),
// Distribution snippets directory

@@ -86,2 +82,10 @@ 'paths.theme.dist.snippets': (config) =>

// Distribution sections directory
'paths.theme.dist.sections': (config) =>
path.join(config.get('paths.theme.dist'), 'sections'),
// Distribution templates directory
'paths.theme.dist.templates': (config) =>
path.join(config.get('paths.theme.dist'), 'templates'),
// Directory for storing all temporary and/or cache files

@@ -88,0 +92,0 @@ 'paths.theme.cache': (config) =>

{
"name": "@shopify/slate-config",
"version": "1.0.0-beta.11",
"version": "1.0.0-beta.12",
"description": "Generate configurations for Slate packages by applying values from slate.config.js to override default values",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc