@theholocron/react-template 0.2.2 → 0.3.0

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,12 +1,16 @@
1
1
  {
2
2
  "name": "@theholocron/react-template",
3
- "description": "<description>",
4
- "homepage": "https://github.com/theholocron/react-template#readme",
3
+ "version": "0.3.0",
4
+ "description": "A modern React template with pre-configured tools, best practices, and CI/CD setup for rapid project development.",
5
+ "homepage": "https://docs.theholocron.dev/react-template/",
6
+ "bugs": "https://github.com/theholocron/react-template/issues",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/theholocron/react-template.git"
10
+ },
11
+ "license": "GPL-3.0",
5
12
  "author": "Newton Koumantzelis",
6
- "main": "dist/react-template.cjs.js",
7
- "module": "dist/react-template.es.js",
8
- "style": "dist/style.css",
9
- "types": "dist/index.d.ts",
13
+ "type": "module",
10
14
  "exports": {
11
15
  ".": {
12
16
  "import": "./dist/react-template.es.js",
@@ -14,74 +18,125 @@
14
18
  },
15
19
  "./style": "./dist/style.css"
16
20
  },
21
+ "main": "dist/react-template.cjs.js",
22
+ "module": "dist/react-template.es.js",
23
+ "types": "dist/index.d.ts",
24
+ "style": "dist/style.css",
17
25
  "files": [
18
26
  "dist/*"
19
27
  ],
20
- "type": "module",
21
- "version": "0.2.2",
22
- "repository": {
23
- "type": "git",
24
- "url": "https://github.com/theholocron/react-template.git"
25
- },
26
- "bugs": "https://github.com/theholocron/react-template/issues",
27
- "releases": "https://github.com/theholocron/react-template/releases",
28
- "wiki": "https://github.com/theholocron/react-template/wiki",
29
- "license": "GPL-3.0",
30
- "packageManager": "npm@9.5.0",
31
- "bundlewatch": {
32
- "files": [
33
- {
34
- "path": "./dist/**/*.css",
35
- "maxSize": "50 kB"
36
- },
37
- {
38
- "path": "./dist/**/*.js",
39
- "maxSize": "100 kB"
40
- }
41
- ]
42
- },
43
- "msw": {
44
- "workerDirectory": "public"
45
- },
46
- "publishConfig": {
47
- "access": "public"
48
- },
49
28
  "scripts": {
50
- "dev": "vite",
51
29
  "build": "vite build",
52
30
  "build:storybook": "storybook build",
31
+ "dev": "vite",
53
32
  "lint": "docker run -e LOG_LEVEL=DEBUG -e RUN_LOCAL=true -v .:/tmp/lint --rm ghcr.io/super-linter/super-linter:latest",
54
- "preview": "vite preview",
55
- "release": "changeset",
33
+ "prepare": "husky && playwright install chromium",
34
+ "prepreview": "pnpm build --config vite.app.config.ts",
35
+ "preview": "vite preview --config vite.app.config.ts",
36
+ "release": "semantic-release",
56
37
  "start": "storybook dev -p 6006",
57
38
  "test": "vitest",
39
+ "test:coverage": "vitest run --project storybook --coverage",
58
40
  "test:cypress": "cypress open",
59
- "test:storybook": "test-storybook --coverage"
60
- },
61
- "engines": {
62
- "node": ">=23",
63
- "npm": ">=10"
41
+ "test:storybook": "vitest run --project storybook",
42
+ "typecheck": "tsc --noEmit"
64
43
  },
65
44
  "devDependencies": {
66
- "@changesets/changelog-github": "^0.5.0",
67
- "@changesets/cli": "^2.27.9",
68
- "@theholocron/commitlint-config": "^3.4.4",
69
- "@theholocron/eslint-config": "^3.4.4",
70
- "@theholocron/jest-config": "^3.4.4",
71
- "@theholocron/lint-staged-config": "^3.4.4",
72
- "@theholocron/prettier-config": "^3.4.4",
73
- "@theholocron/storybook-config": "^3.4.4",
74
- "@theholocron/stylelint-config": "^3.4.4",
75
- "@theholocron/tsconfig": "^3.4.4",
76
- "@tsconfig/vite-react": "^3.0.2",
77
- "@vitejs/plugin-react": "^4.3.2",
78
- "alexjs": "^1.0.0",
79
- "react": "^18.3.1",
80
- "react-dom": "^18.3.1",
81
- "vite": "^5.4.9"
45
+ "@chromatic-com/storybook": "^5.2.1",
46
+ "@commitlint/cli": "^19.8.1",
47
+ "@commitlint/config-conventional": "^19.8.1",
48
+ "@eslint/js": "^10.0.1",
49
+ "@semantic-release/changelog": "^7.0.0",
50
+ "@semantic-release/exec": "^7.1.0",
51
+ "@semantic-release/git": "^11.0.1",
52
+ "@semantic-release/github": "^12.0.9",
53
+ "@storybook/addon-a11y": "^10.5.6",
54
+ "@storybook/addon-coverage": "^3.0.2",
55
+ "@storybook/addon-designs": "^11.1.4",
56
+ "@storybook/addon-docs": "^10.5.6",
57
+ "@storybook/addon-links": "^10.5.6",
58
+ "@storybook/addon-themes": "^10.5.6",
59
+ "@storybook/addon-vitest": "^10.5.6",
60
+ "@storybook/builder-vite": "^10.5.6",
61
+ "@storybook/react": "^10.5.6",
62
+ "@storybook/react-vite": "^10.5.6",
63
+ "@testing-library/jest-dom": "^7.0.0",
64
+ "@testing-library/react": "^16.3.0",
65
+ "@theholocron/cli": "^3.12.0",
66
+ "@theholocron/commitlint-config": "^7.14.3",
67
+ "@theholocron/eslint-config": "^7.14.3",
68
+ "@theholocron/holocron-config": "^7.14.3",
69
+ "@theholocron/holocron-plugin-github": "^3.12.0",
70
+ "@theholocron/lighthouse-config": "^7.14.3",
71
+ "@theholocron/lint-staged-config": "^7.14.3",
72
+ "@theholocron/prettier-config": "^7.14.3",
73
+ "@theholocron/semantic-release-config": "^7.14.3",
74
+ "@theholocron/skills": "^1.3.2",
75
+ "@theholocron/storybook-config": "^7.14.3",
76
+ "@theholocron/stylelint-config": "^7.14.3",
77
+ "@theholocron/tsconfig": "^7.14.3",
78
+ "@theholocron/vite-config": "^7.14.3",
79
+ "@theholocron/vitest-config": "^7.14.4",
80
+ "@types/react": "^19.2.18",
81
+ "@types/react-dom": "^19.2.4",
82
+ "@vitejs/plugin-react": "^6.0.5",
83
+ "@vitest/browser": "^4.1.10",
84
+ "@vitest/coverage-v8": "^4.1.10",
85
+ "@vitest/eslint-plugin": "^1.6.26",
86
+ "alex": "^11.0.1",
87
+ "axe-playwright": "^2.1.0",
88
+ "conventional-changelog-conventionalcommits": "^10.2.1",
89
+ "cypress": "^15.19.0",
90
+ "eslint": "^10.8.0",
91
+ "eslint-plugin-cypress": "^6.4.3",
92
+ "eslint-plugin-react": "^7.37.5",
93
+ "eslint-plugin-simple-import-sort": "^14.0.0",
94
+ "eslint-plugin-storybook": "^10.5.6",
95
+ "globals": "^17.9.0",
96
+ "husky": "^9.1.7",
97
+ "jsdom": "^30.0.1",
98
+ "knip": "^6.31.0",
99
+ "lint-staged": "^17.3.0",
100
+ "msw": "^2.10.4",
101
+ "msw-storybook-addon": "^3.0.0",
102
+ "playwright": "^1.54.1",
103
+ "prettier": "^3.6.2",
104
+ "react": "^19.1.0",
105
+ "react-dom": "^19.1.0",
106
+ "semantic-release": "^25.0.8",
107
+ "sort-package-json": "^4.0.0",
108
+ "storybook": "^10.5.6",
109
+ "storybook-addon-pseudo-states": "^10.5.6",
110
+ "tsc-files": "^1.1.4",
111
+ "typescript": "^5.8.3",
112
+ "typescript-eslint": "^8.66.0",
113
+ "vite": "^8.2.0",
114
+ "vitest": "^4.1.10"
82
115
  },
83
116
  "peerDependencies": {
84
- "react": "^18.3.1",
85
- "react-dom": "^18.3.1"
86
- }
117
+ "react": "^19.1.0",
118
+ "react-dom": "^19.1.0"
119
+ },
120
+ "packageManager": "pnpm@10.33.0",
121
+ "engines": {
122
+ "node": ">=22"
123
+ },
124
+ "publishConfig": {
125
+ "access": "public"
126
+ },
127
+ "pnpm": {
128
+ "onlyBuiltDependencies": [
129
+ "@swc/core",
130
+ "cypress",
131
+ "esbuild",
132
+ "msw"
133
+ ]
134
+ },
135
+ "msw": {
136
+ "workerDirectory": [
137
+ "public"
138
+ ]
139
+ },
140
+ "releases": "https://github.com/theholocron/react-template/releases",
141
+ "wiki": "https://github.com/theholocron/react-template/wiki"
87
142
  }