mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 10:22:47 +00:00
build: fix inconsistencies with .npmignore
This commit is contained in:
@@ -3,10 +3,15 @@
|
||||
/*
|
||||
# Except this files/folders
|
||||
!.editorconfig
|
||||
!.gitignore
|
||||
!.npmignore
|
||||
!docs
|
||||
!lib
|
||||
!LICENSE
|
||||
!package.json
|
||||
!package-lock.json
|
||||
!README.md
|
||||
!scripts
|
||||
!templates
|
||||
!tsconfig.json
|
||||
!tslint.json
|
||||
|
||||
@@ -6,7 +6,7 @@ import {join} from 'path';
|
||||
export const NEEDED_FILES = [
|
||||
'.editorconfig',
|
||||
'.gitignore',
|
||||
'.npmignore',
|
||||
join('templates', '.npmignore'),
|
||||
join('templates', 'tsconfig.json'),
|
||||
join('templates', 'tslint.json'),
|
||||
];
|
||||
|
||||
12
templates/.npmignore
Normal file
12
templates/.npmignore
Normal file
@@ -0,0 +1,12 @@
|
||||
# Ignore all files/folders by default
|
||||
# See https://stackoverflow.com/a/29932318
|
||||
/*
|
||||
# Except this files/folders
|
||||
!docs
|
||||
!lib
|
||||
!LICENSE
|
||||
!package.json
|
||||
!package-lock.json
|
||||
!README.md
|
||||
!tsconfig.json
|
||||
!tslint.json
|
||||
Reference in New Issue
Block a user