-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
96c5cda
commit c19e273
Showing
92 changed files
with
9,564 additions
and
7,323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
node_modules | ||
.DS_Store | ||
node_modules | ||
.turbo | ||
*.log | ||
.next | ||
dist | ||
|
||
yarn-error.log | ||
*storybook.log | ||
dist-ssr | ||
*.local | ||
.env | ||
.cache | ||
server/dist | ||
public/dist | ||
storybook-static/ |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "docs", | ||
"version": "0.0.0", | ||
"type": "module", | ||
"private": true, | ||
"scripts": { | ||
"dev": "storybook dev -p 6006", | ||
"build": "storybook build --docs", | ||
"preview-storybook": "serve storybook-static", | ||
"clean": "rm -rf .turbo && rm -rf node_modules", | ||
"lint": "eslint ./stories/*.stories.tsx --max-warnings 0" | ||
}, | ||
"dependencies": { | ||
"@acme/ui": "workspace:*", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
}, | ||
"devDependencies": { | ||
"@repo/eslint-config": "workspace:*", | ||
"@repo/config-typescript": "workspace:*", | ||
"@storybook/addon-actions": "^8.2.6", | ||
"@storybook/addon-essentials": "^8.2.6", | ||
"@storybook/addon-links": "^8.2.6", | ||
"@storybook/react": "^8.2.6", | ||
"@storybook/react-vite": "^8.2.6", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"eslint": "^8.57.0", | ||
"serve": "^14.2.1", | ||
"storybook": "^8.2.6", | ||
"@repo/typescript-config": "workspace:*", | ||
"typescript": "5.5.4", | ||
"vite": "^5.1.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,102 +1,20 @@ | ||
{ | ||
"name": "@noowah/content-builder", | ||
"version": "0.0.5-beta.32", | ||
"description": "", | ||
"license": "MIT", | ||
"private": true, | ||
"scripts": { | ||
"build": "tsup", | ||
"storybook": "concurrently 'yarn:watch:*'", | ||
"watch:storybook": "storybook dev -p 6006", | ||
"watch:tailwind": "npx tailwind -i ./src/global.css -o ./src/styles/tailwind.css --watch", | ||
"build:tailwind": "npx tailwind -i ./src/global.css -o ./src/styles/tailwind.css", | ||
"build-storybook": "yarn build:storybook && storybook build", | ||
"lint": "tsc" | ||
"build": "turbo run build", | ||
"dev": "turbo run dev", | ||
"lint": "turbo run lint", | ||
"clean": "turbo run clean && rm -rf node_modules", | ||
"format": "prettier --write \"**/*.{ts,tsx,md}\"", | ||
"changeset": "changeset", | ||
"version-packages": "changeset version", | ||
"release": "turbo run build --filter=docs^... && changeset publish" | ||
}, | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
"./editor": { | ||
"import": "./dist/editor.mjs", | ||
"require": "./dist/editor.js", | ||
"default": "./dist/editor.mjs" | ||
}, | ||
"./renderer": { | ||
"import": "./dist/renderer.mjs", | ||
"require": "./dist/renderer.js", | ||
"default": "./dist/renderer.mjs" | ||
}, | ||
"./types": { | ||
"import": "./dist/types.d.ts" | ||
} | ||
}, | ||
"files": [ | ||
"dist", | ||
"README.md" | ||
], | ||
"devDependencies": { | ||
"@changesets/cli": "^2.27.10", | ||
"@chromatic-com/storybook": "^1.9.0", | ||
"@storybook/addon-essentials": "^8.3.4", | ||
"@storybook/addon-interactions": "^8.3.4", | ||
"@storybook/addon-links": "^8.3.4", | ||
"@storybook/addon-onboarding": "^8.3.4", | ||
"@storybook/addon-styling-webpack": "^1.0.0", | ||
"@storybook/addon-themes": "^8.3.4", | ||
"@storybook/addon-webpack5-compiler-swc": "^1.0.5", | ||
"@storybook/blocks": "^8.3.4", | ||
"@storybook/react": "^8.3.4", | ||
"@storybook/react-webpack5": "^8.3.4", | ||
"@storybook/test": "^8.3.4", | ||
"@testing-library/jest-dom": "^6.5.0", | ||
"@testing-library/react": "^16.0.0", | ||
"@types/jest": "^29.5.12", | ||
"@types/react": "^18.3.4", | ||
"babel-jest": "^29.7.0", | ||
"concurrently": "^9.0.1", | ||
"jest": "^29.7.0", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"postcss": "^8.4.41", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
"storybook": "^8.3.4", | ||
"tailwindcss": "^3.4.13", | ||
"tsconfig-paths-webpack-plugin": "^4.1.0", | ||
"tslib": "^2.7.0", | ||
"tsup": "^8.3.0", | ||
"typescript": "^5.5.4" | ||
}, | ||
"peerDependencies": { | ||
"react": "^18.3.1" | ||
"@changesets/cli": "^2.27.1", | ||
"prettier": "^3.2.5", | ||
"turbo": "^2.0.3" | ||
}, | ||
"dependencies": { | ||
"@babel/core": "^7.0.0", | ||
"@dnd-kit/core": "^6.1.0", | ||
"@dnd-kit/modifiers": "^7.0.0", | ||
"@dnd-kit/sortable": "^8.0.0", | ||
"@dnd-kit/utilities": "^3.2.2", | ||
"@radix-ui/react-context-menu": "^2.2.4", | ||
"@react-spring/web": "^9.7.5", | ||
"@tiptap/core": "^2.7.0", | ||
"@tiptap/extension-color": "^2.8.0", | ||
"@tiptap/extension-floating-menu": "^2.8.0", | ||
"@tiptap/extension-focus": "^2.8.0", | ||
"@tiptap/extension-heading": "^2.8.0", | ||
"@tiptap/extension-highlight": "^2.6.6", | ||
"@tiptap/extension-list-item": "^2.8.0", | ||
"@tiptap/extension-text-style": "^2.8.0", | ||
"@tiptap/pm": "^2.8.0", | ||
"@tiptap/react": "^2.8.0", | ||
"@tiptap/starter-kit": "^2.8.0", | ||
"@tiptap/suggestion": "^2.8.0", | ||
"autoprefixer": "^10.4.20", | ||
"embla-carousel-autoplay": "^8.3.0", | ||
"embla-carousel-react": "^8.3.0", | ||
"re-resizable": "^6.10.3", | ||
"react-hook-form": "7.53.0", | ||
"react-icons": "^5.3.0", | ||
"tailwind-merge": "^2.5.4", | ||
"webpack": "^5.0.0", | ||
"zustand": "^5.0.0-rc.2" | ||
} | ||
} | ||
"packageManager": "[email protected]", | ||
"name": "content-builder-design-system" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
const { resolve } = require("node:path"); | ||
|
||
const project = resolve(process.cwd(), "tsconfig.json"); | ||
|
||
/* | ||
* This is a custom ESLint configuration for use with | ||
* typescript packages. | ||
* | ||
* This config extends the Vercel Engineering Style Guide. | ||
* For more information, see https://github.com/vercel/style-guide | ||
* | ||
*/ | ||
|
||
module.exports = { | ||
extends: [ | ||
"@vercel/style-guide/eslint/node", | ||
"@vercel/style-guide/eslint/typescript", | ||
].map(require.resolve), | ||
parserOptions: { | ||
project, | ||
}, | ||
plugins: ["only-warn"], | ||
globals: { | ||
React: true, | ||
JSX: true, | ||
}, | ||
settings: { | ||
"import/resolver": { | ||
typescript: { | ||
project, | ||
}, | ||
}, | ||
}, | ||
ignorePatterns: ["node_modules/", "dist/"], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "@repo/config-eslint", | ||
"version": "0.0.0", | ||
"private": true, | ||
"files": [ | ||
"library.js", | ||
"react.js", | ||
"storybook.js" | ||
], | ||
"devDependencies": { | ||
"@vercel/style-guide": "^5.2.0", | ||
"eslint-config-turbo": "^2.0.0", | ||
"eslint-plugin-mdx": "^3.1.5", | ||
"eslint-plugin-only-warn": "^1.1.0", | ||
"eslint-plugin-storybook": "^0.8.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
const { resolve } = require("node:path"); | ||
|
||
const project = resolve(process.cwd(), "tsconfig.json"); | ||
|
||
/* | ||
* This is a custom ESLint configuration for use a library | ||
* that utilizes React. | ||
* | ||
* This config extends the Vercel Engineering Style Guide. | ||
* For more information, see https://github.com/vercel/style-guide | ||
* | ||
*/ | ||
|
||
module.exports = { | ||
extends: [ | ||
"@vercel/style-guide/eslint/browser", | ||
"@vercel/style-guide/eslint/typescript", | ||
"@vercel/style-guide/eslint/react", | ||
].map(require.resolve), | ||
parserOptions: { | ||
project, | ||
}, | ||
plugins: ["only-warn"], | ||
globals: { | ||
JSX: true, | ||
}, | ||
settings: { | ||
"import/resolver": { | ||
typescript: { | ||
project, | ||
}, | ||
}, | ||
}, | ||
ignorePatterns: ["node_modules/", "dist/", ".eslintrc.js", "**/*.css"], | ||
// add rules configurations here | ||
rules: { | ||
"import/no-default-export": "off", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
const { resolve } = require("node:path"); | ||
|
||
const project = resolve(process.cwd(), "tsconfig.json"); | ||
|
||
/* | ||
* This is a custom ESLint configuration for use with | ||
* typescript packages. | ||
* | ||
* This config extends the Vercel Engineering Style Guide. | ||
* For more information, see https://github.com/vercel/style-guide | ||
* | ||
*/ | ||
|
||
module.exports = { | ||
extends: [ | ||
"plugin:storybook/recommended", | ||
"plugin:mdx/recommended", | ||
...[ | ||
"@vercel/style-guide/eslint/node", | ||
"@vercel/style-guide/eslint/typescript", | ||
"@vercel/style-guide/eslint/browser", | ||
"@vercel/style-guide/eslint/react", | ||
].map(require.resolve), | ||
], | ||
parserOptions: { | ||
project, | ||
}, | ||
plugins: ["only-warn"], | ||
globals: { | ||
React: true, | ||
JSX: true, | ||
}, | ||
settings: { | ||
"import/resolver": { | ||
typescript: { | ||
project, | ||
}, | ||
}, | ||
}, | ||
ignorePatterns: ["node_modules/", "dist/"], | ||
// add rules configurations here | ||
rules: { | ||
"import/no-default-export": "off", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
"compilerOptions": { | ||
"composite": false, | ||
"declaration": true, | ||
"declarationMap": true, | ||
"esModuleInterop": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"inlineSources": false, | ||
"isolatedModules": true, | ||
"module": "ESNext", | ||
"moduleResolution": "Bundler", | ||
"noUnusedLocals": false, | ||
"noUnusedParameters": false, | ||
"preserveWatchOutput": true, | ||
"skipLibCheck": true, | ||
"strict": true | ||
}, | ||
"exclude": ["node_modules"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@repo/config-typescript", | ||
"version": "0.0.0", | ||
"private": true, | ||
"license": "MIT", | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
"extends": "./base.json", | ||
"compilerOptions": { | ||
"jsx": "react-jsx", | ||
"lib": ["dom", "ES2015"], | ||
"module": "ESNext", | ||
"target": "es6" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
node_modules | ||
dist | ||
|
||
yarn-error.log | ||
*storybook.log |
Oops, something went wrong.