forked from shadowwalker/next-pwa
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(ci,deps): updated deps, added .gitlab-ci.yml, revamped test-…
…utils [bump]
- Loading branch information
Showing
62 changed files
with
2,138 additions
and
1,329 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
default: | ||
image: node:20.10.0 | ||
before_script: | ||
- corepack enable pnpm | ||
- pnpm config set store-dir .pnpm-store | ||
- pnpm i | ||
cache: | ||
key: | ||
files: | ||
- pnpm-lock.yaml | ||
paths: | ||
- .pnpm-store | ||
|
||
workflow: | ||
rules: | ||
- if: '$CI_COMMIT_MESSAGE !~ /\[skip ci\]/' | ||
|
||
stages: | ||
- build-and-test | ||
- publish | ||
|
||
build-and-test-job: | ||
stage: build-and-test | ||
script: | ||
- pnpm build | ||
- pnpm typecheck | ||
- NEXT_TEST_MODE=dev pnpm test -- -- --ci --runInBand | ||
- NEXT_TEST_MODE=start pnpm test -- -- --ci --runInBand | ||
|
||
publish-job: | ||
stage: publish | ||
id_tokens: | ||
SIGSTORE_ID_TOKEN: | ||
aud: sigstore | ||
script: | ||
- pnpm build | ||
- pnpm typecheck | ||
- pnpm serwist-release | ||
rules: | ||
- if: '$CI_COMMIT_BRANCH == "master" && | ||
$CI_PIPELINE_SOURCE != "merge_request_event" && | ||
($CI_COMMIT_TITLE =~ /chore\(packages\): publish packages/ || $CI_COMMIT_MESSAGE =~ /\[bump\]/)' |
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,4 @@ self.addEventListener("notificationclick", (event) => { | |
); | ||
}); | ||
|
||
export {}; | ||
export type {}; |
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 |
---|---|---|
|
@@ -3,13 +3,8 @@ | |
"type": "module", | ||
"license": "MIT", | ||
"private": true, | ||
"packageManager": "[email protected]", | ||
"workspaces": [ | ||
"docs", | ||
"packages/**", | ||
"examples/**", | ||
"!examples/**/.next" | ||
], | ||
"packageManager": "[email protected]", | ||
"workspaces": ["docs", "packages/**", "examples/**", "!**/.next", "next-pwa-e2e-test"], | ||
"scripts": { | ||
"build": "cross-env FORCE_COLOR=1 turbo run build --filter=./packages/*", | ||
"code-check": "biome check --max-diagnostics=150 --log-kind=compact .", | ||
|
@@ -27,24 +22,25 @@ | |
"publish-packages": "pnpm typecheck && pnpm lint && pnpm build && changeset publish", | ||
"test": "cross-env FORCE_COLOR=1 turbo run test --filter=./packages/*", | ||
"typecheck": "cross-env FORCE_COLOR=1 turbo run typecheck" | ||
}, | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.5.3", | ||
"@biomejs/biome": "1.6.4", | ||
"@changesets/changelog-github": "0.5.0", | ||
"@changesets/cli": "2.27.1", | ||
"@ducanh2912/next-pwa": "workspace:*", | ||
"@types/node": "20.11.24", | ||
"@serwist/release": "workspace:*", | ||
"@types/node": "20.12.4", | ||
"@types/shell-quote": "1.7.5", | ||
"@typescript-eslint/eslint-plugin": "7.1.1", | ||
"@typescript-eslint/parser": "7.1.1", | ||
"@typescript-eslint/eslint-plugin": "7.5.0", | ||
"@typescript-eslint/parser": "7.5.0", | ||
"cross-env": "7.0.3", | ||
"fast-glob": "3.3.2", | ||
"jest": "29.7.0", | ||
"npm-check-updates": "16.14.15", | ||
"npm-check-updates": "16.14.18", | ||
"rimraf": "5.0.5", | ||
"shell-quote": "1.8.1", | ||
"tslib": "2.6.2", | ||
"turbo": "1.12.4", | ||
"typescript": "5.5.0-dev.20240306" | ||
"turbo": "1.13.2", | ||
"typescript": "5.5.0-dev.20240404" | ||
} | ||
} |
Oops, something went wrong.