mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 03:32:52 +00:00
build: fix inconsistencies with .npmignore
This commit is contained in:
@@ -3,10 +3,15 @@
|
|||||||
/*
|
/*
|
||||||
# Except this files/folders
|
# Except this files/folders
|
||||||
!.editorconfig
|
!.editorconfig
|
||||||
|
!.gitignore
|
||||||
|
!.npmignore
|
||||||
|
!docs
|
||||||
|
!lib
|
||||||
!LICENSE
|
!LICENSE
|
||||||
!package.json
|
!package.json
|
||||||
!package-lock.json
|
!package-lock.json
|
||||||
!README.md
|
!README.md
|
||||||
!scripts
|
!scripts
|
||||||
|
!templates
|
||||||
!tsconfig.json
|
!tsconfig.json
|
||||||
!tslint.json
|
!tslint.json
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import {join} from 'path';
|
|||||||
export const NEEDED_FILES = [
|
export const NEEDED_FILES = [
|
||||||
'.editorconfig',
|
'.editorconfig',
|
||||||
'.gitignore',
|
'.gitignore',
|
||||||
'.npmignore',
|
join('templates', '.npmignore'),
|
||||||
join('templates', 'tsconfig.json'),
|
join('templates', 'tsconfig.json'),
|
||||||
join('templates', 'tslint.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