Skip to content

Commit

Permalink
Merge pull request #105 from paysera/remove-demo
Browse files Browse the repository at this point in the history
Removed demo generation from js client
  • Loading branch information
michailovo authored Feb 26, 2021
2 parents b83f548 + 8f2414e commit 240f2c2
Show file tree
Hide file tree
Showing 44 changed files with 17 additions and 627 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ 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).

## 11.4.4
### Changed
- Removed demo generation from js client.

## 11.4.3
### Changed
- Generate tree shakable js clients. JS skeleton based on github.com/paysera/js-lib-skeleton.
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,7 @@ In `output_dir` you should expect these files generated:
| README.md
| webpack.config.js
|
└───demo
| app.js
| index.html
src
└───src
| index.js
| angular.module.js
|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,24 +61,17 @@
<tag name="paysera_js_generator" position="80"/>
</service>

<service id="paysera_javascript_generator.generator.demo"
class="Paysera\Bundle\JavascriptGeneratorBundle\Service\Generator\DemoGenerator">
<argument type="service" id="templating"/>
<argument>%paysera_code_generator.vendor_prefix%</argument>
<tag name="paysera_js_generator" position="100"/>
</service>

<service id="paysera_javascript_generator.generator.readme"
class="Paysera\Bundle\JavascriptGeneratorBundle\Service\Generator\ReadmeGenerator">
<argument type="service" id="templating"/>
<argument>%paysera_code_generator.vendor_prefix%</argument>
<tag name="paysera_js_generator" position="110"/>
<tag name="paysera_js_generator" position="100"/>
</service>

<service id="paysera_javascript_generator.generator.index_d_ts"
class="Paysera\Bundle\JavascriptGeneratorBundle\Service\Generator\IndexDTsGenerator">
<argument type="service" id="templating"/>
<tag name="paysera_js_generator" position="120"/>
<tag name="paysera_js_generator" position="110"/>
</service>
</services>
</container>

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@babel/core": "^7.12.10",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@paysera/eslint-config": "^1.0.0",
"@paysera/eslint-config": "^1.2.0",
"babel-eslint": "^11.0.0-beta.2",
"babel-loader": "^8.2.2",
"eslint": "^7.17.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,3 @@ const client = create{{ js_get_client_name(api) }}({
]
});
```

## Demo
- Run `npm install`
- Run `npm run build`
- Run `npm run serve` and take a look at `/dist/app.js` file

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,3 @@ const client = createAccountClient({
]
});
```

## Demo
- Run `npm install`
- Run `npm run build`
- Run `npm run serve` and take a look at `/dist/app.js` file

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@babel/core": "^7.12.10",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@paysera/eslint-config": "^1.0.0",
"@paysera/eslint-config": "^1.2.0",
"babel-eslint": "^11.0.0-beta.2",
"babel-loader": "^8.2.2",
"eslint": "^7.17.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,3 @@ const client = createCategoryClient({
]
});
```

## Demo
- Run `npm install`
- Run `npm run build`
- Run `npm run serve` and take a look at `/dist/app.js` file

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@babel/core": "^7.12.10",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@paysera/eslint-config": "^1.0.0",
"@paysera/eslint-config": "^1.2.0",
"babel-eslint": "^11.0.0-beta.2",
"babel-loader": "^8.2.2",
"eslint": "^7.17.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,3 @@ const client = createCustomClient({
]
});
```

## Demo
- Run `npm install`
- Run `npm run build`
- Run `npm run serve` and take a look at `/dist/app.js` file

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@babel/core": "^7.12.10",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@paysera/eslint-config": "^1.0.0",
"@paysera/eslint-config": "^1.2.0",
"babel-eslint": "^11.0.0-beta.2",
"babel-loader": "^8.2.2",
"eslint": "^7.17.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,3 @@ const client = createInheritanceClient({
]
});
```

## Demo
- Run `npm install`
- Run `npm run build`
- Run `npm run serve` and take a look at `/dist/app.js` file
Loading

0 comments on commit 240f2c2

Please sign in to comment.