@redsift/icons 8.0.0 → 8.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.
@@ -0,0 +1 @@
1
+ export * from '@mdi/js';
@@ -0,0 +1,52 @@
1
+ {
2
+ "author": {
3
+ "name": "Red Sift"
4
+ },
5
+ "bugs": {
6
+ "url": "https://github.com/redsift/design-system/issues"
7
+ },
8
+ "description": "Icon library as part of Red Sift's Design System. This package is based on mdi/js library.",
9
+ "homepage": "https://github.com/redsift/design-system",
10
+ "license": "MIT",
11
+ "name": "@redsift/icons",
12
+ "main": "cjs/index.js",
13
+ "module": "index.js",
14
+ "publishConfig": {
15
+ "directory": "dist"
16
+ },
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/redsift/design-system"
20
+ },
21
+ "sideEffects": false,
22
+ "version": "8.0.1",
23
+ "scripts": {
24
+ "build": "rollup -c",
25
+ "prepublishOnly": "yarn build"
26
+ },
27
+ "dependencies": {
28
+ "@mdi/js": "^7.1.96"
29
+ },
30
+ "devDependencies": {
31
+ "@babel/plugin-proposal-class-properties": "^7.16.7",
32
+ "@babel/plugin-proposal-export-default-from": "^7.16.7",
33
+ "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
34
+ "@babel/plugin-proposal-object-rest-spread": "^7.17.3",
35
+ "@babel/plugin-proposal-optional-chaining": "^7.16.7",
36
+ "@babel/plugin-proposal-private-methods": "^7.16.11",
37
+ "@babel/plugin-proposal-private-property-in-object": "^7.16.7",
38
+ "@babel/preset-env": "^7.17.10",
39
+ "@babel/preset-react": "^7.17.12",
40
+ "@babel/preset-typescript": "^7.16.7",
41
+ "@rollup/plugin-json": "^6.0.0",
42
+ "@rollup/plugin-node-resolve": "9.0.0",
43
+ "rollup": "^2.72.1",
44
+ "rollup-plugin-analyzer": "^4.0.0",
45
+ "rollup-plugin-auto-external": "^2.0.0",
46
+ "rollup-plugin-cleaner": "^1.0.0",
47
+ "rollup-plugin-copy": "^3.4.0",
48
+ "rollup-plugin-execute": "^1.1.0",
49
+ "rollup-plugin-ts-paths-resolve": "^1.7.1",
50
+ "rollup-plugin-typescript-paths": "^1.3.1"
51
+ }
52
+ }
package/index.ts ADDED
@@ -0,0 +1 @@
1
+ export * from '@mdi/js';
package/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "url": "git+https://github.com/redsift/design-system"
20
20
  },
21
21
  "sideEffects": false,
22
- "version": "8.0.0",
22
+ "version": "8.0.1",
23
23
  "scripts": {
24
24
  "build": "rollup -c",
25
25
  "prepublishOnly": "yarn build"
@@ -48,6 +48,5 @@
48
48
  "rollup-plugin-execute": "^1.1.0",
49
49
  "rollup-plugin-ts-paths-resolve": "^1.7.1",
50
50
  "rollup-plugin-typescript-paths": "^1.3.1"
51
- },
52
- "gitHead": "d5b44ad25f944f5869829750628000b346718034"
51
+ }
53
52
  }
@@ -0,0 +1,58 @@
1
+ import path from 'path';
2
+ import resolve from '@rollup/plugin-node-resolve';
3
+ import { babel } from '@rollup/plugin-babel';
4
+ import copy from 'rollup-plugin-copy';
5
+ import cleaner from 'rollup-plugin-cleaner';
6
+
7
+ import pkg from './package.json';
8
+ const BABEL_CONFIG = require('../../babel.config');
9
+
10
+ const ROOT_PATH = path.resolve(__dirname, '..', '..');
11
+ const DIST_PATH = path.resolve(__dirname, pkg.publishConfig.directory);
12
+ export const extensions = ['.js', '.ts'];
13
+
14
+ export default {
15
+ input: 'index.ts',
16
+ output: [
17
+ // ESM version
18
+ {
19
+ format: 'esm',
20
+ sourcemap: true,
21
+ dir: DIST_PATH,
22
+ },
23
+ // CommonJS version
24
+ {
25
+ format: 'cjs',
26
+ sourcemap: true,
27
+ dir: path.join(DIST_PATH, 'cjs'),
28
+ },
29
+ ],
30
+ plugins: [
31
+ /** Clean dist dir */
32
+ cleaner({ targets: [DIST_PATH] }),
33
+ /** Resolve source files. */
34
+ resolve({ browser: true, extensions }),
35
+ /** Transpile JS/TS */
36
+ babel({
37
+ babelHelpers: 'bundled',
38
+ extensions,
39
+ exclude: /node_modules/,
40
+ plugins: BABEL_CONFIG.plugins,
41
+ presets: [
42
+ ['@babel/preset-env', { targets: 'defaults' }],
43
+ '@babel/preset-react',
44
+ '@babel/preset-typescript',
45
+ ],
46
+ }),
47
+ /** Copy additional files to dist */
48
+ copy({
49
+ targets: [
50
+ { src: path.join(ROOT_PATH, 'CONTRIBUTING.md'), dest: DIST_PATH },
51
+ { src: path.join(ROOT_PATH, 'LICENSE.md'), dest: DIST_PATH },
52
+ { src: path.join(__dirname, 'README.md'), dest: DIST_PATH },
53
+ { src: path.join(__dirname, 'package.json'), dest: DIST_PATH },
54
+ { src: path.join(__dirname, 'index.d.ts'), dest: DIST_PATH },
55
+ ],
56
+ }),
57
+ ],
58
+ };
package/tsconfig.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "../../tsconfig"
3
+ }
File without changes
File without changes
File without changes
File without changes
File without changes