Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@netlify/framework-info

Package Overview
Dependencies
Maintainers
15
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netlify/framework-info - npm Package Compare versions

Comparing version 3.1.3 to 3.2.0

7

CHANGELOG.md

@@ -10,2 +10,9 @@ # Changelog

## [3.2.0](https://www.github.com/netlify/framework-info/compare/v3.1.3...v3.2.0) (2021-03-16)
### Features
* add static assets directory ([#177](https://www.github.com/netlify/framework-info/issues/177)) ([e830e07](https://www.github.com/netlify/framework-info/commit/e830e0764a85c03034e2d6dbdd1d0c0247666d42))
### [3.1.3](https://www.github.com/netlify/framework-info/compare/v3.1.2...v3.1.3) (2021-03-01)

@@ -12,0 +19,0 @@

6

package.json
{
"name": "@netlify/framework-info",
"version": "3.1.3",
"version": "3.2.0",
"description": "Framework detection utility",

@@ -93,3 +93,3 @@ "main": "./src/main.js",

"@babel/preset-react": "^7.12.10",
"@netlify/eslint-config-node": "^2.5.1",
"@netlify/eslint-config-node": "^2.5.2",
"ava": "^2.4.0",

@@ -107,3 +107,3 @@ "babel-loader": "^8.2.2",

"husky": "^3.1.0",
"is-ci": "^2.0.0",
"is-ci": "^3.0.0",
"node-static": "^0.7.11",

@@ -110,0 +110,0 @@ "npm-run-all": "^4.1.5",

[![npm version](https://img.shields.io/npm/v/@netlify/framework-info.svg)](https://npmjs.org/package/@netlify/framework-info)
[![Coverage Status](https://codecov.io/gh/netlify/framework-info/branch/master/graph/badge.svg)](https://codecov.io/gh/netlify/framework-info)
[![Coverage Status](https://codecov.io/gh/netlify/framework-info/branch/main/graph/badge.svg)](https://codecov.io/gh/netlify/framework-info)
[![Build](https://github.com/netlify/framework-info/workflows/Build/badge.svg)](https://github.com/netlify/framework-info/actions)

@@ -40,2 +40,3 @@ [![Downloads](https://img.shields.io/npm/dm/@netlify/framework-info.svg)](https://www.npmjs.com/package/@netlify/framework-info)

// },
// staticAssetsDirectory: "static",
// env: { GATSBY_LOGGER: 'yurnalist' },

@@ -204,2 +205,8 @@ // plugins: []

#### staticAssetsDirectory
_Type_: `string`
Directory where the framework stores static assets. Can be `undefined`.
#### env

@@ -269,2 +276,3 @@

},
"staticAssetsDirectory": "static",
"env": { "GATSBY_LOGGER": "yurnalist" },

@@ -370,2 +378,8 @@ "plugins": []

## staticAssetsDirectory
_Type_: `string`
Directory where the framework stores static assets where relevant for the framework.
## env

@@ -372,0 +386,0 @@

@@ -56,2 +56,3 @@ const pFilter = require('p-filter')

* @property {Build} build - Information about the build command
* @property {string} staticAssetsDirectory - Directory where the framework stores static assets. Can be `undefined`
* @property {object} env - Environment variables that should be set when calling the dev command

@@ -146,2 +147,3 @@ * @property {string[]} plugins - A list of recommend Netlify build plugins to install for the framework

build: { command: frameworkBuildCommand, directory },
staticAssetsDirectory,
env,

@@ -160,2 +162,3 @@ plugins,

build: { commands: [frameworkBuildCommand], directory },
staticAssetsDirectory,
env,

@@ -162,0 +165,0 @@ plugins: recommendedPlugins,

@@ -19,4 +19,5 @@ {

},
"staticAssetsDirectory": "public",
"env": { "BROWSER": "none", "PORT": "3000" },
"plugins": []
}

@@ -19,4 +19,5 @@ {

},
"staticAssetsDirectory": "static",
"env": { "BROWSER": "none" },
"plugins": []
}

@@ -19,4 +19,5 @@ {

},
"staticAssetsDirectory": "static",
"env": { "BROWSER": "none" },
"plugins": []
}

@@ -19,4 +19,5 @@ {

},
"staticAssetsDirectory": "static",
"env": { "GATSBY_LOGGER": "yurnalist" },
"plugins": []
}

@@ -19,4 +19,5 @@ {

},
"staticAssetsDirectory": "static",
"env": {},
"plugins": []
}

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

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