eolang 0.23.0 → 0.24.0
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.
- package/.yamllint.yml +31 -0
- package/README.md +1 -1
- package/eo-version.txt +1 -1
- package/home-tag.txt +1 -1
- package/mvnw/pom.xml +2 -2
- package/package.json +4 -4
- package/src/commands/assemble.js +0 -1
- package/src/commands/clean.js +1 -1
- package/src/version.js +2 -2
package/.yamllint.yml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# The MIT License (MIT)
|
|
2
|
+
#
|
|
3
|
+
# Copyright (c) 2022-2024 Objectionary.com
|
|
4
|
+
#
|
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
# of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
# in the Software without restriction, including without limitation the rights
|
|
8
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
# copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
# furnished to do so, subject to the following conditions:
|
|
11
|
+
#
|
|
12
|
+
# The above copyright notice and this permission notice shall be included
|
|
13
|
+
# in all copies or substantial portions of the Software.
|
|
14
|
+
#
|
|
15
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
# SOFTWARE.
|
|
22
|
+
---
|
|
23
|
+
extends: default
|
|
24
|
+
rules:
|
|
25
|
+
line-length: disable
|
|
26
|
+
brackets:
|
|
27
|
+
min-spaces-inside: 1
|
|
28
|
+
max-spaces-inside: 2
|
|
29
|
+
truthy:
|
|
30
|
+
level: warning
|
|
31
|
+
allowed-values: [ 'on', 'true', 'false', 'yes', 'no' ]
|
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ First, you install [npm][npm-install] and [Java SE][java-se].
|
|
|
14
14
|
Then, you install [eolang][npm] package:
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
npm install -g eolang
|
|
17
|
+
npm install -g eolang@0.23.0
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
Then, you write a simple [EO](https://www.eolang.org) program in `hello.eo` file
|
package/eo-version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.43.1
|
package/home-tag.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0.43.1
|
package/mvnw/pom.xml
CHANGED
|
@@ -29,7 +29,7 @@ SOFTWARE.
|
|
|
29
29
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
30
30
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
31
31
|
<eo.version>undefined</eo.version>
|
|
32
|
-
<jeo.version>0.6.
|
|
32
|
+
<jeo.version>0.6.21</jeo.version>
|
|
33
33
|
</properties>
|
|
34
34
|
<dependencies>
|
|
35
35
|
<dependency>
|
|
@@ -96,7 +96,7 @@ SOFTWARE.
|
|
|
96
96
|
</plugin>
|
|
97
97
|
<plugin>
|
|
98
98
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
99
|
-
<version>3.5.
|
|
99
|
+
<version>3.5.2</version>
|
|
100
100
|
<configuration>
|
|
101
101
|
<failIfNoTests>true</failIfNoTests>
|
|
102
102
|
</configuration>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eolang",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"author": "Yegor Bugayenko <yegor256@gmail.com> (https://www.yegor256.com/)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "objectionary/eoc",
|
|
@@ -34,20 +34,20 @@
|
|
|
34
34
|
"commander": "12.1.0",
|
|
35
35
|
"eo2js": "0.0.7",
|
|
36
36
|
"fast-xml-parser": "4.5.0",
|
|
37
|
-
"node": "23.
|
|
37
|
+
"node": "23.2.0",
|
|
38
38
|
"relative": "3.0.2",
|
|
39
39
|
"semver": "7.6.3",
|
|
40
40
|
"sync-request": "6.1.0",
|
|
41
41
|
"xmlhttprequest": "1.8.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"eslint": "9.
|
|
44
|
+
"eslint": "9.14.0",
|
|
45
45
|
"eslint-config-google": "0.14.0",
|
|
46
46
|
"grunt": "1.6.1",
|
|
47
47
|
"grunt-contrib-clean": "2.0.1",
|
|
48
48
|
"grunt-eslint": "24.3.0",
|
|
49
49
|
"grunt-mocha-cli": "^7.0.0",
|
|
50
|
-
"mocha": "^10.8.
|
|
50
|
+
"mocha": "^10.8.2"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"test": "mocha --timeout 1200000"
|
package/src/commands/assemble.js
CHANGED
|
@@ -33,7 +33,6 @@ const {mvnw, flags} = require('../mvnw');
|
|
|
33
33
|
*/
|
|
34
34
|
module.exports = function(opts) {
|
|
35
35
|
const target = path.resolve(opts.target);
|
|
36
|
-
console.info('Assembling into %s', rel(target));
|
|
37
36
|
return mvnw(['eo:assemble'].concat(flags(opts)), opts.target, opts.batch).then((r) => {
|
|
38
37
|
console.info('EO program assembled in %s', rel(target));
|
|
39
38
|
return r;
|
package/src/commands/clean.js
CHANGED
|
@@ -33,8 +33,8 @@ const os = require('os');
|
|
|
33
33
|
*/
|
|
34
34
|
module.exports = function(opts) {
|
|
35
35
|
const home = path.resolve(opts.target);
|
|
36
|
-
fs.rmSync(home, {recursive: true, force: true});
|
|
37
36
|
if (fs.existsSync(home)) {
|
|
37
|
+
fs.rmSync(home, {recursive: true, force: true});
|
|
38
38
|
console.info('The directory %s deleted', rel(home));
|
|
39
39
|
} else {
|
|
40
40
|
console.info('The directory %s doesn\'t exist, no need to delete', rel(home));
|
package/src/version.js
CHANGED