Skip to content
This repository was archived by the owner on May 18, 2025. It is now read-only.

Commit 2fb26fa

Browse files
committed
[fix] pnpm-lock
1 parent b5ac440 commit 2fb26fa

File tree

6 files changed

+22
-39
lines changed

6 files changed

+22
-39
lines changed

packages/storex/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@yaoapp/storex",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "Keep the type of storage value unchanged and change array and object directly. Supports listening to changes and setting expires.",
55
"author": "Wendao",
66
"license": "Apache-2.0",
@@ -25,9 +25,8 @@
2525
"module": "dist/index.js",
2626
"types": "dist/index.d.ts",
2727
"scripts": {
28-
"dev": "rollup --c rollup.config.ts --configPlugin swc3 -w",
29-
"build": "rollup --c rollup.config.ts --configPlugin swc3",
30-
"dts": "rollup --c rollup.dts.ts --configPlugin swc3",
28+
"dev": "rollup --c rollup.dev.ts --configPlugin swc3 -w",
29+
"build": "rollup --c rollup.build.ts --configPlugin swc3 & tsc",
3130
"test": "jest --runInBand"
3231
},
3332
"devDependencies": {
@@ -36,8 +35,9 @@
3635
"jest": "^29.2.2",
3736
"jest-environment-jsdom": "^29.2.2",
3837
"rollup": "^3.2.5",
39-
"rollup-plugin-dts": "^5.0.0",
38+
"rollup-plugin-delete": "^2.0.0",
4039
"rollup-plugin-swc3": "^0.8.0",
41-
"ts-jest": "^29.0.3"
40+
"ts-jest": "^29.0.3",
41+
"typescript": "^4.9.4"
4242
}
4343
}

packages/storex/rollup.build.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { defineConfig } from 'rollup'
2+
import del from 'rollup-plugin-delete'
3+
import { defineRollupSwcOption, swc } from 'rollup-plugin-swc3'
4+
5+
import config from './rollup.common'
6+
7+
export default defineConfig({
8+
...config,
9+
plugins: [swc(defineRollupSwcOption({ minify: true })), del({ targets: 'dist/*' })]
10+
})

packages/storex/rollup.dts.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/storex/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"lib": ["DOM", "ESNEXT"],
77
"moduleResolution": "node",
88
"declaration": true,
9+
"emitDeclarationOnly": true,
910
"esModuleInterop": true,
1011
"strict": true,
1112
"outDir": "dist",

pnpm-lock.yaml

Lines changed: 5 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)