@yarn-tool/static-file 2.0.10 → 2.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/file/tpl.editorconfig +36 -35
- package/lib/const.js +2 -1
- package/lib/const.js.map +1 -1
- package/lib/root/getRootCopyStaticFiles.js +1 -1
- package/lib/root/getRootCopyStaticFiles.js.map +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,31 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.0.12](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@2.0.11...@yarn-tool/static-file@2.0.12) (2022-09-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### ✨ Features
|
|
11
|
+
|
|
12
|
+
* update .editorconfig ([5023c00](https://github.com/bluelovers/ws-yarn-workspaces/commit/5023c00637968872c71e0e74632fdcb81ff9fccf))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### 🔖 Miscellaneous
|
|
16
|
+
|
|
17
|
+
* . ([6035e23](https://github.com/bluelovers/ws-yarn-workspaces/commit/6035e2399f4f5a5f5e5ac56309b6dc37ffe91389))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## [2.0.11](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@2.0.10...@yarn-tool/static-file@2.0.11) (2022-09-27)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### 🔖 Miscellaneous
|
|
26
|
+
|
|
27
|
+
* . ([5a4bc19](https://github.com/bluelovers/ws-yarn-workspaces/commit/5a4bc19a0a279a49e752d776279165e14c402427))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
6
31
|
## [2.0.10](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/static-file@2.0.9...@yarn-tool/static-file@2.0.10) (2022-09-27)
|
|
7
32
|
|
|
8
33
|
|
package/file/tpl.editorconfig
CHANGED
|
@@ -59,6 +59,12 @@ ij_less_space_before_opening_brace = true
|
|
|
59
59
|
ij_less_use_double_quotes = true
|
|
60
60
|
ij_less_value_alignment = 0
|
|
61
61
|
|
|
62
|
+
[*.properties]
|
|
63
|
+
ij_properties_align_group_field_declarations = false
|
|
64
|
+
ij_properties_keep_blank_lines = false
|
|
65
|
+
ij_properties_key_value_delimiter = equals
|
|
66
|
+
ij_properties_spaces_around_key_value_delimiter = false
|
|
67
|
+
|
|
62
68
|
[*.sass]
|
|
63
69
|
ij_continuation_indent_size = 2
|
|
64
70
|
ij_sass_align_closing_brace_with_properties = false
|
|
@@ -104,26 +110,6 @@ ij_scss_space_before_opening_brace = true
|
|
|
104
110
|
ij_scss_use_double_quotes = true
|
|
105
111
|
ij_scss_value_alignment = 0
|
|
106
112
|
|
|
107
|
-
[*.styl]
|
|
108
|
-
ij_continuation_indent_size = 2
|
|
109
|
-
ij_stylus_align_closing_brace_with_properties = false
|
|
110
|
-
ij_stylus_blank_lines_around_nested_selector = 1
|
|
111
|
-
ij_stylus_blank_lines_between_blocks = 1
|
|
112
|
-
ij_stylus_brace_placement = 0
|
|
113
|
-
ij_stylus_enforce_quotes_on_format = false
|
|
114
|
-
ij_stylus_hex_color_long_format = false
|
|
115
|
-
ij_stylus_hex_color_lower_case = false
|
|
116
|
-
ij_stylus_hex_color_short_format = false
|
|
117
|
-
ij_stylus_hex_color_upper_case = false
|
|
118
|
-
ij_stylus_keep_blank_lines_in_code = 2
|
|
119
|
-
ij_stylus_keep_indents_on_empty_lines = false
|
|
120
|
-
ij_stylus_keep_single_line_blocks = false
|
|
121
|
-
ij_stylus_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow
|
|
122
|
-
ij_stylus_space_after_colon = true
|
|
123
|
-
ij_stylus_space_before_opening_brace = true
|
|
124
|
-
ij_stylus_use_double_quotes = true
|
|
125
|
-
ij_stylus_value_alignment = 0
|
|
126
|
-
|
|
127
113
|
[.editorconfig]
|
|
128
114
|
ij_editorconfig_align_group_field_declarations = false
|
|
129
115
|
ij_editorconfig_space_after_colon = false
|
|
@@ -132,6 +118,25 @@ ij_editorconfig_space_before_colon = false
|
|
|
132
118
|
ij_editorconfig_space_before_comma = false
|
|
133
119
|
ij_editorconfig_spaces_around_assignment_operators = true
|
|
134
120
|
|
|
121
|
+
[{*,json.tpl,*.graphqlconfig,*.har,*.jsb2,*.jsb3,*.json,*.tpl,.babelrc,.eslintrc,.stylelintrc,bowerrc,jest.config}]
|
|
122
|
+
insert_final_newline = false
|
|
123
|
+
indent_style = space
|
|
124
|
+
ij_continuation_indent_size = 2
|
|
125
|
+
ij_json_array_wrapping = split_into_lines
|
|
126
|
+
ij_json_keep_blank_lines_in_code = 1
|
|
127
|
+
ij_json_keep_indents_on_empty_lines = false
|
|
128
|
+
ij_json_keep_line_breaks = true
|
|
129
|
+
ij_json_keep_trailing_comma = false
|
|
130
|
+
ij_json_object_wrapping = split_into_lines
|
|
131
|
+
ij_json_property_alignment = do_not_align
|
|
132
|
+
ij_json_space_after_colon = true
|
|
133
|
+
ij_json_space_after_comma = true
|
|
134
|
+
ij_json_space_before_colon = false
|
|
135
|
+
ij_json_space_before_comma = false
|
|
136
|
+
ij_json_spaces_within_braces = false
|
|
137
|
+
ij_json_spaces_within_brackets = false
|
|
138
|
+
ij_json_wrap_long_lines = true
|
|
139
|
+
|
|
135
140
|
[{*.ant,*.fxml,*.jhm,*.jnlp,*.jrxml,*.rng,*.tld,*.wsdl,*.xml,*.xsd,*.xsl,*.xslt,*.xul}]
|
|
136
141
|
indent_style = space
|
|
137
142
|
ij_continuation_indent_size = 2
|
|
@@ -333,7 +338,7 @@ ij_shell_redirect_followed_by_space = false
|
|
|
333
338
|
ij_shell_switch_cases_indented = false
|
|
334
339
|
ij_shell_use_unix_line_separator = true
|
|
335
340
|
|
|
336
|
-
[{*.cjs,*.js}]
|
|
341
|
+
[{*.cjs,*.js,*.js.tpl}]
|
|
337
342
|
ij_continuation_indent_size = 2
|
|
338
343
|
ij_javascript_align_imports = false
|
|
339
344
|
ij_javascript_align_multiline_array_initializer_expression = false
|
|
@@ -500,20 +505,6 @@ ij_javascript_while_brace_force = if_multiline
|
|
|
500
505
|
ij_javascript_while_on_new_line = true
|
|
501
506
|
ij_javascript_wrap_comments = false
|
|
502
507
|
|
|
503
|
-
[{*.har,*.jsb2,*.jsb3,*.json,*.tpl,.babelrc,.eslintrc,.stylelintrc,bowerrc,jest.config}]
|
|
504
|
-
indent_style = space
|
|
505
|
-
ij_continuation_indent_size = 2
|
|
506
|
-
ij_json_keep_blank_lines_in_code = 1
|
|
507
|
-
ij_json_keep_indents_on_empty_lines = false
|
|
508
|
-
ij_json_keep_line_breaks = true
|
|
509
|
-
ij_json_space_after_colon = true
|
|
510
|
-
ij_json_space_after_comma = true
|
|
511
|
-
ij_json_space_before_colon = true
|
|
512
|
-
ij_json_space_before_comma = false
|
|
513
|
-
ij_json_spaces_within_braces = false
|
|
514
|
-
ij_json_spaces_within_brackets = false
|
|
515
|
-
ij_json_wrap_long_lines = true
|
|
516
|
-
|
|
517
508
|
[{*.htm,*.html,*.sht,*.shtm,*.shtml}]
|
|
518
509
|
ij_continuation_indent_size = 2
|
|
519
510
|
ij_html_add_new_line_before_tags = body,div,p,form,h1,h2,h3
|
|
@@ -543,6 +534,11 @@ ij_html_space_around_equality_in_attribute = false
|
|
|
543
534
|
ij_html_space_inside_empty_tag = true
|
|
544
535
|
ij_html_text_wrap = off
|
|
545
536
|
|
|
537
|
+
[{*.http,*.rest}]
|
|
538
|
+
indent_size = 0
|
|
539
|
+
ij_continuation_indent_size = 4
|
|
540
|
+
ij_http request_call_parameters_wrap = normal
|
|
541
|
+
|
|
546
542
|
[{*.markdown,*.md}]
|
|
547
543
|
indent_size = 4
|
|
548
544
|
indent_style = space
|
|
@@ -551,13 +547,18 @@ ij_markdown_force_one_space_after_blockquote_symbol = true
|
|
|
551
547
|
ij_markdown_force_one_space_after_header_symbol = true
|
|
552
548
|
ij_markdown_force_one_space_after_list_bullet = true
|
|
553
549
|
ij_markdown_force_one_space_between_words = true
|
|
550
|
+
ij_markdown_format_tables = true
|
|
551
|
+
ij_markdown_insert_quote_arrows_on_wrap = true
|
|
554
552
|
ij_markdown_keep_indents_on_empty_lines = false
|
|
553
|
+
ij_markdown_keep_line_breaks_inside_text_blocks = true
|
|
555
554
|
ij_markdown_max_lines_around_block_elements = 1
|
|
556
555
|
ij_markdown_max_lines_around_header = 1
|
|
557
556
|
ij_markdown_max_lines_between_paragraphs = 1
|
|
558
557
|
ij_markdown_min_lines_around_block_elements = 1
|
|
559
558
|
ij_markdown_min_lines_around_header = 1
|
|
560
559
|
ij_markdown_min_lines_between_paragraphs = 1
|
|
560
|
+
ij_markdown_wrap_text_if_long = true
|
|
561
|
+
ij_markdown_wrap_text_inside_blockquotes = true
|
|
561
562
|
|
|
562
563
|
[{*.yaml,*.yml}]
|
|
563
564
|
ij_yaml_align_values_properties = do_not_align
|
package/lib/const.js
CHANGED
|
@@ -23,7 +23,6 @@ const _defaultCopyStaticFiles = [
|
|
|
23
23
|
['tsdx.config.js.tpl', 'file/tsdx.config.js', 'tsdx.config.js'],
|
|
24
24
|
['tsc-multi.json.tpl', 'file/tsc-multi.json.tpl', 'tsc-multi.json'],
|
|
25
25
|
['test/__root.ts', 'file/test/__root.ts'],
|
|
26
|
-
['.editorconfig.tpl', 'file/tpl.editorconfig'],
|
|
27
26
|
//['changelog-option.js.tpl', 'file/changelog-option.js', 'changelog-option.js'],
|
|
28
27
|
];
|
|
29
28
|
const _defaultCopyStaticFilesRootOnly = [
|
|
@@ -41,6 +40,8 @@ const _defaultCopyStaticFilesRootOnly = [
|
|
|
41
40
|
['jest.config.js', 'file/jest.config.js'],
|
|
42
41
|
['jest.config.js.tpl', 'file/jest.config.js'],
|
|
43
42
|
['jest.config.auto.js.tpl', 'file/jest.config.auto.js'],
|
|
43
|
+
['.editorconfig.tpl', 'file/tpl.editorconfig'],
|
|
44
|
+
['.editorconfig', 'file/tpl.editorconfig'],
|
|
44
45
|
];
|
|
45
46
|
const _defaultCopyStaticFilesWsRootOnly = [
|
|
46
47
|
['lerna.json.tpl', 'file/lerna.json.tpl'],
|
package/lib/const.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"const.js","sourceRoot":"","sources":["const.ts"],"names":[],"mappings":";;;AAEA,MAAM,uBAAuB,GAAG;IAE/B,CAAC,YAAY,EAAE,gBAAgB,CAAC;IAChC,CAAC,YAAY,EAAE,gBAAgB,CAAC;IAEhC,CAAC,eAAe,EAAE,mBAAmB,CAAC;IAEtC,CAAC,QAAQ,EAAE,YAAY,CAAC;IACxB,CAAC,iBAAiB,EAAE,qBAAqB,CAAC;IAE1C,CAAC,mBAAmB,EAAE,wBAAwB,EAAE,eAAe,CAAC;IAEhE,CAAC,wBAAwB,EAAE,6BAA6B,EAAE,oBAAoB,CAAC;IAE/E,CAAC,uBAAuB,EAAE,4BAA4B,EAAE,mBAAmB,CAAC;IAE5E,CAAC,wBAAwB,EAAE,6BAA6B,EAAE,oBAAoB,CAAC;IAE/E,CAAC,oBAAoB,EAAE,wBAAwB,EAAE,gBAAgB,CAAC;IAElE,CAAC,WAAW,EAAE,gBAAgB,CAAC;IAE/B,CAAC,YAAY,EAAE,YAAY,CAAC;IAE5B,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IACxC,4CAA4C;IAC5C,CAAC,gBAAgB,EAAE,0BAA0B,CAAC;IAE9C,CAAC,YAAY,EAAE,gBAAgB,CAAC;IAEhC,CAAC,cAAc,EAAE,mBAAmB,EAAE,UAAU,CAAC;IAEjD,CAAC,YAAY,EAAE,YAAY,EAAE,QAAQ,CAAC;IAEtC,CAAC,oBAAoB,EAAE,qBAAqB,EAAE,gBAAgB,CAAC;IAE/D,CAAC,oBAAoB,EAAE,yBAAyB,EAAE,gBAAgB,CAAC;IAEnE,CAAC,gBAAgB,EAAE,qBAAqB,CAAC;IAEzC,
|
|
1
|
+
{"version":3,"file":"const.js","sourceRoot":"","sources":["const.ts"],"names":[],"mappings":";;;AAEA,MAAM,uBAAuB,GAAG;IAE/B,CAAC,YAAY,EAAE,gBAAgB,CAAC;IAChC,CAAC,YAAY,EAAE,gBAAgB,CAAC;IAEhC,CAAC,eAAe,EAAE,mBAAmB,CAAC;IAEtC,CAAC,QAAQ,EAAE,YAAY,CAAC;IACxB,CAAC,iBAAiB,EAAE,qBAAqB,CAAC;IAE1C,CAAC,mBAAmB,EAAE,wBAAwB,EAAE,eAAe,CAAC;IAEhE,CAAC,wBAAwB,EAAE,6BAA6B,EAAE,oBAAoB,CAAC;IAE/E,CAAC,uBAAuB,EAAE,4BAA4B,EAAE,mBAAmB,CAAC;IAE5E,CAAC,wBAAwB,EAAE,6BAA6B,EAAE,oBAAoB,CAAC;IAE/E,CAAC,oBAAoB,EAAE,wBAAwB,EAAE,gBAAgB,CAAC;IAElE,CAAC,WAAW,EAAE,gBAAgB,CAAC;IAE/B,CAAC,YAAY,EAAE,YAAY,CAAC;IAE5B,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;IACxC,4CAA4C;IAC5C,CAAC,gBAAgB,EAAE,0BAA0B,CAAC;IAE9C,CAAC,YAAY,EAAE,gBAAgB,CAAC;IAEhC,CAAC,cAAc,EAAE,mBAAmB,EAAE,UAAU,CAAC;IAEjD,CAAC,YAAY,EAAE,YAAY,EAAE,QAAQ,CAAC;IAEtC,CAAC,oBAAoB,EAAE,qBAAqB,EAAE,gBAAgB,CAAC;IAE/D,CAAC,oBAAoB,EAAE,yBAAyB,EAAE,gBAAgB,CAAC;IAEnE,CAAC,gBAAgB,EAAE,qBAAqB,CAAC;IAEzC,iFAAiF;CAExE,CAAC;AAEX,MAAM,+BAA+B,GAAG;IAEvC,CAAC,gBAAgB,EAAE,qBAAqB,EAAE,YAAY,CAAC;IAEvD,CAAC,yBAAyB,EAAE,0BAA0B,EAAE,qBAAqB,CAAC;IAE9E,CAAC,gCAAgC,EAAE,oCAAoC,CAAC;IAExE,CAAC,8CAA8C,EAAE,kDAAkD,CAAC;IAEpG,CAAC,6BAA6B,EAAE,iCAAiC,CAAC;IAElE,CAAC,yCAAyC,EAAE,6CAA6C,CAAC;IAE1F,CAAC,8BAA8B,EAAE,kCAAkC,CAAC;IAEpE,CAAC,eAAe,EAAE,wBAAwB,EAAE,eAAe,CAAC;IAE5D,CAAC,gBAAgB,EAAE,wBAAwB,EAAE,gBAAgB,CAAC;IAE9D,iFAAiF;IAEjF,CAAC,iBAAiB,EAAE,sBAAsB,EAAE,aAAa,CAAC;IAE1D,CAAC,gBAAgB,EAAE,qBAAqB,CAAC;IAEzC,CAAC,oBAAoB,EAAE,qBAAqB,CAAC;IAC7C,CAAC,yBAAyB,EAAE,0BAA0B,CAAC;IAEvD,CAAC,mBAAmB,EAAE,uBAAuB,CAAC;IAC9C,CAAC,eAAe,EAAE,uBAAuB,CAAC;CAEjC,CAAC;AAEX,MAAM,iCAAiC,GAAG;IAEzC,CAAC,gBAAgB,EAAE,qBAAqB,CAAC;IAEzC,CAAC,qBAAqB,EAAE,0BAA0B,CAAC;IAEnD,CAAC,eAAe,EAAE,wBAAwB,CAAC;IAE3C,CAAC,oBAAoB,EAAE,yBAAyB,EAAE,gBAAgB,CAAC;IAEnE,CAAC,cAAc,EAAE,2BAA2B,CAAC;IAE7C,CAAC,gBAAgB,EAAE,6BAA6B,CAAC;IACjD,CAAC,gBAAgB,EAAE,6BAA6B,CAAC;CAExC,CAAC;AAEE,QAAA,sBAAsB,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAsE,CAAC;AAErI,QAAA,8BAA8B,GAAG,MAAM,CAAC,MAAM,CAAC,+BAA+B,CAA8E,CAAC;AAE7J,QAAA,gCAAgC,GAAG,MAAM,CAAC,MAAM,CAAC,iCAAiC,CAAgF,CAAC","sourcesContent":["import { _Key, IStaticFilesKey, IStaticFilesMapArray } from './types';\n\nconst _defaultCopyStaticFiles = [\n\n\t['.npmignore', 'file/npmignore'],\n\t['.gitignore', 'file/gitignore'],\n\n\t['.eslintignore', 'file/eslintignore'],\n\n\t['.nvmrc', 'file/nvmrc'],\n\t['.browserslistrc', 'file/browserslistrc'],\n\n\t['tsconfig.json.tpl', 'file/tsconfig.json.tpl', 'tsconfig.json'],\n\n\t['test/tsconfig.json.tpl', 'file/test/tsconfig.json.tpl', 'test/tsconfig.json'],\n\n\t['tsconfig.esm.json.tpl', 'file/tsconfig.esm.json.tpl', 'tsconfig.esm.json'],\n\n\t['tsconfig.tsdx.json.tpl', 'file/tsconfig.tsdx.json.tpl', 'tsconfig.tsdx.json'],\n\n\t['.eslintrc.json.tpl', 'file/eslintrc.json.tpl', '.eslintrc.json'],\n\n\t['README.md', 'file/README.md'],\n\n\t['.nycrc.tpl', 'file/nycrc'],\n\n\t['.mocharc.yml.tpl', 'file/mocharc.yml'],\n\t//['jest.config.js', 'file/jest.config.js'],\n\t['jest.config.js', 'file/jest.config.auto.js'],\n\n\t['.nowignore', 'file/nowignore'],\n\n\t['now.json.tpl', 'file/now.json.tpl', 'now.json'],\n\n\t['.npmrc.tpl', 'file/npmrc', '.npmrc'],\n\n\t['tsdx.config.js.tpl', 'file/tsdx.config.js', 'tsdx.config.js'],\n\n\t['tsc-multi.json.tpl', 'file/tsc-multi.json.tpl', 'tsc-multi.json'],\n\n\t['test/__root.ts', 'file/test/__root.ts'],\n\n\t//['changelog-option.js.tpl', 'file/changelog-option.js', 'changelog-option.js'],\n\n] as const;\n\nconst _defaultCopyStaticFilesRootOnly = [\n\n\t['lerna.json.tpl', 'file/lerna.json.tpl', 'lerna.json'],\n\n\t['pnpm-workspace.yaml.tpl', 'file/pnpm-workspace.yaml', 'pnpm-workspace.yaml'],\n\n\t['.github/workflows/coverage.yml', 'file/github/workflows/coverage.yml'],\n\n\t['.github/workflows/action-yarnlock-dedupe.yml', 'file/github/workflows/action-yarnlock-dedupe.yml'],\n\n\t['.github/workflows/build.yml', 'file/github/workflows/build.yml'],\n\n\t['.github/workflows/yarn-lock-changes.yml', 'file/github/workflows/yarn-lock-changes.yml'],\n\n\t['.github/commit-convention.md', 'file/github/commit-convention.md'],\n\n\t['tsconfig.json', 'file/tsconfig.json.tpl', 'tsconfig.json'],\n\n\t['.eslintrc.json', 'file/eslintrc.json.tpl', '.eslintrc.json'],\n\n\t//['changelog-option.js', 'file/changelog-option.js', 'changelog-option.js.tpl'],\n\n\t['.yarnrc.yml.tpl', 'file/root/yarnrc.yml', '.yarnrc.yml'],\n\n\t['jest.config.js', 'file/jest.config.js'],\n\n\t['jest.config.js.tpl', 'file/jest.config.js'],\n\t['jest.config.auto.js.tpl', 'file/jest.config.auto.js'],\n\n\t['.editorconfig.tpl', 'file/tpl.editorconfig'],\n\t['.editorconfig', 'file/tpl.editorconfig'],\n\n] as const;\n\nconst _defaultCopyStaticFilesWsRootOnly = [\n\n\t['lerna.json.tpl', 'file/lerna.json.tpl'],\n\n\t['pnpm-workspace.yaml', 'file/pnpm-workspace.yaml'],\n\n\t['tsconfig.json', 'file/tsconfig.json.tpl'],\n\n\t['tsc-multi.json.tpl', 'file/tsc-multi.json.tpl', 'tsc-multi.json'],\n\n\t['__root_ws.ts', 'file/ws-root/__root_ws.ts'],\n\n\t['jest.config.js', 'file/ws-root/jest.config.js'],\n\t['jest-preset.js', 'file/ws-root/jest-preset.js'],\n\n] as const;\n\nexport const defaultCopyStaticFiles = Object.freeze(_defaultCopyStaticFiles) as any as IStaticFilesMapArray<_Key<typeof _defaultCopyStaticFiles>>;\n\nexport const defaultCopyStaticFilesRootOnly = Object.freeze(_defaultCopyStaticFilesRootOnly) as any as IStaticFilesMapArray<_Key<typeof _defaultCopyStaticFilesRootOnly>>;\n\nexport const defaultCopyStaticFilesWsRootOnly = Object.freeze(_defaultCopyStaticFilesWsRootOnly) as any as IStaticFilesMapArray<_Key<typeof _defaultCopyStaticFilesWsRootOnly>>;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRootCopyStaticFiles.js","sourceRoot":"","sources":["getRootCopyStaticFiles.ts"],"names":[],"mappings":";;;AAEA,oCAAkF;AAElF,SAAgB,0BAA0B,CAAC,QAA6D;IAEvG,IAAI,QAAQ,GAAiC;QAC5C,GAAG,8BAAsB;KACzB,CAAC;IAEF,IAAI,QAAQ,CAAC,MAAM,EACnB;QACC,IAAI,CAAC,QAAQ,CAAC,YAAY,EAC1B;YACC,QAAQ,GAAG;gBACV,GAAG,
|
|
1
|
+
{"version":3,"file":"getRootCopyStaticFiles.js","sourceRoot":"","sources":["getRootCopyStaticFiles.ts"],"names":[],"mappings":";;;AAEA,oCAAkF;AAElF,SAAgB,0BAA0B,CAAC,QAA6D;IAEvG,IAAI,QAAQ,GAAiC;QAC5C,GAAG,8BAAsB;KACzB,CAAC;IAEF,IAAI,QAAQ,CAAC,MAAM,EACnB;QACC,IAAI,CAAC,QAAQ,CAAC,YAAY,EAC1B;YACC,QAAQ,GAAG;gBACV,GAAG,QAAQ;gBACX,GAAG,sCAA8B;aACjC,CAAC;SACF;KACD;IAED,OAAO,QAAQ,CAAA;AAChB,CAAC;AAlBD,gEAkBC","sourcesContent":["import { IFindRootReturnType } from '@yarn-tool/find-root';\nimport { IStaticFilesMapArray } from '../types';\nimport { defaultCopyStaticFiles, defaultCopyStaticFilesRootOnly } from '../const';\n\nexport function getRootCopyStaticFilesAuto(rootData: Pick<IFindRootReturnType, 'isRoot'| 'hasWorkspace'>)\n{\n\tlet file_map: IStaticFilesMapArray<string> = [\n\t\t...defaultCopyStaticFiles,\n\t];\n\n\tif (rootData.isRoot)\n\t{\n\t\tif (!rootData.hasWorkspace)\n\t\t{\n\t\t\tfile_map = [\n\t\t\t\t...file_map,\n\t\t\t\t...defaultCopyStaticFilesRootOnly,\n\t\t\t];\n\t\t}\n\t}\n\n\treturn file_map\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yarn-tool/static-file",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.12",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "https://github.com/bluelovers/ws-yarn-workspaces/tree/master/packages/@yarn-tool/static-file#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"test:jest": "jest --passWithNoTests",
|
|
22
22
|
"test:jest:snapshot": "yarn run test:jest -- -u",
|
|
23
23
|
"test:snapshot": "yarn run test -- -u",
|
|
24
|
+
"test:tsd": "ynpx tsd",
|
|
24
25
|
"npm:publish": "npm publish",
|
|
25
26
|
"preversion": "yarn run test",
|
|
26
27
|
"prepublishOnly": "echo prepublishOnly",
|
|
@@ -35,5 +36,5 @@
|
|
|
35
36
|
"publishConfig": {
|
|
36
37
|
"access": "public"
|
|
37
38
|
},
|
|
38
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "3276b7881ad407d6da75804fee95de66d602805c"
|
|
39
40
|
}
|