@significa/start
Advanced tools
Comparing version 0.3.1 to 0.4.0
@@ -21,3 +21,2 @@ "use strict"; | ||
'styled-components', | ||
'dotenv', | ||
]; | ||
@@ -30,3 +29,2 @@ const devDependencies = [ | ||
'@svgr/webpack', | ||
'tsconfig-paths-webpack-plugin', | ||
'@serverless/core', | ||
@@ -33,0 +31,0 @@ '@serverless/template', |
{ | ||
"extends": "@significa/eslint-config" | ||
"extends": "@significa/eslint-config", | ||
"settings": { | ||
"import/internal-regex": "^common|^lib/|^modules/|^pages/" | ||
} | ||
} |
@@ -1,15 +0,4 @@ | ||
/* eslint-disable @typescript-eslint/no-var-requires */ | ||
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin') | ||
const webpack = require('webpack') | ||
require('dotenv').config() | ||
module.exports = { | ||
target: 'serverless', | ||
webpack(config) { | ||
config.plugins.push(new webpack.EnvironmentPlugin(process.env)) | ||
if (config.resolve.plugins) { | ||
config.resolve.plugins.push(new TsconfigPathsPlugin()) | ||
} else { | ||
config.resolve.plugins = [new TsconfigPathsPlugin()] | ||
} | ||
config.module.rules.push({ | ||
@@ -29,5 +18,2 @@ test: /\.svg$/, | ||
}, | ||
env: { | ||
STAGE: process.env.STAGE, | ||
}, | ||
} |
{ | ||
"name": "@significa/start", | ||
"description": "Opinionated Significa's bootstrap CLI to start React projects based on Create React App, NextJS or GatsbyJS.", | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"author": "Significa Lda. <hello@significa.co>", | ||
@@ -6,0 +6,0 @@ "bin": { |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
2
149446
695