Skip to content
This repository was archived by the owner on Aug 2, 2024. It is now read-only.

Commit 1d99240

Browse files
fix: Fixes CI Configuration
1 parent f8fdcb2 commit 1d99240

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.npmignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@
88
!dist/*.js.map
99

1010
## The actual Artefacts
11-
!dist/FundamentalVue.*.js
11+
!dist/FundamentalVue.*.js
12+
13+
## Sources
14+
!ui/src/**

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ before_install:
1010
- yarn global add [email protected]
1111
- yarn bootstrap
1212
script:
13-
- yarn build:ui
13+
- yarn build
1414
jobs:
1515
include:
1616
- stage: Lint and Test
@@ -41,6 +41,6 @@ notifications:
4141
email:
4242
on_failure: always
4343
on_success: change
44-
slack:
44+
slack:
4545
rooms:
4646
- ui-fundamentals:zVRyxlqkYnQFD7p8QHkWM8Fd#vue-automated

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"serve:prod": "concurrently --kill-others --names \"dev-server,ui,docs\" -c \"blue, red,green\" \"node server\" \"yarn --cwd ui build --watch --mode production --report\" \"yarn --cwd docs serve --mode production --report\"",
88
"build:ui": "yarn --cwd ui build",
99
"build:docs": "yarn --cwd docs build --mode production --report",
10-
"build": "rm -rf dist && yarn build:ui --mode production && yarn build:docs --mode production && mkdir dist && cp -r ui/dist/* dist && cp -r docs/dist/* dist",
10+
"build:all": "rm -rf dist && yarn build:ui --mode production && yarn build:docs --mode production && mkdir dist && cp -r ui/dist/* dist && cp -r docs/dist/* dist",
11+
"build": "yarn build:ui && rm -rf dist && mkdir dist && cp -r ./ui/dist/*.js dist && cp -r ./ui/dist/*.js.map dist",
1112
"lint": "yarn --cwd docs lint && yarn --cwd server lint && yarn --cwd ui lint",
1213
"release": "./scripts/publish-release.sh",
1314
"release:create": "create-release",
@@ -42,5 +43,6 @@
4243
"peerDependencies": {
4344
"vue": "^2.6.6"
4445
},
45-
"main": "dist/FundamentalVue.umd.js"
46+
"main": "dist/FundamentalVue.common",
47+
"browser": "dist/FundamentalVue.umd.min"
4648
}

0 commit comments

Comments
 (0)