@toolsplus/nx-forge 1.1.2 → 1.1.4
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.
package/package.json
CHANGED
|
@@ -5,16 +5,17 @@ const devkit_1 = require("@nrwl/devkit");
|
|
|
5
5
|
const webpack_impl_1 = require("@nrwl/node/src/executors/webpack/webpack.impl");
|
|
6
6
|
function compileWebpack(options, context) {
|
|
7
7
|
const builderOptions = {
|
|
8
|
-
outputPath: (0, devkit_1.joinPathFragments)('
|
|
8
|
+
outputPath: (0, devkit_1.joinPathFragments)(options.outputPath, 'src'),
|
|
9
|
+
outputFileName: 'index.js',
|
|
9
10
|
tsConfig: `${options.projectRoot}/tsconfig.app.json`,
|
|
10
11
|
main: `${options.projectRoot}/src/index.ts`,
|
|
11
|
-
generatePackageJson:
|
|
12
|
+
generatePackageJson: false,
|
|
12
13
|
assets: [],
|
|
13
14
|
watch: options.watch,
|
|
14
15
|
transformers: [],
|
|
15
16
|
fileReplacements: [],
|
|
16
17
|
extractLicenses: false,
|
|
17
|
-
externalDependencies: '
|
|
18
|
+
externalDependencies: 'all',
|
|
18
19
|
};
|
|
19
20
|
return (0, webpack_impl_1.webpackExecutor)(builderOptions, context);
|
|
20
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compile-webpack.js","sourceRoot":"","sources":["../../../../../../../packages/forge/src/executors/build/lib/compile-webpack.ts"],"names":[],"mappings":";;;AAAA,yCAAkE;AAElE,gFAAgF;AAGhF,SAAgB,cAAc,CAC5B,OAA0B,EAC1B,OAAwB;IAKxB,MAAM,cAAc,GAA4B;QAC9C,UAAU,EAAE,IAAA,0BAAiB,EAAC,
|
|
1
|
+
{"version":3,"file":"compile-webpack.js","sourceRoot":"","sources":["../../../../../../../packages/forge/src/executors/build/lib/compile-webpack.ts"],"names":[],"mappings":";;;AAAA,yCAAkE;AAElE,gFAAgF;AAGhF,SAAgB,cAAc,CAC5B,OAA0B,EAC1B,OAAwB;IAKxB,MAAM,cAAc,GAA4B;QAC9C,UAAU,EAAE,IAAA,0BAAiB,EAAC,OAAO,CAAC,UAAU,EAAE,KAAK,CAAC;QACxD,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,GAAG,OAAO,CAAC,WAAW,oBAAoB;QACpD,IAAI,EAAE,GAAG,OAAO,CAAC,WAAW,eAAe;QAC3C,mBAAmB,EAAE,KAAK;QAC1B,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,YAAY,EAAE,EAAE;QAChB,gBAAgB,EAAE,EAAE;QACpB,eAAe,EAAE,KAAK;QACtB,oBAAoB,EAAE,KAAK;KAC5B,CAAC;IAEF,OAAO,IAAA,8BAAe,EAAC,cAAc,EAAE,OAAO,CAAC,CAAC;AAClD,CAAC;AAtBD,wCAsBC"}
|
|
@@ -10,6 +10,8 @@ function copyForgeAppAssets(options) {
|
|
|
10
10
|
if (!(0, fileutils_1.directoryExists)(options.outputPath)) {
|
|
11
11
|
(0, fs_1.mkdirSync)(options.outputPath, { recursive: true });
|
|
12
12
|
}
|
|
13
|
+
// Copies the Forge app manifest file from the project root directory into the
|
|
14
|
+
// build output directory.
|
|
13
15
|
(0, fs_1.copyFileSync)((0, path_1.join)(options.root, options.projectRoot, 'manifest.yml'), (0, path_1.join)(options.outputPath, 'manifest.yml'));
|
|
14
16
|
devkit_1.logger.info('Done copying Forge app assets.');
|
|
15
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-forge-app-assets.js","sourceRoot":"","sources":["../../../../../../../packages/forge/src/executors/build/lib/copy-forge-app-assets.ts"],"names":[],"mappings":";;;AAAA,2BAA6C;AAC7C,+BAA4B;AAC5B,yCAAsC;AACtC,uEAA0E;AAG1E,SAAgB,kBAAkB,CAAC,OAA0B;IAC3D,eAAM,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;IAE3C,IAAI,CAAC,IAAA,2BAAe,EAAC,OAAO,CAAC,UAAU,CAAC,EAAE;QACxC,IAAA,cAAS,EAAC,OAAO,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;KACpD;IAED,IAAA,iBAAY,EACV,IAAA,WAAI,EAAC,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,WAAW,EAAE,cAAc,CAAC,EACvD,IAAA,WAAI,EAAC,OAAO,CAAC,UAAU,EAAE,cAAc,CAAC,CACzC,CAAC;IAEF,eAAM,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC;AAChD,CAAC;
|
|
1
|
+
{"version":3,"file":"copy-forge-app-assets.js","sourceRoot":"","sources":["../../../../../../../packages/forge/src/executors/build/lib/copy-forge-app-assets.ts"],"names":[],"mappings":";;;AAAA,2BAA6C;AAC7C,+BAA4B;AAC5B,yCAAsC;AACtC,uEAA0E;AAG1E,SAAgB,kBAAkB,CAAC,OAA0B;IAC3D,eAAM,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC;IAE3C,IAAI,CAAC,IAAA,2BAAe,EAAC,OAAO,CAAC,UAAU,CAAC,EAAE;QACxC,IAAA,cAAS,EAAC,OAAO,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;KACpD;IAED,8EAA8E;IAC9E,0BAA0B;IAC1B,IAAA,iBAAY,EACV,IAAA,WAAI,EAAC,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,WAAW,EAAE,cAAc,CAAC,EACvD,IAAA,WAAI,EAAC,OAAO,CAAC,UAAU,EAAE,cAAc,CAAC,CACzC,CAAC;IAEF,eAAM,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC;AAChD,CAAC;AAfD,gDAeC"}
|