Skip to content

Commit

Permalink
Merge pull request #735 from Lukewh/clean-up-deps
Browse files Browse the repository at this point in the history
Tidy up jaas.ai
  • Loading branch information
Lukewh authored Oct 24, 2023
2 parents 58f72e1 + 2f508e4 commit f4017c3
Show file tree
Hide file tree
Showing 52 changed files with 40 additions and 4,437 deletions.
6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@
"extract-dashboard-templates": "./scripts/extract-jaas-dashboard.sh templates/dashboard ./static",
"pull-jaas-dashboard": "./scripts/pull-jaas-dashboard.sh",
"build-css": "sass static/sass/styles.scss static/css/styles.css --load-path=node_modules --style=compressed && postcss --map false --use autoprefixer --replace 'static/css/**/*.css'",
"prebuild-js": "yarn run copy-3rd-party-libs",
"build-js": "webpack",
"clean": "rm -rf node_modules yarn-error.log css static/css *.log *.sqlite _site/ build/ .jekyll-metadata .bundle",
"copy-3rd-party-libs": "yarn run copy-global-nav && yarn run copy-instant-page",
"copy-global-nav": "mkdir -p static/js/src/libs/global-nav && cp node_modules/@canonical/global-nav/dist/global-nav.js static/js/src/libs/global-nav",
"copy-instant-page": "mkdir -p static/js/src/libs/instant-page && cp node_modules/instant.page/instantpage.js static/js/src/libs/instant-page",
"format-python": "black --line-length 79 tests webapp",
"check-prettier": "prettier --check ./static/**.*",
"lint-js": "eslint static/js/src/**/*.js",
Expand All @@ -30,13 +26,11 @@
"@babel/preset-env": "7.20.2",
"@canonical/cookie-policy": "3.4.0",
"@canonical/global-nav": "3.6.0",
"@canonical/latest-news": "1.4.1",
"@sentry/browser": "5.30.0",
"autoprefixer": "10.4.13",
"babel-loader": "8.3.0",
"braces": "3.0.2",
"concurrently": "5.3.0",
"instant.page": "5.1.1",
"postcss": "8.4.21",
"postcss-cli": "8.3.1",
"sass": "1.57.1",
Expand Down
8 changes: 2 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
canonicalwebteam.flask_base==1.0.6
canonicalwebteam.blog==6.4.0
canonicalwebteam.yaml-responses==1.2.0
canonicalwebteam.discourse-docs==1.0.1
canonicalwebteam.flask_base==1.1.0
canonicalwebteam.image-template==1.3.1
feedparser==6.0.10
Flask-Testing==0.8.1
requests==2.28.2
requests==2.31.0
39 changes: 0 additions & 39 deletions static/js/accordion.js

This file was deleted.

219 changes: 0 additions & 219 deletions static/js/cli-typer.js

This file was deleted.

Loading

0 comments on commit f4017c3

Please sign in to comment.