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

Commit

Permalink
Add sources for the UI project
Browse files Browse the repository at this point in the history
  • Loading branch information
pbokoc committed Oct 16, 2018
1 parent cd2d601 commit 78746c8
Show file tree
Hide file tree
Showing 92 changed files with 13,115 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
9 changes: 9 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "standard",
"rules": {
"arrow-parens": ["error", "always"],
"comma-dangle": ["error", "always-multiline"],
"max-len": [1, 120, 2],
"spaced-comment": "off"
}
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/build/
/node_modules/
/public/
55 changes: 55 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
image: node:8.11.1-alpine
stages: [setup, verify, deploy]
yarn:
stage: setup
cache:
paths:
- .yarn-cache/
script:
- &run_yarn
yarn --cache-folder=.yarn-cache --pure-lockfile > /dev/null
lint:
stage: verify
cache: &pull_cache
policy: pull
paths:
- .yarn-cache/
script:
- *run_yarn
- node_modules/.bin/gulp lint
bundle-stable:
stage: deploy
only:
- master@antora/antora-ui-default
cache: *pull_cache
script:
- *run_yarn
- node_modules/.bin/gulp pack
artifacts:
paths:
- build/ui-bundle.zip
bundle-dev:
stage: deploy
except:
- master
cache: *pull_cache
script:
- *run_yarn
- node_modules/.bin/gulp pack
artifacts:
expire_in: 1 day # unless marked as keep from job page
paths:
- build/ui-bundle.zip
pages:
stage: deploy
only:
- master@antora/antora-ui-default
cache: *pull_cache
script:
- *run_yarn
- node_modules/.bin/gulp build:preview
# FIXME figure out a way to avoid copying these files to preview site
- rm -rf public/_/{helpers,layouts,partials}
artifacts:
paths:
- public
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8
6 changes: 6 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "stylelint-config-standard",
"rules": {
"comment-empty-line-before": null
}
}
Loading

0 comments on commit 78746c8

Please sign in to comment.