You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

angular-server-side-configuration

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-server-side-configuration - npm Package Compare versions

Comparing version

to
1.2.0

documentation/classes/_cli_wrap_aot_.wrapaotcommand.md

14

documentation/classes/_cli_command_base_.commandbase.md

@@ -13,2 +13,4 @@ [angular-server-side-configuration](../README.md) > ["cli/command-base"](../modules/_cli_command_base_.md) > [CommandBase](../classes/_cli_command_base_.commandbase.md)

↳ [WrapAotCommand](_cli_wrap_aot_.wrapaotcommand.md)
## Index

@@ -41,3 +43,3 @@

*Defined in [cli/command-base.ts:1](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/command-base.ts#L1)*
*Defined in [cli/command-base.ts:1](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/command-base.ts#L1)*

@@ -62,3 +64,3 @@ **Parameters:**

*Defined in [cli/command-base.ts:2](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/command-base.ts#L2)*
*Defined in [cli/command-base.ts:2](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/command-base.ts#L2)*

@@ -75,3 +77,3 @@ ___

*Defined in [cli/command-base.ts:11](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/command-base.ts#L11)*
*Defined in [cli/command-base.ts:11](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/command-base.ts#L11)*

@@ -87,3 +89,3 @@ **Returns:** `Promise`<`void`>

*Defined in [cli/command-base.ts:19](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/command-base.ts#L19)*
*Defined in [cli/command-base.ts:19](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/command-base.ts#L19)*

@@ -105,3 +107,3 @@ **Parameters:**

*Defined in [cli/command-base.ts:13](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/command-base.ts#L13)*
*Defined in [cli/command-base.ts:13](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/command-base.ts#L13)*

@@ -124,3 +126,3 @@ **Parameters:**

*Defined in [cli/command-base.ts:5](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/command-base.ts#L5)*
*Defined in [cli/command-base.ts:5](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/command-base.ts#L5)*

@@ -127,0 +129,0 @@ **Returns:** `Promise`<`void`>

@@ -46,3 +46,3 @@ [angular-server-side-configuration](../README.md) > ["cli/init-command"](../modules/_cli_init_command_.md) > [InitCommand](../classes/_cli_init_command_.initcommand.md)

*Defined in [cli/init-command.ts:10](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/init-command.ts#L10)*
*Defined in [cli/init-command.ts:10](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/init-command.ts#L10)*

@@ -55,6 +55,6 @@ **Parameters:**

| ------ | ------ |
| `Optional` directory | `undefined` &#124; `string`|
| `Optional` environmentFile | `undefined` &#124; `string`|
| `Optional` npm | `undefined` &#124; `false` &#124; `true`|
| `Optional` yarn | `undefined` &#124; `false` &#124; `true`|
| `Optional` directory | `undefined` | `string` |
| `Optional` environmentFile | `undefined` | `string` |
| `Optional` npm | `undefined` | `false` | `true` |
| `Optional` yarn | `undefined` | `false` | `true` |

@@ -73,3 +73,3 @@ **Returns:** [InitCommand](_cli_init_command_.initcommand.md)

*Defined in [cli/init-command.ts:10](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/init-command.ts#L10)*
*Defined in [cli/init-command.ts:10](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/init-command.ts#L10)*

@@ -83,3 +83,3 @@ ___

*Defined in [cli/init-command.ts:9](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/init-command.ts#L9)*
*Defined in [cli/init-command.ts:9](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/init-command.ts#L9)*

@@ -93,13 +93,13 @@ ___

*Defined in [cli/init-command.ts:12](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/init-command.ts#L12)*
*Defined in [cli/init-command.ts:12](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/init-command.ts#L12)*
#### Type declaration
`Optional` directory: `undefined` &#124; `string`
`Optional` directory: `undefined` | `string`
`Optional` environmentFile: `undefined` &#124; `string`
`Optional` environmentFile: `undefined` | `string`
`Optional` npm: `undefined` &#124; `false` &#124; `true`
`Optional` npm: `undefined` | `false` | `true`
`Optional` yarn: `undefined` &#124; `false` &#124; `true`
`Optional` yarn: `undefined` | `false` | `true`

@@ -113,3 +113,3 @@ ___

*Defined in [cli/init-command.ts:8](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/init-command.ts#L8)*
*Defined in [cli/init-command.ts:8](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/init-command.ts#L8)*

@@ -128,3 +128,3 @@ ___

*Defined in [cli/init-command.ts:26](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/init-command.ts#L26)*
*Defined in [cli/init-command.ts:26](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/init-command.ts#L26)*

@@ -140,3 +140,3 @@ **Returns:** `Promise`<`void`>

*Defined in [cli/init-command.ts:42](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/init-command.ts#L42)*
*Defined in [cli/init-command.ts:42](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/init-command.ts#L42)*

@@ -152,3 +152,3 @@ **Returns:** `void`

*Defined in [cli/init-command.ts:74](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/init-command.ts#L74)*
*Defined in [cli/init-command.ts:74](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/init-command.ts#L74)*

@@ -166,3 +166,3 @@ **Returns:** `void`

*Defined in [cli/command-base.ts:19](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/command-base.ts#L19)*
*Defined in [cli/command-base.ts:19](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/command-base.ts#L19)*

@@ -186,3 +186,3 @@ **Parameters:**

*Defined in [cli/command-base.ts:13](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/command-base.ts#L13)*
*Defined in [cli/command-base.ts:13](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/command-base.ts#L13)*

@@ -205,3 +205,3 @@ **Parameters:**

*Defined in [cli/init-command.ts:32](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/init-command.ts#L32)*
*Defined in [cli/init-command.ts:32](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/init-command.ts#L32)*

@@ -219,3 +219,3 @@ **Returns:** `void`

*Defined in [cli/command-base.ts:5](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/command-base.ts#L5)*
*Defined in [cli/command-base.ts:5](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/command-base.ts#L5)*

@@ -222,0 +222,0 @@ **Returns:** `Promise`<`void`>

@@ -49,3 +49,3 @@ [angular-server-side-configuration](../README.md) > ["cli/insert-command"](../modules/_cli_insert_command_.md) > [InsertCommand](../classes/_cli_insert_command_.insertcommand.md)

*Defined in [cli/insert-command.ts:7](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/insert-command.ts#L7)*
*Defined in [cli/insert-command.ts:7](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/insert-command.ts#L7)*

@@ -58,8 +58,8 @@ **Parameters:**

| ------ | ------ |
| `Optional` directory | `undefined` &#124; `string`|
| `Optional` dry | `undefined` &#124; `false` &#124; `true`|
| `Optional` directory | `undefined` | `string` |
| `Optional` dry | `undefined` | `false` | `true` |
| `Optional` env | `string`[] |
| `Optional` head | `undefined` &#124; `false` &#124; `true`|
| `Optional` placeholder | `undefined` &#124; `string`|
| `Optional` search | `undefined` &#124; `false` &#124; `true`|
| `Optional` head | `undefined` | `false` | `true` |
| `Optional` placeholder | `undefined` | `string` |
| `Optional` search | `undefined` | `false` | `true` |

@@ -78,3 +78,3 @@ **Returns:** [InsertCommand](_cli_insert_command_.insertcommand.md)

*Defined in [cli/insert-command.ts:7](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/insert-command.ts#L7)*
*Defined in [cli/insert-command.ts:7](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/insert-command.ts#L7)*

@@ -88,17 +88,17 @@ ___

*Defined in [cli/insert-command.ts:9](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/insert-command.ts#L9)*
*Defined in [cli/insert-command.ts:9](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/insert-command.ts#L9)*
#### Type declaration
`Optional` directory: `undefined` &#124; `string`
`Optional` directory: `undefined` | `string`
`Optional` dry: `undefined` &#124; `false` &#124; `true`
`Optional` dry: `undefined` | `false` | `true`
`Optional` env: `string`[]
`Optional` head: `undefined` &#124; `false` &#124; `true`
`Optional` head: `undefined` | `false` | `true`
`Optional` placeholder: `undefined` &#124; `string`
`Optional` placeholder: `undefined` | `string`
`Optional` search: `undefined` &#124; `false` &#124; `true`
`Optional` search: `undefined` | `false` | `true`

@@ -115,3 +115,3 @@ ___

*Defined in [cli/insert-command.ts:57](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/insert-command.ts#L57)*
*Defined in [cli/insert-command.ts:57](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/insert-command.ts#L57)*

@@ -127,3 +127,3 @@ **Returns:** `void`

*Defined in [cli/insert-command.ts:43](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/insert-command.ts#L43)*
*Defined in [cli/insert-command.ts:43](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/insert-command.ts#L43)*

@@ -139,3 +139,3 @@ **Returns:** `void`

*Defined in [cli/insert-command.ts:64](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/insert-command.ts#L64)*
*Defined in [cli/insert-command.ts:64](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/insert-command.ts#L64)*

@@ -151,3 +151,3 @@ **Returns:** `void`

*Defined in [cli/insert-command.ts:37](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/insert-command.ts#L37)*
*Defined in [cli/insert-command.ts:37](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/insert-command.ts#L37)*

@@ -165,3 +165,3 @@ **Returns:** `void`

*Defined in [cli/insert-command.ts:20](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/insert-command.ts#L20)*
*Defined in [cli/insert-command.ts:20](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/insert-command.ts#L20)*

@@ -177,3 +177,3 @@ **Returns:** `Promise`<`void`>

*Defined in [cli/insert-command.ts:81](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/insert-command.ts#L81)*
*Defined in [cli/insert-command.ts:81](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/insert-command.ts#L81)*

@@ -191,3 +191,3 @@ **Returns:** `Promise`<`void`>

*Defined in [cli/command-base.ts:19](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/command-base.ts#L19)*
*Defined in [cli/command-base.ts:19](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/command-base.ts#L19)*

@@ -209,3 +209,3 @@ **Parameters:**

*Defined in [cli/insert-command.ts:77](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/insert-command.ts#L77)*
*Defined in [cli/insert-command.ts:77](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/insert-command.ts#L77)*

@@ -223,3 +223,3 @@ **Returns:** `void`

*Defined in [cli/command-base.ts:13](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/command-base.ts#L13)*
*Defined in [cli/command-base.ts:13](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/command-base.ts#L13)*

@@ -242,3 +242,3 @@ **Parameters:**

*Defined in [cli/insert-command.ts:49](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/insert-command.ts#L49)*
*Defined in [cli/insert-command.ts:49](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/insert-command.ts#L49)*

@@ -254,3 +254,3 @@ **Returns:** `void`

*Defined in [cli/insert-command.ts:31](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/insert-command.ts#L31)*
*Defined in [cli/insert-command.ts:31](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/insert-command.ts#L31)*

@@ -268,3 +268,3 @@ **Returns:** `void`

*Defined in [cli/command-base.ts:5](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/command-base.ts#L5)*
*Defined in [cli/command-base.ts:5](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/command-base.ts#L5)*

@@ -271,0 +271,0 @@ **Returns:** `Promise`<`void`>

@@ -55,3 +55,3 @@ [angular-server-side-configuration](../README.md) > ["environment-variables-configuration"](../modules/_environment_variables_configuration_.md) > [EnvironmentVariablesConfiguration](../classes/_environment_variables_configuration_.environmentvariablesconfiguration.md)

*Defined in [environment-variables-configuration.ts:24](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L24)*
*Defined in [environment-variables-configuration.ts:24](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L24)*

@@ -77,3 +77,3 @@ **Parameters:**

*Defined in [environment-variables-configuration.ts:24](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L24)*
*Defined in [environment-variables-configuration.ts:24](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L24)*

@@ -89,3 +89,3 @@ The default pattern for files to have the environment variables inserted into.

*Defined in [environment-variables-configuration.ts:19](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L19)*
*Defined in [environment-variables-configuration.ts:19](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L19)*

@@ -101,3 +101,3 @@ The directory. Defaults to current working directory.

*Defined in [environment-variables-configuration.ts:32](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L32)*
*Defined in [environment-variables-configuration.ts:32](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L32)*

@@ -113,3 +113,3 @@ Optional array of replacement functions.

*Defined in [environment-variables-configuration.ts:31](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L31)*
*Defined in [environment-variables-configuration.ts:31](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L31)*

@@ -128,3 +128,3 @@ Optional array of environment variable names to populate.

*Defined in [environment-variables-configuration.ts:244](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L244)*
*Defined in [environment-variables-configuration.ts:244](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L244)*

@@ -158,3 +158,3 @@ Inserts the discovered environment variables as an IIFE wrapped in a script tag into the specified file content and applies added replacements without saving the file.

*Defined in [environment-variables-configuration.ts:262](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L262)*
*Defined in [environment-variables-configuration.ts:262](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L262)*

@@ -171,3 +171,3 @@ Apply the replacements to the content of the matched files and save them asynchronously.

| ------ | ------ | ------ |
| `Optional` directory | `undefined` &#124; `string`| The root directory from which to search files. (Defaults to instance directory.) |
| `Optional` directory | `undefined` | `string` | The root directory from which to search files. (Defaults to instance directory.) |
| `Optional` filePattern | `RegExp` | The file pattern in which the configuration should be inserted (Defaults to /index.html$/). |

@@ -186,3 +186,3 @@

*Defined in [environment-variables-configuration.ts:274](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L274)*
*Defined in [environment-variables-configuration.ts:274](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L274)*

@@ -207,3 +207,3 @@ Apply the replacements to the content of the given file and save it asynchronously.

*Defined in [environment-variables-configuration.ts:285](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L285)*
*Defined in [environment-variables-configuration.ts:285](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L285)*

@@ -228,3 +228,3 @@ Apply the replacements to the content of the given file and return the resulting content as a promise.

*Defined in [environment-variables-configuration.ts:293](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L293)*
*Defined in [environment-variables-configuration.ts:293](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L293)*

@@ -242,3 +242,3 @@ Generates the IIFE in which the environment variables are assigned to window.process.env.

*Defined in [environment-variables-configuration.ts:227](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L227)*
*Defined in [environment-variables-configuration.ts:227](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L227)*

@@ -273,3 +273,3 @@ Inserts the discovered environment variables as an IIFE wrapped in a script tag into the specified file and applies added replacements.

*Defined in [environment-variables-configuration.ts:207](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L207)*
*Defined in [environment-variables-configuration.ts:207](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L207)*

@@ -303,5 +303,5 @@ Inserts the discovered enviornment variables as an IIFE wrapped in a script tag into the matched files and applies added replacements.

▸ **insertVariables**(placeholder?: * `string` &#124; `RegExp`*): `this`
▸ **insertVariables**(placeholder?: *`string` | `RegExp`*): `this`
*Defined in [environment-variables-configuration.ts:163](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L163)*
*Defined in [environment-variables-configuration.ts:163](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L163)*

@@ -314,3 +314,3 @@ Replace the placeholder with the populated variables wrapped in an IIFE inside a script tag.

| ------ | ------ | ------ | ------ |
| `Default value` placeholder | `string` &#124; `RegExp`| /&lt;!--\s*CONFIG\s*--&gt;/ | The placeholder to replace with the populated variables. (Defaults to <!--CONFIG-->.) |
| `Default value` placeholder | `string` | `RegExp` | /&lt;!--\s*CONFIG\s*--&gt;/ | The placeholder to replace with the populated variables. (Defaults to <!--CONFIG-->.) |

@@ -327,3 +327,3 @@ **Returns:** `this`

*Defined in [environment-variables-configuration.ts:172](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L172)*
*Defined in [environment-variables-configuration.ts:172](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L172)*

@@ -342,3 +342,3 @@ Insert the populated variables (wrapped in an IIFE inside a script tag) into the head tag. Appends variables to title tag, or if not found, at the end of the head tag.

*Defined in [environment-variables-configuration.ts:302](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L302)*
*Defined in [environment-variables-configuration.ts:302](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L302)*

@@ -356,3 +356,3 @@ Generates an object, with the environment variable names being the key and the actual values being the values.

*Defined in [environment-variables-configuration.ts:153](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L153)*
*Defined in [environment-variables-configuration.ts:153](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L153)*

@@ -378,3 +378,3 @@ Add a replacement for the file received through applyTo, applyAndSaveTo or applyAndSaveRecursively.

*Defined in [environment-variables-configuration.ts:187](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L187)*
*Defined in [environment-variables-configuration.ts:187](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L187)*

@@ -399,3 +399,3 @@ Add a replacement function for the file received through applyTo, applyAndSaveTo or applyAndSaveRecursively. The function receives the file content and the file name as parameters and returns the file content with the replacement applied.

*Defined in [environment-variables-configuration.ts:113](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L113)*
*Defined in [environment-variables-configuration.ts:113](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L113)*

@@ -420,3 +420,3 @@ Replace the base href attribute for the file received through applyTo, applyAndSaveTo or applyAndSaveRecursively.

*Defined in [environment-variables-configuration.ts:124](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L124)*
*Defined in [environment-variables-configuration.ts:124](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L124)*

@@ -441,3 +441,3 @@ Replace the html lang attribute for the file received through applyTo, applyAndSaveTo or applyAndSaveRecursively.

*Defined in [environment-variables-configuration.ts:137](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L137)*
*Defined in [environment-variables-configuration.ts:137](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L137)*

@@ -464,3 +464,3 @@ Replace the attribute value of a tag for the file received through applyTo, applyAndSaveTo or applyAndSaveRecursively.

*Defined in [environment-variables-configuration.ts:83](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L83)*
*Defined in [environment-variables-configuration.ts:83](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L83)*

@@ -477,4 +477,4 @@ Searches for environment variable declarations in files matched by file pattern, starting from given directory.

| ------ | ------ | ------ |
| `Optional` directory | `undefined` &#124; `string`| The root directory from which to search. |
| `Optional` environmentVariablesDiscovery | `undefined` &#124; `function`| The function to discover environment variables in the matched files (Defaults to process.env.VARIABLE => VARIABLE). |
| `Optional` directory | `undefined` | `string` | The root directory from which to search. |
| `Optional` environmentVariablesDiscovery | `undefined` | `function` | The function to discover environment variables in the matched files (Defaults to process.env.VARIABLE => VARIABLE). |
| `Optional` filePattern | `RegExp` | The file pattern in which environment variables should be searched (Defaults to /.js$/). |

@@ -492,3 +492,3 @@

*Defined in [environment-variables-configuration.ts:65](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L65)*
*Defined in [environment-variables-configuration.ts:65](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L65)*

@@ -513,3 +513,3 @@ Set the directory, where the files to be configured reside in. Default is current working directory.

*Defined in [environment-variables-configuration.ts:49](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L49)*
*Defined in [environment-variables-configuration.ts:49](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L49)*

@@ -531,3 +531,3 @@ Searches for environment variable declarations in files matched by file pattern, starting from given directory.

| ------ | ------ | ------ |
| `Optional` environmentVariablesDiscovery | `undefined` &#124; `function`| The function to discover environment variables in the matched files (Defaults to process.env.VARIABLE => VARIABLE). |
| `Optional` environmentVariablesDiscovery | `undefined` | `function` | The function to discover environment variables in the matched files (Defaults to process.env.VARIABLE => VARIABLE). |
| `Optional` filePattern | `RegExp` | The file pattern in which environment variables should be searched (Defaults to /.js$/). |

@@ -534,0 +534,0 @@

@@ -21,3 +21,3 @@ [angular-server-side-configuration](../README.md) > ["cli/cli"](../modules/_cli_cli_.md)

*Defined in [cli/cli.ts:6](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/cli/cli.ts#L6)*
*Defined in [cli/cli.ts:7](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/cli/cli.ts#L7)*

@@ -24,0 +24,0 @@ **Returns:** `object`

@@ -21,3 +21,3 @@ [angular-server-side-configuration](../README.md) > ["common/deprecated"](../modules/_common_deprecated_.md)

*Defined in [common/deprecated.ts:3](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/common/deprecated.ts#L3)*
*Defined in [common/deprecated.ts:3](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/common/deprecated.ts#L3)*

@@ -24,0 +24,0 @@ **Parameters:**

@@ -21,3 +21,3 @@ [angular-server-side-configuration](../README.md) > ["common/walk"](../modules/_common_walk_.md)

*Defined in [common/walk.ts:4](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/common/walk.ts#L4)*
*Defined in [common/walk.ts:4](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/common/walk.ts#L4)*

@@ -24,0 +24,0 @@ **Parameters:**

@@ -30,3 +30,3 @@ [angular-server-side-configuration](../README.md) > ["environment-variables-configuration"](../modules/_environment_variables_configuration_.md)

*Defined in [environment-variables-configuration.ts:4](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L4)*
*Defined in [environment-variables-configuration.ts:4](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L4)*

@@ -40,3 +40,3 @@ ___

*Defined in [environment-variables-configuration.ts:5](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L5)*
*Defined in [environment-variables-configuration.ts:5](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L5)*

@@ -53,3 +53,3 @@ ___

*Defined in [environment-variables-configuration.ts:7](https://github.com/kyubisation/angular-server-side-configuration/blob/e20a7d2/src/environment-variables-configuration.ts#L7)*
*Defined in [environment-variables-configuration.ts:7](https://github.com/kyubisation/angular-server-side-configuration/blob/c276a03/src/environment-variables-configuration.ts#L7)*

@@ -56,0 +56,0 @@ **Parameters:**

@@ -142,2 +142,47 @@

### Wrap-Aot
Usage: wrap-aot \[options\] \[ng...\]
Wrap an angular command with aot compilation to retain configuration (Use "ngssc wrap-aot ng build ..."). This will temporarily replace the content of the environment file with tokens. After the inner command completes, this is reverted and the tokens in the dist files will be replaced by the actual values.
Options
Description
`-ef, --environment-file`
The environment file to prepare for aot-compilation (Defaults to src/environments/environment.prod.ts)
`--dist`
The output path of the ng build (Defaults to dist/\*\*)
`-h, --help`
output usage information
Native CLI
----------
If node.js cannot be used on the target system, it is also possible to compile ngssc to a native CLI with tools like [pkg](https://www.npmjs.com/package/pkg) or [nexe](https://www.npmjs.com/package/nexe).
Create a file named ngssc.js:
```javascript
require('angular-server-side-configuration').cli().parse(process.argv);
```
And then use pkg or nexe to build the native ngssc CLI:
```
npm install pkg -g
pkg ngssc.js
```
```
npm install nexe -g
nexe ngssc.js --target os-of-target-system
```
License

@@ -157,2 +202,3 @@ -------

* ["cli/insert-command"](modules/_cli_insert_command_.md)
* ["cli/wrap-aot"](modules/_cli_wrap_aot_.md)
* ["common/deprecated"](modules/_common_deprecated_.md)

@@ -159,0 +205,0 @@ * ["common/index"](modules/_common_index_.md)

{
"name": "angular-server-side-configuration",
"version": "1.1.1",
"version": "1.2.0",
"description": "Configure an angular application on the server",
"main": "./main.js",
"module": "./index.js",
"types": "./src/index.d.ts",
"types": "./index.d.ts",
"bin": {

@@ -69,6 +69,7 @@ "ngssc": "./bin/ngssc"

"devDependencies": {
"@types/chai": "^4.1.6",
"@types/chai": "^4.1.7",
"@types/chai-as-promised": "^7.1.0",
"@types/cross-spawn": "^6.0.0",
"@types/mocha": "^5.2.5",
"@types/node": "^10.11.4",
"@types/node": "^10.12.18",
"@types/rimraf": "^2.0.2",

@@ -78,7 +79,8 @@ "chai": "^4.2.0",

"commander": "^2.19.0",
"cross-spawn": "^6.0.5",
"dts-bundle-generator": "^1.6.1",
"mocha": "^5.2.0",
"nyc": "^13.0.1",
"nyc": "^13.1.0",
"rimraf": "^2.6.2",
"rollup": "^0.67.0",
"rollup": "^0.67.4",
"rollup-plugin-commonjs": "^9.2.0",

@@ -90,5 +92,5 @@ "rollup-plugin-json": "^3.1.0",

"typedoc": "^0.13.0",
"typedoc-plugin-markdown": "^1.1.19",
"typescript": "^3.1.1"
"typedoc-plugin-markdown": "^1.1.20",
"typescript": "^3.2.2"
}
}

@@ -103,3 +103,34 @@ # angular-server-side-configuration

### Wrap-Aot
Usage: wrap-aot [options] [ng...]
Wrap an angular command with aot compilation to retain configuration (Use "ngssc wrap-aot ng build ..."). This will temporarily replace the
content of the environment file with tokens. After the inner command completes, this is reverted and the tokens in the dist files will be replaced by the actual values.
| Options | Description |
| --- | --- |
| `-ef, --environment-file` | The environment file to prepare for aot-compilation (Defaults to src/environments/environment.prod.ts) |
| `--dist` | The output path of the ng build (Defaults to dist/**) |
| `-h, --help` | output usage information |
## Native CLI
If node.js cannot be used on the target system, it is also possible to compile ngssc to a native CLI with tools like [pkg](https://www.npmjs.com/package/pkg) or [nexe](https://www.npmjs.com/package/nexe).
Create a file named ngssc.js:
```javascript
require('angular-server-side-configuration').cli().parse(process.argv);
```
And then use pkg or nexe to build the native ngssc CLI:
```
npm install pkg -g
pkg ngssc.js
```
```
npm install nexe -g
nexe ngssc.js --target os-of-target-system
```
## License
Apache License, Version 2.0

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display