Skip to content

Commit

Permalink
Add User Agent header to component update call
Browse files Browse the repository at this point in the history
  • Loading branch information
jkphl committed Jan 2, 2021
1 parent 38becdb commit b0c7ceb
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.1.0] - 2021-01-02

### Changed

- Update dependencies
- Add User Agent header to component update call

## [1.0.0] - 2020-05-25

### Added
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ const update = function update() {
uri: typo3url,
qs: { type: 2402, tx_twcomponentlibrary_component: { dev: typo3dev } },
json: true,
headers: { 'User-Agent': 'Fractal' },
}).then((components) => {
for (const component of components) {
processComponent(component);
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fractal-typo3",
"version": "1.0.0",
"version": "1.1.0",
"author": "Joschi Kuphal <[email protected]> (https://jkphl.is)",
"description": "TYPO3 bridge for the Fractal component library tool",
"homepage": "https://github.com/tollwerk/fractal-typo3",
Expand Down Expand Up @@ -32,20 +32,20 @@
"typoscript"
],
"dependencies": {
"@frctl/fractal": "^1.3.0",
"@frctl/handlebars": "^1.2.0",
"chalk": "^4.0.0",
"@frctl/fractal": "^1.5.2",
"@frctl/handlebars": "^1.2.5",
"chalk": "^4.1.0",
"dashify": "^2.0.0",
"delete-empty": "^3.0.0",
"mkdirp": "^1.0.4",
"request": "^2.88.2",
"request-promise": "^4.2.5"
"request-promise": "^4.2.6"
},
"devDependencies": {
"eslint": "^7.1.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "^7.20.0"
"eslint": "^7.17.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-react": "^7.22.0"
}
}

0 comments on commit b0c7ceb

Please sign in to comment.