From 6555fb80fdd8f6a5d201efadec3189d1244830a0 Mon Sep 17 00:00:00 2001 From: Nevena Bojovic Date: Tue, 1 Mar 2022 22:05:25 +0100 Subject: Izbrisala bin, obj i node-modules. --- .../node_modules/@angular/cli/bin/bootstrap.js | 21 -------- .../Front/node_modules/@angular/cli/bin/ng.js | 58 ---------------------- .../node_modules/@angular/cli/bin/package.json | 3 -- .../cli/bin/postinstall/analytics-prompt.js | 27 ---------- .../@angular/cli/bin/postinstall/script.js | 16 ------ 5 files changed, 125 deletions(-) delete mode 100644 sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/bootstrap.js delete mode 100644 sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/ng.js delete mode 100644 sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/package.json delete mode 100644 sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/postinstall/analytics-prompt.js delete mode 100644 sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/postinstall/script.js (limited to 'sandbox/testAppNevena/Front/node_modules/@angular/cli/bin') diff --git a/sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/bootstrap.js b/sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/bootstrap.js deleted file mode 100644 index 75e454ee..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/bootstrap.js +++ /dev/null @@ -1,21 +0,0 @@ -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * @fileoverview - * - * This file is used to bootstrap the CLI process by dynamically importing the main initialization code. - * This is done to allow the main bin file (`ng`) to remain CommonJS so that older versions of Node.js - * can be checked and validated prior to the execution of the CLI. This separate bootstrap file is - * needed to allow the use of a dynamic import expression without crashing older versions of Node.js that - * do not support dynamic import expressions and would otherwise throw a syntax error. This bootstrap file - * is required from the main bin file only after the Node.js version is determined to be in the supported - * range. - */ - -import('../lib/init.js'); diff --git a/sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/ng.js b/sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/ng.js deleted file mode 100644 index c9012412..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/ng.js +++ /dev/null @@ -1,58 +0,0 @@ -#!/usr/bin/env node -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/* eslint-disable no-console */ -/* eslint-disable import/no-unassigned-import */ -'use strict'; - -// Provide a title to the process in `ps`. -// Due to an obscure Mac bug, do not start this title with any symbol. -try { - process.title = 'ng ' + Array.from(process.argv).slice(2).join(' '); -} catch (_) { - // If an error happened above, use the most basic title. - process.title = 'ng'; -} - -// This node version check ensures that extremely old versions of node are not used. -// These may not support ES2015 features such as const/let/async/await/etc. -// These would then crash with a hard to diagnose error message. -var version = process.versions.node.split('.').map((part) => Number(part)); -if (version[0] % 2 === 1 && version[0] > 16) { - // Allow new odd numbered releases with a warning (currently v17+) - console.warn( - 'Node.js version ' + - process.version + - ' detected.\n' + - 'Odd numbered Node.js versions will not enter LTS status and should not be used for production.' + - ' For more information, please see https://nodejs.org/en/about/releases/.', - ); - - require('./bootstrap'); -} else if ( - version[0] < 12 || - version[0] === 13 || - version[0] === 15 || - (version[0] === 12 && version[1] < 20) || - (version[0] === 14 && version[1] < 15) || - (version[0] === 16 && version[1] < 10) -) { - // Error and exit if less than 12.20 or 13.x or less than 14.15 or 15.x or less than 16.10 - console.error( - 'Node.js version ' + - process.version + - ' detected.\n' + - 'The Angular CLI requires a minimum Node.js version of either v12.20, v14.15, or v16.10.\n\n' + - 'Please update your Node.js version or visit https://nodejs.org/ for additional instructions.\n', - ); - - process.exitCode = 3; -} else { - require('./bootstrap'); -} diff --git a/sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/package.json b/sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/package.json deleted file mode 100644 index 5bbefffb..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "type": "commonjs" -} diff --git a/sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/postinstall/analytics-prompt.js b/sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/postinstall/analytics-prompt.js deleted file mode 100644 index d9e0b487..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/postinstall/analytics-prompt.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -'use strict'; -// This file is ES5 because it needs to be executed as is. - -if ('NG_CLI_ANALYTICS' in process.env) { - return; -} - -try { - var analytics = require('../../models/analytics'); - - analytics - .hasGlobalAnalyticsConfiguration() - .then((hasGlobalConfig) => { - if (!hasGlobalConfig) { - return analytics.promptGlobalAnalytics(); - } - }) - .catch(() => {}); -} catch (_) {} diff --git a/sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/postinstall/script.js b/sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/postinstall/script.js deleted file mode 100644 index cbca1295..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@angular/cli/bin/postinstall/script.js +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env node -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -'use strict'; - -// These should not fail but if they do they should not block installation of the package -try { - // eslint-disable-next-line import/no-unassigned-import - require('./analytics-prompt'); -} catch (_) {} -- cgit v1.2.3