File tree 7 files changed +91
-0
lines changed
7 files changed +91
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ jobs :
3
+ build :
4
+ docker :
5
+ - image : circleci/node
6
+ steps :
7
+ - checkout
8
+ - run : sudo npm install -g yarn semantic-release
9
+ - run : semantic-release
Original file line number Diff line number Diff line change
1
+ node_modules
2
+ .idea
3
+ dist
4
+ .DS_Store
5
+ * .log
Original file line number Diff line number Diff line change 1
1
# graphql-import-loader
2
+
3
+ [ ![ CircleCI] ( https://circleci.com/gh/graphcool/graphql-import-loader.svg?style=shield )] ( https://circleci.com/gh/graphcool/graphql-import-loader ) [ ![ npm version] ( https://badge.fury.io/js/graphql-import-loader.svg )] ( https://badge.fury.io/js/graphql-import-loader )
4
+
5
+
2
6
Webpack loader for ` graphql-import `
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " graphql-import-loader" ,
3
+ "version" : " 0.0.0-semantic-release" ,
4
+ "main" : " dist/src/index.js" ,
5
+ "typings" : " ./dist/src/index.d.ts" ,
6
+ "files" : [
7
+ " dist"
8
+ ],
9
+ "repository" : {
10
+ "type" : " git" ,
11
+ "url" : " git+https://github.com/graphcool/graphql-import-loader.git"
12
+ },
13
+ "keywords" : [
14
+ " graphql" ,
15
+ " import" ,
16
+ " webpack" ,
17
+ " loader" ,
18
+ " module"
19
+ ],
20
+ "license" : " MIT" ,
21
+ "bugs" : {
22
+ "url" : " https://github.com/graphcool/graphql-import-loader/issues"
23
+ },
24
+ "homepage" : " https://github.com/graphcool/graphql-import-loader" ,
25
+ "scripts" : {
26
+ "prepare" : " npm run build" ,
27
+ "build" : " rm -rf dist && tsc -d" ,
28
+ "test" : " npm run build"
29
+ },
30
+ "devDependencies" : {
31
+ "typescript" : " 2.7.2"
32
+ },
33
+ "dependencies" : {
34
+ "graphql-import" : " ^0.4.5"
35
+ }
36
+ }
Original file line number Diff line number Diff line change
1
+ import { importSchema } from 'graphql-import'
2
+
3
+ export default source => {
4
+ this . value = source
5
+ return `module.exports = \`${ importSchema ( source ) } \``
6
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "compilerOptions" : {
3
+ "module" : " commonjs" ,
4
+ "moduleResolution" : " node" ,
5
+ "rootDir" : " ." ,
6
+ "target" : " es5" ,
7
+ "sourceMap" : true ,
8
+ "strictNullChecks" : true ,
9
+ "noUnusedLocals" : true ,
10
+ "outDir" : " dist" ,
11
+ "lib" : [" es2015" ]
12
+ },
13
+ "exclude" : [" node_modules" ]
14
+ }
Original file line number Diff line number Diff line change
1
+ # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2
+ # yarn lockfile v1
3
+
4
+
5
+ graphql-import@^0.4.5 :
6
+ version "0.4.5"
7
+ resolved "https://registry.yarnpkg.com/graphql-import/-/graphql-import-0.4.5.tgz#e2f18c28d335733f46df8e0733d8deb1c6e2a645"
8
+ dependencies :
9
+ lodash "^4.17.4"
10
+
11
+ lodash@^4.17.4 :
12
+ version "4.17.5"
13
+ resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"
14
+
15
+
16
+ version "2.7.2"
17
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.7.2.tgz#2d615a1ef4aee4f574425cdff7026edf81919836"
You can’t perform that action at this time.
0 commit comments