Revert "Add yet-another-react-lightbox package and update .gitignore to exclude node_modules"
This reverts commit c92f4a5edd.
This commit is contained in:
7
frontend/node_modules/@svgr/babel-plugin-remove-jsx-empty-expression/LICENSE
generated
vendored
Normal file
7
frontend/node_modules/@svgr/babel-plugin-remove-jsx-empty-expression/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
Copyright 2017 Smooth Code
|
||||
|
||||
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.
|
||||
21
frontend/node_modules/@svgr/babel-plugin-remove-jsx-empty-expression/README.md
generated
vendored
Normal file
21
frontend/node_modules/@svgr/babel-plugin-remove-jsx-empty-expression/README.md
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# @svgr/babel-plugin-remove-jsx-empty-expression
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
npm install --save-dev @svgr/babel-plugin-remove-jsx-empty-expression
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
**.babelrc**
|
||||
|
||||
```json
|
||||
{
|
||||
"plugins": ["@svgr/babel-plugin-remove-jsx-empty-expression"]
|
||||
}
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
9
frontend/node_modules/@svgr/babel-plugin-remove-jsx-empty-expression/dist/index.d.ts
generated
vendored
Normal file
9
frontend/node_modules/@svgr/babel-plugin-remove-jsx-empty-expression/dist/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { NodePath, types } from '@babel/core';
|
||||
|
||||
declare const removeJSXEmptyExpression: () => {
|
||||
visitor: {
|
||||
JSXExpressionContainer(path: NodePath<types.JSXExpressionContainer>): void;
|
||||
};
|
||||
};
|
||||
|
||||
export { removeJSXEmptyExpression as default };
|
||||
16
frontend/node_modules/@svgr/babel-plugin-remove-jsx-empty-expression/dist/index.js
generated
vendored
Normal file
16
frontend/node_modules/@svgr/babel-plugin-remove-jsx-empty-expression/dist/index.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
var core = require('@babel/core');
|
||||
|
||||
const removeJSXEmptyExpression = () => ({
|
||||
visitor: {
|
||||
JSXExpressionContainer(path) {
|
||||
if (core.types.isJSXEmptyExpression(path.get("expression"))) {
|
||||
path.remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = removeJSXEmptyExpression;
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
frontend/node_modules/@svgr/babel-plugin-remove-jsx-empty-expression/dist/index.js.map
generated
vendored
Normal file
1
frontend/node_modules/@svgr/babel-plugin-remove-jsx-empty-expression/dist/index.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\nimport { types as t, NodePath } from '@babel/core'\n\nconst removeJSXEmptyExpression = () => ({\n visitor: {\n JSXExpressionContainer(path: NodePath<t.JSXExpressionContainer>) {\n if (t.isJSXEmptyExpression(path.get('expression'))) {\n path.remove()\n }\n },\n },\n})\n\nexport default removeJSXEmptyExpression\n"],"names":["t"],"mappings":";;;;AAGA,MAAM,2BAA2B,OAAO;AAAA,EACtC,OAAS,EAAA;AAAA,IACP,uBAAuB,IAA0C,EAAA;AAC/D,MAAA,IAAIA,WAAE,oBAAqB,CAAA,IAAA,CAAK,GAAI,CAAA,YAAY,CAAC,CAAG,EAAA;AAClD,QAAA,IAAA,CAAK,MAAO,EAAA,CAAA;AAAA,OACd;AAAA,KACF;AAAA,GACF;AACF,CAAA;;;;"}
|
||||
40
frontend/node_modules/@svgr/babel-plugin-remove-jsx-empty-expression/package.json
generated
vendored
Normal file
40
frontend/node_modules/@svgr/babel-plugin-remove-jsx-empty-expression/package.json
generated
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"name": "@svgr/babel-plugin-remove-jsx-empty-expression",
|
||||
"description": "Remove JSX empty expression",
|
||||
"version": "8.0.0",
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"repository": "https://github.com/gregberge/svgr/tree/main/packages/babel-plugin-remove-jsx-empty-expression",
|
||||
"author": "Greg Bergé <berge.greg@gmail.com>",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"keywords": [
|
||||
"babel-plugin"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=14"
|
||||
},
|
||||
"homepage": "https://react-svgr.com",
|
||||
"funding": {
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/gregberge"
|
||||
},
|
||||
"license": "MIT",
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.0.0-0"
|
||||
},
|
||||
"scripts": {
|
||||
"reset": "rm -rf dist",
|
||||
"build": "rollup -c ../../build/rollup.config.mjs",
|
||||
"prepublishOnly": "pnpm run reset && pnpm run build"
|
||||
},
|
||||
"gitHead": "52a1079681477587ef0d842c0e78531adf2d2520"
|
||||
}
|
||||
Reference in New Issue
Block a user