Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

feat: add frontend-component-footer v7.0.5 #1

Merged
merged 2 commits into from
Sep 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"presets": [
["env", {
"targets": {
"browsers": ["last 2 versions", "ie 11"]
}
}],
"babel-preset-react"
],
"plugins": [
"transform-object-rest-spread"
],
"env": {
"test": {
"plugins": [
"rewire"
]
},
"i18n": {
"plugins": [
["react-intl", {
"messagesDir": "./temp/babel-plugin-react-intl",
"moduleSourceName": "@edx/frontend-i18n"
}]
]
}
}
}
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
coverage
dist
node_modules
19 changes: 19 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"extends": "eslint-config-edx",
"rules": {
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"webpack.config.js",
"src/tests/setupTest.js",
"**/*.test.jsx",
"**/*.test.js"
]
}
]
},
"env": {
"jest": true
}
}
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
coverage
dist
node_modules
temp

.idea/

src/i18n/transifex_input.json
temp/babel-plugin-react-intl
12 changes: 12 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.DS_Store
.eslintcache
node_modules
npm-debug.log
.travis.yml
.babelrc
.eslintignore
.eslintrc.json
commitlint.config.js
webpack.config.js
**.test.js
**tests
27 changes: 27 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"branch": "master",
"tagFormat": "v${version}",
"verifyConditions": [
"@semantic-release/npm",
{
"path": "@semantic-release/github",
"assets": {
"path": "dist/*"
}
}
],
"analyzeCommits": "@semantic-release/commit-analyzer",
"generateNotes": "@semantic-release/release-notes-generator",
"prepare": "@semantic-release/npm",
"publish": [
"@semantic-release/npm",
{
"path": "@semantic-release/github",
"assets": {
"path": "dist/*"
}
}
],
"success": [],
"fail": []
}
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
language: node_js
node_js:
- 10
cache:
directories:
- "~/.npm"
install:
- npm install
script:
- npm run lint
- npm run i18n_extract
- npm run test
- npm run build
- npm run is-es5
after_success:
- npm run travis-deploy-once "npm run semantic-release"
- npm run coveralls
env:
global:
# NPM_TOKEN
- secure: Ai9CLYxOqjFil87lViejLDlciNi6TBxrL+3hfBbAgxvjlRdra/SyPMNdA+oqvVNn4Sdqvlrt5GljymwwmbkxthbugOyPuV+18B4KQicDeCjkxxeACEAYinDnoeNqsiZokkWTgcTIzvgiidoI+uDHJ1tF1gYdY+Gii5AlEbaFJUgamYOfvwCW0S7DfWNu8BPY55ExVaxboZdryVImbH6qyp0JfQ4PIaiU9fl/ejFYVA1mQpTlNUmlgijatteZnQZv37K8C6UK2TnoVHGNJ7RrDdFzwySjMzEPUjK67Ldf6nnrC12kPELix75wN28s715kFsQiqyy5gP0xFnAsy07pha9dzBV3kUcj8LwEZWGYfelZdTIUC369YeAHH9kIsk1xXFAijGDUFtzSZojYM7l+Im8zSYNfZCZ/xcLzFspaT7o0dDVMEhGxui4nzlqdBFPujriQY8m2KDdcHIuhWkvW98uOyRBuBuYNl5x5JWY5+oDmEeBbyUqKSiQNU5vWm8Svs0TU7K+ON78oy+re8cYpPig2p/5f7pFe3ROnvIgrd/KbHXaRbmOppzQHDxFxWxvW4jR+60sodxa9hb9wrEgRAljmgA/iiNuEuSnv7CPLMK/81Ic0CzcZo0oytbEdZg+LInWFsUcPfEkrteHzf3GzaSaP9wYntDrBsJc0+oNDas0=
# GH_TOKEN
- secure: GvVKLXJ4j5Q4dyEQu9LIVTWd4rhmPFM54GqCRaRs4/gwns4aFlUaFPwLsoNmQzpE1odSqjJvL/asZyqm8vhKkBhWQtG/aV3GBwiJt83kgnGAblwxOUFA5o3xM6XqXjmRXGPlvtWn6kfWWfvCm5AzSrTuOTbXAJWIqlbzj0pWvHF5UFAvHBPn3O6yiWldYC2cIybQZauxpwKldKSmK9+MVbB1JdsgyvKEvLJRskTgwSx/0oAgi9ZhNANGLjVrYQOs5XaGXD3jmJFEZ03s+Fn/S/t7X/ktv0Kl0iq4tsyc3pNUpagCeDJ+4u0ZnYFUW0E/xcnQA6wbaly3faiFzYHCzLi3uTHU/Go67gXfX7WZTp7/yGMgxPqMryZ7/Nmmob+A/UACyHCstqSI2H2unNAhvrj1WtkpSNH0wMgqWCAE2QquDNqKiQIEg4+tk8gDX+mua3lB9Rye+MCJp0feDnxOxhbpD1Hm6pec1nCvbLNq0FHYwxOfvD/kkBiCYuXUoqEjpdyTOJ++s5ncZirw6re2mMKoVMUGGAWVe+ulsYDEhdWz+e4ojEvyBrnmTeIUg0CxibqgpPBW6xo07h6CSw20Xy9bOjQbpKfL8tjTeWNbjrPJsv5BA+9Sx9HSwUO+yaK61VESmswOG5lTrBPV/gqbUMnQON+w//ekuDL88jSfWbI=
8 changes: 8 additions & 0 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[main]
host = https://www.transifex.com

[edx-platform.frontend-component-footer]
file_filter = src/i18n/messages/<lang>.json
source_file = src/i18n/transifex_input.json
source_lang = en
type = KEYVALUEJSON
Loading