Skip to content

Commit

Permalink
Fixing the decanter references and updated webpack and node
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbreese committed Feb 16, 2024
1 parent bb368a6 commit b0d237a
Show file tree
Hide file tree
Showing 33 changed files with 5,117 additions and 277 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.8.0
20
File renamed without changes
File renamed without changes
File renamed without changes
Binary file not shown.
Binary file removed dist/assets/png/Sarafan_ChemH_Logo.png
Binary file not shown.
Binary file removed dist/assets/png/fullpill-bg.png
Binary file not shown.
Binary file removed dist/assets/png/header-big-000-tall--cropped.png
Binary file not shown.
Binary file removed dist/assets/png/header-big-000-tall.png
Binary file not shown.
3 changes: 0 additions & 3 deletions dist/assets/svg/icon_arrow_closed_hover_red.svg

This file was deleted.

3 changes: 0 additions & 3 deletions dist/assets/svg/icon_arrow_closed_red.svg

This file was deleted.

3 changes: 0 additions & 3 deletions dist/assets/svg/icon_arrow_down_red.svg

This file was deleted.

3 changes: 0 additions & 3 deletions dist/assets/svg/icon_arrow_down_stone.svg

This file was deleted.

3 changes: 0 additions & 3 deletions dist/assets/svg/icon_arrow_open_red.svg

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets/svg/icon_close_red.svg

This file was deleted.

3 changes: 0 additions & 3 deletions dist/assets/svg/icon_drop_down_red.svg

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets/svg/icon_east_black.svg

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets/svg/icon_east_black_big.svg

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets/svg/icon_east_white.svg

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets/svg/icon_east_white_big.svg

This file was deleted.

3 changes: 0 additions & 3 deletions dist/assets/svg/icon_expand_more_red.svg

This file was deleted.

3 changes: 0 additions & 3 deletions dist/assets/svg/icon_expand_more_white.svg

This file was deleted.

3 changes: 0 additions & 3 deletions dist/assets/svg/icon_primary_nav_caret.svg

This file was deleted.

3 changes: 0 additions & 3 deletions dist/assets/svg/icon_primary_nav_caret_red.svg

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets/svg/icon_search_black.svg

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets/svg/icon_search_red.svg

This file was deleted.

3 changes: 0 additions & 3 deletions dist/assets/svg/icon_secondary_nav_caret.svg
Diff not rendered.
2 changes: 1 addition & 1 deletion dist/css/chem_h_subtheme.css

Large diffs are not rendered by default.

80 changes: 28 additions & 52 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,61 +1,37 @@
{
"name": "chem_h_subtheme",
"version": "1.0.0",
"repository": "https://github.com/SU-SWS/chem_h_subtheme",
"description": "Changelog: [CHANGELOG.md](CHANGELOG.md)",
"main": "webpack.config.js",
"scripts": {
"build": "webpack --mode=development --display-error-details",
"publish": "webpack --mode=production",
"watch": "webpack --mode=development --watch",
"lint:js": "eslint -c .eslintrc 'src/js'",
"lint:sass": "sass-lint -c .sass-lint.yml '**/*.scss' -v -q -i 'vendor/**/*.scss, node_modules/**/*.scss'"
"watch": "NODE_ENV=production webpack --watch",
"build": "NODE_ENV=production webpack"
},
"devDependencies": {
"@babel/polyfill": "^7.8.3",
"@babel/core": "^7.8.6",
"@babel/preset-env": "^7.8.6",
"autoprefixer": "^9.7.4",
"babel-loader": "^8.0",
"bourbon": "^5.1",
"browserslist": "^4.8.7",
"css-loader": "^2.1",
"decanter": "^6.2.19",
"drupal-behaviors-loader": "^1.0",
"element-closest-polyfill": "^1.0.0",
"author": "",
"license": "ISC",
"dependencies": {
"@babel/core": "^7.22.1",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.22.4",
"autoprefixer": "^10.4.16",
"babel-loader": "^9.1.2",
"css-loader": "^6.8.1",
"decanter": "^6.3.3",
"drupal-behaviors-loader": "^1.0.1",
"element-closest-polyfill": "^1.0.6",
"element-matches-polyfill": "^1.0.0",
"element-qsa-scope": "^1.1.0",
"es6-object-assign": "^1.1.0",
"eslint": "^5.15",
"extra-watch-webpack-plugin": "^1.0",
"file-loader": "^3.0",
"filemanager-webpack-plugin": "^2.0",
"mini-css-extract-plugin": "^0.5",
"node-sass": "^4.13.1",
"npm": "^6.14.6",
"optimize-css-assets-webpack-plugin": "^5.0",
"postcss-loader": "^3.0",
"resolve-url-loader": "^3.1.1",
"sass-lint": "^1.13",
"sass-loader": "^7.3",
"style-loader": "^0.23",
"uglifyjs-webpack-plugin": "^2.2",
"url-loader": "^1.1",
"webpack": "^4.41.6",
"webpack-assets-manifest": "^3.1",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3",
"webpack-fix-style-only-entries": "^0.2",
"webpack-manifest-plugin": "^2.2"
},
"description": "= Stanford Starter =",
"author": "",
"license": "MIT",
"dependencies": {
"npm": "^6.14.6"
},
"keywords": [
"css",
"scss",
"Drupal",
"Stanford"
]
"filemanager-webpack-plugin": "^8.0.0",
"mini-css-extract-plugin": "^2.7.6",
"node-sass": "^9.0.0",
"optimize-css-assets-webpack-plugin": "^6.0.1",
"postcss-loader": "^7.3.2",
"postcss-preset-env": "^9.1.4",
"sass-loader": "^13.3.1",
"style-loader": "^3.3.3",
"webpack": "^5.85.0",
"webpack-cli": "^5.1.1",
"webpack-fix-style-only-entries": "^0.6.1"
}
}
2 changes: 1 addition & 1 deletion templates/block--stanford-basic-search.html.twig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% set attributes = attributes.addClass('su-site-search header-search') %}

{% include "@basic-dist/decanter/components/site-search/site-search.twig" with
{% include "@decanter/components/site-search/site-search.twig" with
{
"attributes": attributes|without('class', 'role'),
"modifier_class": attributes.class,
Expand Down
2 changes: 1 addition & 1 deletion templates/components/news/node--stanford-news.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

{# Template Paths #}
{%- if template_alert is empty -%}
{%- set template_alert = "@basic-dist/decanter/components/alert/alert.twig" -%}
{%- set template_alert = "@decanter/components/alert/alert.twig" -%}
{%- endif -%}
{# End Template Paths #}

Expand Down
Loading

0 comments on commit b0d237a

Please sign in to comment.