Skip to content

Commit

Permalink
test: add test cases for vite v5
Browse files Browse the repository at this point in the history
  • Loading branch information
janbiasi committed Feb 23, 2024
1 parent df88888 commit 3f5913c
Show file tree
Hide file tree
Showing 26 changed files with 1,479 additions and 869 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pnpm run build
- run: pnpm run build-fixtures
- run: pnpm run test

publish:
Expand All @@ -43,6 +45,7 @@ jobs:
with:
fetch-depth: 0
- uses: ./.github/actions/setup
- run: pnpm run build
- run: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pnpm-lock.yaml
.all-contributorsrc
test
test/fixtures/**
5 changes: 3 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"editor.defaultFormatter": "esbenp.prettier-vscode"
"typescript.tsdk": "./node_modules/typescript/lib",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"typescript.enablePromptUseWorkspaceTsdk": true
}
17 changes: 12 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"type": "module",
"name": "rollup-plugin-sbom",
"version": "0.1.0",
"description": "",
"version": "1.0.0",
"description": "A rollup and vite plugin to generate SBOMs for your application",
"packageManager": "[email protected]",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
Expand All @@ -20,7 +20,9 @@
"lint:eslint": "eslint .",
"dev": "unbuild --stub",
"build": "unbuild",
"test": "exit 0",
"build-fixtures": "pnpm --filter \"@fixtures/*\" run build",
"dev:test": "vitest watch",
"test": "vitest run --coverage",
"preinstall": "npx only-allow pnpm",
"prepare": "husky install",
"prepublishOnly": "pnpm build",
Expand Down Expand Up @@ -56,13 +58,18 @@
"@types/node": "^20",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"@vitest/coverage-v8": "^0.34.6",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
"eslint": "^8.54.0",
"fast-xml-parser": "^4.3.2",
"husky": "^8.0.0",
"lint-staged": "^15.1.0",
"prettier": "3.1.0",
"rollup": "4.5.1",
"semantic-release": "^22.0.8",
"typescript": "5.2.2",
"unbuild": "2.0.0"
"typescript": "5.3.2",
"unbuild": "2.0.0",
"vitest": "0.34.6"
}
}
Loading

0 comments on commit 3f5913c

Please sign in to comment.