Skip to content

Commit

Permalink
Merge pull request #61 from chiefpansancolt/preview
Browse files Browse the repository at this point in the history
Version 2.2.0
  • Loading branch information
chiefpansancolt authored Nov 23, 2023
2 parents 661eeb0 + 0bcb404 commit 6073e67
Show file tree
Hide file tree
Showing 25 changed files with 2,787 additions and 2,432 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @chiefpansancolt
62 changes: 48 additions & 14 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,32 @@ jobs:

steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false

- name: Install Node.js dependencies
run: yarn install
run: pnpm install

- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Compile JS
run: yarn build:js
run: pnpm build:js

- name: Upload Compiled JS
uses: actions/upload-artifact@v3
Expand All @@ -41,18 +55,32 @@ jobs:

steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
node-version: 16
version: 8
run_install: false

- name: Install Node.js dependencies
run: yarn install
run: pnpm install

- name: Compile JS
run: yarn build:css
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Compile CSS
run: pnpm build:css

- name: Upload Compiled CSS
uses: actions/upload-artifact@v3
Expand All @@ -67,20 +95,26 @@ jobs:

steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false

- name: Install Ruby Gem dependencies
run: |
gem install bundler -v 2.4.10
gem install bundler -v 2.4.22
bundle install --jobs 4 --retry 3
- name: Build Gem
run: yarn gem:build
run: pnpm gem:build

- name: Upload Compiled Gem
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build and publish gem
Expand Down
24 changes: 19 additions & 5 deletions .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,29 @@ jobs:

steps:
- name: Check out Git repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false

- name: Install Node.js dependencies
run: yarn install
run: pnpm install

- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Set up Ruby
uses: ruby/setup-ruby@v1
Expand All @@ -33,7 +47,7 @@ jobs:

- name: Install Ruby Gem dependencies
run: |
gem install bundler -v 2.4.10
gem install bundler -v 2.4.22
bundle install --jobs 4 --retry 3
- name: Run linters
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rubygem_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
env:
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMAPIKEY }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ruby/setup-ruby@v1
Expand Down
21 changes: 13 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v3

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -32,19 +33,20 @@ jobs:

strategy:
matrix:
ruby: [3.1.2, 3.0.4, 2.7.6, 2.6.10]
ruby: [3.1.4, 3.0.6, 2.7.8, 2.6.10]

steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}

- name: Build and Test
run: |
gem install bundler -v 2.4.10
gem install bundler -v 2.4.22
bundle install --jobs 4 --retry 3
bundle exec rake test
Expand All @@ -58,15 +60,16 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}

- name: Build and Test
run: |
gem install bundler -v 2.4.10
gem install bundler -v 2.4.22
bundle install --jobs 4 --retry 3
bundle exec rake test
Expand All @@ -76,21 +79,23 @@ jobs:

strategy:
matrix:
ruby: [3.2.1]
ruby: [3.2.2]

steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}

- name: Build and Test
run: |
gem install bundler -v 2.4.10
gem install bundler -v 2.4.22
bundle install --jobs 4 --retry 3
bundle exec rake test
- name: Upload coverage results
uses: actions/upload-artifact@v3
with:
Expand Down
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ yarn.lock
bin/
views/
.vscode/
documentation/
documentation/
pnpm-lock.yaml
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## Version [2.2.0](https://github.com/chiefpansancolt/simplecov-tailwindcss/releases/tag/2.2.0)

Thank you to our contributors this release for fixes and new features!

### Features

- Add red badges for uncovered branches ([#59](https://github.com/chiefpansancolt/simplecov-tailwindcss/pull/59)) -> [@fidalgo](https://github.com/fidalgo)

### Bug Fixes

- Left hand sidebar cut off and unscrollable ([#57](https://github.com/chiefpansancolt/simplecov-tailwindcss/issues/57))
- add padding in groups to be able to see the last item ([#58](https://github.com/chiefpansancolt/simplecov-tailwindcss/pull/58)) -> [@igas](https://github.com/igas)

### Updates

- Dependency version bumps to stay up to date.

## Version [2.1.2](https://github.com/chiefpansancolt/simplecov-tailwindcss/releases/tag/2.1.2)

### Updates
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ To see more about Contributing check out this [document](https://github.com/chie

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `yarn test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
After checking out the repo, run `bin/setup` to install dependencies. Then, run `pnpm test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

When working with CSS or JS ensure to run `yarn build` to compile tailwind and JS to the public folder. This will ensure you have the latest CSS and JS used when testing locally.
When working with CSS or JS ensure to run `pnpm build` to compile tailwind and JS to the public folder. This will ensure you have the latest CSS and JS used when testing locally.

_**NOTE: Do not commit any changes made in public folder from compiling as this will be performed by the owner before building of a release.**_

To test locally run `yarn test` and a webpage will open after tests are complete and you will be able to see the page.
To test locally run `pnpm test` and a webpage will open after tests are complete and you will be able to see the page.

To install this gem onto your local machine, run `yarn gem:build`. Gems will be built/release by Owner.
To install this gem onto your local machine, run `pnpm gem:build`. Gems will be built/release by Owner.

## License

Expand Down
14 changes: 7 additions & 7 deletions bin/lint
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ echo "== Starting Linting =="

echo ""
echo "== Linting Rubocop =="
yarn lint:ruby
pnpm lint:ruby

echo ""
echo "== Linting ERB =="
yarn lint:erb
pnpm lint:erb

echo ""
echo "== Linting Markdown =="
yarn lint:markdown
pnpm lint:markdown

echo ""
echo "== Linting Javascript =="
yarn lint:javascript
pnpm lint:javascript

echo ""
echo "== Formatting with Prettier =="
if ! yarn format; then
if ! pnpm format; then
echo ""
echo "== Files found needing formatting =="
echo "== Initialting Fixes =="
yarn format:fix
pnpm format:fix
fi

echo ""
Expand All @@ -35,4 +35,4 @@ echo "== Starting Lint for Documentation =="

echo ""
cd documentation
yarn lint
pnpm lint
8 changes: 4 additions & 4 deletions bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

command -v ruby >/dev/null 2>&1 || { echo >&2 "ruby is not installed. Aborting."; exit 1; }
command -v node >/dev/null 2>&1 || { echo >&2 "node is not installed. Aborting."; exit 1; }
command -v yarn >/dev/null 2>&1 || { echo >&2 "yarn is not installed. Aborting."; exit 1; }
command -v pnpm >/dev/null 2>&1 || { echo >&2 "pnpm is not installed. Aborting."; exit 1; }

echo "== Getting Setup =="

echo ""
echo "== Running Yarn Install =="
yarn install
echo "== Running pnpm Install =="
pnpm install

echo ""
echo "== Running Bundle Install =="
Expand All @@ -17,7 +17,7 @@ bundle install
echo ""
echo "== Running Documentation Install =="
cd documentation
yarn install
pnpm install

echo ""
echo "== Setup Finished =="
Expand Down
6 changes: 3 additions & 3 deletions bin/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
echo "== Upgrade Starting =="

echo ""
echo "== Running Yarn Upgrade =="
yarn upgrade --latest
echo "== Running pnpm Upgrade =="
pnpm upgrade --latest

echo ""
echo "== Running Bundle Upgrade =="
Expand All @@ -13,7 +13,7 @@ bundle update
echo ""
echo "== Running Documentation Upgrade =="
cd docs
yarn upgrade --latest
pnpm upgrade --latest

echo ""
echo "== Upgrade Finished =="
2 changes: 1 addition & 1 deletion documentation
Submodule documentation updated 80 files
+1 −1 .eslintrc.json
+1 −0 .github/CODEOWNERS
+6 −6 .github/dependabot.yml
+19 −5 .github/workflows/build.yml
+14 −37 .github/workflows/deploy.yml
+18 −4 .github/workflows/lints.yml
+6 −5 .gitignore
+1 −1 .markdownlint.yml
+1 −1 .node-version
+2 −1 .prettierignore
+2 −1 .vscode/settings.json
+1 −1 README.md
+0 −4 akamai-loader.js
+4 −4 bin/lint
+3 −3 bin/setup
+2 −2 bin/upgrade
+1 −2 jsconfig.json
+0 −28 markdoc/nodes.js
+0 −19 next.config.js
+11 −0 next.config.mjs
+23 −21 package.json
+3,265 −0 pnpm-lock.yaml
+0 −4 postcss.config.js
+3 −16 prettier.config.js
+ public/fonts/Inter-italic.var.woff2
+ public/fonts/Inter-roman.var.woff2
+ src/app/docs/android-chrome-192x192.png
+ src/app/docs/android-chrome-512x512.png
+ src/app/docs/apple-touch-icon.png
+21 −1 src/app/docs/change-log/page.md
+ src/app/docs/favicon-16x16.png
+ src/app/docs/favicon-32x32.png
+ src/app/docs/favicon.ico
+4 −1 src/app/docs/how-to-contribute/page.md
+4 −1 src/app/docs/installation/page.md
+4 −1 src/app/docs/sponsor/page.md
+82 −0 src/app/layout.jsx
+25 −0 src/app/not-found.jsx
+5 −3 src/app/page.md
+11 −0 src/app/providers.jsx
+10 −10 src/components/Button.jsx
+19 −12 src/components/Callout.jsx
+31 −0 src/components/DocsHeader.jsx
+22 −0 src/components/DocsLayout.jsx
+12 −4 src/components/Fence.jsx
+7 −7 src/components/Hero.jsx
+14 −3 src/components/HeroBackground.jsx
+28 −20 src/components/Icon.jsx
+34 −197 src/components/Layout.jsx
+12 −3 src/components/Logo.jsx
+37 −22 src/components/MobileNavigation.jsx
+13 −10 src/components/Navigation.jsx
+61 −0 src/components/PrevNextLinks.jsx
+11 −9 src/components/Prose.jsx
+11 −4 src/components/QuickLinks.jsx
+364 −41 src/components/Search.jsx
+113 −0 src/components/TableOfContents.jsx
+42 −40 src/components/ThemeSelector.jsx
+6 −2 src/components/icons/InstallationIcon.jsx
+1 −1 src/components/icons/LightbulbIcon.jsx
+1 −1 src/components/icons/PluginsIcon.jsx
+6 −2 src/components/icons/PresetsIcon.jsx
+1 −1 src/components/icons/ThemingIcon.jsx
+1 −1 src/components/icons/WarningIcon.jsx
+0 −30 src/data/navigation.js
+0 −0 src/fonts/lexend.txt
+ src/fonts/lexend.woff2
+34 −0 src/lib/navigation.js
+60 −0 src/lib/sections.js
+63 −0 src/markdoc/nodes.js
+138 −0 src/markdoc/search.mjs
+8 −8 src/markdoc/tags.js
+0 −73 src/pages/_app.jsx
+0 −67 src/pages/_document.jsx
+0 −501 src/styles/docsearch.css
+0 −23 src/styles/fonts.css
+9 −9 src/styles/prism.css
+10 −6 src/styles/tailwind.css
+20 −20 tailwind.config.js
+0 −2,920 yarn.lock
Loading

0 comments on commit 6073e67

Please sign in to comment.