create-packer 1.41.2 → 1.41.3

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.41.2",
3
+ "version": "1.41.3",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/kevily/create-packer",
6
6
  "author": "1k <bug_zero@163.com>",
@@ -1,28 +1,28 @@
1
- /// <reference types="@rsbuild/core/types" />
2
- import 'styled-components'
3
- import { themeType } from './shared/theme'
4
-
5
- declare module 'styled-components' {
6
- export interface DefaultTheme extends themeType {}
7
- }
8
- declare global {
9
- interface ImportMetaEnv {
10
- // import.meta.env.PUBLIC_FOO
11
- readonly PUBLIC_BASE_URL: string
12
- readonly PUBLIC_API_HOST: string
13
- }
14
-
15
- interface ImportMeta {
16
- readonly env: ImportMetaEnv
17
- }
18
-
19
- declare module '*.svg' {
20
- const content: string
21
- export default content
22
- }
23
-
24
- declare module '*.svg?react' {
25
- const ReactComponent: FunctionComponent<SVGProps<SVGSVGElement>>
26
- export default ReactComponent
27
- }
28
- }
1
+ /// <reference types="@rsbuild/core/types" />
2
+ import 'styled-components'
3
+ import { themeType } from './shared/theme'
4
+
5
+ declare module 'styled-components' {
6
+ export interface DefaultTheme extends themeType {}
7
+ }
8
+ declare global {
9
+ interface ImportMetaEnv {
10
+ // import.meta.env.PUBLIC_FOO
11
+ readonly PUBLIC_BASE_URL: string
12
+ readonly PUBLIC_API_HOST: string
13
+ }
14
+
15
+ interface ImportMeta {
16
+ readonly env: ImportMetaEnv
17
+ }
18
+
19
+ declare module '*.svg' {
20
+ const content: string
21
+ export default content
22
+ }
23
+
24
+ declare module '*.svg?react' {
25
+ const ReactComponent: FunctionComponent<SVGProps<SVGSVGElement>>
26
+ export default ReactComponent
27
+ }
28
+ }
@@ -1,4 +1,4 @@
1
- import { createRoot } from 'react-dom/client'
2
- import { App } from '@/domain/app'
3
-
4
- createRoot(document.getElementById('root') as HTMLElement).render(<App.Root />)
1
+ import { createRoot } from 'react-dom/client'
2
+ import { App } from '@/domain/app'
3
+
4
+ createRoot(document.getElementById('root') as HTMLElement).render(<App.Root />)
@@ -31,6 +31,9 @@ export default defineConfig(({ envMode, command }) => {
31
31
  },
32
32
  cleanDistPath: true
33
33
  },
34
+ dev: {
35
+ progressBar: true
36
+ },
34
37
  tools: {
35
38
  rspack: {
36
39
  plugins: [
@@ -29,6 +29,9 @@ export default defineConfig(({ envMode, command }) => {
29
29
  },
30
30
  cleanDistPath: true
31
31
  },
32
+ dev: {
33
+ progressBar: true
34
+ },
32
35
  tools: {
33
36
  rspack: {
34
37
  plugins: [