Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(npm): improve .npmignore to reduce the size of the published packages - N8N-4459 #3970

Merged
merged 1 commit into from
Aug 30, 2022
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
28 changes: 28 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
dist/test
dist/**/*.{js.map,d.ts}

.DS_Store

# local env files
.env.local
.env.*.local

# Log files
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*

.editorconfig
.eslintrc.js
tsconfig.json
tslint.json

.turbo
30 changes: 10 additions & 20 deletions packages/design-system/.npmignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,15 @@
.DS_Store
storybook-static

/src/**/*.{ts,vue,scss,snap}
/theme/src
!dist

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
storybook-static
.storybook

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
.browserslistrc
babel.config.js
gulpfile.js
jest.config.js
vite.config.ts

*.md
*.stories.js
Expand Down
25 changes: 2 additions & 23 deletions packages/editor-ui/.npmignore
Original file line number Diff line number Diff line change
@@ -1,33 +1,12 @@
/tests/
/src

# local env files
.env.local
.env.*.local

# Log files
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*
/tests
!dist

.browserslistrc
.editorconfig
.eslintrc.js
babel.config.js
cypress.json
jest.config.js
postcss.config.js
tsconfig.json
tslint.json
vue.config.js
dist/report.html
dist/**/*.map
public/