@ebay/skin 16.2.0-0 → 16.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.
@@ -1,50 +1,39 @@
1
1
  const path = require("path");
2
-
3
2
  console.log(`STORYBOOK_DS: ${process.env.STORYBOOK_DS}`);
4
-
5
3
  module.exports = {
6
- core: {
7
- builder: "webpack5",
8
- },
9
- stories: [
10
- `../src/less/index.stories.js`,
11
- "../src/less/**/*.stories.js",
12
- "../src/less/**/stories/**/*.stories.js",
13
- ],
14
- webpackFinal: async (config, { configType }) => {
15
- config.module.rules.push({
16
- test: /\.less/,
17
- use: [
18
- "style-loader",
19
- "css-loader",
20
- {
21
- loader: "postcss-loader",
22
- options: {
23
- postcssOptions: {
24
- plugins: [
25
- [
26
- "autoprefixer",
27
- {
28
- // Options
29
- },
30
- ],
31
- ],
32
- },
33
- },
34
- },
35
- {
36
- loader: "less-loader",
37
- options: {
38
- lessOptions: {
39
- globalVars: {
40
- ds: `ds${process.env.STORYBOOK_DS}`,
41
- },
42
- },
43
- },
44
- },
45
- ],
46
- });
47
-
48
- return config;
49
- },
50
- };
4
+ stories: ["../src/less/**/*.stories.js", "../src/less/**/stories/**/*.stories.js"],
5
+ webpackFinal: async (config, {
6
+ configType
7
+ }) => {
8
+ config.module.rules.push({
9
+ test: /\.less/,
10
+ use: ["style-loader", "css-loader", {
11
+ loader: "postcss-loader",
12
+ options: {
13
+ postcssOptions: {
14
+ plugins: [["autoprefixer", {
15
+ // Options
16
+ }]]
17
+ }
18
+ }
19
+ }, {
20
+ loader: "less-loader",
21
+ options: {
22
+ lessOptions: {
23
+ globalVars: {
24
+ ds: `ds${process.env.STORYBOOK_DS}`
25
+ }
26
+ }
27
+ }
28
+ }]
29
+ });
30
+ return config;
31
+ },
32
+ framework: {
33
+ name: "@storybook/html-webpack5",
34
+ options: {}
35
+ },
36
+ docs: {
37
+ autodocs: true
38
+ }
39
+ };
@@ -3,7 +3,4 @@ import theme from "./theme";
3
3
 
4
4
  addons.setConfig({
5
5
  theme,
6
- sidebar: {
7
- showRoots: false,
8
- },
9
6
  });
@@ -0,0 +1 @@
1
+ import "../src/less/bundles/skin-full.less";
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Skin v16.2.0-0
2
+ Skin v16.2.0
3
3
  Copyright 2017 eBay! Inc. All rights reserved.
4
4
  Licensed under the BSD License.
5
5
  https://github.com/eBay/skin/blob/master/LICENSE.txt"
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Skin v16.2.0-0
2
+ Skin v16.2.0
3
3
  Copyright 2017 eBay! Inc. All rights reserved.
4
4
  Licensed under the BSD License.
5
5
  https://github.com/eBay/skin/blob/master/LICENSE.txt"
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Skin v16.2.0-0
2
+ Skin v16.2.0
3
3
  Copyright 2017 eBay! Inc. All rights reserved.
4
4
  Licensed under the BSD License.
5
5
  https://github.com/eBay/skin/blob/master/LICENSE.txt"
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Skin v16.2.0-0
2
+ Skin v16.2.0
3
3
  Copyright 2017 eBay! Inc. All rights reserved.
4
4
  Licensed under the BSD License.
5
5
  https://github.com/eBay/skin/blob/master/LICENSE.txt"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ebay/skin",
3
3
  "description": "Skin - CSS modules that represent the brand eBay",
4
- "version": "16.2.0-0",
4
+ "version": "16.2.0",
5
5
  "license": "MIT",
6
6
  "main": "./index.js",
7
7
  "maintainers": [
@@ -27,8 +27,8 @@
27
27
  "build:jekyll": "bundler exec jekyll build --incremental --config docs/_config.yml,docs/_config.localhost.yml",
28
28
  "build:site": "npm run copy:svgToDocs && npm run build:jekyll",
29
29
  "build:storybook": "npm run copy:assetsToStorybook && npm run build:storybook:ds6",
30
- "build:storybook:ds4": "cross-env STORYBOOK_DS=4 build-storybook -o ./docs/ds4/storybook",
31
- "build:storybook:ds6": "cross-env STORYBOOK_DS=6 build-storybook -o ./docs/storybook",
30
+ "build:storybook:ds4": "cross-env STORYBOOK_DS=4 storybook build -o ./docs/ds4/storybook",
31
+ "build:storybook:ds6": "cross-env STORYBOOK_DS=6 storybook build -o ./docs/storybook",
32
32
  "clean": "rimraf _cdn _site .cache .tmp .jekyll npm-debug.log.* .DS_Store",
33
33
  "compileModule": "npx gulp compileModule --name $NAME",
34
34
  "bundle": "npm run bundle:js && npm run bundle:css",
@@ -49,32 +49,31 @@
49
49
  "verify": "node scripts verify",
50
50
  "version": "node scripts/jekyll-config && npm run build:storybook && npm run build && git add -A dist docs",
51
51
  "transpile": "babel docs/src/js --out-dir docs/_babel",
52
- "build:snapshots": "npm run copy:assetsToStorybook && cross-env STORYBOOK_DS=6 build-storybook -o ./.storybook-percy",
52
+ "build:snapshots": "npm run copy:assetsToStorybook && cross-env STORYBOOK_DS=6 storybook build -o ./.storybook-percy",
53
53
  "snapshots": "npm run build:snapshots && npx gulp runSnapshots --stories $STORIES",
54
54
  "snapshots:dry": "npm run build:snapshots && npx gulp runSnapshots --dry yes --stories $STORIES",
55
55
  "snapshots:execute": "npm run build:snapshots && percy storybook ./.storybook-percy --include",
56
56
  "snapshots:execute:dry": "percy storybook ./.storybook-percy --dry-run --include",
57
57
  "snapshots:all": "npm run build:snapshots && percy storybook ./.storybook-percy --include '.*'",
58
58
  "snapshots:all:dry": "npm run build:snapshots && percy storybook --dry-run ./.storybook-percy --include '.*'",
59
- "storybook": "npm run copy:assetsToStorybook && cross-env STORYBOOK_DS=6 start-storybook -s ."
59
+ "storybook": "npm run copy:assetsToStorybook && cross-env STORYBOOK_DS=6 storybook dev -c .storybook"
60
60
  },
61
61
  "devDependencies": {
62
- "@babel/cli": "^7.20.7",
63
- "@babel/core": "^7.21.4",
64
- "@babel/preset-env": "^7.21.4",
65
- "@commitlint/cli": "^17.5.1",
66
- "@commitlint/config-conventional": "^17.4.2",
67
- "@ebay/browserslist-config": "^2.4.1",
68
- "@percy/cli": "^1.21.0",
69
- "@percy/storybook": "^4.3.4",
70
- "@storybook/builder-webpack5": "^6.5.16",
71
- "@storybook/html": "^6.5.16",
72
- "@storybook/manager-webpack5": "^6.5.16",
62
+ "@babel/cli": "^7.21.5",
63
+ "@babel/core": "^7.21.8",
64
+ "@babel/preset-env": "^7.21.5",
65
+ "@commitlint/cli": "^17.6.3",
66
+ "@commitlint/config-conventional": "^17.6.3",
67
+ "@ebay/browserslist-config": "^2.6.0",
68
+ "@percy/cli": "^1.24.1",
69
+ "@percy/storybook": "^4.3.6",
70
+ "@storybook/html": "^7.0.12",
71
+ "@storybook/html-webpack5": "^7.0.12",
73
72
  "babel-loader": "^9.1.2",
74
- "browser-sync": "^2.29.1",
73
+ "browser-sync": "^2.29.3",
75
74
  "btoa": "^1",
76
75
  "cross-env": "^7",
77
- "eslint": "^8.37.0",
76
+ "eslint": "^8.40.0",
78
77
  "eslint-config-ebay": "^1",
79
78
  "eslint-config-prettier": "^8",
80
79
  "eslint-plugin-prettier": "^4",
@@ -85,11 +84,11 @@
85
84
  "gulp-rename": "^2",
86
85
  "husky": "^8.0.3",
87
86
  "jekyll": "^3.0.0-beta1",
88
- "jsdom": "^21.1.0",
87
+ "jsdom": "^22.0.0",
89
88
  "less-loader": "^11.1.0",
90
89
  "less-plugin-autoprefix": "^2",
91
90
  "less-plugin-clean-css": "^1.5.1",
92
- "lint-staged": "^13.0.2",
91
+ "lint-staged": "^13.2.2",
93
92
  "makeup-alert-dialog": "~0.2.0",
94
93
  "makeup-combobox": "~0.3.0",
95
94
  "makeup-confirm-dialog": "~0.2.0",
@@ -113,24 +112,25 @@
113
112
  "makeup-snackbar-dialog": "0.1.0",
114
113
  "makeup-switch": "~0.2.0",
115
114
  "makeup-toast-dialog": "0.1.0",
116
- "mkdirp": "^2",
115
+ "mkdirp": "^3",
117
116
  "ncp": "^2",
118
117
  "npm-run-all": "^4",
119
118
  "postcss-less": "^6.0.0",
120
- "postcss-loader": "^7.0.2",
121
- "prettier": "^2.8.7",
122
- "rimraf": "^4",
123
- "stylelint": "^15.4.0",
124
- "stylelint-config-standard": "^32",
119
+ "postcss-loader": "^7.3.0",
120
+ "prettier": "^2.8.8",
121
+ "rimraf": "^5",
122
+ "storybook": "^7.0.12",
123
+ "stylelint": "^15.6.2",
124
+ "stylelint-config-standard": "^33",
125
125
  "stylelint-no-unsupported-browser-features": "^6.0.1",
126
126
  "stylelint-order": "^6",
127
127
  "stylelint-prettier": "^3",
128
128
  "svgo": "^3.0.1",
129
- "webpack": "^5.78.0",
130
- "webpack-cli": "^5.0.1",
129
+ "webpack": "^5.83.0",
130
+ "webpack-cli": "^5.1.1",
131
131
  "winston": "^3.8.2",
132
132
  "xmlserializer": "^0.6.1",
133
- "yargs": "^17.6.2"
133
+ "yargs": "^17.7.2"
134
134
  },
135
135
  "keywords": [
136
136
  "eBay",
@@ -1 +0,0 @@
1
- import "../../src/less/bundles/skin-full.less";