<commit_before>/* eslint-disable no-var, prefer-arrow-callback */
var packages = [
  'ecmascript',
  'isobuild:compiler-plugin@1.0.0',
];

Package.describe({
  name: 'swydo:graphql',
  version: '0.2.0',
  summary: 'Compiler plugin that supports GraphQL files in Meteor',
  git: 'https://github.com/swydo/meteor-graphql',
  documentation: 'README.md',
});

Package.registerBuildPlugin({
  name: 'compile-graphql',
  use: [
    'ecmascript',
  ],
  sources: [
    'compiler.js',
    'plugin.js',
  ],
  npmDependencies: {
    graphql: '0.10.1',
    'graphql-tag': '2.4.0',
  },
});

Package.onUse(function use(api) {
  api.versionsFrom('1.3.2.4');

  api.use(packages, ['server', 'client']);
});

Package.onTest(function test(api) {
  api.use(packages, ['server', 'client']);
  api.use('swydo:graphql');

  api.use([
    'practicalmeteor:mocha',
    'practicalmeteor:sinon',
    'dispatch:mocha-phantomjs',
  ]);

  api.mainModule('specs/server.spec.js', 'server');
  api.mainModule('specs/client.spec.js', 'client');
});
<commit_msg>Update graphql version<commit_after>/* eslint-disable no-var, prefer-arrow-callback */
var packages = [
  'ecmascript',
  'isobuild:compiler-plugin@1.0.0',
];

Package.describe({
  name: 'swydo:graphql',
  version: '0.2.0',
  summary: 'Compiler plugin that supports GraphQL files in Meteor',
  git: 'https://github.com/swydo/meteor-graphql',
  documentation: 'README.md',
});

Package.registerBuildPlugin({
  name: 'compile-graphql',
  use: [
    'ecmascript',
  ],
  sources: [
    'compiler.js',
    'plugin.js',
  ],
  npmDependencies: {
    graphql: '0.11.3',
    'graphql-tag': '2.4.0',
  },
});

Package.onUse(function use(api) {
  api.versionsFrom('1.3.2.4');

  api.use(packages, ['server', 'client']);
});

Package.onTest(function test(api) {
  api.use(packages, ['server', 'client']);
  api.use('swydo:graphql');

  api.use([
    'practicalmeteor:mocha',
    'practicalmeteor:sinon',
    'dispatch:mocha-phantomjs',
  ]);

  api.mainModule('specs/server.spec.js', 'server');
  api.mainModule('specs/client.spec.js', 'client');
});

{'fraction_non_alphanumeric': 0.20453449107573565, 'fraction_numerical': 0.016401350699469366, 'mean_word_length': 3.9975903614457833, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1393244', 'n_tokens_mistral': 820, 'n_tokens_neox': 789, 'n_words': 120}