-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Get all tests running with ESM. (#197)
* Get tests working. * Update snapshots. * Get working. * Update snapshots. * Polish. * Fixes. * Move mock. * Fix mock. * Update snapshots. * Fix windows test. * Enable moonbase. * Fix test.
- Loading branch information
Showing
73 changed files
with
656 additions
and
635 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,6 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
cache: yarn | ||
- name: Add key to allow access to repository | ||
env: | ||
SSH_AUTH_SOCK: /tmp/ssh_agent.sock | ||
|
@@ -32,7 +30,6 @@ jobs: | |
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "gh-actions" | ||
yarn install --immutable | ||
yarn run pack | ||
yarn run moon run :pack | ||
cd website | ||
yarn run deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
"moon": "$(yarn bin moon) --color", | ||
"coverage": "yarn test --coverage", | ||
"docs": "cd website && yarn run start", | ||
"test": "NODE_ENV=test BOOSTJS_ENV=test vitest", | ||
"release": "yarn run pack && yarn run check && lerna-release", | ||
"version": "yarn install && git add yarn.lock", | ||
"packemon": "yarn dlx --package [email protected] --package typescript --quiet packemon" | ||
|
@@ -15,19 +14,17 @@ | |
"node": "20.11.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.23.9", | ||
"@moonrepo/cli": "^1.21.3", | ||
"@moonrepo/dev": "^2.0.1", | ||
"@types/babel__core": "^7.20.5", | ||
"@types/exit": "^0.1.31", | ||
"@types/fs-extra": "^11.0.1", | ||
"@types/lodash": "^4.14.194", | ||
"@types/lodash-es": "^4.17.12", | ||
"@types/pluralize": "^0.0.29", | ||
"@types/react": "^17.0.58", | ||
"@types/semver": "^7.3.13", | ||
"@types/split": "^1.0.2", | ||
"@types/wrap-ansi": "^3.0.0", | ||
"babel-preset-moon": "^2.0.14", | ||
"@vitest/coverage-v8": "^1.2.2", | ||
"eslint": "^8.56.0", | ||
"eslint-config-moon": "^2.1.1", | ||
"fs-extra": "^11.1.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
function size() { | ||
return { columns: 80, rows: 80 }; | ||
} | ||
|
||
size.size = size; | ||
|
||
module.exports = size; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.