@wavemaker/angular-codegen 12.0.0-next.45031 → 12.0.0-next.45501
Sign up to get free protection for your applications and to get access to all the features.
- 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 +411 -4122
- angular-codegen/angular-app/package.json +8 -10
- 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
@@ -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();
|