Skip to content

Commit 5203205

Browse files
committed
chore: 🤖 unify build commands + package upgrades
Also fixed several breakge made by the move to nx 19
1 parent 7a11061 commit 5203205

18 files changed

+3667
-4230
lines changed

.eslintrc.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,18 @@
4242
"groups": ["builtin", "external", "internal", "parent", "sibling"],
4343
"newlines-between": "always"
4444
}
45-
]
45+
],
46+
"@typescript-eslint/no-extra-semi": "error",
47+
"no-extra-semi": "off"
4648
}
4749
},
4850
{
4951
"files": ["*.js", "*.jsx"],
5052
"extends": ["plugin:@nx/javascript"],
51-
"rules": {}
53+
"rules": {
54+
"@typescript-eslint/no-extra-semi": "error",
55+
"no-extra-semi": "off"
56+
}
5257
},
5358
{
5459
"files": ["**/*.spec.ts", "**/mocks.ts", "**/test-setup.ts"],

.github/workflows/ci.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ jobs:
1111
- name: Setup
1212
uses: ./.github/actions/step-setup
1313

14-
- name: Run build
14+
- name: Build libs & apps
1515
run: npm run ci:build
1616

17+
- name: Build docs
18+
run: cd docs && npm i && npm run build
19+
1720
test:
1821
runs-on: ubuntu-latest
1922
steps:

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,6 @@ Thumbs.db
4343
apps/transloco-playground-e2e/cypress/screenshots/*
4444

4545
.nx/cache
46+
.nx/workspace-data
4647

4748
.nx

.husky/commit-msg

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx --no-install commitlint --edit $1

.husky/pre-commit

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npm run pre-commit

.prettierignore

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@
55
/docs/docs
66

77
/.nx/cache
8+
9+
/.nx/workspace-data

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ npm start
4747
## Building
4848

4949
```bash
50-
npm run build:[package]
50+
npm run build [package]
5151
```
5252

5353
Note: Don't use nx directly as some apps might have further building steps

CREATE_LIBS.md

-38
This file was deleted.

apps/transloco-playground/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"with": "apps/transloco-playground/src/environments/environment.docs.ts"
4444
}
4545
],
46-
"indexFileTransformer": "apps/transloco-playground/index-html-transform.ts",
46+
"indexHtmlTransformer": "apps/transloco-playground/index-html-transform.ts",
4747
"outputHashing": "all"
4848
},
4949
"development": {

0 commit comments

Comments
 (0)