@rolemodel/optics 1.0.0 → 1.2.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,23 +1,24 @@
1
1
  {
2
2
  "name": "@rolemodel/optics",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
+ "packageManager": "yarn@4.2.2",
4
5
  "description": "Optics is an scss package that provides base styles and components that can be integrated and customized in a variety of projects.",
5
6
  "main": "dist/scss/optics.scss",
6
7
  "scripts": {
7
8
  "test": "exit 0",
8
- "build": "npm run build:css && npm run build:scss && npm run build:tokens",
9
+ "build": "yarn build:css && yarn build:scss && yarn build:tokens",
9
10
  "build:css": "sass src/optics.scss dist/css/optics.css --load-path=node_modules/",
10
11
  "build:scss": "rsync -a src/ dist/scss --exclude stories",
11
12
  "build:tokens": "node build_token_json --source=src/core/tokens --output=dist/tokens/tokens.json",
12
- "storybook": "storybook dev -p 6006",
13
- "build-storybook": "storybook build",
14
- "lint": "npm run lint:js && npm run lint:css",
15
- "lint-fix": "npm run lint:js --fix && npm run lint:css --fix",
13
+ "storybook": "storybook dev -p 6006 --docs",
14
+ "build-storybook": "storybook build --docs",
15
+ "lint": "yarn lint:js && yarn lint:css",
16
+ "lint-fix": "yarn lint:js --fix && yarn lint:css --fix",
16
17
  "lint:js": "eslint 'src/stories/**/*.js'",
17
18
  "lint:css": "stylelint 'src/**/*.(scss|css)'",
18
19
  "prettier": "prettier -w .",
19
20
  "prettier-check": "prettier -c .",
20
- "sanity-check": "npm run lint && npm run prettier && npm run build && npm run build-storybook && rm -rf ./dist && rm -rf ./storybook-static",
21
+ "sanity-check": "yarn lint && yarn prettier && yarn build && yarn build-storybook && rm -rf ./dist && rm -rf ./storybook-static",
21
22
  "generate": "node ./tools/generate.js"
22
23
  },
23
24
  "repository": {
@@ -46,14 +47,14 @@
46
47
  },
47
48
  "devDependencies": {
48
49
  "@babel/preset-env": "^7.23.9",
49
- "@storybook/addon-essentials": "^7.1.0",
50
- "@storybook/addon-links": "^7.1.0",
51
- "@storybook/addon-mdx-gfm": "^7.1.0",
52
- "@storybook/addon-styling": "^1.3.4",
53
- "@storybook/blocks": "^7.1.0",
54
- "@storybook/html": "^7.1.0",
55
- "@storybook/html-webpack5": "^7.1.0",
56
- "@storybook/testing-library": "^0.2.0",
50
+ "@storybook/addon-essentials": "^8.1.3",
51
+ "@storybook/blocks": "^8.1.3",
52
+ "@storybook/html": "^8.1.3",
53
+ "@storybook/html-vite": "^8.1.3",
54
+ "@storybook/manager-api": "^8.1.3",
55
+ "@storybook/preview-api": "^8.1.3",
56
+ "@storybook/test": "^8.1.3",
57
+ "@storybook/theming": "^8.1.3",
57
58
  "eslint": "^8.45.0",
58
59
  "eslint-config-prettier": "^9.1.0",
59
60
  "eslint-config-standard": "^17.1.0",
@@ -62,21 +63,21 @@
62
63
  "eslint-plugin-promise": "^6.1.1",
63
64
  "eslint-plugin-storybook": "^0.6.13",
64
65
  "generate-template-files": "^3.2.1",
66
+ "postcss": "^8.4.38",
65
67
  "postcss-scss": "^4.0.9",
66
68
  "prettier": "^3.0.0",
67
- "react": "^18.2.0",
68
- "react-dom": "^18.2.0",
69
- "sass": "^1.64.0",
69
+ "sass": "^1.77.2",
70
70
  "sass-loader": "^14.1.0",
71
- "storybook": "^7.6.12",
72
- "storybook-design-token": "^3.0.0-beta.3",
71
+ "storybook": "^8.1.3",
72
+ "storybook-design-token": "^3.1.0",
73
73
  "style-loader": "^3.3.3",
74
74
  "stylelint": "^16.2.1",
75
75
  "stylelint-config-idiomatic-order": "^10.0.0",
76
76
  "stylelint-config-prettier-scss": "^1.0.0",
77
77
  "stylelint-config-standard-scss": "^13.0.0",
78
78
  "stylelint-prettier": "^5.0.0",
79
- "stylelint-scss": "^6.1.0"
79
+ "stylelint-scss": "^6.1.0",
80
+ "vite": "^5.2.11"
80
81
  },
81
82
  "peerDependencies": {
82
83
  "tom-select": "^2.0.0"