Skip to content

Commit 9c36a75

Browse files
cbourgoisjleveugle
authored andcommitted
feat(pci): add @ovh-ux/manager-pci package (#230)
* feat(pci): add empty manager-pci package ref: OM-39
1 parent aa94535 commit 9c36a75

File tree

1,036 files changed

+66412
-3302
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,036 files changed

+66412
-3302
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ yarn install
2828
| [@ovh-ux/manager-core](https://github.com/ovh-ux/manager/tree/master/packages/manager/modules/core) | [![npm version](https://badgen.net/npm/v/@ovh-ux/manager-core)](https://www.npmjs.com/package/@ovh-ux/manager-core) | [![Dependencies](https://badgen.net/david/dep/ovh-ux/manager/packages/manager/modules/core)](https://npmjs.com/package/@ovh-ux/manager-core?activeTab=dependencies) | [![Dev Dependencies](https://badgen.net/david/dev/ovh-ux/manager/packages/manager/modules/core)](https://npmjs.com/package/@ovh-ux/manager-core?activeTab=dependencies) | [![Peer Dependencies](https://badgen.net/david/peer/ovh-ux/manager/packages/manager/modules/core)](https://npmjs.com/package/@ovh-ux/manager-core?activeTab=dependencies) | [:books:](https://github.com/ovh-ux/manager/blob/master/packages/manager/modules/core/CHANGELOG.md) |
2929
| [@ovh-ux/manager-freefax](https://github.com/ovh-ux/manager/tree/master/packages/manager/modules/freefax) | [![npm version](https://badgen.net/npm/v/@ovh-ux/manager-freefax)](https://www.npmjs.com/package/@ovh-ux/manager-freefax) | [![Dependencies](https://badgen.net/david/dep/ovh-ux/manager/packages/manager/modules/freefax)](https://npmjs.com/package/@ovh-ux/manager-freefax?activeTab=dependencies) | [![Dev Dependencies](https://badgen.net/david/dev/ovh-ux/manager/packages/manager/modules/freefax)](https://npmjs.com/package/@ovh-ux/manager-freefax?activeTab=dependencies) | [![Peer Dependencies](https://badgen.net/david/peer/ovh-ux/manager/packages/manager/modules/freefax)](https://npmjs.com/package/@ovh-ux/manager-freefax?activeTab=dependencies) | [:books:](https://github.com/ovh-ux/manager/blob/master/packages/manager/modules/freefax/CHANGELOG.md) |
3030
| [@ovh-ux/manager-overthebox](https://github.com/ovh-ux/manager/tree/master/packages/manager/modules/overthebox) | [![npm version](https://badgen.net/npm/v/@ovh-ux/manager-overthebox)](https://www.npmjs.com/package/@ovh-ux/manager-overthebox) | [![Dependencies](https://badgen.net/david/dep/ovh-ux/manager/packages/manager/modules/overthebox)](https://npmjs.com/package/@ovh-ux/manager-overthebox?activeTab=dependencies) | [![Dev Dependencies](https://badgen.net/david/dev/ovh-ux/manager/packages/manager/modules/overthebox)](https://npmjs.com/package/@ovh-ux/manager-overthebox?activeTab=dependencies) | [![Peer Dependencies](https://badgen.net/david/peer/ovh-ux/manager/packages/manager/modules/overthebox)](https://npmjs.com/package/@ovh-ux/manager-overthebox?activeTab=dependencies) | [:books:](https://github.com/ovh-ux/manager/blob/master/packages/manager/modules/overthebox/CHANGELOG.md) |
31+
| [@ovh-ux/manager-pci](https://github.com/ovh-ux/manager/tree/master/packages/manager/modules/pci) | [![npm version](https://badgen.net/npm/v/@ovh-ux/manager-pci)](https://www.npmjs.com/package/@ovh-ux/manager-pci) | [![Dependencies](https://badgen.net/david/dep/ovh-ux/manager/packages/manager/modules/pci)](https://npmjs.com/package/@ovh-ux/manager-pci?activeTab=dependencies) | [![Dev Dependencies](https://badgen.net/david/dev/ovh-ux/manager/packages/manager/modules/pci)](https://npmjs.com/package/@ovh-ux/manager-pci?activeTab=dependencies) | [![Peer Dependencies](https://badgen.net/david/peer/ovh-ux/manager/packages/manager/modules/pci)](https://npmjs.com/package/@ovh-ux/manager-pci?activeTab=dependencies) | [:books:](https://github.com/ovh-ux/manager/blob/master/packages/manager/modules/pci/CHANGELOG.md) |
3132
| [@ovh-ux/manager-sms](https://github.com/ovh-ux/manager/tree/master/packages/manager/modules/sms) | [![npm version](https://badgen.net/npm/v/@ovh-ux/manager-sms)](https://www.npmjs.com/package/@ovh-ux/manager-sms) | [![Dependencies](https://badgen.net/david/dep/ovh-ux/manager/packages/manager/modules/sms)](https://npmjs.com/package/@ovh-ux/manager-sms?activeTab=dependencies) | [![Dev Dependencies](https://badgen.net/david/dev/ovh-ux/manager/packages/manager/modules/sms)](https://npmjs.com/package/@ovh-ux/manager-sms?activeTab=dependencies) | [![Peer Dependencies](https://badgen.net/david/peer/ovh-ux/manager/packages/manager/modules/sms)](https://npmjs.com/package/@ovh-ux/manager-sms?activeTab=dependencies) | [:books:](https://github.com/ovh-ux/manager/blob/master/packages/manager/modules/sms/CHANGELOG.md) |
3233
| [@ovh-ux/manager-telecom-dashboard](https://github.com/ovh-ux/manager/tree/master/packages/manager/modules/telecom-dashboard) | [![npm version](https://badgen.net/npm/v/@ovh-ux/manager-telecom-dashboard)](https://www.npmjs.com/package/@ovh-ux/manager-telecom-dashboard) | [![Dependencies](https://badgen.net/david/dep/ovh-ux/manager/packages/manager/modules/telecom-dashboard)](https://npmjs.com/package/@ovh-ux/manager-telecom-dashboard?activeTab=dependencies) | [![Dev Dependencies](https://badgen.net/david/dev/ovh-ux/manager/packages/manager/modules/telecom-dashboard)](https://npmjs.com/package/@ovh-ux/manager-telecom-dashboard?activeTab=dependencies) | [![Peer Dependencies](https://badgen.net/david/peer/ovh-ux/manager/packages/manager/modules/telecom-dashboard)](https://npmjs.com/package/@ovh-ux/manager-telecom-dashboard?activeTab=dependencies) | [:books:](https://github.com/ovh-ux/manager/blob/master/packages/manager/modules/telecom-dashboard/CHANGELOG.md) |
3334
| [@ovh-ux/manager-telecom-styles](https://github.com/ovh-ux/manager/tree/master/packages/manager/modules/telecom-styles) | [![npm version](https://badgen.net/npm/v/@ovh-ux/manager-telecom-styles)](https://www.npmjs.com/package/@ovh-ux/manager-telecom-styles) | [![Dependencies](https://badgen.net/david/dep/ovh-ux/manager/packages/manager/modules/telecom-styles)](https://npmjs.com/package/@ovh-ux/manager-telecom-styles?activeTab=dependencies) | [![Dev Dependencies](https://badgen.net/david/dev/ovh-ux/manager/packages/manager/modules/telecom-styles)](https://npmjs.com/package/@ovh-ux/manager-telecom-styles?activeTab=dependencies) | [![Peer Dependencies](https://badgen.net/david/peer/ovh-ux/manager/packages/manager/modules/telecom-styles)](https://npmjs.com/package/@ovh-ux/manager-telecom-styles?activeTab=dependencies) | [:books:](https://github.com/ovh-ux/manager/blob/master/packages/manager/modules/telecom-styles/CHANGELOG.md) |

packages/manager/apps/layout-ovh/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@
3939
"@ovh-ux/ovh-utils-angular": "^14.0.0-alpha.1",
4040
"@uirouter/angularjs": "^1.0.20",
4141
"CSV-JS": "^1.0.0",
42-
"angular": "1.7.5",
43-
"angular-aria": "1.7.5",
42+
"angular": "^1.7.5",
43+
"angular-aria": "^1.7.5",
4444
"angular-cookies": "^1.7.5",
4545
"angular-dynamic-locale": "^0.1.37",
4646
"angular-i18n": "~1.5.x",
4747
"angular-messages": "^1.7.5",
4848
"angular-resource": "^1.7.5",
49-
"angular-sanitize": "1.7.5",
49+
"angular-sanitize": "^1.7.5",
5050
"angular-translate": "^2.18.1",
5151
"angular-translate-loader-pluggable": "^1.3.1",
5252
"angular-ui-bootstrap": "~1.3.3",

packages/manager/apps/overthebox/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
"@ovh-ux/ng-ovh-telecom-universe-components": "^3.0.0",
2323
"@ovh-ux/ng-uirouter-title": "^2.0.0-beta.3",
2424
"@uirouter/angularjs": "^1.0.15",
25-
"angular": "1.7.5",
26-
"angular-aria": "1.7.5",
25+
"angular": "^1.7.5",
26+
"angular-aria": "^1.7.5",
2727
"angular-resource": "^1.7.5",
28-
"angular-sanitize": "1.7.5",
28+
"angular-sanitize": "^1.7.5",
2929
"angularjs-scroll-glue": "^2.2.0",
3030
"jquery": "^2.1.3",
3131
"lodash": "^3.10.1",

packages/manager/apps/pci/LICENSE

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
BSD 3-Clause License
2+
3+
Copyright (c) 2013-present, OVH SAS
4+
All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
9+
* Redistributions of source code must retain the above copyright notice, this
10+
list of conditions and the following disclaimer.
11+
12+
* Redistributions in binary form must reproduce the above copyright notice,
13+
this list of conditions and the following disclaimer in the documentation
14+
and/or other materials provided with the distribution.
15+
16+
* Neither the name of the copyright holder nor the names of its
17+
contributors may be used to endorse or promote products derived from
18+
this software without specific prior written permission.
19+
20+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# manager-pci
2+
3+
## Installation
4+
5+
Foremost, you should launch a global installation at the root folder of this repository:
6+
7+
```sh
8+
yarn install
9+
```
10+
11+
## Build
12+
13+
```sh
14+
# Build in production mode
15+
yarn start
16+
```
17+
18+
## Development
19+
20+
If you want to contribute to the project, follow theses instructions:
21+
22+
Foremost, you should launch a global installation at the root folder of this repository:
23+
24+
```sh
25+
yarn install
26+
```
27+
28+
Then you just have to start the project in development mode. For this, two choices are possible according to your needs:
29+
30+
```sh
31+
# Build the `manager-pci` workspace and all the nested workspaces in development mode and watch only `manager-pci` workspace
32+
yarn start:dev
33+
# Build and watch the `manager-pci` workspace and all the nested workspaces in development mode
34+
yarn start:watch
35+
```
36+
37+
## Contributing
38+
39+
Always feel free to help out! Whether it's [filing bugs and feature requests](https://github.com/ovh-ux/manager/issues/new) or working on some of the [open issues](https://github.com/ovh-ux/manager/issues), our [contributing guide](CONTRIBUTING.md) will help get you started.
40+
41+
## License
42+
43+
[BSD-3-Clause](LICENSE) © OVH SAS
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<title>PCI App</title>
5+
</head>
6+
<body class="cloud-legacy"
7+
data-ng-app="pciApp"
8+
data-ng-strict-di>
9+
<div data-ui-view></div>
10+
</body>
11+
</html>

packages/manager/apps/pci/index.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import angular from 'angular';
2+
3+
import 'script-loader!jquery'; // eslint-disable-line
4+
import 'script-loader!lodash'; // eslint-disable-line
5+
import 'script-loader!jquery-ui/ui/minified/core.min'; // eslint-disable-line
6+
import 'script-loader!jquery-ui/ui/minified/widget.min'; // eslint-disable-line
7+
import 'script-loader!jquery-ui/ui/minified/mouse.min'; // eslint-disable-line
8+
import 'script-loader!jquery-ui/ui/minified/draggable.min'; // eslint-disable-line
9+
import 'script-loader!messenger/build/js/messenger.js'; // eslint-disable-line
10+
import 'script-loader!messenger/build/js/messenger-theme-future.js'; // eslint-disable-line
11+
import 'script-loader!messenger/build/js/messenger-theme-flat.js'; // eslint-disable-line
12+
import 'script-loader!messenger/build/js/messenger-theme-flat.js'; // eslint-disable-line
13+
import 'script-loader!jsplumb'; // eslint-disable-line
14+
import 'script-loader!angular-ui-validate/dist/validate.js'; // eslint-disable-line
15+
16+
import '@ovh-ux/manager-pci';
17+
18+
angular.module('pciApp', ['ovhManagerPci']);
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"name": "@ovh-ux/manager-pci-app",
3+
"version": "0.0.0",
4+
"private": true,
5+
"scripts": {
6+
"build": "webpack",
7+
"dev": "webpack-dev-server",
8+
"dev:watch": "yarn run dev",
9+
"start": "lerna exec --stream --scope='@ovh-ux/manager-pci-app' --include-filtered-dependencies -- yarn run build",
10+
"start:dev": "lerna exec --stream --scope='@ovh-ux/manager-pci-app' --include-filtered-dependencies -- yarn run dev",
11+
"start:watch": "lerna exec --stream --parallel --scope='@ovh-ux/manager-pci-app' --include-filtered-dependencies -- yarn run dev:watch"
12+
},
13+
"dependencies": {
14+
"@ovh-ux/manager-cloud-styles": "0.1.1-alpha.0",
15+
"@ovh-ux/manager-config": "^0.1.0-alpha.0",
16+
"@ovh-ux/manager-core": "^4.0.0 || >= 5.0.0-alpha.0 <= 5.0.0",
17+
"@ovh-ux/manager-pci": "^0.0.0",
18+
"@ovh-ux/ng-ovh-api-wrappers": "^3.0.0",
19+
"@ovh-ux/ng-ovh-apiv7": "^2.0.0",
20+
"@ovh-ux/ng-ovh-cloud-universe-components": "^1.0.1-alpha.0",
21+
"@ovh-ux/ng-ovh-doc-url": "^1.0.0",
22+
"@ovh-ux/ng-ovh-form-flat": "^4.0.0",
23+
"@ovh-ux/ng-ovh-jsplumb": "^5.0.0",
24+
"@ovh-ux/ng-ovh-otrs": "^7.0.0",
25+
"@ovh-ux/ng-ovh-proxy-request": "^1.0.0-beta.0",
26+
"@ovh-ux/ng-ovh-responsive-popover": "^5.0.0-beta.0",
27+
"@ovh-ux/ng-ovh-swimming-poll": "^4.0.0",
28+
"@ovh-ux/ng-ovh-toaster": "^1.0.2",
29+
"@ovh-ux/ng-ovh-user-pref": "^1.0.0",
30+
"@ovh-ux/ng-translate-async-loader": "^2.0.0",
31+
"@uirouter/angularjs": "^1.0.15",
32+
"angular": "^1.7.5",
33+
"angular-animate": "^1.7.5",
34+
"angular-translate": "^2.18.1",
35+
"angular-ui-bootstrap": "^1.3.3",
36+
"angular-ui-validate": "^1.2.3",
37+
"font-awesome": "^4.0.0",
38+
"jquery-ui": "components/jqueryui#~1.11.2",
39+
"messenger": "HubSpot/messenger#~1.4.1",
40+
"ng-at-internet": "ovh-ux/ng-at-internet#^3.0.0",
41+
"oclazyload": "^1.1.0",
42+
"ovh-angular-pagination-front": "ovh-ux/ovh-angular-pagination-front#^5.1.0",
43+
"ovh-angular-q-allsettled": "ovh-ux/ovh-angular-q-allSettled#^0.3.1",
44+
"ovh-angular-responsive-page-switcher": "^1.1.0",
45+
"ovh-common-style": "^5.0.0",
46+
"ovh-jquery-ui-draggable-ng": "ovh-ux/ovh-jquery-ui-draggable-ng#^0.0.5",
47+
"ovh-manager-webfont": "^1.1.0",
48+
"ovh-ui-angular": "~2.24.0",
49+
"ovh-ui-kit": "~2.24.0",
50+
"ovh-ui-kit-bs": "^2.1.1"
51+
},
52+
"devDependencies": {
53+
"@ovh-ux/manager-webpack-config": "^3.0.1",
54+
"webpack-merge": "^4.1.4"
55+
}
56+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
const merge = require('webpack-merge');
2+
const path = require('path');
3+
const webpackConfig = require('@ovh-ux/manager-webpack-config');
4+
5+
module.exports = (env = {}) => {
6+
const { config } = webpackConfig({
7+
template: './index.html',
8+
basePath: '.',
9+
root: path.resolve(process.cwd()),
10+
}, env);
11+
12+
return merge(config, {
13+
entry: path.resolve('./index.js'),
14+
resolve: {
15+
modules: [
16+
path.resolve(process.cwd(), './node_modules'),
17+
path.resolve(process.cwd(), '../../../../node_modules'),
18+
],
19+
mainFields: ['module', 'browser', 'main'],
20+
},
21+
});
22+
};

packages/manager/apps/sms/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@ovh-ux/ng-ovh-telecom-universe-components": "^3.0.0",
2323
"@ovh-ux/ng-pagination-front": "^8.0.0-alpha.0",
2424
"@uirouter/angularjs": "^1.0.15",
25-
"angular": "1.7.5",
25+
"angular": "^1.7.5",
2626
"angular-messages": "^1.7.6",
2727
"angular-ui-validate": "^1.2.3",
2828
"font-awesome": "4.7.0",

0 commit comments

Comments
 (0)