@o3r/amaterasu-otter 0.0.4 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generate an NpmRc minimal to use Otter package
|
|
3
|
+
*
|
|
4
|
+
* @param token Digital For Airlines registry token
|
|
5
|
+
* @returns Content of the .npmrc file
|
|
6
|
+
*/
|
|
1
7
|
export declare const generateBasicNpmrc: (token: string) => string;
|
|
2
8
|
//# sourceMappingURL=commands.helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.helpers.d.ts","sourceRoot":"","sources":["../src/commands.helpers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,UAAW,MAAM,WAS/C,CAAC"}
|
|
1
|
+
{"version":3,"file":"commands.helpers.d.ts","sourceRoot":"","sources":["../src/commands.helpers.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,UAAW,MAAM,WAS/C,CAAC"}
|
package/dist/commands.helpers.js
CHANGED
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.generateBasicNpmrc = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
const os_1 = require("os");
|
|
5
|
+
/**
|
|
6
|
+
* Generate an NpmRc minimal to use Otter package
|
|
7
|
+
*
|
|
8
|
+
* @param token Digital For Airlines registry token
|
|
9
|
+
* @returns Content of the .npmrc file
|
|
10
|
+
*/
|
|
11
|
+
const generateBasicNpmrc = (token) => {
|
|
6
12
|
return [
|
|
7
13
|
'@otter:registry=https://digitalforairlines.jfrog.io/digitalforairlines/api/npm/npm-otter/',
|
|
8
14
|
'@dapi:registry=https://digitalforairlines.jfrog.io/digitalforairlines/api/npm/npm-otter/',
|
|
9
15
|
'@compo3r:registry=https://digitalforairlines.jfrog.io/digitalforairlines/api/npm/npm-otter/',
|
|
10
|
-
|
|
16
|
+
`//digitalforairlines.jfrog.io/digitalforairlines/api/npm/npm-otter/:_authToken=${token}`,
|
|
11
17
|
'//digitalforairlines.jfrog.io/digitalforairlines/api/npm/npm-otter/:email=noreply@amadeus.com',
|
|
12
18
|
'//digitalforairlines.jfrog.io/digitalforairlines/api/npm/npm-otter/:always-auth=true',
|
|
13
19
|
'always-auth=true'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.helpers.js","sourceRoot":"","sources":["../src/commands.helpers.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"commands.helpers.js","sourceRoot":"","sources":["../src/commands.helpers.ts"],"names":[],"mappings":";;;AAAA,2BAAyB;AAEzB;;;;;GAKG;AACI,MAAM,kBAAkB,GAAG,CAAC,KAAa,EAAE,EAAE;IAClD,OAAO;QACL,2FAA2F;QAC3F,0FAA0F;QAC1F,6FAA6F;QAC7F,kFAAkF,KAAK,EAAE;QACzF,+FAA+F;QAC/F,sFAAsF;QACtF,kBAAkB;KAAC,CAAC,IAAI,CAAC,QAAG,CAAC,CAAC;AAClC,CAAC,CAAC;AATW,QAAA,kBAAkB,sBAS7B"}
|
package/dist/index.js
CHANGED
|
@@ -1,76 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
-
}) : function(o, v) {
|
|
12
|
-
o["default"] = v;
|
|
13
|
-
});
|
|
14
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
-
if (mod && mod.__esModule) return mod;
|
|
16
|
-
var result = {};
|
|
17
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
-
__setModuleDefault(result, mod);
|
|
19
|
-
return result;
|
|
20
|
-
};
|
|
21
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
22
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
23
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
24
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
25
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
26
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
27
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
28
|
-
});
|
|
29
|
-
};
|
|
30
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
31
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
32
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
33
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
34
|
-
function step(op) {
|
|
35
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
36
|
-
while (_) try {
|
|
37
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
38
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
39
|
-
switch (op[0]) {
|
|
40
|
-
case 0: case 1: t = op; break;
|
|
41
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
42
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
43
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
44
|
-
default:
|
|
45
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
46
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
47
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
48
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
49
|
-
if (t[2]) _.ops.pop();
|
|
50
|
-
_.trys.pop(); continue;
|
|
51
|
-
}
|
|
52
|
-
op = body.call(thisArg, _);
|
|
53
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
54
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
58
4
|
/* eslint-disable no-shadow */
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
5
|
+
const core_1 = require("@o3r-ama/core");
|
|
6
|
+
const fs_1 = require("fs");
|
|
7
|
+
const path = tslib_1.__importStar(require("path"));
|
|
8
|
+
const commands_helpers_1 = require("./commands.helpers");
|
|
63
9
|
module.exports = {
|
|
64
10
|
name: 'otter',
|
|
65
11
|
description: 'Commands relative to Otter framework',
|
|
66
|
-
init:
|
|
12
|
+
init: (yargs, context) => {
|
|
67
13
|
return yargs
|
|
68
14
|
.option('yarn', {
|
|
69
15
|
type: 'boolean',
|
|
70
16
|
description: 'Use yarn instead of npx'
|
|
71
17
|
})
|
|
72
18
|
.demandCommand()
|
|
73
|
-
.command('create', 'Generate a new Otter based project',
|
|
19
|
+
.command('create', 'Generate a new Otter based project', (yargs) => yargs
|
|
74
20
|
.demandCommand()
|
|
75
21
|
.option('path', {
|
|
76
22
|
type: 'string',
|
|
@@ -79,10 +25,11 @@ module.exports = {
|
|
|
79
25
|
})
|
|
80
26
|
.option('registry-token', {
|
|
81
27
|
type: 'string',
|
|
28
|
+
alias: 'T',
|
|
82
29
|
description: 'Token used for Amadeus NPM registries',
|
|
83
30
|
demandOption: 'Otter registry token is mandatory'
|
|
84
31
|
})
|
|
85
|
-
.command('application <name>', 'Generate a new Otter based application',
|
|
32
|
+
.command('application <name>', 'Generate a new Otter based application', (yargs) => yargs
|
|
86
33
|
.positional('name', {
|
|
87
34
|
type: 'string',
|
|
88
35
|
description: 'Application name',
|
|
@@ -91,61 +38,35 @@ module.exports = {
|
|
|
91
38
|
.option('material', {
|
|
92
39
|
type: 'boolean',
|
|
93
40
|
description: 'Add material dependency'
|
|
94
|
-
})
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
case 6:
|
|
124
|
-
_b.sent();
|
|
125
|
-
if (!options.material) return [3 /*break*/, 11];
|
|
126
|
-
progress.tick({ title: 'Add Material Dependency' });
|
|
127
|
-
return [4 /*yield*/, core_1.promiseSpawn((options.yarn ? 'yarn' : 'npx') + " ng add @angular/material --interactive=" + !options.yes + " --skip-confirmation", { cwd: cwd, stderrLogger: logger.debug, stdoutLogger: logger.debug, logger: logger })];
|
|
128
|
-
case 7:
|
|
129
|
-
_b.sent();
|
|
130
|
-
progress.tick({ title: 'Update style' });
|
|
131
|
-
return [4 /*yield*/, fs_1.promises.readFile(path.resolve(cwd, 'src/styles.scss'), { encoding: 'utf-8' })];
|
|
132
|
-
case 8: return [4 /*yield*/, (_b.sent())
|
|
133
|
-
.replace('// @include mat-core', '@include mat-core')
|
|
134
|
-
.replace('// @include angular-material-typography', '@include angular-material-typography')
|
|
135
|
-
.replace('// @include angular-material-theme', '@include angular-material-theme')];
|
|
136
|
-
case 9:
|
|
137
|
-
style = _b.sent();
|
|
138
|
-
return [4 /*yield*/, fs_1.promises.writeFile(path.resolve(cwd, 'src/styles.scss'), style)];
|
|
139
|
-
case 10:
|
|
140
|
-
_b.sent();
|
|
141
|
-
_b.label = 11;
|
|
142
|
-
case 11:
|
|
143
|
-
progress.terminate();
|
|
144
|
-
logger.info("Application created in " + cwd);
|
|
145
|
-
return [2 /*return*/];
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
}); }); });
|
|
41
|
+
}), async (options) => {
|
|
42
|
+
const { logger, progress } = context.getContext(options, 4 + (options.material ? 2 : 0));
|
|
43
|
+
let cwd = path.resolve(process.cwd(), options.path);
|
|
44
|
+
const directory = options.name.replace(/ /g, '-');
|
|
45
|
+
if (!fs_1.existsSync(cwd)) {
|
|
46
|
+
await fs_1.promises.mkdir(cwd, { recursive: true });
|
|
47
|
+
}
|
|
48
|
+
progress.render({ title: 'Create a new Angular application' });
|
|
49
|
+
await core_1.promiseSpawn(`npx -p @angular/cli@12 ng new "${options.name}" --style=scss --interactive=${!options.yes} --directory=${directory} --package-manager=${options.yarn ? 'yarn' : 'npm'}`, { cwd, stderrLogger: logger.debug, stdoutLogger: logger.debug, logger });
|
|
50
|
+
cwd = path.resolve(cwd, directory);
|
|
51
|
+
progress.tick({ title: 'Add Otter registry' });
|
|
52
|
+
await fs_1.promises.writeFile(path.resolve(cwd, '.npmrc'), commands_helpers_1.generateBasicNpmrc(options['registry-token']));
|
|
53
|
+
progress.tick({ title: 'NPM Installing' });
|
|
54
|
+
await core_1.promiseSpawn(`${options.yarn ? 'yarn' : 'npm'} install`, { cwd, stderrLogger: logger.debug, stdoutLogger: logger.debug, logger });
|
|
55
|
+
progress.tick({ title: 'Add Otter Dependency' });
|
|
56
|
+
await core_1.promiseSpawn(`${options.yarn ? 'yarn' : 'npx'} ng add @otter/ng-tools --interactive=${!options.yes} --skip-confirmation`, { cwd, stderrLogger: logger.debug, stdoutLogger: logger.debug, logger });
|
|
57
|
+
if (options.material) {
|
|
58
|
+
progress.tick({ title: 'Add Material Dependency' });
|
|
59
|
+
await core_1.promiseSpawn(`${options.yarn ? 'yarn' : 'npx'} ng add @angular/material --interactive=${!options.yes} --skip-confirmation`, { cwd, stderrLogger: logger.debug, stdoutLogger: logger.debug, logger });
|
|
60
|
+
progress.tick({ title: 'Update style' });
|
|
61
|
+
const style = await (await fs_1.promises.readFile(path.resolve(cwd, 'src/styles.scss'), { encoding: 'utf-8' }))
|
|
62
|
+
.replace('// @include mat-core', '@include mat-core')
|
|
63
|
+
.replace('// @include angular-material-typography', '@include angular-material-typography')
|
|
64
|
+
.replace('// @include angular-material-theme', '@include angular-material-theme');
|
|
65
|
+
await fs_1.promises.writeFile(path.resolve(cwd, 'src/styles.scss'), style);
|
|
66
|
+
}
|
|
67
|
+
progress.terminate();
|
|
68
|
+
logger.info(`Application created in ${cwd}`);
|
|
69
|
+
}));
|
|
149
70
|
}
|
|
150
71
|
};
|
|
151
72
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,8BAA8B;AAC9B,wCAA2D;AAC3D,2BAAgD;AAChD,mDAA6B;AAC7B,yDAAwD;AAExD,MAAM,CAAC,OAAO,GAAG;IACf,IAAI,EAAE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C,0BAA0B,GAAG,EAAE,CAAC,CAAC;QAC/C,CAAC,CAAC,CACH,CAAC;IACN,CAAC;CACc,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o3r/amaterasu-otter",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "Command Line Interface to administrate a DES project",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,16 +11,19 @@
|
|
|
11
11
|
"files": [
|
|
12
12
|
"dist/"
|
|
13
13
|
],
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"tslib": "^2.3.1"
|
|
16
|
+
},
|
|
14
17
|
"devDependencies": {
|
|
15
|
-
"@
|
|
18
|
+
"@o3r-ama/core": "^0.0.10",
|
|
19
|
+
"@types/node": "^14.0.0",
|
|
16
20
|
"typescript": "^4.3.5"
|
|
17
21
|
},
|
|
18
|
-
"
|
|
19
|
-
"@o3r-ama/core": "^0.0.
|
|
20
|
-
"prompts": "^2.4.1"
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"@o3r-ama/core": "^0.0.10"
|
|
21
24
|
},
|
|
22
25
|
"engines": {
|
|
23
|
-
"node": "
|
|
26
|
+
"node": ">=14.0.0",
|
|
24
27
|
"vscode": "^1.22.0"
|
|
25
28
|
}
|
|
26
29
|
}
|