Skip to content

Commit

Permalink
feat: move workspace to use typescript solution (#1168)
Browse files Browse the repository at this point in the history
* feat: move workspace to use typescript solution
  • Loading branch information
gperdomor authored Dec 10, 2024
1 parent fd80566 commit dd3e363
Show file tree
Hide file tree
Showing 104 changed files with 4,005 additions and 1,618 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ Thumbs.db

.nx/cache
.nx/workspace-data

test-output
44 changes: 0 additions & 44 deletions .gitlab-ci.yml

This file was deleted.

1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
/tmp
/.nx/cache
/.nx/workspace-data
/**/dist
2 changes: 1 addition & 1 deletion .verdaccio/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ packages:
proxy: npmjs

# log settings
logs:
log:
type: stdout
format: pretty
level: warn
Expand Down
9 changes: 1 addition & 8 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ module.exports = [
{
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'],
// Override or add rules here
rules: {
'@typescript-eslint/no-unused-vars': [
'error',
{
argsIgnorePattern: '^_',
},
],
},
rules: {},
},
];
51 changes: 26 additions & 25 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,22 @@
"!{projectRoot}/src/test-setup.[jt]s",
"!{projectRoot}/test-setup.[jt]s"
],
"sharedGlobals": ["{workspaceRoot}/.github/workflows/ci.yml", "{workspaceRoot}/.gitlab-ci.yml"]
"sharedGlobals": ["{workspaceRoot}/.github/workflows/ci.yml"]
},
"nxCloudId": "665f26ad97b7ef2700a63c6a",
"targetDefaults": {
"@nx/js:swc": {
"cache": true,
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
},
"@nx/js:tsc": {
"cache": true,
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
}
},
"release": {
"projectsRelationship": "independent",
"version": {
"preVersionCommand": "npx nx run-many -t build"
},
"changelog": {
"projectChangelogs": {
"createRelease": "github"
}
}
},
"plugins": [
{
"plugin": "@nx/js/typescript",
"options": {
"typecheck": {
"targetName": "typecheck"
},
"build": {
"targetName": "build",
"configName": "tsconfig.lib.json"
}
}
},
{
"plugin": "@nx/eslint/plugin",
"options": {
Expand All @@ -51,5 +40,17 @@
"targetName": "test"
}
}
]
],
"targetDefaults": {
"@nx/js:tsc": {
"cache": true,
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
}
},
"release": {
"version": {
"preVersionCommand": "npx nx run-many -t build"
}
}
}
Loading

0 comments on commit dd3e363

Please sign in to comment.