Skip to content
This repository was archived by the owner on Sep 25, 2024. It is now read-only.

Commit d817524

Browse files
authored
Merge pull request #314 from cloud-gov/remove-jekyll-assets
Remove jekyll assets
2 parents 8adeca4 + fe01bd6 commit d817524

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1809
-1164
lines changed

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install ruby.
2626
uses: ruby/setup-ruby@v1
2727
with:
28-
ruby-version: 2.7
28+
ruby-version: 3.1
2929
bundler-cache: true
3030

3131
- name: Install node.js.
@@ -36,8 +36,8 @@ jobs:
3636
- name: Install NPM dependencies.
3737
run: npm install
3838

39-
- name: Build and start up jekyll server.
40-
run: npm run build && npm run start-detached
39+
- name: Start up jekyll server.
40+
run: npm run start-detached
4141

4242
- name: Run pa11y-ci.
4343
run: npm run pa11y-ci:sitemap

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ _site
44
node_modules
55
.bundle
66
.jekyll-cache/
7+
assets/uswds/*
8+
!assets/uswds/.gitkeep
9+
assets/js/uswds*

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.1.3

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:2.7.4
1+
FROM ruby:3.1.3
22

33
RUN apt-get update && \
44
apt-get install --reinstall -y locales && \

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
source "https://rubygems.org"
22

3-
gem "jekyll", "~> 4.0"
3+
gem "jekyll", "4.2.2" # pinned awaiting release of https://github.com/jekyll/jekyll/pull/9304
44
gem "execjs", "2.7.0" # https://github.com/rails/execjs/issues/99
55
gem "autoprefixer-rails"
6+
gem "webrick" # not included in jekyll directly until 4.3.0 https://github.com/jekyll/jekyll/pull/8524
67

78
group :jekyll_plugins do
89
gem "jekyll-feed", "~> 0.15"
910
gem 'jekyll-redirect-from'
1011
gem 'jekyll-paginate-v2', "3.0.0"
1112
gem 'jekyll-sitemap'
1213
gem 'jekyll-seo-tag'
13-
gem 'jekyll-assets', git: "https://github.com/envygeeks/jekyll-assets"
1414
end
1515

1616
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
@@ -19,4 +19,4 @@ gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
1919
# Performance-booster for watching directories on Windows
2020
gem "wdm", "~> 0.1.0" if Gem.win_platform?
2121

22-
gem "html-proofer", "~> 3.18"
22+
gem "html-proofer", "~> 5"

Gemfile.lock

Lines changed: 47 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,44 @@
1-
GIT
2-
remote: https://github.com/envygeeks/jekyll-assets
3-
revision: 056d2c88719ef3b1f90967a606dd1441581dd832
4-
specs:
5-
jekyll-assets (4.0.0.alpha)
6-
activesupport (>= 5, < 7)
7-
execjs (~> 2.7)
8-
extras (~> 0.2)
9-
fastimage (~> 2.0, >= 1.8)
10-
jekyll (>= 3.5, < 5.0)
11-
jekyll-sanity (~> 1.2)
12-
liquid-tag-parser (>= 1, < 3)
13-
nokogiri (~> 1.10)
14-
pathutil (~> 0.16)
15-
sassc (>= 1.11, < 3.0)
16-
sprockets (~> 4.0.beta7)
17-
181
GEM
192
remote: https://rubygems.org/
203
specs:
21-
activesupport (6.1.5.1)
22-
concurrent-ruby (~> 1.0, >= 1.0.2)
23-
i18n (>= 1.6, < 2)
24-
minitest (>= 5.1)
25-
tzinfo (~> 2.0)
26-
zeitwerk (~> 2.3)
27-
addressable (2.8.0)
28-
public_suffix (>= 2.0.2, < 5.0)
29-
autoprefixer-rails (10.4.2.0)
4+
Ascii85 (1.1.0)
5+
addressable (2.8.4)
6+
public_suffix (>= 2.0.2, < 6.0)
7+
afm (0.2.2)
8+
async (2.5.1)
9+
console (~> 1.10)
10+
io-event (~> 1.1)
11+
timers (~> 4.1)
12+
autoprefixer-rails (10.4.13.0)
3013
execjs (~> 2)
3114
colorator (1.1.0)
32-
concurrent-ruby (1.1.10)
15+
concurrent-ruby (1.2.2)
16+
console (1.16.2)
17+
fiber-local
3318
em-websocket (0.5.3)
3419
eventmachine (>= 0.12.9)
3520
http_parser.rb (~> 0)
36-
ethon (0.15.0)
21+
ethon (0.16.0)
3722
ffi (>= 1.15.0)
3823
eventmachine (1.2.7)
3924
execjs (2.7.0)
40-
extras (0.3.0)
41-
forwardable-extended (~> 2.5)
42-
fastimage (2.2.6)
4325
ffi (1.15.5)
26+
fiber-local (1.0.0)
4427
forwardable-extended (2.6.0)
45-
html-proofer (3.19.3)
28+
hashery (2.1.2)
29+
html-proofer (5.0.7)
4630
addressable (~> 2.3)
47-
mercenary (~> 0.3)
48-
nokogiri (~> 1.12)
49-
parallel (~> 1.3)
31+
async (~> 2.1)
32+
nokogiri (~> 1.13)
33+
pdf-reader (~> 2.11)
5034
rainbow (~> 3.0)
5135
typhoeus (~> 1.3)
5236
yell (~> 2.0)
37+
zeitwerk (~> 2.5)
5338
http_parser.rb (0.8.0)
54-
i18n (1.10.0)
39+
i18n (1.13.0)
5540
concurrent-ruby (~> 1.0)
41+
io-event (1.2.2)
5642
jekyll (4.2.2)
5743
addressable (~> 2.4)
5844
colorator (~> 1.0)
@@ -68,15 +54,12 @@ GEM
6854
rouge (~> 3.0)
6955
safe_yaml (~> 1.0)
7056
terminal-table (~> 2.0)
71-
jekyll-feed (0.16.0)
57+
jekyll-feed (0.17.0)
7258
jekyll (>= 3.7, < 5.0)
7359
jekyll-paginate-v2 (3.0.0)
7460
jekyll (>= 3.0, < 5.0)
7561
jekyll-redirect-from (0.16.0)
7662
jekyll (>= 3.3, < 5.0)
77-
jekyll-sanity (1.6.0)
78-
jekyll (>= 3.1, < 5.0)
79-
pathutil (~> 0.16)
8063
jekyll-sass-converter (2.2.0)
8164
sassc (> 2.0.1, < 3.0)
8265
jekyll-seo-tag (2.8.0)
@@ -89,62 +72,61 @@ GEM
8972
rexml
9073
kramdown-parser-gfm (1.1.0)
9174
kramdown (~> 2.0)
92-
liquid (4.0.3)
93-
liquid-tag-parser (2.0.2)
94-
extras (~> 0.3)
95-
liquid (>= 3.0, < 5.0)
96-
listen (3.7.1)
75+
liquid (4.0.4)
76+
listen (3.8.0)
9777
rb-fsevent (~> 0.10, >= 0.10.3)
9878
rb-inotify (~> 0.9, >= 0.9.10)
9979
mercenary (0.4.0)
100-
mini_portile2 (2.8.0)
101-
minitest (5.15.0)
102-
nokogiri (1.13.4)
103-
mini_portile2 (~> 2.8.0)
80+
mini_portile2 (2.8.2)
81+
nokogiri (1.15.0)
82+
mini_portile2 (~> 2.8.2)
10483
racc (~> 1.4)
105-
parallel (1.22.1)
10684
pathutil (0.16.2)
10785
forwardable-extended (~> 2.6)
108-
public_suffix (4.0.7)
109-
racc (1.6.0)
110-
rack (2.2.3)
86+
pdf-reader (2.11.0)
87+
Ascii85 (~> 1.0)
88+
afm (~> 0.2.1)
89+
hashery (~> 2.0)
90+
ruby-rc4
91+
ttfunk
92+
public_suffix (5.0.1)
93+
racc (1.6.2)
11194
rainbow (3.1.1)
112-
rb-fsevent (0.11.1)
95+
rb-fsevent (0.11.2)
11396
rb-inotify (0.10.1)
11497
ffi (~> 1.0)
11598
rexml (3.2.5)
116-
rouge (3.28.0)
99+
rouge (3.30.0)
100+
ruby-rc4 (0.1.5)
117101
safe_yaml (1.0.5)
118102
sassc (2.4.0)
119103
ffi (~> 1.9)
120-
sprockets (4.0.3)
121-
concurrent-ruby (~> 1.0)
122-
rack (> 1, < 3)
123104
terminal-table (2.0.0)
124105
unicode-display_width (~> 1.1, >= 1.1.1)
106+
timers (4.3.5)
107+
ttfunk (1.7.0)
125108
typhoeus (1.4.0)
126109
ethon (>= 0.9.0)
127-
tzinfo (2.0.4)
128-
concurrent-ruby (~> 1.0)
129110
unicode-display_width (1.8.0)
111+
webrick (1.8.1)
130112
yell (2.2.2)
131-
zeitwerk (2.5.4)
113+
zeitwerk (2.6.8)
132114

133115
PLATFORMS
134116
ruby
135117

136118
DEPENDENCIES
137119
autoprefixer-rails
138120
execjs (= 2.7.0)
139-
html-proofer (~> 3.18)
140-
jekyll (~> 4.0)
141-
jekyll-assets!
121+
html-proofer (~> 5)
122+
jekyll (= 4.2.2)
142123
jekyll-feed (~> 0.15)
143124
jekyll-paginate-v2 (= 3.0.0)
144125
jekyll-redirect-from
145126
jekyll-seo-tag
146127
jekyll-sitemap
147128
tzinfo-data
129+
webrick
148130

149131
BUNDLED WITH
150-
2.1.4
132+
2.4.12

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ ga:
118118

119119
- We try to keep configuration options to a minimum so you can easily change functionality. You should review `_config.yml` to see the options that are available to you. There are a few values on top that you **need** to change. They refer to the agency name and contact information. The rest of `_config.yml` has a range of more advanced options.
120120

121-
- The contents inside `assets/` folder store your Javascript, SCSS/CSS, images, and other media assets are managed by [jekyll-assets](https://github.com/envygeeks/jekyll-assets). Assets are combined, compressed, and automatically available in your theme
121+
- The `assets/` folder stores your Javascript, CSS, images, and other media assets. Additional SASS partials should be added to the `_sass/` folder where they can be imported. USWDS assets are automatically copied into the `assets/` folder when running `jekyll serve` or `jekyll build`
122122

123123
- If you look at `package.json` you will see that the `npm run federalist` command that will run when running on the Federalist platform.
124124

_assets/css/overrides/_add-background-svg.scss

Lines changed: 0 additions & 7 deletions
This file was deleted.

_assets/css/overrides/_all.scss

Lines changed: 0 additions & 4 deletions
This file was deleted.

_assets/css/overrides/_font-face.scss

Lines changed: 0 additions & 13 deletions
This file was deleted.

_assets/css/overrides/_hero.scss

Lines changed: 0 additions & 5 deletions
This file was deleted.

_assets/css/overrides/_icon.scss

Lines changed: 0 additions & 80 deletions
This file was deleted.

_config.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -186,14 +186,18 @@ exclude:
186186
- docker-compose.yml
187187
- Dockerfile
188188

189-
assets:
190-
autoprefixer:
191-
browsers:
192-
- "> 2%"
193-
- "last 2 versions"
194-
- "IE 11"
195-
- "not dead"
196-
compression: true
197-
sources:
198-
- node_modules/uswds/dist
199-
- node_modules/netlify-cms/dist
189+
autoprefixer:
190+
browsers:
191+
- "> 2%"
192+
- "last 2 versions"
193+
- "IE 11"
194+
- "not dead"
195+
196+
sass:
197+
source_dir: _sass
198+
load_paths:
199+
- node_modules/uswds/dist/
200+
sourcemap: development
201+
quiet_deps: true
202+
style: compressed
203+
verbose: true

0 commit comments

Comments
 (0)