Skip to content

Commit 446469c

Browse files
committed
Updated editor client and server code for internal deployment
1 parent 62e26ca commit 446469c

23 files changed

+328775
-82
lines changed

.env

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
VUE_APP_API_URL=#{API_URL}#
2+
VUE_APP_CURR_ENV=#{CURR_ENV}#
3+
VUE_APP_NET_API_URL=#{NET_API_URL}#

package-lock.json

+107-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"markdown-it": "^12.0.6",
2323
"nouislider": "^15.5.0",
2424
"ramp-config-editor_editeur-config-pcar": "^1.1.8",
25-
"ramp-storylines_demo-scenarios-pcar": "^3.1.3",
2625
"uuid": "^9.0.0",
2726
"vue": "^3.3.4",
2827
"vue-class-component": "^8.0.0-rc.1",
@@ -54,12 +53,14 @@
5453
"eslint-plugin-prettier": "^3.3.1",
5554
"eslint-plugin-vue": "^6.2.2",
5655
"html-loader": "^0.5.5",
56+
"pinia": "^2.1.7",
5757
"postcss": "^7.0.35",
5858
"prettier": "^2.2.1",
59+
"ramp-storylines_demo-scenarios-pcar": "^3.1.5",
5960
"sass": "^1.32.11",
6061
"sass-loader": "^8.0.2",
6162
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.1.2",
62-
"typescript": "~4.1.5",
63+
"typescript": "^4.4.4",
6364
"vue-eslint-parser": "^9.3.1"
6465
}
6566
}

public/index-ca-en.html

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
src="https://www.canada.ca/etc/designs/canada/cdts/gcweb/rn/cdts/compiled/wet-en.js"
2121
></script>
2222
<link rel="stylesheet" href="scripts/highcharts-editor/highcharts-editor.min.css" />
23+
<link rel="stylesheet" href="scripts/ramp4/ramp.css" />
2324

2425
<!-- top reference links and no-script fallback -->
2526
<noscript> <%= require('html-loader!../src/assets/static/cdts/refTop.html') %> </noscript>
@@ -104,6 +105,7 @@
104105
</script>
105106

106107
<script src="scripts/highcharts-editor/highcharts-editor.complete.js"></script>
108+
<script src="scripts/ramp4/ramp.js"></script>
107109

108110
<style>
109111
html {

public/index-ca-fr.html

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
src="https://www.canada.ca/etc/designs/canada/cdts/gcweb/rn/cdts/compiled/wet-fr.js"
2121
></script>
2222
<link rel="stylesheet" href="scripts/highcharts-editor/highcharts-editor.min.css" />
23+
<link rel="stylesheet" href="scripts/ramp4/ramp.css" />
2324

2425
<!-- top reference links and no-script fallback -->
2526
<noscript> <%= require('html-loader!../src/assets/static/cdts/refTop.html') %> </noscript>
@@ -104,6 +105,7 @@
104105
</script>
105106

106107
<script src="scripts/highcharts-editor/highcharts-editor.complete.js"></script>
108+
<script src="scripts/ramp4/ramp.js"></script>
107109

108110
<style>
109111
html {

public/index.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@
1010

1111
<link rel="icon" href="./favicon.svg" />
1212
<link rel="stylesheet" href="scripts/highcharts-editor/highcharts-editor.min.css" />
13+
<link rel="stylesheet" href="scripts/ramp4/ramp.css" />
1314

1415
<title><%= htmlWebpackPlugin.options.title %></title>
1516
</head>
16-
1717
<body>
1818
<div id="app"></div>
1919
<!-- built files will be auto injected -->
2020

2121
<script src="scripts/highcharts-editor/highcharts-editor.complete.js"></script>
22+
<script src="scripts/ramp4/ramp.js"></script>
2223
</body>
2324
</html>
2425
<noscript>

public/scripts/ramp4/ramp.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)