Skip to content

Commit

Permalink
refactor!: drop cjs support
Browse files Browse the repository at this point in the history
  • Loading branch information
thepiwo committed Nov 18, 2024
1 parent 6494ded commit 241eae6
Show file tree
Hide file tree
Showing 20 changed files with 1,262 additions and 135 deletions.
9 changes: 8 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,15 @@
"@typescript-eslint/no-use-before-define": "off",
"no-use-before-define": "off"
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"project": "./tsconfig.json"
"requireConfigFile": false,
"sourceType": "module",
"project": "./tsconfig.json",
"ecmaVersion": 2020,
"ecmaFeatures": {
"modules": true
}
},
"ignorePatterns": ["tests/**"]
}
1 change: 0 additions & 1 deletion .github/workflows/pre-check-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on: [push]

jobs:
pre-check-publish:

runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/init.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Updates the project structure and needed artifacts to the latest version, as wel

## Upcoming Hard-fork initialization

The additional parameter `--next` can be used to either initialize or update a project with changes for an upcoming hard-fork if available.
The additional parameter `--next` can be used to either initialize or update a project with changes for an upcoming hard-fork if available.
6 changes: 3 additions & 3 deletions docs/next-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Aeproject can already be used for testing and setup with the upcoming node versi

Use `aeproject init --next ` to initialize a new project that has the necessary adjustments to use the latest versions.

Use `aeproject init --update --next` to update an existing project with the adjustments to use the latest versions.
Use `aeproject init --update --next` to update an existing project with the adjustments to use the latest versions.

### Manual update

- change occurrences of `utils.getSdk()` to use `utils.getSdk({ ignoreVersion: true })` if needed or use the same option for manually initialized sdk `Node` and `CompilerHttp`
- update `docker-compose.yml` to use the `latest` node and compiler tags or specify it manually in running with `aeproject env --nodeVersion latest --compilerVersion latest`
- change occurrences of `utils.getSdk()` to use `utils.getSdk({ ignoreVersion: true })` if needed or use the same option for manually initialized sdk `Node` and `CompilerHttp`
- update `docker-compose.yml` to use the `latest` node and compiler tags or specify it manually in running with `aeproject env --nodeVersion latest --compilerVersion latest`
Loading

0 comments on commit 241eae6

Please sign in to comment.