@wavemaker/angular-codegen 12.0.0-next.45032 → 12.0.0-next.45503
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.
- angular-codegen/angular-app/angular.json +0 -2
- angular-codegen/angular-app/build-scripts/update-version.js +24 -0
- angular-codegen/angular-app/package-lock.json +394 -4111
- angular-codegen/angular-app/package.json +8 -11
- angular-codegen/angular-app/src/setup-jest.js +1 -0
- angular-codegen/angular-app/tsconfig.json +0 -3
- angular-codegen/dependencies/pipe-provider.cjs.js +12028 -8
- angular-codegen/dependencies/transpilation-mobile.cjs.js +1174 -465
- angular-codegen/dependencies/transpilation-web.cjs.js +6419 -465
- angular-codegen/package-lock.json +1 -1
- angular-codegen/package.json +2 -2
- angular-codegen/src/gen-index-html.js +1 -1
- angular-codegen/src/update-angular-json.js +1 -1
@@ -61,7 +61,6 @@
|
|
61
61
|
}
|
62
62
|
],
|
63
63
|
"scripts": [
|
64
|
-
"./node_modules/x2js/x2js.js",
|
65
64
|
"./node_modules/d3/dist/d3.min.js",
|
66
65
|
"./node_modules/@wavemaker/nvd3/build/nv.d3.min.js",
|
67
66
|
"./node_modules/jquery/dist/jquery.min.js",
|
@@ -202,7 +201,6 @@
|
|
202
201
|
"src/assets/app.css"
|
203
202
|
],
|
204
203
|
"scripts": [
|
205
|
-
"./node_modules/x2js/x2js.js",
|
206
204
|
"./node_modules/d3/dist/d3.min.js",
|
207
205
|
"./node_modules/@wavemaker/nvd3/build/nv.d3.min.js",
|
208
206
|
"./node_modules/jquery/dist/jquery.min.js",
|
@@ -0,0 +1,24 @@
|
|
1
|
+
'use strict';
|
2
|
+
const fs = require('fs');
|
3
|
+
const yargs = require('yargs');
|
4
|
+
const argv = yargs(process.argv).argv;
|
5
|
+
|
6
|
+
/**
|
7
|
+
* Updates the @wavemaker/app-ng-runtime dependency in the specified package.json file.
|
8
|
+
* @param {string} path - The path to the package.json file to update.
|
9
|
+
*/
|
10
|
+
|
11
|
+
const updateNgRuntimePackage = (path) => {
|
12
|
+
if (fs.existsSync(path)) {
|
13
|
+
const packageJSON = require('../' + path);
|
14
|
+
packageJSON['dependencies']['@wavemaker/app-ng-runtime'] = argv["publish-version"];
|
15
|
+
fs.writeFileSync(path, JSON.stringify(packageJSON, null, 4));
|
16
|
+
} else {
|
17
|
+
console.log('package.json not found at ' + path);
|
18
|
+
}
|
19
|
+
};
|
20
|
+
const init = () => {
|
21
|
+
updateNgRuntimePackage('../wavemaker-studio-runtime-integration/package.json');
|
22
|
+
};
|
23
|
+
|
24
|
+
init();
|