File tree 8 files changed +14
-23
lines changed
8 files changed +14
-23
lines changed Original file line number Diff line number Diff line change 1
1
/artifacts /
2
- /dist /
3
2
/node_modules /
4
3
/website /
Original file line number Diff line number Diff line change 24
24
uses : actions/upload-artifact@v2
25
25
with :
26
26
name : dist
27
- path : dist
27
+ path : artifacts/ dist
Original file line number Diff line number Diff line change 30
30
uses : actions/upload-artifact@v2
31
31
with :
32
32
name : dist
33
- path : dist
33
+ path : artifacts/ dist
Original file line number Diff line number Diff line change 1
1
/.makefiles /
2
2
/artifacts /
3
- /dist /
4
3
/node_modules /
5
4
/yarn-error.log
6
5
/yarn.lock
Original file line number Diff line number Diff line change 1
1
module . exports = [
2
2
{
3
- path : 'dist/index.js' ,
3
+ path : 'artifacts/ dist/index.js' ,
4
4
limit : '100 B' ,
5
5
} ,
6
6
{
7
- path : 'dist/index.es.js' ,
7
+ path : 'artifacts/ dist/index.es.js' ,
8
8
limit : '100 B' ,
9
9
} ,
10
10
]
Original file line number Diff line number Diff line change 1
- JS_SOURCE_FILES += $(shell find src -type f -iname "* .ts" 2> /dev/null)
2
- _JS_TEST_ASSETS := $(shell find test -type f -not -iname "* .ts" 2> /dev/null)
3
-
4
- JS_SIZE_LIMIT_REQ += dist
1
+ JS_SIZE_LIMIT_REQ += artifacts/dist
5
2
6
3
# ###############################################################################
7
4
@@ -20,7 +17,7 @@ website-%:
20
17
21
18
# ###############################################################################
22
19
23
- dist : rollup.config.js tsconfig.json node_modules $(JS_SOURCE_FILES )
20
+ artifacts/ dist : rollup.config.js tsconfig.json node_modules $(JS_SOURCE_FILES )
24
21
node_modules/.bin/rollup --config rollup.config.js
25
22
26
23
@touch "$@"
Original file line number Diff line number Diff line change 18
18
"publishConfig" : {
19
19
"access" : " public"
20
20
},
21
- "main" : " dist/index.js" ,
22
- "module" : " dist/index.es.js" ,
23
- "typings" : " dist/index.d.ts" ,
21
+ "main" : " artifacts/ dist/index.js" ,
22
+ "module" : " artifacts/ dist/index.es.js" ,
23
+ "typings" : " artifacts/ dist/index.d.ts" ,
24
24
"exports" : {
25
- "import" : " ./dist/index.es.js" ,
26
- "require" : " ./dist/index.js"
25
+ "import" : " ./artifacts/ dist/index.es.js" ,
26
+ "require" : " ./artifacts/ dist/index.js"
27
27
},
28
28
"sideEffects" : false ,
29
29
"files" : [
30
- " /dist/"
30
+ " /artifacts/ dist/"
31
31
],
32
32
"engines" : {
33
33
"node" : " >=14"
34
34
},
35
35
"scripts" : {
36
36
"prepublishOnly" : " rollup --config rollup.config.js" ,
37
37
"size-limit-build" : " rollup --config rollup.config.js" ,
38
- "size-limit-clean" : " rm -rf dist"
38
+ "size-limit-clean" : " rm -rf artifacts/ dist"
39
39
},
40
40
"devDependencies" : {
41
41
"@size-limit/preset-small-lib" : " ^5.0.3" ,
Original file line number Diff line number Diff line change 1
- SOURCE_FILES += $(shell find src -type f 2> /dev/null)
2
-
3
- # ###############################################################################
4
-
5
1
-include .makefiles/Makefile
6
2
-include .makefiles/pkg/js/v1/Makefile
7
3
-include .makefiles/pkg/js/v1/with-yarn.mk
@@ -26,7 +22,7 @@ ci:: artifacts/docusaurus/build
26
22
27
23
# ###############################################################################
28
24
29
- artifacts/docusaurus/build : node_modules $(SOURCE_FILES ) $(JS_SOURCE_FILES )
25
+ artifacts/docusaurus/build : node_modules $(wildcard * .js) $( shell PATH=" $( PATH ) " git-find static ) $(JS_SOURCE_FILES )
30
26
@rm -rf " $@ "
31
27
@mkdir -p " $@ "
32
28
You can’t perform that action at this time.
0 commit comments