Skip to content

Commit

Permalink
Updated editor client and server code for internal deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
szczz committed May 3, 2024
1 parent 62e26ca commit 446469c
Show file tree
Hide file tree
Showing 23 changed files with 328,775 additions and 82 deletions.
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
VUE_APP_API_URL=#{API_URL}#
VUE_APP_CURR_ENV=#{CURR_ENV}#
VUE_APP_NET_API_URL=#{NET_API_URL}#
126 changes: 107 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"markdown-it": "^12.0.6",
"nouislider": "^15.5.0",
"ramp-config-editor_editeur-config-pcar": "^1.1.8",
"ramp-storylines_demo-scenarios-pcar": "^3.1.3",
"uuid": "^9.0.0",
"vue": "^3.3.4",
"vue-class-component": "^8.0.0-rc.1",
Expand Down Expand Up @@ -54,12 +53,14 @@
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^6.2.2",
"html-loader": "^0.5.5",
"pinia": "^2.1.7",
"postcss": "^7.0.35",
"prettier": "^2.2.1",
"ramp-storylines_demo-scenarios-pcar": "^3.1.5",
"sass": "^1.32.11",
"sass-loader": "^8.0.2",
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.1.2",
"typescript": "~4.1.5",
"typescript": "^4.4.4",
"vue-eslint-parser": "^9.3.1"
}
}
2 changes: 2 additions & 0 deletions public/index-ca-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
src="https://www.canada.ca/etc/designs/canada/cdts/gcweb/rn/cdts/compiled/wet-en.js"
></script>
<link rel="stylesheet" href="scripts/highcharts-editor/highcharts-editor.min.css" />
<link rel="stylesheet" href="scripts/ramp4/ramp.css" />

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

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

<style>
html {
Expand Down
2 changes: 2 additions & 0 deletions public/index-ca-fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
src="https://www.canada.ca/etc/designs/canada/cdts/gcweb/rn/cdts/compiled/wet-fr.js"
></script>
<link rel="stylesheet" href="scripts/highcharts-editor/highcharts-editor.min.css" />
<link rel="stylesheet" href="scripts/ramp4/ramp.css" />

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

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

<style>
html {
Expand Down
3 changes: 2 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@

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

<title><%= htmlWebpackPlugin.options.title %></title>
</head>

<body>
<div id="app"></div>
<!-- built files will be auto injected -->

<script src="scripts/highcharts-editor/highcharts-editor.complete.js"></script>
<script src="scripts/ramp4/ramp.js"></script>
</body>
</html>
<noscript>
Expand Down
1 change: 1 addition & 0 deletions public/scripts/ramp4/ramp.css

Large diffs are not rendered by default.

Loading

0 comments on commit 446469c

Please sign in to comment.