Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continue mono repo work for plugins and resolvers #441

Merged
merged 8 commits into from
Feb 3, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix plugin test imports
  • Loading branch information
Stefan Buck committed Feb 1, 2018
commit 6896074c1332fadbc2e16cb38fc0845bf16c6a7e
2 changes: 1 addition & 1 deletion packages/helper-insert-link/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { REQUIRE } from '@octolinker/helper-grammar-regex-collection';
import insertLink from '../index.js';
import insertLink from '../index';

describe('insert-link', () => {
const DEFAULT_REGEX = /foo ("\w+")/;
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-docker/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import dockerImage from '../docker';
import dockerImage from '../index';

describe('docker-image', () => {
it('resolves foo to https://hub.docker.com/_/foo', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-dot-net-core/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import dotNetCore from '../dot-net-core';
import dotNetCore from '../index';

describe('dotNetCore', () => {
it('resolves Microsoft.NETCore.App to https://www.nuget.org/packages/Microsoft.NETCore.App', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-dot-net/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import dotNet from '../dot-net';
import dotNet from '../index';

describe('dotNet', () => {
it('resolves EntityFramework to https://www.nuget.org/packages/EntityFramework', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-go/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import goUniversal from '../go';
import goUniversal from '../index';

describe('go-universal', () => {
const path = 'octo/dog.go';
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-haskell/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from 'assert';
import Haskell from '../haskell';
import githubSearch from '../../resolver/github-search.js';
import githubSearch from '@octolinker/resolver-github-search';
import Haskell from '../index';

describe('haskell', () => {
const path = '/user/repo/blob/d6/lib/plugins/javascript.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-homebrew-manifest/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import homebrew from '../homebrew-manifest';
import homebrew from '../index';

describe('homebrew-file', () => {
it('resolves a dependency of a homebrew-science formula to both homebrew-science and homebrew-core', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-java/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import Java from '../java';
import Java from '../index';

describe('Java', () => {
it('resolves java core links', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-javascript/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import plugin from '../javascript.js';
import plugin from '../index';

describe('javascript-universal', () => {
it("resolves 'foo/bar.js' like 'foo'", () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-less/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from 'assert';
import Less from '../less';
import githubSearch from '../../resolver/github-search.js';
import githubSearch from '@octolinker/resolver-github-search';
import Less from '../index';

describe('Less', () => {
const path = '/octo/dog.less';
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-nodejs-relative-path/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import plugin from '../nodejs-relative-path.js';
import plugin from '../index';

describe('nodejs-relative-path', () => {
it('resolves `__dirname + "/views"` relative to the current directory', () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-python/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from 'assert';
import python from '../python';
import liveResolverQuery from '../../resolver/live-resolver-query.js';
import liveResolverQuery from '@octolinker/resolver-live-resolver-query';
import python from '../index';

describe('python', () => {
const path = '/octo/dog.py';
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-rust/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import rustCrate from '../rust';
import rustCrate from '../index';

describe('rust-crate', () => {
it('resolves hamcrest using the live-resolver', () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-sass/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from 'assert';
import Sass from '../sass';
import githubSearch from '../../resolver/github-search.js';
import githubSearch from '@octolinker/resolver-github-search';
import Sass from '../index';

describe('Sass', () => {
const path = '/octo/dog.scss';
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-vim/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import vimPlugin from '../vim';
import vimPlugin from '../index';

describe('vim-plugin', () => {
it('resolves VundleVim/Vundle.vim to https://github.com/VundleVim/Vundle.vim', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/resolver-github-search/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import githubSearch from '../index.js';
import githubSearch from '../index';

describe('github-search', () => {
const path = '/octo/foo.txt';
Expand Down
2 changes: 1 addition & 1 deletion packages/resolver-relative-file/__tests__/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import relativeFile from '../index.js';
import relativeFile from '../index';

describe('relative-file', () => {
const path = '/octo/file.txt';
Expand Down