@sfgov/design-system 0.0.0-2b1f226 → 0.0.0-7e802d4

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,5 +1,5 @@
1
1
  {
2
- "generated": 1674522246594,
2
+ "generated": 1674522584253,
3
3
  "files": {
4
4
  "dist/css/base.css": {
5
5
  "size": 274
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sfgov/design-system",
3
- "version": "0.0.0-2b1f226",
3
+ "version": "0.0.0-7e802d4",
4
4
  "engines": {
5
5
  "node": "16.x",
6
6
  "npm": "8.x"
@@ -18,7 +18,7 @@
18
18
  "dist",
19
19
  "lib",
20
20
  "tailwind.*",
21
- "*.{config.*,rc}",
21
+ "svgo.config.*",
22
22
  "!website/**",
23
23
  "!storybook/**"
24
24
  ],
package/babel.config.js DELETED
@@ -1,16 +0,0 @@
1
- /** @type {import('@babel/core').} */
2
- module.exports = {
3
- exclude: [
4
- '**/node_modules/**'
5
- ],
6
- presets: [
7
- '@babel/preset-typescript',
8
- '@babel/preset-react',
9
- ['@babel/preset-env', {
10
- useBuiltIns: 'usage',
11
- corejs: {
12
- version: '3'
13
- }
14
- }]
15
- ]
16
- }
package/postcss.config.js DELETED
@@ -1,17 +0,0 @@
1
- const { NODE_ENV } = process.env
2
- const production = NODE_ENV === 'production'
3
-
4
- /** @type {import('postcss').ProcessOptions} */
5
- module.exports = {
6
- /** @type {import('postcss').AcceptedPlugin[]} */
7
- plugins: [
8
- require('postcss-import'),
9
- require('postcss-nested'),
10
- require('tailwindcss'),
11
- require('autoprefixer'),
12
- production && require('cssnano')
13
- ].filter(Boolean),
14
- map: {
15
- inline: false
16
- }
17
- }
package/rollup.config.mjs DELETED
@@ -1,72 +0,0 @@
1
- import commonjs from '@rollup/plugin-commonjs'
2
- import json from '@rollup/plugin-json'
3
- import peerDepsExternal from 'rollup-plugin-peer-deps-external'
4
- import resolve from '@rollup/plugin-node-resolve'
5
- import ts from 'rollup-plugin-ts'
6
- import { terser } from 'rollup-plugin-terser'
7
-
8
- /**
9
- * @typedef {import('rollup').RollupOptions} RollupOptions
10
- * @typedef {import('rollup').InputOptions} InputOptions
11
- * @typedef {import('rollup').OutputOptions} OutputOptions
12
- */
13
-
14
- const { NODE_ENV } = process.env
15
- const production = NODE_ENV === 'production'
16
- const sourcemap = !production
17
-
18
- const commonPlugins = [
19
- commonjs({
20
- }),
21
- json({
22
- compact: true
23
- }),
24
- resolve({
25
- }),
26
- peerDepsExternal(),
27
- ts({
28
- transpiler: 'babel'
29
- }),
30
- production && terser()
31
- ]
32
-
33
- /** @type {RollupOptions[]} */
34
- export default [
35
- {
36
- input: './elements/src/index.js',
37
- plugins: commonPlugins,
38
- output: [
39
- {
40
- file: 'dist/elements/index.mjs',
41
- format: 'esm',
42
- sourcemap
43
- },
44
- {
45
- file: 'dist/elements/index.js',
46
- format: 'umd',
47
- name: 'sfgov.elements',
48
- sourcemap
49
- }
50
- ]
51
- },
52
- {
53
- input: './react/src/index.ts',
54
- plugins: commonPlugins,
55
- output: [
56
- {
57
- file: 'dist/react/index.mjs',
58
- format: 'esm',
59
- sourcemap
60
- },
61
- {
62
- file: 'dist/react/index.js',
63
- format: 'umd',
64
- name: 'sfgov.react',
65
- sourcemap,
66
- globals: {
67
- react: 'React'
68
- }
69
- }
70
- ]
71
- }
72
- ]