Skip to content

Version 1.0.0 #89

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

Open
wants to merge 164 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
164 commits
Select commit Hold shift + click to select a range
b2935e6
Corrects CSS link in demo page
goodguyry Jun 26, 2019
050b4c2
Splits static methods from Columns class
goodguyry May 22, 2021
6579584
Simplifies roundToPrecision helper
goodguyry May 22, 2021
5be0aaf
Merge pull request #68 from goodguyry/feature/split-static-methods
goodguyry May 22, 2021
c0e4a80
Ignores jekyll cache
goodguyry May 22, 2021
c923275
Documents reduced output
goodguyry May 22, 2021
746e003
Adds initial calc reducer
goodguyry May 22, 2021
7263d15
Don't wrap a single value in calc()
goodguyry May 23, 2021
8db6eac
Adds initial test re-think 🤔
goodguyry May 23, 2021
fa28ac1
Updates CHANGELOG
goodguyry May 24, 2021
7ceaa57
Replaces tidy-var() instances separately
goodguyry May 25, 2021
cb228a8
Updates expected output to reflect reduced expressions
goodguyry May 26, 2021
8666b3a
Rebuilds docs CSS
goodguyry May 26, 2021
f822f2a
Updates un-reduced calc comments
goodguyry May 26, 2021
5301af9
Updates Custom PRoperty expected output
goodguyry May 26, 2021
ac1b33d
Prevents nested calc inside calc
goodguyry May 26, 2021
b7c57ec
Cleans up docblock
goodguyry May 26, 2021
2a87f35
Rebuilds docs site CSS
goodguyry May 26, 2021
15487f9
Merge pull request #70 from goodguyry/feature/reduce-expressions
goodguyry May 26, 2021
1d04113
Updates PostCSS to version 8
goodguyry May 27, 2021
d3414b4
Removes outdated todos
goodguyry May 28, 2021
f83e986
Updates code based on support
goodguyry May 28, 2021
be16dd0
Updates Node version in Travis
goodguyry May 28, 2021
3f727de
NPM audit fix
goodguyry May 28, 2021
9a983b0
Moves dependencies
goodguyry May 28, 2021
77558a0
Updates dev dependencies
goodguyry May 29, 2021
ee43ee9
Log when CSS is written to disk
goodguyry May 29, 2021
c055055
Adds test github action
goodguyry May 29, 2021
8cb1ba2
Removes node-sass
goodguyry May 29, 2021
30fd615
Updates nodemon
goodguyry May 29, 2021
a7e93fd
Adds postcss to devDependencies
goodguyry May 29, 2021
6b75f71
Removes travis config
goodguyry May 29, 2021
1d25d51
NPM ignore .github directory
goodguyry May 29, 2021
116709a
Moves docs dependencies to docs
goodguyry May 29, 2021
9461638
Adds postcss to devDependencies... again
goodguyry May 29, 2021
38eb538
Adds lint script
goodguyry May 29, 2021
d33f746
ESLint fixes
goodguyry May 29, 2021
cc27ba6
Adds eslint-plugin-import back
goodguyry May 29, 2021
9972ce6
Updates CHANGELOG
goodguyry May 29, 2021
3c6ecc8
Merge pull request #72 from goodguyry/chore/update-dependencies
goodguyry May 29, 2021
403fe23
Updates property and value checks
goodguyry May 31, 2021
b947d83
Uses PostCSS 8 events
goodguyry Jun 1, 2021
fabd359
Adds debugging flag to verbose watch script
goodguyry Jun 1, 2021
aa576ec
Updates GitHub action for develop branch
goodguyry Jun 1, 2021
b5692e2
Updates CHANGELOG
goodguyry Jun 1, 2021
a51ee51
Merge pull request #73 from goodguyry/api-updates
goodguyry Jun 1, 2021
0e1b6fd
Adds initial documentation for a revised plugin
goodguyry Feb 19, 2022
47fc8a4
Merge pull request #78 from goodguyry/next/docs
goodguyry Feb 19, 2022
e284fcd
Initial options cleanup
goodguyry Feb 19, 2022
06f9844
Removes references to `breakpoints` option
goodguyry Feb 19, 2022
0268c96
Removes references to "site-max" and "siteMax"
goodguyry Feb 19, 2022
82098e6
Adds reduce todo
goodguyry Feb 19, 2022
961a6f1
ESLint ignores markdown files
goodguyry Feb 20, 2022
dbfce95
Use the var() function instead of custom property name
goodguyry Feb 20, 2022
e9b1f57
Only reduce output when `reduce` option is true
goodguyry Feb 21, 2022
63fc1ac
Adds initial support for outputting a single value
goodguyry Feb 21, 2022
f08f3a5
Updates caniuse db
goodguyry Feb 22, 2022
f726f24
Adds test for var() function as `max` option
goodguyry Feb 22, 2022
1ce55b2
Updates CHANGELOG
goodguyry Feb 22, 2022
d2e1ea2
Removes code used for preventing `max` being a `var()` function
goodguyry Feb 22, 2022
fa4c1ae
Adds support for the `base` option
goodguyry Feb 22, 2022
91c5b4e
Merge pull request #79 from goodguyry/next/options
goodguyry Feb 23, 2022
4c8046c
Cleans up columns tests
goodguyry Feb 23, 2022
afdaa44
Refactors Columns
goodguyry Feb 24, 2022
44d3a6e
Adds miscellaneous tests
goodguyry Feb 24, 2022
705885a
Removes references to tidy-[span|offset]-full()
goodguyry Feb 24, 2022
7428abf
Corrects generated output
goodguyry Feb 24, 2022
4712a8a
Removes todo
goodguyry Feb 24, 2022
d9ae495
Removes code referencing the now-removed media query
goodguyry Feb 24, 2022
0741160
Allows removing options by setting the value to `false`
goodguyry Feb 24, 2022
90ad5c0
Prefers spread over Object.assign
goodguyry Feb 24, 2022
893d11a
Adds a test for the `reduce` option
goodguyry Feb 24, 2022
d329c4a
Cleans up tyop
goodguyry Feb 24, 2022
859276f
Updates CHANGELOG
goodguyry Feb 24, 2022
ab3156b
Merge pull request #80 from goodguyry/next/test-cleanup
goodguyry Feb 24, 2022
a020f64
Deprecates tidy-[span|offset|column] properties
goodguyry Feb 26, 2022
1964cac
Refactors plugin index
goodguyry Feb 26, 2022
fc263d0
Removes unused file
goodguyry Feb 26, 2022
2b31091
Corrects comment
goodguyry Feb 26, 2022
60c7ce6
Updates CHANGELOG
goodguyry Feb 26, 2022
eca04a1
Merge pull request #81 from goodguyry/next/remove-deprecated
goodguyry Feb 26, 2022
6466ce1
Removes unused code
goodguyry Feb 26, 2022
4563759
Consolidates helper functions into lib/values.js
goodguyry Feb 26, 2022
4b302fb
Normalizes doc comments
goodguyry Feb 26, 2022
beca0e1
Merge pull request #82 from goodguyry/next/remove-unused
goodguyry Feb 26, 2022
b5ccb06
Uses warnings for debug, rather than source comments
goodguyry Feb 26, 2022
099677b
Removes outdated comment
goodguyry Feb 26, 2022
895b381
Updates README
goodguyry Feb 26, 2022
84cd835
Updates CHANGELOG
goodguyry Feb 26, 2022
561b2f0
Merge pull request #83 from goodguyry/next/debug-messages
goodguyry Feb 26, 2022
cf0544e
Cleans up options file a little bit
goodguyry Feb 26, 2022
b88a776
Adds initial consolidation of option helpers
goodguyry Feb 27, 2022
f61881d
Combines getGlobalOptions and getLocalOptions as `getOptions`
goodguyry Feb 27, 2022
1b65679
Removes unnecessary second parameter for collectTidyRuleParams
goodguyry Feb 27, 2022
6edc957
Cleans up collectTidyRuleParams for clarity
goodguyry Feb 27, 2022
9314dd1
Combines options tests and removes unused files
goodguyry Feb 27, 2022
86124d7
Reorganizes files into src and __test
goodguyry Feb 27, 2022
80f1d54
Moves splitCssUnits helper to Columns.js
goodguyry Feb 27, 2022
0d65f37
Miscellaneous options cleanup
goodguyry Feb 27, 2022
0dde732
Updates eslint paths
goodguyry Feb 27, 2022
72df76c
Merge pull request #84 from goodguyry/next/file-reorg
goodguyry Feb 27, 2022
a9ae093
Consolidates tidy-function files
goodguyry Feb 27, 2022
8ca8e88
Moves options to src/lib/
goodguyry Feb 27, 2022
34e928e
Code cleanup
goodguyry Feb 28, 2022
8aa4ab1
Initial theoretical TidyColumns class
goodguyry Feb 28, 2022
f3ff7ff
Updates class methods and constructor
goodguyry Mar 3, 2022
a5d8bac
Adds tests for TidyColumns
goodguyry Mar 3, 2022
6b4e06a
Removes Tidy and Columns files
goodguyry Mar 3, 2022
097899f
Cleans up line breaks
goodguyry Mar 4, 2022
4fd7953
Moves option normalizing to getOptions
goodguyry Mar 5, 2022
d1589d6
Adds and edits comments throughout
goodguyry Mar 5, 2022
aea6ec8
Adds plugin docblock parameter
goodguyry Mar 5, 2022
19fb9c7
Merge pull request #85 from goodguyry/next/tidy-columns
goodguyry Mar 5, 2022
998b123
Updates Jest and PostCSS to latest
goodguyry Mar 6, 2022
14e908e
Updates ESLint
goodguyry Mar 6, 2022
3f10a52
Updates postcss-calc and our local transformer
goodguyry Mar 6, 2022
a88de02
Updates CHANGELOG
goodguyry Mar 6, 2022
6516c0b
Merge pull request #86 from goodguyry/next/update-dependencies
goodguyry Mar 6, 2022
b3fcc85
Adds schema-utils
goodguyry Mar 6, 2022
81c52e5
Updates CHANGELOG
goodguyry Mar 6, 2022
aa427ea
Merge pull request #87 from goodguyry/next/schema
goodguyry Mar 6, 2022
ac19521
Adds support for CSS var() function as tidy-span value
goodguyry Mar 6, 2022
0943993
Corrects function pattern to allow dashes in Custom Property names
goodguyry Mar 6, 2022
6e086ae
Merge pull request #88 from goodguyry/next/var-support-in-tidy-span
goodguyry Mar 6, 2022
1172dd6
Switches to sass
goodguyry Mar 6, 2022
56aa8c8
Updates the breakpoints function name
goodguyry Mar 6, 2022
b8c7308
Updates TidyColumns config
goodguyry Mar 6, 2022
32e12cf
Updates declarations for 1.0.0
goodguyry Mar 6, 2022
42d3609
Adds initial built file
goodguyry Mar 6, 2022
f869352
Removes postcss-units
goodguyry Mar 7, 2022
8fa24cc
Uses Sass Modules
goodguyry Mar 12, 2022
3c1bab2
Updates block comments so they aren't present in the output
goodguyry Mar 12, 2022
bc8efac
Cleans up some content styles
goodguyry Mar 12, 2022
e2e48d6
Updates article header layout
goodguyry Mar 12, 2022
b600230
Cleans up content and Sass comments
goodguyry Mar 12, 2022
7bfa33f
Builds CSS
goodguyry Mar 12, 2022
c6d59ae
Updates browserslist db
goodguyry Mar 12, 2022
18d4e46
Merge pull request #90 from goodguyry/docs/use-1.0.0
goodguyry Mar 12, 2022
fd3033a
Adds a proper homepage
goodguyry Mar 12, 2022
8ebce98
Updates CHANGELOG formatting
goodguyry Mar 12, 2022
3336d9a
Updates package version
goodguyry Mar 12, 2022
5236fb0
Corrects a wiki link
goodguyry Mar 12, 2022
5e0ff62
Merge pull request #91 from goodguyry/prepare
goodguyry Mar 12, 2022
f42d3a5
Corrects package files field
goodguyry Mar 13, 2022
f7d8136
Bumps version to 1.0.0-beta-2
goodguyry Mar 13, 2022
387a60e
Merge pull request #95 from goodguyry/fix/publish
goodguyry Mar 13, 2022
fdf7275
Updates caniuse db
goodguyry Oct 5, 2022
defedec
Adds a `base` option to the docs site
goodguyry Oct 9, 2022
0f7f335
Updates `edge` description
goodguyry Oct 9, 2022
bf837e5
Updates README
goodguyry Oct 9, 2022
25cce20
Corrects `edge` override in docs site
goodguyry Oct 17, 2022
f38e7f4
Updates callout styles
goodguyry Oct 18, 2022
21acd36
Merge pull request #97 from goodguyry/pre-release
goodguyry Oct 18, 2022
4640a1f
Cleans up README
goodguyry Oct 18, 2022
7ce7ce0
Updates CHANGELOG
goodguyry Oct 18, 2022
09e947c
Updates dependencies
goodguyry Oct 18, 2022
aae72dc
Updates GH action name
goodguyry Oct 18, 2022
33136f3
Updates package files to include schema.json
goodguyry Oct 18, 2022
1bab2b2
Bumps beta version
goodguyry Oct 18, 2022
a267d6f
Adds GH Actions badge
goodguyry Oct 18, 2022
99f3cb1
Updates Node versions
goodguyry Oct 18, 2022
5b62677
Clarifies configuration options
goodguyry Oct 23, 2022
86d6943
Additional options config clarification
goodguyry Oct 23, 2022
9a619af
Merge pull request #98 from goodguyry/options-documentation
goodguyry Oct 23, 2022
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
7 changes: 6 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,10 @@
"ignoreComments": true
}
]
}
},
"ignorePatterns": [
"**/*.md",
"docs/*",
"__test/*"
]
}
22 changes: 22 additions & 0 deletions .github/workflows/node-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: github-ci

on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ node_modules/
npm-debug.log

*.test.js
.travis.yml
.github
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,39 @@
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).

## 1.0.0

**Added**

- Support for reducing the `calc()` output using [postcss-calc](https://github.com/postcss/postcss-calc/) (#70, #79)
- Support for updating the fluid base value's units – `vw` or `%` (#79)
- Support for disabling an option by setting it to `false` (#80)
- Option validation using `schema-utils` (#87)

**Changed**

- Drops support for PostCSS < 8 (#73)
- Updates dependencies (#72, #86)
- Updates option name: `site-max` and `siteMax` are now `max` (#79)
- Outputs a single value using a `min()` function, rather than adding media queries (#79)
- Support for using a `var()` function as the `max` option's value (#79)
- The `debug` option will now print a warning, rather than preserve the original declaration as a comment (#83)

**Deprecated**

- `tidy-*` properties will be removed in a future version (#81)
- `tidy-column`
- `tidy-offset`
- `tidy-span`
- `tidy-offset-left`
- `tidy-offset-right`

**Removed**

- The `breakpoints` option is no longer supported (#79)
- `tidy-span-full()` and `tidy-offset-full()` functions are no longer needed, so removed (#80)
- The plugin will no longer create a full-width media query, since it now outputs a single value (#80)

## 0.4.0

**Added**
Expand Down
200 changes: 0 additions & 200 deletions Columns.js

This file was deleted.

Loading