forked from OctoLinker/OctoLinker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Continue mono repo work for plugins and resolvers (OctoLinker#441)
* Move core files into own packages * Move buildins to package plugin-javascript * Remove unused dep semver-regex * Move plugin tests * Fix plugin test imports * Fix imports * Import plugin into core package * Rename live-resolver package
- Loading branch information
1 parent
9fda080
commit b175d59
Showing
84 changed files
with
508 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
export { default as BowerManifest } from './plugins/bower-manifest.js'; | ||
export { default as Composer } from './plugins/composer-manifest.js'; | ||
export { default as CSS } from './plugins/css.js'; | ||
export { default as Docker } from './plugins/docker.js'; | ||
export { default as DotNetCore } from './plugins/dot-net-core.js'; | ||
export { default as DotNet } from './plugins/dot-net.js'; | ||
export { default as Rubygems } from './plugins/gemfile-manifest.js'; | ||
export { default as Go } from './plugins/go.js'; | ||
export { default as Haskell } from './plugins/haskell.js'; | ||
export { default as Homebrew } from './plugins/homebrew-manifest.js'; | ||
export { default as HTML } from './plugins/html.js'; | ||
export { default as Java } from './plugins/java.js'; | ||
export { default as JavaScript } from './plugins/javascript.js'; | ||
export { default as Less } from './plugins/less.js'; | ||
export { default as BowerManifest } from '@octolinker/plugin-bower-manifest'; | ||
export { default as Composer } from '@octolinker/plugin-composer-manifest'; | ||
export { default as CSS } from '@octolinker/plugin-css'; | ||
export { default as Docker } from '@octolinker/plugin-docker'; | ||
export { default as DotNetCore } from '@octolinker/plugin-dot-net-core'; | ||
export { default as DotNet } from '@octolinker/plugin-dot-net'; | ||
export { default as Rubygems } from '@octolinker/plugin-gemfile-manifest'; | ||
export { default as Go } from '@octolinker/plugin-go'; | ||
export { default as Haskell } from '@octolinker/plugin-haskell'; | ||
export { default as Homebrew } from '@octolinker/plugin-homebrew-manifest'; | ||
export { default as HTML } from '@octolinker/plugin-html'; | ||
export { default as Java } from '@octolinker/plugin-java'; | ||
export { default as JavaScript } from '@octolinker/plugin-javascript'; | ||
export { default as Less } from '@octolinker/plugin-less'; | ||
export { | ||
default as NodejsRelativePath, | ||
} from './plugins/nodejs-relative-path.js'; | ||
export { default as NpmManifest } from './plugins/npm-manifest.js'; | ||
export { default as Python } from './plugins/python.js'; | ||
export { default as RequirementsTxt } from './plugins/requirements-txt.js'; | ||
export { default as Ruby } from './plugins/ruby.js'; | ||
export { default as Rust } from './plugins/rust.js'; | ||
export { default as Sass } from './plugins/sass.js'; | ||
export { default as TypeScript } from './plugins/typescript.js'; | ||
export { default as Vim } from './plugins/vim.js'; | ||
} from '@octolinker/plugin-nodejs-relative-path'; | ||
export { default as NpmManifest } from '@octolinker/plugin-npm-manifest'; | ||
export { default as Python } from '@octolinker/plugin-python'; | ||
export { | ||
default as RequirementsTxt, | ||
} from '@octolinker/plugin-requirements-txt'; | ||
export { default as Ruby } from '@octolinker/plugin-ruby'; | ||
export { default as Rust } from '@octolinker/plugin-rust'; | ||
export { default as Sass } from '@octolinker/plugin-sass'; | ||
export { default as TypeScript } from '@octolinker/plugin-typescript'; | ||
export { default as Vim } from '@octolinker/plugin-vim'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "@octolinker/helper-process-json", | ||
"version": "1.0.0", | ||
"description": "", | ||
"repository": "https://github.com/octolinker/octolinker/tree/master/packages/helper-process-json", | ||
"license": "MIT", | ||
"main": "./index.js", | ||
"dependencies": { | ||
"JSONPath": "^0.11.2" | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "@octolinker/helper-regex-builder", | ||
"version": "1.0.0", | ||
"description": "", | ||
"repository": "https://github.com/octolinker/octolinker/tree/master/packages/helper-regex-builder", | ||
"license": "MIT", | ||
"main": "./index.js", | ||
"dependencies": { | ||
"escape-regex-string": "^1.0.4" | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "@octolinker/helper-version", | ||
"version": "1.0.0", | ||
"description": "", | ||
"repository": "https://github.com/octolinker/octolinker/tree/master/packages/helper-version", | ||
"license": "MIT", | ||
"main": "./index.js", | ||
"dependencies": { | ||
"semver": "^5.4.1" | ||
} | ||
} |
17 changes: 10 additions & 7 deletions
17
packages/core/plugins/bower-manifest.js → packages/plugin-bower-manifest/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "@octolinker/plugin-bower-manifest", | ||
"version": "1.0.0", | ||
"description": "", | ||
"repository": "https://github.com/octolinker/octolinker/tree/master/packages/plugin-bower-manifest", | ||
"license": "MIT", | ||
"main": "./index.js", | ||
"dependencies": { | ||
"@octolinker/helper-process-json": "1.0.0", | ||
"@octolinker/helper-version": "1.0.0", | ||
"@octolinker/plugin-javascript": "1.0.0", | ||
"@octolinker/helper-regex-builder": "1.0.0", | ||
"@octolinker/resolver-live-query": "1.0.0", | ||
"@octolinker/resolver-git-url": "1.0.0", | ||
"@octolinker/resolver-github-shorthand": "1.0.0", | ||
"@octolinker/helper-insert-link": "1.0.0" | ||
} | ||
} |
6 changes: 3 additions & 3 deletions
6
packages/core/plugins/composer-manifest.js → packages/plugin-composer-manifest/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "@octolinker/plugin-composer-manifest", | ||
"version": "1.0.0", | ||
"description": "", | ||
"repository": "https://github.com/octolinker/octolinker/tree/master/packages/plugin-composer-manifest", | ||
"license": "MIT", | ||
"main": "./index.js", | ||
"dependencies": { | ||
"@octolinker/helper-process-json": "1.0.0", | ||
"@octolinker/helper-regex-builder": "1.0.0", | ||
"@octolinker/resolver-live-query": "1.0.0", | ||
"@octolinker/helper-insert-link": "1.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "@octolinker/plugin-css", | ||
"version": "1.0.0", | ||
"description": "", | ||
"repository": "https://github.com/octolinker/octolinker/tree/master/packages/plugin-css", | ||
"license": "MIT", | ||
"main": "./index.js", | ||
"dependencies": { | ||
"@octolinker/resolver-relative-file": "1.0.0", | ||
"@octolinker/helper-grammar-regex-collection": "1.0.0" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...ges/core/plugins/__tests__/docker.test.js → packages/plugin-docker/__tests__/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "@octolinker/plugin-docker", | ||
"version": "1.0.0", | ||
"description": "", | ||
"repository": "https://github.com/octolinker/octolinker/tree/master/packages/plugin-docker", | ||
"license": "MIT", | ||
"main": "./index.js", | ||
"dependencies": { | ||
"@octolinker/helper-grammar-regex-collection": "1.0.0" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...re/plugins/__tests__/dot-net-core.test.js → ...es/plugin-dot-net-core/__tests__/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
packages/core/plugins/dot-net-core.js → packages/plugin-dot-net-core/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "@octolinker/plugin-dot-net-core", | ||
"version": "1.0.0", | ||
"description": "", | ||
"repository": "https://github.com/octolinker/octolinker/tree/master/packages/plugin-dot-net-core", | ||
"license": "MIT", | ||
"main": "./index.js", | ||
"dependencies": { | ||
"@octolinker/helper-process-json": "1.0.0", | ||
"@octolinker/helper-regex-builder": "1.0.0", | ||
"@octolinker/resolver-nuget": "1.0.0", | ||
"@octolinker/helper-insert-link": "1.0.0" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...es/core/plugins/__tests__/dot-net.test.js → packages/plugin-dot-net/__tests__/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "@octolinker/plugin-dot-net", | ||
"version": "1.0.0", | ||
"description": "", | ||
"repository": "https://github.com/octolinker/octolinker/tree/master/packages/plugin-dot-net", | ||
"license": "MIT", | ||
"main": "./index.js", | ||
"dependencies": { | ||
"@octolinker/resolver-nuget": "1.0.0", | ||
"@octolinker/helper-grammar-regex-collection": "1.0.0" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/core/plugins/gemfile-manifest.js → packages/plugin-gemfile-manifest/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "@octolinker/plugin-gemfile-manifest", | ||
"version": "1.0.0", | ||
"description": "", | ||
"repository": "https://github.com/octolinker/octolinker/tree/master/packages/plugin-gemfile-manifest", | ||
"license": "MIT", | ||
"main": "./index.js", | ||
"dependencies": { | ||
"@octolinker/resolver-live-query": "1.0.0", | ||
"@octolinker/helper-grammar-regex-collection": "1.0.0" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/core/plugins/__tests__/go.test.js → packages/plugin-go/__tests__/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "@octolinker/plugin-go", | ||
"version": "1.0.0", | ||
"description": "", | ||
"repository": "https://github.com/octolinker/octolinker/tree/master/packages/plugin-go", | ||
"license": "MIT", | ||
"main": "./index.js", | ||
"dependencies": { | ||
"@octolinker/helper-grammar-regex-collection": "1.0.0" | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
...es/core/plugins/__tests__/haskell.test.js → packages/plugin-haskell/__tests__/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/core/plugins/haskell.js → packages/plugin-haskell/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "@octolinker/plugin-haskell", | ||
"version": "1.0.0", | ||
"description": "", | ||
"repository": "https://github.com/octolinker/octolinker/tree/master/packages/plugin-haskell", | ||
"license": "MIT", | ||
"main": "./index.js", | ||
"dependencies": { | ||
"@octolinker/resolver-github-search": "1.0.0", | ||
"@octolinker/helper-grammar-regex-collection": "1.0.0" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...ugins/__tests__/homebrew-manifest.test.js → ...ugin-homebrew-manifest/__tests__/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/core/plugins/homebrew-manifest.js → packages/plugin-homebrew-manifest/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.