@bookjane2/bookjane-design-library 9.0.40 → 10.0.1

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 (2) hide show
  1. package/README.md +16 -4
  2. package/package.json +10 -27
package/README.md CHANGED
@@ -2,13 +2,25 @@
2
2
 
3
3
  ## Required Node version
4
4
 
5
- This project requires **Node.js 24 LTS** (`>=24.8.0`) with npm 11+. The exact pinned version is in `.nvmrc` — run `nvm use` after cloning.
5
+ This project requires **Node.js 24 LTS** (`>=24.15.0`). The exact pinned version is in `.nvmrc` — run `nvm use` after cloning.
6
+
7
+ ## Package manager
8
+
9
+ This project uses **pnpm** (`>=11.1.1`). Enable it via corepack:
10
+
11
+ ```
12
+ corepack enable
13
+ corepack prepare pnpm@11.1.1 --activate
14
+ ```
15
+
16
+ Then install dependencies with `pnpm install`.
6
17
 
7
18
  ## Scripts
8
19
 
9
- - To run storybook, use this command `npm start`
10
- - To only run a build use this command `npm run build`
11
- - To build and link locally use this command `npm run build:link`
20
+ - To run storybook, use this command `pnpm start`
21
+ - To build use this command `pnpm build:prod`
22
+ - To run tests use this command `pnpm test`
23
+ - To publish use this command `pnpm publish`
12
24
 
13
25
  ## Commit Message Format
14
26
 
package/package.json CHANGED
@@ -1,36 +1,16 @@
1
1
  {
2
2
  "name": "@bookjane2/bookjane-design-library",
3
- "version": "9.0.40",
3
+ "version": "10.0.1",
4
4
  "main": "./lib/index.js",
5
5
  "typings": "./lib/index.d.ts",
6
6
  "engines": {
7
7
  "node": ">=24.15.0",
8
- "npm": ">=11.12.1"
9
- },
10
- "overrides": {
11
- "csstype": "3.2.3",
12
- "axe-core": "4.11.3"
8
+ "pnpm": ">=11.1.1"
13
9
  },
14
10
  "files": [
15
11
  "lib"
16
12
  ],
17
13
  "engineStrict": true,
18
- "scripts": {
19
- "start": "storybook dev -p 6006",
20
- "build": "cross-env ./scripts/build.sh",
21
- "build:prod": "cross-env NODE_ENV=\"production\" && sh scripts/build.sh",
22
- "build:link": "npm i && cross-env ./scripts/build.sh && npm link && rm -rf ./node_modules",
23
- "lint": "eslint src/",
24
- "build-storybook": "storybook build",
25
- "chromatic": "storybook build && npx chromatic --exit-once-uploaded --exit-zero-on-changes -d ./storybook-static",
26
- "semantic-release": "dotenv -e .env npx semantic-release",
27
- "prepare": "husky install",
28
- "test": "jest",
29
- "test:watch": "jest --watch",
30
- "test:coverage": "jest --coverage",
31
- "test:tsc": "cross-env ./.husky/pre-commit.sh",
32
- "3fast3deploy": "dotenv -e .env -- git checkout development && git pull && git add . && git commit --allow-empty -m \"fix(web): BKJ Design Library Release\" && git pull && git push && git checkout main && git pull && git pull origin development && git push && npm run build:prod && npm run semantic-release && git checkout development && git pull && git add . && git commit --allow-empty -m \"fix(web): BKJ Design Library Release\" && git pull && git push && git checkout main && git pull && git pull origin development && git push && git checkout development && git pull"
33
- },
34
14
  "dependencies": {
35
15
  "@popperjs/core": "2.9.2",
36
16
  "@react-aria/textfield": "3.18.2",
@@ -103,9 +83,6 @@
103
83
  "typescript-eslint": "8.58.2",
104
84
  "vite": "6.4.0"
105
85
  },
106
- "pre-commit": [
107
- "npm run build"
108
- ],
109
86
  "husky": {
110
87
  "hooks": {
111
88
  "pre-commit": "lint-staged"
@@ -158,5 +135,11 @@
158
135
  "Library"
159
136
  ],
160
137
  "author": "Per Eklund",
161
- "license": "SEE LICENSE IN LICENSE.txt"
162
- }
138
+ "license": "SEE LICENSE IN LICENSE.txt",
139
+ "scripts": {
140
+ "start": "storybook dev -p 6006",
141
+ "build:prod": "cross-env NODE_ENV=\"production\" && sh scripts/build.sh",
142
+ "chromatic": "storybook build && npx chromatic --exit-once-uploaded --exit-zero-on-changes -d ./storybook-static",
143
+ "test": "jest"
144
+ }
145
+ }