Tweaked gitignore

gitignore removed all composer and npm files, so automated builds would fail
This commit is contained in:
Henry Whitaker
2020-04-12 21:24:03 +01:00
parent 698687f12d
commit ea5808047f
27863 changed files with 3399604 additions and 5 deletions

View File

@@ -0,0 +1,4 @@
# 4.0.0-rc.0
* Initial commit. This module was previously part of other cssnano modules and
has been extracted out.

View File

@@ -0,0 +1,22 @@
Copyright (c) Ben Briggs <beneb.info@gmail.com> (http://beneb.info)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -0,0 +1,13 @@
# cssnano-util-same-parent
> Check that two PostCSS nodes share the same parent.
## Contributors
See [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).
## License
MIT © [Ben Briggs](http://beneb.info)

View File

@@ -0,0 +1,19 @@
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = sameParent;
function sameParent(ruleA, ruleB) {
let hasParent = ruleA.parent && ruleB.parent;
// Check for detached rules
if (!hasParent) {
return true;
}
// If an at rule, ensure that the parameters are the same
if (ruleA.parent.type === 'atrule' && ruleB.parent.type === 'atrule') {
return ruleA.parent.params === ruleB.parent.params && ruleA.parent.name.toLowerCase() === ruleB.parent.name.toLowerCase();
}
return ruleA.parent.type === ruleB.parent.type;
}
module.exports = exports['default'];

View File

@@ -0,0 +1,64 @@
{
"_args": [
[
"cssnano-util-same-parent@4.0.1",
"/home/henry/Documents/git/Speedtest-checker"
]
],
"_development": true,
"_from": "cssnano-util-same-parent@4.0.1",
"_id": "cssnano-util-same-parent@4.0.1",
"_inBundle": false,
"_integrity": "sha512-WcKx5OY+KoSIAxBW6UBBRay1U6vkYheCdjyVNDm85zt5K9mHoGOfsOsqIszfAqrQQFIIKgjh2+FDgIj/zsl21Q==",
"_location": "/cssnano-util-same-parent",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "cssnano-util-same-parent@4.0.1",
"name": "cssnano-util-same-parent",
"escapedName": "cssnano-util-same-parent",
"rawSpec": "4.0.1",
"saveSpec": null,
"fetchSpec": "4.0.1"
},
"_requiredBy": [
"/postcss-merge-rules"
],
"_resolved": "https://registry.npmjs.org/cssnano-util-same-parent/-/cssnano-util-same-parent-4.0.1.tgz",
"_spec": "4.0.1",
"_where": "/home/henry/Documents/git/Speedtest-checker",
"author": {
"name": "Ben Briggs",
"email": "beneb.info@gmail.com",
"url": "http://beneb.info"
},
"bugs": {
"url": "https://github.com/cssnano/cssnano/issues"
},
"description": "Check that two PostCSS nodes share the same parent.",
"devDependencies": {
"babel-cli": "^6.0.0",
"cross-env": "^5.0.0",
"postcss": "^7.0.0"
},
"engines": {
"node": ">=6.9.0"
},
"files": [
"LICENSE-MIT",
"dist"
],
"homepage": "https://github.com/cssnano/cssnano",
"license": "MIT",
"main": "dist/index.js",
"name": "cssnano-util-same-parent",
"repository": {
"type": "git",
"url": "git+https://github.com/cssnano/cssnano.git"
},
"scripts": {
"prepublish": "cross-env BABEL_ENV=publish babel src --out-dir dist --ignore /__tests__/"
},
"version": "4.0.1"
}