Skip to content

Commit

Permalink
release v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 10, 2020
1 parent 5635e8f commit 324388b
Show file tree
Hide file tree
Showing 20 changed files with 9 additions and 3,597 deletions.
16 changes: 0 additions & 16 deletions .editorconfig

This file was deleted.

50 changes: 0 additions & 50 deletions .github/slash-commands.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/release.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/slash-commands.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .prettierignore

This file was deleted.

8 changes: 0 additions & 8 deletions .prettierrc

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

150 changes: 0 additions & 150 deletions README.md

This file was deleted.

8 changes: 8 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module');
const basename = __dirname + '/index.js';
const source = readFileSync(basename + '.cache.js', 'utf-8');
const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache');
const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 }
const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts);
(script.runInThisContext())(exports, require, module, __filename, __dirname);
if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} });
Binary file added dist/index.js.cache
Binary file not shown.
1 change: 1 addition & 0 deletions dist/index.js.cache.js

Large diffs are not rendered by default.

Loading

0 comments on commit 324388b

Please sign in to comment.