@jakubmazanec/carson-templates 2.5.0 → 2.6.0-next.c928134
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,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jakubmazanec/carson-templates",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0-next.c928134",
|
|
4
4
|
"description": "Collection of Carson templates.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "git@github.com:jakubmazanec/
|
|
7
|
+
"url": "git@github.com:jakubmazanec/tools.git",
|
|
8
8
|
"directory": "packages/carson-templates"
|
|
9
9
|
},
|
|
10
10
|
"license": "MIT",
|
|
@@ -11,22 +11,26 @@ strategy: overwrite
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
import {type StorybookConfig} from '@storybook/react-vite';
|
|
14
|
+
import _ from 'lodash';
|
|
14
15
|
|
|
15
|
-
const config: StorybookConfig =
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
16
|
+
const config: StorybookConfig = _.merge(
|
|
17
|
+
{
|
|
18
|
+
stories: ['../stories/**/*.mdx', '../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
|
|
19
|
+
addons: [
|
|
20
|
+
'@chromatic-com/storybook',
|
|
21
|
+
'@storybook/addon-essentials',
|
|
22
|
+
'@storybook/addon-interactions',
|
|
23
|
+
'@storybook/addon-links',
|
|
24
|
+
],
|
|
25
|
+
framework: {
|
|
26
|
+
name: '@storybook/react-vite',
|
|
27
|
+
options: {},
|
|
28
|
+
},
|
|
29
|
+
docs: {
|
|
30
|
+
autodocs: 'tag',
|
|
31
|
+
},
|
|
32
|
+
} satisfies StorybookConfig,
|
|
33
|
+
<%- JSON.stringify(project.config.overrides?.storybookConfig ?? {}, null, 2) %>,
|
|
34
|
+
);
|
|
31
35
|
|
|
32
36
|
export default config;
|
|
@@ -64,7 +64,7 @@ let packageJson = lodash.merge(
|
|
|
64
64
|
},
|
|
65
65
|
files,
|
|
66
66
|
scripts: {
|
|
67
|
-
build: `del-cli ${BUILD_DIRECTORY} tsconfig.tsbuildinfo && ${BUILD_TO_ESM_COMMAND} && tsc && storybook build`,
|
|
67
|
+
build: `del-cli ${BUILD_DIRECTORY} tsconfig.tsbuildinfo && ${BUILD_TO_ESM_COMMAND} --loader:.woff2=copy && tsc && storybook build`,
|
|
68
68
|
clean: `del-cli coverage ${BUILD_DIRECTORY} *.tsbuildinfo`,
|
|
69
69
|
develop: `concurrently "${BUILD_TO_ESM_COMMAND} --watch" "tsc --watch" "storybook dev -p 6006 --no-open"`,
|
|
70
70
|
document: 'del-cli docs && typedoc --options typedoc.config.cjs',
|
|
@@ -1,3 +1,19 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
2
|
+
to: 'prettier.config.cjs'
|
|
3
|
+
strategy: overwrite
|
|
3
4
|
---
|
|
5
|
+
<%
|
|
6
|
+
let prettierConfig = {
|
|
7
|
+
...PRETTIER_OPTIONS,
|
|
8
|
+
plugins: ['prettier-plugin-packagejson', 'prettier-plugin-tailwindcss'],
|
|
9
|
+
};
|
|
10
|
+
-%>
|
|
11
|
+
/**
|
|
12
|
+
* DO NOT EDIT!
|
|
13
|
+
* This file was autogenerated by Carson.
|
|
14
|
+
* Changes may cause incorrect behavior and will be lost when the file is regenerated.
|
|
15
|
+
*
|
|
16
|
+
* Run `npx carson update workspace` to regenerate.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
module.exports = <%- JSON.stringify(prettierConfig, null, 2) %>;
|