Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Support Node 10 #7

Merged
merged 1 commit into from
Sep 18, 2020
Merged

Support Node 10 #7

merged 1 commit into from
Sep 18, 2020

Conversation

jonathantneal
Copy link
Collaborator

@jonathantneal jonathantneal commented Sep 18, 2020

This PR updates postcss-tape to follow some newer conventions that better fit my practices in a Node v10+ world.

  • Moves distributed files into dist.
  • Removes Node 8 compatibility hackery from .travis.yml
  • Updates README.md to use a better header that loads more cleanly
  • Updates README.md to document usage in modules syntax.
  • Updates package.json to remove the Babel ESLint plugin, because development of the plugin in the latest stable release of Node does not require it.
  • Updates package.json to reposition some fields into a hopefully more helpful order for human consumption.
  • Updates rollup.config.js to not terse the distributed file.
  • Updates rollup.config.js to support Node v10+ exclusively.
  • Updates rollup.config.js to add the hashbang without making sourcemaps inaccurate.
  • Updates the plugin to support the following configuration files in order; postcss-tape.config.js, postcss-tape.config.mjs, postcss-tape.config.cjs, .tape.js, .tape.mjs, and .tape.cjs.
  • Updates many files for formatting. The biggest diff is the removal of semicolons. Their removal was automatic, and it would be easy to change back later if it presents a problem.

@jonathantneal jonathantneal marked this pull request as ready for review September 18, 2020 18:40
@jonathantneal jonathantneal merged commit 99de157 into master Sep 18, 2020
@jonathantneal jonathantneal deleted the jn.node@10 branch September 18, 2020 18:49
romainmenke pushed a commit to csstools/postcss-plugins that referenced this pull request Jan 16, 2022
romainmenke added a commit to csstools/postcss-plugins that referenced this pull request Jan 20, 2022
* 1.0.0

* 1.1.0

* 1.2.0

* 1.2.1

* 1.2.2

* 1.3.0

* 1.3.1

- Update project settings

* 2.0.0

- Updated: Support for PostCSS v6
- Updated: Support Node v4
- Added: Another test

* 2.0.1

* Better support failing tests

* Support specifying alternative plugin(s)

* Update devDependencies

* 2.1.0

* New option: processOptions

* Document features

* Update devDependencies

* 2.2.0

* 3.0.0

* 3.0.0

* Log caught errors and update README with correct options

* 4.0.0

* 5.0.0

* Update project configuration

* Fix CLI typo in README.md

The CLI (i.e. "arguments") instructions included an `=` sign; the equals sign is not accurate nor necessary. Just to be sure, I tested:

1. I copied `.tape.js` as `.tape.test.js`, and removed several test cases.
2. Command `postcss-tape --config=./tape.test.js # used existing `/.tape.js` (saw many test cases).
3. Command `postcss-tape --config=./tape.test.js # used new file `/.tape.test.js` (saw few test cases).

* Fix bug with tests for errors

* Cleanup how options are taken in

* Fix how an error is handled

* Update dependencies

* 5.0.1

* Fix an issue with loading a test plugin

* 5.0.2

* Update dependencies

* support postcss 8 plugins, closes csstools/postcss-tape#5 (csstools/postcss-tape#6)

* Support Node 10 (csstools/postcss-tape#7)

* Update CHANGELOG.md

* 6.0.0

* Update project conventions

* 6.0.1

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* changelog

* merge

* tests

* tests

* simplify

* some docs

* docs, more tests and fixes

* add docs for postcss version updates

* fixes

* more tests

* Apply suggestions from code review

* more tests

* code comment

* try relative path require/import

* typo

* fix

* fix

* fix

* more docs

* document what to do after node 20 released

Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
Co-authored-by: Philip Bordallo <git@philipbordallo.com>
Co-authored-by: Wesley B <wesleyboar@users.noreply.github.com>
Co-authored-by: Renée Kooi <renee@kooi.me>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant