@rspress-theme-anatole/theme-default 0.0.4 → 0.0.6

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.
Files changed (3) hide show
  1. package/package.json +61 -5
  2. package/config.ts +0 -7
  3. package/package1.json +0 -89
package/package.json CHANGED
@@ -1,15 +1,71 @@
1
1
  {
2
2
  "name": "@rspress-theme-anatole/theme-default",
3
3
  "author": "Anatole Tong",
4
- "version": "0.0.4",
4
+ "version": "0.0.6",
5
5
  "license": "MIT",
6
+ "sideEffects": [
7
+ "*.css",
8
+ "*.less",
9
+ "*.sass",
10
+ "*.scss",
11
+ "**/virtual-global-styles.js",
12
+ "virtual-global-styles",
13
+ "./src/styles/index.ts",
14
+ "./dist/index.js"
15
+ ],
6
16
  "type": "module",
17
+ "imports": {
18
+ "#theme/*": "./src/*"
19
+ },
20
+ "exports": {
21
+ ".": {
22
+ "types": "./dist/bundle.d.ts",
23
+ "default": "./dist/index.js"
24
+ },
25
+ "./node/*": "./dist/node/*",
26
+ "./package.json": "./package.json",
27
+ "./bundle.css": "./dist/bundle.css"
28
+ },
7
29
  "main": "./dist/index.js",
30
+ "types": "./dist/bundle.d.ts",
31
+ "files": [
32
+ "dist"
33
+ ],
8
34
  "dependencies": {
9
- "@types/node": "22.13.10",
10
- "react-router-dom": "^6.29.0",
11
- "@rspress-theme-anatole/runtime": "0.0.2",
12
- "@rspress-theme-anatole/shared": "0.0.2"
35
+ "@mdx-js/react": "2.3.0",
36
+ "body-scroll-lock": "4.0.0-beta.0",
37
+ "copy-to-clipboard": "^3.3.3",
38
+ "flexsearch": "0.7.43",
39
+ "github-slugger": "^2.0.0",
40
+ "htmr": "^1.0.2",
41
+ "lodash-es": "^4.17.21",
42
+ "nprogress": "^0.2.0",
43
+ "react": "^18.3.1",
44
+ "react-dom": "^18.3.1",
45
+ "react-helmet-async": "^1.3.0",
46
+ "react-syntax-highlighter": "^15.6.1",
47
+ "@rspress-theme-anatole/runtime": "0.0.4",
48
+ "@rspress-theme-anatole/shared": "0.0.3"
49
+ },
50
+ "devDependencies": {
51
+ "@microsoft/api-extractor": "^7.49.2",
52
+ "@modern-js/tsconfig": "2.64.0",
53
+ "@rsbuild/plugin-react": "~1.1.0",
54
+ "@rsbuild/plugin-sass": "~1.2.0",
55
+ "@rsbuild/plugin-svgr": "^1.0.6",
56
+ "@rslib/core": "0.5.2",
57
+ "@types/body-scroll-lock": "^3.1.2",
58
+ "@types/hast": "^2.3.10",
59
+ "@types/jest": "~29.5.14",
60
+ "@types/lodash-es": "^4.17.12",
61
+ "@types/mdast": "^3.0.15",
62
+ "@types/nprogress": "^0.2.3",
63
+ "@types/react": "^18.3.18",
64
+ "@types/react-dom": "^18.3.5",
65
+ "@types/react-syntax-highlighter": "^15.5.13",
66
+ "gray-matter": "4.0.3",
67
+ "tailwindcss": "^3.4.17",
68
+ "typescript": "^5.5.3"
13
69
  },
14
70
  "keywords": [
15
71
  "rspress",
package/config.ts DELETED
@@ -1,7 +0,0 @@
1
- import type { UserConfig } from '@rspress-theme-anatole/shared';
2
-
3
- export function defineConfig(config: UserConfig): UserConfig {
4
- return config;
5
- }
6
-
7
- export type { UserConfig };
package/package1.json DELETED
@@ -1,89 +0,0 @@
1
- {
2
- "name": "rspress-theme-anatole/theme-default",
3
- "version": "0.0.10",
4
- "description": "Anatole theme for Rspress",
5
- "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/web-infra-dev/rspress",
9
- "directory": "packages/theme-default"
10
- },
11
- "license": "MIT",
12
- "sideEffects": [
13
- "*.css",
14
- "*.less",
15
- "*.sass",
16
- "*.scss",
17
- "**/virtual-global-styles.js",
18
- "virtual-global-styles",
19
- "./src/styles/index.ts",
20
- "./dist/index.js"
21
- ],
22
- "type": "module",
23
- "imports": {
24
- "#theme/*": "./src/*"
25
- },
26
- "exports": {
27
- ".": {
28
- "types": "./dist/bundle.d.ts",
29
- "default": "./dist/index.js"
30
- },
31
- "./node/*": "./dist/node/*",
32
- "./package.json": "./package.json",
33
- "./bundle.css": "./dist/bundle.css"
34
- },
35
- "main": "./dist/index.js",
36
- "types": "./dist/bundle.d.ts",
37
- "files": [
38
- "dist"
39
- ],
40
- "dependencies": {
41
- "@mdx-js/react": "2.3.0",
42
- "body-scroll-lock": "4.0.0-beta.0",
43
- "copy-to-clipboard": "^3.3.3",
44
- "flexsearch": "0.7.43",
45
- "github-slugger": "^2.0.0",
46
- "htmr": "^1.0.2",
47
- "lodash-es": "^4.17.21",
48
- "nprogress": "^0.2.0",
49
- "react": "^18.3.1",
50
- "react-dom": "^18.3.1",
51
- "react-helmet-async": "^1.3.0",
52
- "react-syntax-highlighter": "^15.6.1",
53
- "@rspress/runtime": "1.43.7",
54
- "@rspress/shared": "1.43.7"
55
- },
56
- "devDependencies": {
57
- "@microsoft/api-extractor": "^7.49.2",
58
- "@modern-js/tsconfig": "2.64.0",
59
- "@rsbuild/plugin-react": "~1.1.0",
60
- "@rsbuild/plugin-sass": "~1.2.0",
61
- "@rsbuild/plugin-svgr": "^1.0.6",
62
- "@rslib/core": "0.5.2",
63
- "@types/body-scroll-lock": "^3.1.2",
64
- "@types/hast": "^2.3.10",
65
- "@types/jest": "~29.5.14",
66
- "@types/lodash-es": "^4.17.12",
67
- "@types/mdast": "^3.0.15",
68
- "@types/nprogress": "^0.2.3",
69
- "@types/react": "^18.3.18",
70
- "@types/react-dom": "^18.3.5",
71
- "@types/react-syntax-highlighter": "^15.5.13",
72
- "gray-matter": "4.0.3",
73
- "tailwindcss": "^3.4.17",
74
- "typescript": "^5.5.3"
75
- },
76
- "engines": {
77
- "node": ">=14.17.6"
78
- },
79
- "publishConfig": {
80
- "access": "public",
81
- "provenance": true,
82
- "registry": "https://registry.npmjs.org/"
83
- },
84
- "scripts": {
85
- "build": "rslib build",
86
- "dev": "rslib build -w",
87
- "reset": "rimraf ./**/node_modules"
88
- }
89
- }