Skip to content

Commit

Permalink
feat(sample): ignore more files
Browse files Browse the repository at this point in the history
  • Loading branch information
Airkro committed Sep 20, 2024
1 parent 88b5d01 commit 270ad08
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/sample/.best-shot/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const config = {
context: '../../node_modules',
},
entry: {
sub: './lib/cmd.mjs',
sub: './src/cmd.mjs',
},
externals: {
globby: 'globby',
Expand Down
2 changes: 1 addition & 1 deletion packages/sample/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bring-it/sample",
"version": "0.4.15",
"version": "0.4.16",
"description": "Generate code sample files",
"license": "MIT",
"author": {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function mergeConfig(group = [{}]) {
title = '示例软件名称',
version = 'v1.0',
cwd = '.',
pattern = ['**/*'],
pattern = ['**/*.*'],
ignore = ['dist'],
extensions = [
['js', 'cjs', 'mjs', 'jsx'],
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ export function scan(config) {
'**/License',
'**/License.*',
'**/*.md',
'**/.{gitattributes,gitignore,gitkeep}',
'**/.editorconfig',
'**/.npmrc',
'**/*.env.*',
'**/*.env',
'**/pnpm-lock.yaml',
'**/yarn.lock',
'**/package-lock.json',
],
gitignore: true,
onlyFiles: true,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 270ad08

Please sign in to comment.