Skip to content

Commit 10a9b9b

Browse files
committed
Update library to es and build with rollup
1 parent 25fbaaf commit 10a9b9b

14 files changed

+2034
-857
lines changed

.esdoc.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"source": "./src",
3+
"destination": "./docs",
4+
"plugins": [
5+
{
6+
"name": "esdoc-standard-plugin",
7+
"option": {
8+
"accessor": { "access": ["public"], "autoPrivate": true }
9+
}
10+
},
11+
{
12+
"name": "esdoc-external-nodejs-plugin",
13+
"option": { "enable": true }
14+
},
15+
{
16+
"name": "esdoc-external-ecmascript-plugin",
17+
"option": { "enable": true }
18+
}
19+
]
20+
}

.github/main.workflow

+9-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@ action "Install" {
88
args = "install"
99
}
1010

11-
action "Run Tests" {
11+
action "Build" {
1212
uses = "Borales/actions-yarn@master"
13+
args = "build"
1314
needs = ["Install"]
15+
}
16+
17+
action "Run Tests" {
18+
uses = "Borales/actions-yarn@master"
19+
needs = ["Build"]
1420
args = "test"
1521
secrets = ["DSBUSERNAME", "PASSWORD"]
1622
}
@@ -32,14 +38,14 @@ workflow "Release" {
3238

3339
action "Publish" {
3440
uses = "Borales/actions-yarn@master"
35-
needs = ["Install", "Update Docs"]
41+
needs = ["Build", "Update Docs"]
3642
args = "publish --access public"
3743
secrets = ["NPM_AUTH_TOKEN"]
3844
}
3945

4046
action "Generate Docs" {
4147
uses = "Borales/actions-yarn@master"
42-
needs = ["Install"]
48+
needs = ["Build"]
4349
args = "generate-doc"
4450
}
4551

.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,8 @@ cache.json
5555

5656
.DS_Store
5757

58-
_test.js
58+
_test.js
59+
60+
docs/
61+
62+
dist/

.jsdoc.json

-27
This file was deleted.

.npmignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
test/
22
docs/
33
*.md
4+
.github/

0 commit comments

Comments
 (0)