eolang 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,5 +13,5 @@ jobs:
13
13
  - uses: actions/setup-node@v1
14
14
  with:
15
15
  node-version: ${{ matrix.node-version }}
16
- - run: npm ci
16
+ - run: npm install
17
17
  - run: grunt
package/.rultor.yml CHANGED
@@ -2,7 +2,7 @@ assets:
2
2
  npmrc: objectionary/secrets#npmrc
3
3
  install: |
4
4
  pip install git+https://chromium.googlesource.com/external/gyp
5
- npm install --no-color --include dev
5
+ npm install --no-color
6
6
  sudo npm install --no-color --global grunt-cli
7
7
  npm uninstall --no-color grunt-cli
8
8
  npm install --no-color mocha
package/package.json CHANGED
@@ -1,15 +1,17 @@
1
1
  {
2
2
  "name": "eolang",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "author": "Yegor Bugayenko",
5
5
  "license": "MIT",
6
6
  "repository": "objectionary/eoc",
7
7
  "bin": {
8
8
  "eoc": "./src/eoc.js"
9
9
  },
10
+ "dependencies": {
11
+ "commander": "9.2.0"
12
+ },
10
13
  "devDependencies": {
11
14
  "blanket": "1.2.3",
12
- "commander": "9.2.0",
13
15
  "eslint": "5.15.3",
14
16
  "eslint-config-google": "0.12.0",
15
17
  "grunt": "^1.5.3",
@@ -18,8 +20,5 @@
18
20
  "grunt-mocha-test": "0.13.3",
19
21
  "mocha": "^10.0.0",
20
22
  "mochawesome": "7.1.3"
21
- },
22
- "dependencies": {
23
- "dev": "^0.1.3"
24
23
  }
25
24
  }
package/src/eoc.js CHANGED
@@ -38,20 +38,20 @@ program
38
38
  .option('-t, --target <path>');
39
39
 
40
40
  program.command('parse')
41
- .description('parse EO source code into XMIR')
42
- // .argument('<test>', 'test argument')
43
- // .option('--a', 'test text')
44
- .option('-b, --bbb <char>', 'test text', ',')
45
- .action((str, options) => {
46
- exec('echo BOOM', function(error, stdout, stderr) {
47
- console.log('stdout: ' + stdout);
48
- console.log('stderr: ' + stderr);
49
- if (error !== null) {
50
- console.log('exec error: ' + error);
51
- }
41
+ .description('parse EO source code into XMIR')
42
+ // .argument('<test>', 'test argument')
43
+ // .option('--a', 'test text')
44
+ .option('-b, --bbb <char>', 'test text', ',')
45
+ .action((str, options) => {
46
+ exec('echo BOOM', function(error, stdout, stderr) {
47
+ console.log('stdout: ' + stdout);
48
+ console.log('stderr: ' + stderr);
49
+ if (error !== null) {
50
+ console.log('exec error: ' + error);
51
+ }
52
+ });
53
+ console.log(program.opts());
54
+ console.log('hello, world!');
52
55
  });
53
- console.log(program.opts());
54
- console.log('hello, world!');
55
- });
56
56
 
57
57
  program.parse();
package/src/version.js CHANGED
@@ -23,4 +23,4 @@
23
23
  * SOFTWARE.
24
24
  */
25
25
 
26
- module.exports = '0.0.2';
26
+ module.exports = '0.0.3';