Skip to content

Commit

Permalink
Begin the nx transition
Browse files Browse the repository at this point in the history
  • Loading branch information
hildjj committed Jun 24, 2024
1 parent 4a91fbd commit 672530e
Show file tree
Hide file tree
Showing 8 changed files with 2,624 additions and 3,139 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
node_modules/
*.d.ts
coverage/



.nx/cache
.nx/workspace-data
2 changes: 1 addition & 1 deletion ava.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default {
files: [
'pkg/*/test/*.ava.js',
'**/test/*.ava.js',
],
};
8 changes: 0 additions & 8 deletions lerna.json

This file was deleted.

12 changes: 12 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"defaultBase": "main",
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [ "build" ]
}
}
}
}
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,20 @@
"license": "MIT",
"devDependencies": {
"@cto.af/eslint-config": "4.0.2",
"@nx/js": "19.3.1",
"@swc-node/register": "~1.9.1",
"@swc/core": "~1.5.7",
"@swc/helpers": "~0.5.11",
"@types/node": "20.14.8",
"ava": "6.1.3",
"c8": "10.1.2",
"eslint": "8.57.0",
"eslint-plugin-node": "11.1.0",
"lerna": "^8.1.5",
"nx": "19.3.1",
"typescript": "5.5.2"
},
"packageManager": "pnpm@9.4.0",
"engines": {
"node": ">=18"
},
"workspaces": [
"pkg/*"
]
"dependencies": {}
}
4 changes: 2 additions & 2 deletions pkg/chex-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"chex": "bin/chex.js"
},
"repository": {
"type" : "git",
"url" : "https://github.com/cto-af/chex.git",
"type": "git",
"url": "https://github.com/cto-af/chex.git",
"directory": "pkg/chex-cli"
},
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions pkg/chex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"main": "lib/index.js",
"type": "module",
"repository": {
"type" : "git",
"url" : "https://github.com/cto-af/chex.git",
"type": "git",
"url": "https://github.com/cto-af/chex.git",
"directory": "pkg/chex"
},
"scripts": {
Expand Down
5,717 changes: 2,596 additions & 3,121 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

0 comments on commit 672530e

Please sign in to comment.