chore: remove unused rollup config and dependencies

This commit is contained in:
Tom French 2022-07-28 00:35:49 +01:00
parent 16daa294b5
commit 3f0addc78e
3 changed files with 1 additions and 151 deletions

View file

@ -1,29 +0,0 @@
import babel from 'rollup-plugin-babel';
import resolve from 'rollup-plugin-node-resolve';
import replace from 'rollup-plugin-replace';
import ignore from 'rollup-plugin-ignore';
import commonjs from 'rollup-plugin-commonjs';
export default {
output: {
file: '/tmp/actual-payees.demo.js',
format: 'esm'
// name: 'ManagePayees'
},
external: id => /^(react|react-dom)$/.test(id),
plugins: [
ignore(['./DateSelect']),
replace({
'process.env.NODE_ENV': JSON.stringify('production')
}),
resolve({
extensions: ['.web.js', '.js']
}),
babel({
exclude: 'node_modules/**'
}),
commonjs({
namedExports: { '../../node_modules/glamor/lib/index.js': [] }
})
]
};

View file

@ -27,11 +27,6 @@
"react-element-query": "^3.0.2", "react-element-query": "^3.0.2",
"react-native-web": "^0.11.7", "react-native-web": "^0.11.7",
"react-test-renderer": "^16.3.1", "react-test-renderer": "^16.3.1",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-ignore": "^1.0.5",
"rollup-plugin-node-resolve": "^4.2.3",
"rollup-plugin-replace": "^2.2.0",
"velocity-animate": "^1.5.0", "velocity-animate": "^1.5.0",
"wobble": "^1.5.0" "wobble": "^1.5.0"
}, },

118
yarn.lock
View file

@ -378,7 +378,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@babel/helper-module-imports@npm:^7.0.0, @babel/helper-module-imports@npm:^7.12.13, @babel/helper-module-imports@npm:^7.16.7": "@babel/helper-module-imports@npm:^7.12.13, @babel/helper-module-imports@npm:^7.16.7":
version: 7.16.7 version: 7.16.7
resolution: "@babel/helper-module-imports@npm:7.16.7" resolution: "@babel/helper-module-imports@npm:7.16.7"
dependencies: dependencies:
@ -3781,15 +3781,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@types/resolve@npm:0.0.8":
version: 0.0.8
resolution: "@types/resolve@npm:0.0.8"
dependencies:
"@types/node": "*"
checksum: f241bb773ab14b14500623ac3b57c52006ce32b20426b6d8bf2fe5fdc0344f42c77ac0f94ff57b443ae1d320a1a86c62b4e47239f0321699404402fbeb24bad6
languageName: node
linkType: hard
"@types/responselike@npm:*, @types/responselike@npm:^1.0.0": "@types/responselike@npm:*, @types/responselike@npm:^1.0.0":
version: 1.0.0 version: 1.0.0
resolution: "@types/responselike@npm:1.0.0" resolution: "@types/responselike@npm:1.0.0"
@ -6090,13 +6081,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"builtin-modules@npm:^3.1.0":
version: 3.2.0
resolution: "builtin-modules@npm:3.2.0"
checksum: 0265aa1ba78e1a16f4e18668d815cb43fb364e6a6b8aa9189c6f44c7b894a551a43b323c40206959d2d4b2568c1f2805607ad6c88adc306a776ce6904cca6715
languageName: node
linkType: hard
"builtin-status-codes@npm:^3.0.0": "builtin-status-codes@npm:^3.0.0":
version: 3.0.0 version: 3.0.0
resolution: "builtin-status-codes@npm:3.0.0" resolution: "builtin-status-codes@npm:3.0.0"
@ -9698,13 +9682,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"estree-walker@npm:^0.6.0, estree-walker@npm:^0.6.1":
version: 0.6.1
resolution: "estree-walker@npm:0.6.1"
checksum: 9d6f82a4921f11eec18f8089fb3cce6e53bcf45a8e545c42a2674d02d055fb30f25f90495f8be60803df6c39680c80dcee7f944526867eb7aa1fc9254883b23d
languageName: node
linkType: hard
"esutils@npm:^2.0.2": "esutils@npm:^2.0.2":
version: 2.0.3 version: 2.0.3
resolution: "esutils@npm:2.0.3" resolution: "esutils@npm:2.0.3"
@ -12606,13 +12583,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"is-module@npm:^1.0.0":
version: 1.0.0
resolution: "is-module@npm:1.0.0"
checksum: 8cd5390730c7976fb4e8546dd0b38865ee6f7bacfa08dfbb2cc07219606755f0b01709d9361e01f13009bbbd8099fa2927a8ed665118a6105d66e40f1b838c3f
languageName: node
linkType: hard
"is-negative-zero@npm:^2.0.1": "is-negative-zero@npm:^2.0.1":
version: 2.0.2 version: 2.0.2
resolution: "is-negative-zero@npm:2.0.2" resolution: "is-negative-zero@npm:2.0.2"
@ -14736,11 +14706,6 @@ jest-snapshot@test:
react-spring: ^8.0.27 react-spring: ^8.0.27
react-test-renderer: ^16.3.1 react-test-renderer: ^16.3.1
react-virtualized-auto-sizer: ^1.0.2 react-virtualized-auto-sizer: ^1.0.2
rollup-plugin-babel: ^4.3.2
rollup-plugin-commonjs: ^9.3.4
rollup-plugin-ignore: ^1.0.5
rollup-plugin-node-resolve: ^4.2.3
rollup-plugin-replace: ^2.2.0
velocity-animate: ^1.5.0 velocity-animate: ^1.5.0
wobble: ^1.5.0 wobble: ^1.5.0
languageName: unknown languageName: unknown
@ -14841,15 +14806,6 @@ jest-snapshot@test:
languageName: node languageName: node
linkType: hard linkType: hard
"magic-string@npm:^0.25.2":
version: 0.25.9
resolution: "magic-string@npm:0.25.9"
dependencies:
sourcemap-codec: ^1.4.8
checksum: 9a0e55a15c7303fc360f9572a71cffba1f61451bc92c5602b1206c9d17f492403bf96f946dfce7483e66822d6b74607262e24392e87b0ac27b786e69a40e9b1a
languageName: node
linkType: hard
"make-dir@npm:^1.0.0": "make-dir@npm:^1.0.0":
version: 1.3.0 version: 1.3.0
resolution: "make-dir@npm:1.3.0" resolution: "make-dir@npm:1.3.0"
@ -20269,71 +20225,6 @@ jest-snapshot@test:
languageName: node languageName: node
linkType: hard linkType: hard
"rollup-plugin-babel@npm:^4.3.2":
version: 4.4.0
resolution: "rollup-plugin-babel@npm:4.4.0"
dependencies:
"@babel/helper-module-imports": ^7.0.0
rollup-pluginutils: ^2.8.1
peerDependencies:
"@babel/core": 7 || ^7.0.0-rc.2
rollup: ">=0.60.0 <3"
checksum: 5b8ed7c0a4192d7c74689074c910c1670eb07dfc875b1f4af5694a94c46bcb168ba85e2c9753030131efd6261ece7c252b9695953d0ea96d944977c6e79930d3
languageName: node
linkType: hard
"rollup-plugin-commonjs@npm:^9.3.4":
version: 9.3.4
resolution: "rollup-plugin-commonjs@npm:9.3.4"
dependencies:
estree-walker: ^0.6.0
magic-string: ^0.25.2
resolve: ^1.10.0
rollup-pluginutils: ^2.6.0
peerDependencies:
rollup: ">=0.56.0"
checksum: 891f2e3f3c10240c45c0e19db562c94c93d2853af55128e9bcabc52950e717d36725da8fc9a7e3d836bc1add133dd6ad1ad970671b96b677b1314d3a45d7d76c
languageName: node
linkType: hard
"rollup-plugin-ignore@npm:^1.0.5":
version: 1.0.10
resolution: "rollup-plugin-ignore@npm:1.0.10"
checksum: a8df0b3630c00eb74ecd1ebe4e407980860d0d6865cbed444d9637bc51205ca4f1a55f8164ff68ab9997e64854c187ca34e122100186dc014f937acf97bc817a
languageName: node
linkType: hard
"rollup-plugin-node-resolve@npm:^4.2.3":
version: 4.2.4
resolution: "rollup-plugin-node-resolve@npm:4.2.4"
dependencies:
"@types/resolve": 0.0.8
builtin-modules: ^3.1.0
is-module: ^1.0.0
resolve: ^1.10.0
checksum: b090f44fa6cf6efb50be0c0373cc71bd8bfb655b503a5b657cd95bbc783aa6c50bedcfdadaa140ff58d1af11869cbe62cb9b9f09cfa343a067a7887d7d7b349e
languageName: node
linkType: hard
"rollup-plugin-replace@npm:^2.2.0":
version: 2.2.0
resolution: "rollup-plugin-replace@npm:2.2.0"
dependencies:
magic-string: ^0.25.2
rollup-pluginutils: ^2.6.0
checksum: 5c173ec5b8eb4f6654f7cfa3816ac429be029721d7e295a215aa3b3c55521062fc2320b0fbcfec7f138e85a5d1b4c230e5b5e675791a604894b7c7d6c06edd49
languageName: node
linkType: hard
"rollup-pluginutils@npm:^2.6.0, rollup-pluginutils@npm:^2.8.1":
version: 2.8.2
resolution: "rollup-pluginutils@npm:2.8.2"
dependencies:
estree-walker: ^0.6.1
checksum: 339fdf866d8f4ff6e408fa274c0525412f7edb01dc46b5ccda51f575b7e0d20ad72965773376fb5db95a77a7fcfcab97bf841ec08dbadf5d6b08af02b7a2cf5e
languageName: node
linkType: hard
"rsvp@npm:^4.8.4": "rsvp@npm:^4.8.4":
version: 4.8.5 version: 4.8.5
resolution: "rsvp@npm:4.8.5" resolution: "rsvp@npm:4.8.5"
@ -21231,13 +21122,6 @@ jest-snapshot@test:
languageName: node languageName: node
linkType: hard linkType: hard
"sourcemap-codec@npm:^1.4.8":
version: 1.4.8
resolution: "sourcemap-codec@npm:1.4.8"
checksum: b57981c05611afef31605732b598ccf65124a9fcb03b833532659ac4d29ac0f7bfacbc0d6c5a28a03e84c7510e7e556d758d0bb57786e214660016fb94279316
languageName: node
linkType: hard
"spdx-correct@npm:^3.0.0": "spdx-correct@npm:^3.0.0":
version: 3.1.1 version: 3.1.1
resolution: "spdx-correct@npm:3.1.1" resolution: "spdx-correct@npm:3.1.1"