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

Add Automated updated of autocomplete-css completions.json #398

Merged
merged 33 commits into from
Mar 15, 2023
Merged
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
2a5fafb
Initial Setup and parsing of data
confused-Techie Feb 22, 2023
34b22ae
Final touches, and lots of them
confused-Techie Feb 24, 2023
6758361
Fixed type in `completions.json` Removed unneeded files
confused-Techie Feb 24, 2023
9af1375
Spelling fix `seperators` -> `separators`
confused-Techie Feb 24, 2023
e3b63ef
Merge branch 'master' into update-autocomplete-css
confused-Techie Feb 25, 2023
9137f9d
Allow manual HTML tags replacement from MDN docs
confused-Techie Feb 25, 2023
705e0d9
Ensure `getValuesOfProp()` properly receives full `css` object rather…
confused-Techie Feb 25, 2023
2c5ecd0
Fixed parts of `update.js`, and fixed some tests, broke others
confused-Techie Feb 25, 2023
3570e56
Update packages/autocomplete-css/update.js
confused-Techie Feb 25, 2023
0b6fd03
Large rewrite to specs to allow for expansion and change of the autoc…
confused-Techie Feb 25, 2023
b15410e
Added implicitly defined keywords to `completions.js`
confused-Techie Feb 25, 2023
b9acc26
Last `completions.json` agnostic test
confused-Techie Feb 25, 2023
d4ebeec
Update README.md for new update process
confused-Techie Feb 25, 2023
7a746a7
Rename variables within `isValueInCompletions()`
confused-Techie Mar 2, 2023
1ad19ce
autocomplete-css: Run `node update.js`
DeeDeeG Mar 4, 2023
4eb9758
autocomplete-css: Put implicit values last
DeeDeeG Mar 4, 2023
a163e38
autocomplete-css: Refresh package-lock.json
DeeDeeG Mar 4, 2023
ebdd711
autocomplete-css: Handle recursion for appending implicit values
DeeDeeG Mar 4, 2023
1024076
autocomplete-css: Handle more recursion
DeeDeeG Mar 4, 2023
0ab4f7d
Update packages/autocomplete-css/update.js
confused-Techie Mar 5, 2023
7c1e1d3
Resolve the initial blank descriptions
confused-Techie Mar 5, 2023
732a353
Protect against collecting warnings and notices as descriptions
confused-Techie Mar 5, 2023
a2237f3
Also add checks to `svg/elements` to collect missing `marker`
confused-Techie Mar 7, 2023
f34341b
First manual property description, and implementation of it's functio…
confused-Techie Mar 7, 2023
0411904
Add all legacy alias' and more
confused-Techie Mar 7, 2023
b79cc7b
Add other alias' and property mappings
confused-Techie Mar 7, 2023
828f326
Add in stroke spec properties
confused-Techie Mar 7, 2023
46f96db
Many many others
confused-Techie Mar 7, 2023
e7feeac
Add manual property descriptions to reduce empties to 17
confused-Techie Mar 10, 2023
a27b70b
Finish adding all manual properties
confused-Techie Mar 10, 2023
2a3afcb
Resolve failing spec
confused-Techie Mar 11, 2023
39dcbd2
Revert "Resolve failing spec"
confused-Techie Mar 11, 2023
804bbda
Update packages/autocomplete-css/update.js
confused-Techie Mar 15, 2023
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
4 changes: 1 addition & 3 deletions packages/autocomplete-css/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@ This is powered by the list of CSS property and values [here](https://github.com

![css-completions](https://cloud.githubusercontent.com/assets/671378/6357910/b9ecbe7c-bc1c-11e4-89b1-033e626c891f.gif)

You can update the prebuilt list of property names and values by running the `update.coffee` file at the root of the repository and then checking in the changed `properties.json` file.

`sorted-property-names.json` is updated manually - take a look at https://developer.microsoft.com/en-us/microsoft-edge/platform/usage/ and https://www.chromestatus.com/metrics/css/popularity for guidance.
You can update the prebuilt list of completions by running `node update.js` at the root of this package and checking for changes within `completions.json`. This does rely on having dev dependencies installed, so ensure you install all dependencies before doing so.
Loading