Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LG-15354: Upgrade Netlify references #1424

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
assets/idp_translations/*
assets/js/vendor/netlify-cms-2.10.192.js
_site
node_modules
vendor
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ copy_files:
to: assets
- from: node_modules/@18f/identity-design-system/dist/assets/js/init.js
to: assets/js
- from: assets/js/vendor/netlify-cms-2.10.192.js
to: assets/js

keep_files:
- assets/css
Expand Down
2 changes: 1 addition & 1 deletion admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<body>
<!-- Include the script that builds the page and powers Netlify CMS -->
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really glad we're moving away from this CDN!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Reviewing some additional changes and dependencies. Will add another update.

<script src="{{ '/assets/js/netlify-cms-2.10.192.js' | relative_url }}"></script>
<script>
const ProgramUpdatePreview = createClass({
accordion(title, content, id) {
Expand Down
723 changes: 723 additions & 0 deletions assets/js/vendor/netlify-cms-2.10.192.js

Large diffs are not rendered by default.

Loading