create-packer 1.50.17 → 1.50.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-packer",
3
- "version": "1.50.17",
3
+ "version": "1.50.19",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/kevily/create-packer",
6
6
  "author": "1k <bug_zero@163.com>",
@@ -1 +1 @@
1
- 阅读[AGENTS](./AGENTS.md)
1
+ @AGENTS.md
@@ -10,12 +10,12 @@
10
10
  - pnpm pub: 全流程(打包->git提交->发布)一键完成
11
11
  - pnpm push: git提交
12
12
  - pnpm build: 打包组件库
13
- - pnpm docs-dev: 启动storybook
14
- - pnpm docs-build: 构建storybook
15
- - pnpm up-storybook: 升级storybook相关依赖
13
+ - pnpm dev:docs: 启动storybook
14
+ - pnpm build:docs: 构建storybook
15
+ - pnpm up:storybook: 升级storybook相关依赖
16
16
  - pnpm format: 格式化项目代码
17
17
  - pnpm lint: 代码检测
18
- - pnpm lint-fix: 代码检测并尝试修复
18
+ - pnpm lint:fix: 代码检测并尝试修复
19
19
 
20
20
 
21
21
 
@@ -16,7 +16,7 @@
16
16
  "build:docs": "storybook build",
17
17
  "up:storybook": "pnpm up storybook eslint-plugin-storybook @storybook/* -L",
18
18
  "changeVersion": "pnpm changeset && pnpm changeset version && pnpm run clear-changelog",
19
- "clear;changelog": "pnpm -r exec rimraf CHANGELOG.md",
19
+ "clear:changelog": "pnpm -r exec rimraf CHANGELOG.md",
20
20
  "commit": "git add . && cz",
21
21
  "push": "pnpm run commit && git push",
22
22
  "login": "npm login --registry https://registry.npmjs.org",
@@ -1 +1 @@
1
- 阅读[AGENTS](./AGENTS.md)
1
+ @AGENTS.md
@@ -11,10 +11,10 @@
11
11
  - pnpm push: git提交
12
12
  - pnpm format: 格式化项目代码
13
13
  - pnpm lint: 代码检测
14
- - pnpm lint-fix: 代码检测并尝试修复
15
- - pnpm up-rsbuild: 升级rsbuild相关依赖
16
- - pnpm up-tailwind: 升级tailwind相关依赖
17
- - pnpm up-react: 升级react相关依赖
14
+ - pnpm lint:fix: 代码检测并尝试修复
15
+ - pnpm up:rsbuild: 升级rsbuild相关依赖
16
+ - pnpm up:tailwind: 升级tailwind相关依赖
17
+ - pnpm up:react: 升级react相关依赖
18
18
 
19
19
 
20
20
 
@@ -1 +1 @@
1
- 阅读[AGENTS](./AGENTS.md)
1
+ @AGENTS.md
@@ -11,10 +11,10 @@
11
11
  - pnpm push: git提交
12
12
  - pnpm format: 格式化项目代码
13
13
  - pnpm lint: 代码检测
14
- - pnpm lint-fix: 代码检测并尝试修复
15
- - pnpm up-vite: 升级vite相关依赖
16
- - pnpm up-tailwind: 升级tailwind相关依赖
17
- - pnpm up-react: 升级react相关依赖
14
+ - pnpm lint:fix: 代码检测并尝试修复
15
+ - pnpm up:vite: 升级vite相关依赖
16
+ - pnpm up:tailwind: 升级tailwind相关依赖
17
+ - pnpm up:react: 升级react相关依赖
18
18
 
19
19
 
20
20
 
@@ -1 +1 @@
1
- 阅读[AGENTS](./AGENTS.md)
1
+ @AGENTS.md
@@ -11,10 +11,10 @@
11
11
  - pnpm push: git提交
12
12
  - pnpm format: 格式化项目代码
13
13
  - pnpm lint: 代码检测
14
- - pnpm lint-fix: 代码检测并尝试修复
15
- - pnpm up-vite: 升级vite相关依赖
16
- - pnpm up-tailwind: 升级tailwind相关依赖
17
- - pnpm up-vue: 升级vue相关依赖
14
+ - pnpm lint:fix: 代码检测并尝试修复
15
+ - pnpm up:vite: 升级vite相关依赖
16
+ - pnpm up:tailwind: 升级tailwind相关依赖
17
+ - pnpm up:vue: 升级vue相关依赖
18
18
 
19
19
 
20
20
 
@@ -1 +1 @@
1
- 阅读[AGENTS](./AGENTS.md)
1
+ @AGENTS.md
@@ -11,10 +11,10 @@
11
11
  - pnpm push: git提交
12
12
  - pnpm format: 格式化项目代码
13
13
  - pnpm lint: 代码检测
14
- - pnpm lint-fix: 代码检测并尝试修复
15
- - pnpm up-rsbuild: 升级rsbuild相关依赖
16
- - pnpm up-tailwind: 升级tailwind相关依赖
17
- - pnpm up-vue: 升级vue相关依赖
14
+ - pnpm lint:fix: 代码检测并尝试修复
15
+ - pnpm up:rsbuild: 升级rsbuild相关依赖
16
+ - pnpm up:tailwind: 升级tailwind相关依赖
17
+ - pnpm up:vue: 升级vue相关依赖
18
18
 
19
19
 
20
20
 
@@ -1,28 +1,28 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ESNext",
4
- "module": "ESNext",
5
- "moduleResolution": "Bundler",
6
- "noEmit": true,
7
- "esModuleInterop": true,
8
- "forceConsistentCasingInFileNames": true,
9
- "resolveJsonModule": true,
10
- "strict": true,
11
- "skipLibCheck": true,
12
- "paths": {
13
- "@": [".."],
14
- "@/*": ["../*"],
15
- "~": [".."],
16
- "~/*": ["../*"],
17
- "@@": [".."],
18
- "@@/*": ["../*"],
19
- "~~": [".."],
20
- "~~/*": ["../*"]
21
- }
22
- },
23
- "include": [
24
- "../**/*",
25
- "./wxt.d.ts"
26
- ],
27
- "exclude": ["../dist"]
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ESNext",
4
+ "module": "ESNext",
5
+ "moduleResolution": "Bundler",
6
+ "noEmit": true,
7
+ "esModuleInterop": true,
8
+ "forceConsistentCasingInFileNames": true,
9
+ "resolveJsonModule": true,
10
+ "strict": true,
11
+ "skipLibCheck": true,
12
+ "paths": {
13
+ "@": [".."],
14
+ "@/*": ["../*"],
15
+ "~": [".."],
16
+ "~/*": ["../*"],
17
+ "@@": [".."],
18
+ "@@/*": ["../*"],
19
+ "~~": [".."],
20
+ "~~/*": ["../*"]
21
+ }
22
+ },
23
+ "include": [
24
+ "../**/*",
25
+ "./wxt.d.ts"
26
+ ],
27
+ "exclude": ["../dist"]
28
28
  }
@@ -1,15 +1,15 @@
1
- // Generated by wxt
2
- interface ImportMetaEnv {
3
- readonly MANIFEST_VERSION: 2 | 3;
4
- readonly BROWSER: string;
5
- readonly CHROME: boolean;
6
- readonly FIREFOX: boolean;
7
- readonly SAFARI: boolean;
8
- readonly EDGE: boolean;
9
- readonly OPERA: boolean;
10
- readonly COMMAND: "build" | "serve";
11
- readonly ENTRYPOINT: string;
12
- }
13
- interface ImportMeta {
14
- readonly env: ImportMetaEnv
15
- }
1
+ // Generated by wxt
2
+ interface ImportMetaEnv {
3
+ readonly MANIFEST_VERSION: 2 | 3;
4
+ readonly BROWSER: string;
5
+ readonly CHROME: boolean;
6
+ readonly FIREFOX: boolean;
7
+ readonly SAFARI: boolean;
8
+ readonly EDGE: boolean;
9
+ readonly OPERA: boolean;
10
+ readonly COMMAND: "build" | "serve";
11
+ readonly ENTRYPOINT: string;
12
+ }
13
+ interface ImportMeta {
14
+ readonly env: ImportMetaEnv
15
+ }
@@ -1,81 +1,81 @@
1
- // Generated by wxt
2
- import "wxt/browser";
3
-
4
- declare module "wxt/browser" {
5
- /**
6
- * See https://developer.chrome.com/docs/extensions/reference/i18n/#method-getMessage
7
- */
8
- interface GetMessageOptions {
9
- /**
10
- * See https://developer.chrome.com/docs/extensions/reference/i18n/#method-getMessage
11
- */
12
- escapeLt?: boolean
13
- }
14
-
15
- export interface WxtI18n extends I18n.Static {
16
- /**
17
- * The extension or app ID; you might use this string to construct URLs for resources inside the extension. Even unlocalized extensions can use this message.
18
- * Note: You can't use this message in a manifest file.
19
- *
20
- * "<browser.runtime.id>"
21
- */
22
- getMessage(
23
- messageName: "@@extension_id",
24
- substitutions?: string | string[],
25
- options?: GetMessageOptions,
26
- ): string;
27
- /**
28
- * "<browser.i18n.getUiLocale()>"
29
- */
30
- getMessage(
31
- messageName: "@@ui_locale",
32
- substitutions?: string | string[],
33
- options?: GetMessageOptions,
34
- ): string;
35
- /**
36
- * The text direction for the current locale, either "ltr" for left-to-right languages such as English or "rtl" for right-to-left languages such as Japanese.
37
- *
38
- * "<ltr|rtl>"
39
- */
40
- getMessage(
41
- messageName: "@@bidi_dir",
42
- substitutions?: string | string[],
43
- options?: GetMessageOptions,
44
- ): string;
45
- /**
46
- * If the @@bidi_dir is "ltr", then this is "rtl"; otherwise, it's "ltr".
47
- *
48
- * "<rtl|ltr>"
49
- */
50
- getMessage(
51
- messageName: "@@bidi_reversed_dir",
52
- substitutions?: string | string[],
53
- options?: GetMessageOptions,
54
- ): string;
55
- /**
56
- * If the @@bidi_dir is "ltr", then this is "left"; otherwise, it's "right".
57
- *
58
- * "<left|right>"
59
- */
60
- getMessage(
61
- messageName: "@@bidi_start_edge",
62
- substitutions?: string | string[],
63
- options?: GetMessageOptions,
64
- ): string;
65
- /**
66
- * If the @@bidi_dir is "ltr", then this is "right"; otherwise, it's "left".
67
- *
68
- * "<right|left>"
69
- */
70
- getMessage(
71
- messageName: "@@bidi_end_edge",
72
- substitutions?: string | string[],
73
- options?: GetMessageOptions,
74
- ): string;
75
- getMessage(
76
- messageName: "@@extension_id" | "@@ui_locale" | "@@bidi_dir" | "@@bidi_reversed_dir" | "@@bidi_start_edge" | "@@bidi_end_edge",
77
- substitutions?: string | string[],
78
- options?: GetMessageOptions,
79
- ): string;
80
- }
81
- }
1
+ // Generated by wxt
2
+ import "wxt/browser";
3
+
4
+ declare module "wxt/browser" {
5
+ /**
6
+ * See https://developer.chrome.com/docs/extensions/reference/i18n/#method-getMessage
7
+ */
8
+ interface GetMessageOptions {
9
+ /**
10
+ * See https://developer.chrome.com/docs/extensions/reference/i18n/#method-getMessage
11
+ */
12
+ escapeLt?: boolean
13
+ }
14
+
15
+ export interface WxtI18n extends I18n.Static {
16
+ /**
17
+ * The extension or app ID; you might use this string to construct URLs for resources inside the extension. Even unlocalized extensions can use this message.
18
+ * Note: You can't use this message in a manifest file.
19
+ *
20
+ * "<browser.runtime.id>"
21
+ */
22
+ getMessage(
23
+ messageName: "@@extension_id",
24
+ substitutions?: string | string[],
25
+ options?: GetMessageOptions,
26
+ ): string;
27
+ /**
28
+ * "<browser.i18n.getUiLocale()>"
29
+ */
30
+ getMessage(
31
+ messageName: "@@ui_locale",
32
+ substitutions?: string | string[],
33
+ options?: GetMessageOptions,
34
+ ): string;
35
+ /**
36
+ * The text direction for the current locale, either "ltr" for left-to-right languages such as English or "rtl" for right-to-left languages such as Japanese.
37
+ *
38
+ * "<ltr|rtl>"
39
+ */
40
+ getMessage(
41
+ messageName: "@@bidi_dir",
42
+ substitutions?: string | string[],
43
+ options?: GetMessageOptions,
44
+ ): string;
45
+ /**
46
+ * If the @@bidi_dir is "ltr", then this is "rtl"; otherwise, it's "ltr".
47
+ *
48
+ * "<rtl|ltr>"
49
+ */
50
+ getMessage(
51
+ messageName: "@@bidi_reversed_dir",
52
+ substitutions?: string | string[],
53
+ options?: GetMessageOptions,
54
+ ): string;
55
+ /**
56
+ * If the @@bidi_dir is "ltr", then this is "left"; otherwise, it's "right".
57
+ *
58
+ * "<left|right>"
59
+ */
60
+ getMessage(
61
+ messageName: "@@bidi_start_edge",
62
+ substitutions?: string | string[],
63
+ options?: GetMessageOptions,
64
+ ): string;
65
+ /**
66
+ * If the @@bidi_dir is "ltr", then this is "right"; otherwise, it's "left".
67
+ *
68
+ * "<right|left>"
69
+ */
70
+ getMessage(
71
+ messageName: "@@bidi_end_edge",
72
+ substitutions?: string | string[],
73
+ options?: GetMessageOptions,
74
+ ): string;
75
+ getMessage(
76
+ messageName: "@@extension_id" | "@@ui_locale" | "@@bidi_dir" | "@@bidi_reversed_dir" | "@@bidi_start_edge" | "@@bidi_end_edge",
77
+ substitutions?: string | string[],
78
+ options?: GetMessageOptions,
79
+ ): string;
80
+ }
81
+ }
@@ -1,17 +1,17 @@
1
- // Generated by wxt
2
- import "wxt/browser";
3
-
4
- declare module "wxt/browser" {
5
- export type PublicPath =
6
- | ""
7
- | "/"
8
- | "/background.js"
9
- | "/content-scripts/content.js"
10
- | "/popup.html"
11
- | "/vite.svg"
12
- type HtmlPublicPath = Extract<PublicPath, `${string}.html`>
13
- export interface WxtRuntime {
14
- getURL(path: PublicPath): string;
15
- getURL(path: `${HtmlPublicPath}${string}`): string;
16
- }
17
- }
1
+ // Generated by wxt
2
+ import "wxt/browser";
3
+
4
+ declare module "wxt/browser" {
5
+ export type PublicPath =
6
+ | ""
7
+ | "/"
8
+ | "/background.js"
9
+ | "/content-scripts/content.js"
10
+ | "/popup.html"
11
+ | "/vite.svg"
12
+ type HtmlPublicPath = Extract<PublicPath, `${string}.html`>
13
+ export interface WxtRuntime {
14
+ getURL(path: PublicPath): string;
15
+ getURL(path: `${HtmlPublicPath}${string}`): string;
16
+ }
17
+ }
@@ -1,7 +1,7 @@
1
- // Generated by wxt
2
- /// <reference types="wxt/vite-builder-env" />
3
- /// <reference path="./types/paths.d.ts" />
4
- /// <reference path="./types/i18n.d.ts" />
5
- /// <reference path="./types/globals.d.ts" />
6
- /// <reference path="./types/imports-module.d.ts" />
7
- /// <reference path="./types/imports.d.ts" />
1
+ // Generated by wxt
2
+ /// <reference types="wxt/vite-builder-env" />
3
+ /// <reference path="./types/paths.d.ts" />
4
+ /// <reference path="./types/i18n.d.ts" />
5
+ /// <reference path="./types/globals.d.ts" />
6
+ /// <reference path="./types/imports-module.d.ts" />
7
+ /// <reference path="./types/imports.d.ts" />
@@ -1,26 +0,0 @@
1
- # Logs
2
- logs
3
- *.log
4
- npm-debug.log*
5
- yarn-debug.log*
6
- yarn-error.log*
7
- pnpm-debug.log*
8
- lerna-debug.log*
9
-
10
- node_modules
11
- dist
12
- dist-ssr
13
- *.local
14
- types
15
-
16
- # Editor directories and files
17
- .vscode/*
18
- !.vscode/extensions.json
19
- .history
20
- .idea
21
- .DS_Store
22
- *.suo
23
- *.ntvs*
24
- *.njsproj
25
- *.sln
26
- *.sw?
@@ -1,25 +0,0 @@
1
- # Logs
2
- logs
3
- *.log
4
- npm-debug.log*
5
- yarn-debug.log*
6
- yarn-error.log*
7
- pnpm-debug.log*
8
- lerna-debug.log*
9
-
10
- node_modules
11
- dist
12
- dist-ssr
13
- *.local
14
-
15
- # Editor directories and files
16
- .vscode/*
17
- !.vscode/extensions.json
18
- .history
19
- .idea
20
- .DS_Store
21
- *.suo
22
- *.ntvs*
23
- *.njsproj
24
- *.sln
25
- *.sw?