Skip to content

Commit

Permalink
[optimize] enable NPM provenance for CI/CD
Browse files Browse the repository at this point in the history
[optimize] update Upstream packages
  • Loading branch information
TechQuery committed Aug 14, 2024
1 parent 24c15f7 commit a9f0db4
Show file tree
Hide file tree
Showing 7 changed files with 709 additions and 758 deletions.
1 change: 0 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"no-unused-vars": "warn",
"no-undef": "warn",
"@typescript-eslint/ban-ts-comment": "warn",
"@typescript-eslint/ban-types": "warn",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unsafe-declaration-merging": "off",
"@typescript-eslint/no-namespace": "warn",
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
jobs:
Build-and-Publish:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v3

Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
provenance = true
auto-install-peers = false
4 changes: 2 additions & 2 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Config } from '@jest/types';
import { JestConfigWithTsJest } from 'ts-jest';

const options: Config.InitialOptions = {
const options: JestConfigWithTsJest = {
testEnvironment: 'jsdom',
preset: 'ts-jest',
transform: {
Expand Down
2 changes: 1 addition & 1 deletion pack-docs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mkdir dist/
mkdir -p dist/
cp ReadMe.md dist/
cp guide/*.md dist/
cd dist/
Expand Down
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web-cell",
"version": "3.0.0-rc.18",
"version": "3.0.0",
"description": "Web Components engine based on VDOM, JSX, MobX & TypeScript",
"keywords": [
"web",
Expand Down Expand Up @@ -38,34 +38,33 @@
"jsdom": ">=23.1"
},
"devDependencies": {
"@jest/types": "^29.6.3",
"@parcel/config-default": "~2.12.0",
"@parcel/packager-ts": "~2.12.0",
"@parcel/transformer-typescript-tsc": "~2.12.0",
"@parcel/transformer-typescript-types": "~2.12.0",
"@types/dom-view-transitions": "^1.0.5",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.17.0",
"core-js": "^3.37.1",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0",
"core-js": "^3.38.0",
"element-internals-polyfill": "^1.3.11",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.1.3",
"husky": "^9.1.4",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^24.1.1",
"lint-staged": "^15.2.7",
"lint-staged": "^15.2.9",
"open-cli": "^8.0.0",
"parcel": "~2.12.0",
"prettier": "^3.3.3",
"prettier-plugin-sh": "^0.14.0",
"replace": "^1.2.2",
"rimraf": "^5.0.9",
"ts-jest": "^29.2.3",
"rimraf": "^5.0.10",
"ts-jest": "^29.2.4",
"ts-node": "^10.9.2",
"typedoc": "^0.26.5",
"typedoc-plugin-mdn-links": "^3.2.5",
"typedoc-plugin-mdn-links": "^3.2.8",
"typescript": "~5.5.4"
},
"scripts": {
Expand Down
Loading

0 comments on commit a9f0db4

Please sign in to comment.