Skip to content

Commit

Permalink
chore(ruleset-bundler): skip commonjs in bundler for now
Browse files Browse the repository at this point in the history
  • Loading branch information
P0lip committed Dec 6, 2021
1 parent f9bdc40 commit 61c7bad
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 26 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
1 change: 0 additions & 1 deletion packages/ruleset-bundler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"url": "https://github.com/stoplightio/spectral.git"
},
"dependencies": {
"@rollup/plugin-commonjs": "~21.0.1",
"@stoplight/path": "1.3.2",
"@stoplight/spectral-core": ">=1",
"@stoplight/spectral-formats": ">=1",
Expand Down
8 changes: 1 addition & 7 deletions packages/ruleset-bundler/src/presets/node.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import * as commonjs from '@rollup/plugin-commonjs';

import { url } from '../plugins/url';
import { builtins } from '../plugins/builtins';
import type { PluginsPreset } from './types';

export const node: PluginsPreset = io => [
builtins(),
(commonjs as unknown as typeof import('@rollup/plugin-commonjs').default)(),
url(io),
];
export const node: PluginsPreset = io => [builtins(), url(io)];
18 changes: 0 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1850,23 +1850,6 @@ __metadata:
languageName: node
linkType: hard

"@rollup/plugin-commonjs@npm:~21.0.1":
version: 21.0.1
resolution: "@rollup/plugin-commonjs@npm:21.0.1"
dependencies:
"@rollup/pluginutils": ^3.1.0
commondir: ^1.0.1
estree-walker: ^2.0.1
glob: ^7.1.6
is-reference: ^1.2.1
magic-string: ^0.25.7
resolve: ^1.17.0
peerDependencies:
rollup: ^2.38.3
checksum: 3e56be58c72d655face6f361f85923ddcc3cc07760b5a3a91cfc728115dfed358fc595781148c512d53a03be8c703133379f228e78fd2aed8655fae9d83800b6
languageName: node
linkType: hard

"@rollup/pluginutils@npm:^3.1.0":
version: 3.1.0
resolution: "@rollup/pluginutils@npm:3.1.0"
Expand Down Expand Up @@ -2120,7 +2103,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@stoplight/spectral-ruleset-bundler@workspace:packages/ruleset-bundler"
dependencies:
"@rollup/plugin-commonjs": ~21.0.1
"@stoplight/path": 1.3.2
"@stoplight/spectral-core": ">=1"
"@stoplight/spectral-formats": ">=1"
Expand Down

0 comments on commit 61c7bad

Please sign in to comment.