@bigbinary/neetoui 2.1.33 → 3.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.
@@ -1,4 +1,7 @@
1
1
  module.exports = {
2
+ core: {
3
+ builder: "webpack5",
4
+ },
2
5
  stories: [
3
6
  "../stories/**/*.stories.mdx",
4
7
  "../stories/**/*.stories.@(js|jsx|ts|tsx)",
@@ -8,5 +11,6 @@ module.exports = {
8
11
  "@storybook/addon-essentials",
9
12
  "@storybook/preset-scss",
10
13
  "@storybook/addon-postcss",
14
+ "@storybook/addon-docs",
11
15
  ],
12
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neetoui",
3
- "version": "2.1.33",
3
+ "version": "3.0.1",
4
4
  "main": "./neetoui.js",
5
5
  "author": "BigBinary",
6
6
  "license": "MIT",
@@ -8,12 +8,15 @@
8
8
  "@babel/core": "^7.11.6",
9
9
  "@babel/preset-env": "^7.14.7",
10
10
  "@babel/preset-react": "^7.14.5",
11
+ "@bigbinary/peer-deps-externals-webpack-plugin": "1.0.5",
11
12
  "@storybook/addon-actions": "^6.3.8",
12
13
  "@storybook/addon-essentials": "^6.3.8",
13
14
  "@storybook/addon-links": "^6.3.8",
14
15
  "@storybook/addon-postcss": "^2.0.0",
16
+ "@storybook/builder-webpack5": "^6.3.12",
17
+ "@storybook/manager-webpack5": "^6.3.12",
15
18
  "@storybook/preset-scss": "^1.0.3",
16
- "@storybook/react": "^6.3.8",
19
+ "@storybook/react": "^6.3.12",
17
20
  "@testing-library/jest-dom": "^5.14.1",
18
21
  "@testing-library/react": "^12.0.0",
19
22
  "@testing-library/user-event": "^13.1.9",
@@ -36,7 +39,7 @@
36
39
  "identity-obj-proxy": "^3.0.0",
37
40
  "jest": "^27.0.6",
38
41
  "lint-staged": "^11.0.0",
39
- "peer-deps-externals-webpack-plugin": "^1.0.4",
42
+ "mini-css-extract-plugin": "^2.4.5",
40
43
  "postcss": "^7",
41
44
  "postcss-import": "^12.0.1",
42
45
  "postcss-loader": "^4.0.3",
@@ -55,10 +58,10 @@
55
58
  "sass-loader": "^10.0.2",
56
59
  "style-loader": "^1.2.1",
57
60
  "tailwindcss": "npm:@tailwindcss/postcss7-compat",
58
- "webpack": "^4.44.2",
61
+ "webpack": "^5.64.3",
59
62
  "webpack-bundle-analyzer": "^4.4.1",
60
- "webpack-cli": "^3.3.12",
61
- "webpack-dev-server": "^3.11.0"
63
+ "webpack-cli": "^4.9.1",
64
+ "webpack-dev-server": "^4.5.0"
62
65
  },
63
66
  "lint-staged": {
64
67
  "lib/**/*.{html,md,js,jsx,json}": [
@@ -66,9 +69,9 @@
66
69
  ]
67
70
  },
68
71
  "scripts": {
69
- "start": "TAILWIND_ENV=development NODE_ENV=development webpack-dev-server --open --mode development --config webpack.dev.config.js",
70
- "build": "TAILWIND_ENV=production NODE_ENV=production webpack --mode production --config webpack.config.js",
71
- "build-example": "TAILWIND_ENV=development NODE_ENV=production webpack --mode production --config webpack.dev.config.js",
72
+ "start": "NODE_ENV=development webpack-dev-server --open --mode development --config webpack.dev.config.js",
73
+ "build": "NODE_ENV=production webpack --mode production --config webpack.config.js",
74
+ "build-example": "NODE_ENV=production webpack --mode production --config webpack.dev.config.js",
72
75
  "prepare": "husky install",
73
76
  "test": "jest",
74
77
  "storybook": "start-storybook -p 6006",
@@ -1,6 +1,6 @@
1
1
  module.exports = {
2
2
  purge: {
3
- enabled: process.env.TAILWIND_ENV === "production" ? true : false,
3
+ enabled: process.env.NODE_ENV === "production" ? true : false,
4
4
  content: [
5
5
  "./lib/**/*.js",
6
6
  "./lib/**/**/*.js",
@@ -10,8 +10,5 @@ module.exports = {
10
10
  "./example/**/**/*.js",
11
11
  ],
12
12
  defaultExtractor: (content) => content.match(/[A-Za-z0-9-_:/]+/g) || [],
13
- options: {
14
- safelist: ["flex", "space-x-6", "gap-8", "p-4"],
15
- },
16
13
  },
17
14
  };