Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@

# misc
.DS_Store

# environment files - catch all variations
.env
.env.*
.env.local
.env.development.local
.env.test.local
.env.production.local
.env.*.local

npm-debug.log*
yarn-debug.log*
Expand All @@ -35,7 +37,6 @@ claude-flow.log
.frigg-infrastructure-cache.json
.frigg-infrastructure-lock

.env
.npmrc
.autorc
/.nx/
Expand Down
15 changes: 15 additions & 0 deletions packages/devtools/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Test files
test/

# Dev config
.eslintrc.json

# Environment files - never publish these
.env
.env.*
.env.local
.env.*.local
*.env

# Changelog (optional, can be included if desired)
CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,13 @@ function createBaseDefinition(
'node_modules/serverless-kms-grants/**',
// Note: DO NOT exclude serverless-http - it's a runtime dependency!

// Exclude local dev files
// Exclude local dev files and environment files (NEVER deploy .env files!)
'.env',
'.env.*',
'.env.local',
'.env.*.local',
'**/.env',
'**/.env.*',
'deploy.log',
'.env.backup',
'docker-compose.yml',
Expand Down Expand Up @@ -124,6 +130,14 @@ function createBaseDefinition(
'node_modules/@friggframework/core/node_modules/**',
'node_modules/@friggframework/devtools/node_modules/**',

// Exclude environment files (NEVER deploy .env files!)
'.env',
'.env.*',
'.env.local',
'.env.*.local',
'**/.env',
'**/.env.*',

// Exclude development/test files from backend project
'coverage/**',
'test/**',
Expand Down
7 changes: 7 additions & 0 deletions packages/devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
"bin": {
"frigg": "./frigg-cli/index.js"
},
"files": [
"frigg-cli/",
"migrations/",
"management-ui/dist/",
"index.js",
"README.md"
],
"dependencies": {
"@aws-sdk/client-cloudformation": "^3.705.0",
"@aws-sdk/client-ec2": "^3.835.0",
Expand Down
Loading