Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"postCreateCommand": "pnpm install --frozen-lockfile"
"postCreateCommand": "bash .devcontainer/postcreate.sh"
}
9 changes: 9 additions & 0 deletions .devcontainer/postcreate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Doppler ######################################################
# See https://docs.doppler.com/docs/install-cli#installation
sudo apt-get update && sudo apt-get install -y apt-transport-https ca-certificates curl gnupg
curl -sLf --retry 3 --tlsv1.2 --proto "=https" 'https://packages.doppler.com/public/cli/gpg.DE2A7741A397C129.key' | sudo gpg --dearmor -o /usr/share/keyrings/doppler-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/doppler-archive-keyring.gpg] https://packages.doppler.com/public/cli/deb/debian any-version main" | sudo tee /etc/apt/sources.list.d/doppler-cli.list
sudo apt-get update && sudo apt-get install doppler
# ##############################################################

pnpm install --frozen-lockfile
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,24 @@ jobs:
- run: pnpm install --frozen-lockfile
- env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm test
run: pnpm verify
- if: always()
uses: actions/upload-artifact@v4
with:
if-no-files-found: ignore
name: Images from tests
name: Data from tests
path: test-results/*/**
- if: matrix.os == 'ubuntu-latest' && matrix.node == 20
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
strategy:
matrix:
include:
- node: 18
os: ubuntu-latest
- node: 20
os: ubuntu-latest
- node: 22
os: ubuntu-latest
- node: 20
os: macos-latest
- node: 20
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
/.env.json
/.nyc_output
/.test.env.json
/codecov
/codecov.SHA256SUM
/codecov.SHA256SUM.sig
/coverage
/dist
/node_modules
Expand Down
6 changes: 6 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ image:
tasks:
- before: |-
echo "corepack enable" >> /home/gitpod/.bashrc

# Prevent this prompt:
# pnpm install --frozen-lockfile
# ! Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-10.7.1.tgz
# ? Do you want to continue? [Y/n]
echo "export COREPACK_ENABLE_DOWNLOAD_PROMPT=0" >> /home/gitpod/.bashrc

gitpod-env-per-project >> /home/gitpod/.bashrc
echo "export PUPPETEER_CACHE_DIR=/workspace/eslint-plugin-import-alias/node_modules/.cache/puppeteer" >> /home/gitpod/.bashrc
echo "export PLAYWRIGHT_BROWSERS_PATH=0" >> /home/gitpod/.bashrc
Expand Down
7 changes: 1 addition & 6 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/github",
{
"successComment": false
}
],
"@semantic-release/github",
[
"@semantic-release/git",
{
Expand Down
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
".vscode": true,
"CHANGELOG.md": true,
"LICENSE.md": true,
"babel.config.json": true,
"codecov": true,
"codecov.SHA256SUM": true,
"codecov.SHA256SUM.sig": true,
"coverage": true,
"dist": true,
"eslint.config.ts": true,
Expand Down
35 changes: 23 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@
"license": "MIT",
"author": "Sebastian Landwehr <info@sebastianlandwehr.com>",
"type": "module",
"exports": "./dist/index.js",
"exports": {
".": {
"import": {
"default": "./dist/index.js",
"types": "./dist/index.d.ts"
}
}
},
"main": "dist/index.js",
"files": [
"dist"
Expand All @@ -41,26 +48,30 @@
"lint": "base lint",
"prepare": "base prepare",
"prepublishOnly": "base prepublishOnly",
"test": "base test"
"test": "base test",
"typecheck": "base typecheck",
"verify": "base verify"
},
"dependencies": {
"@babel/core": "^7.27.4",
"@dword-design/defu": "^1.0.0",
"@babel/core": "^7.28.0",
"@dword-design/defu": "^1.0.3",
"babel-plugin-module-resolver": "^5.0.2"
},
"devDependencies": {
"@dword-design/base": "^13.0.1",
"@playwright/test": "^1.52.0",
"depcheck-package-name": "^3.0.1",
"endent": "npm:@dword-design/endent@^1.4.1",
"eslint": "^9.28.0",
"@dword-design/base": "^15.2.4",
"@playwright/test": "^1.54.2",
"@types/babel__core": "^7.20.5",
"@types/lodash-es": "^4.17.12",
"depcheck-package-name": "^4.0.0",
"endent": "npm:@dword-design/endent@^1.4.7",
"eslint": "^9.32.0",
"lodash-es": "^4.17.21",
"output-files": "^2.0.32",
"typescript-eslint": "^8.33.1"
"output-files": "^3.0.0",
"typescript-eslint": "^8.38.0"
},
"packageManager": "pnpm@10.11.1+sha512.e519b9f7639869dc8d5c3c5dfef73b3f091094b0a006d7317353c72b124e80e1afd429732e28705ad6bfa1ee879c1fce46c128ccebd3192101f43dd67c667912",
"engines": {
"node": ">=18"
"node": ">=20"
},
"publishConfig": {
"access": "public"
Expand Down
Loading
Loading