├── .babelrc ├── .eslintignore ├── .eslintrc ├── .gitignore ├── .prettierignore ├── .prettierrc ├── .travis.yml ├── .vscode └── settings.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── codecov.yml ├── commitlint.config.js ├── examples ├── benchmark │ ├── .gitignore │ ├── README.md │ ├── index.html │ ├── package.json │ ├── src │ │ ├── App.jsx │ │ ├── Result.jsx │ │ ├── TestCases.css │ │ ├── TestCases.tsx │ │ ├── favicon.svg │ │ ├── index.css │ │ ├── logo.svg │ │ ├── main.jsx │ │ └── vite-env.d.ts │ ├── tsconfig.json │ ├── vite.config.ts │ └── yarn.lock ├── counter │ ├── .gitignore │ ├── README.md │ ├── index.html │ ├── package.json │ ├── src │ │ ├── App.tsx │ │ ├── favicon.svg │ │ ├── index.css │ │ ├── logo.svg │ │ └── main.tsx │ ├── tsconfig.json │ ├── vite.config.ts │ └── yarn.lock ├── react-i18next │ ├── .env │ ├── .gitignore │ ├── @types │ │ └── react-i18next │ │ │ └── index.d.ts │ ├── README.md │ ├── config │ │ ├── env.js │ │ ├── getHttpsConfig.js │ │ ├── jest │ │ │ ├── cssTransform.js │ │ │ └── fileTransform.js │ │ ├── modules.js │ │ ├── paths.js │ │ ├── pnpTs.js │ │ ├── webpack.config.js │ │ └── webpackDevServer.config.js │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── scripts │ │ ├── build.js │ │ ├── start.js │ │ └── test.js │ ├── src │ │ ├── App.tsx │ │ ├── i18n │ │ │ ├── config.ts │ │ │ ├── en │ │ │ │ └── translation.json │ │ │ └── ja │ │ │ │ └── translation.json │ │ ├── index.css │ │ ├── index.tsx │ │ ├── logo.svg │ │ ├── react-app-env.d.ts │ │ ├── reportWebVitals.ts │ │ ├── setupTests.ts │ │ └── utils.ts │ ├── tsconfig.json │ └── yarn.lock ├── redux-todos │ ├── .gitignore │ ├── README.md │ ├── index.html │ ├── package.json │ ├── src │ │ ├── actions │ │ │ └── index.js │ │ ├── components │ │ │ ├── AddTodo.jsx │ │ │ ├── App.jsx │ │ │ ├── Link.jsx │ │ │ ├── Sidebar.jsx │ │ │ ├── Todo.jsx │ │ │ └── TodoList.jsx │ │ ├── containers │ │ │ ├── AddTodo.js │ │ │ ├── FilterLink.js │ │ │ └── VisibleTodoList.js │ │ ├── favicon.svg │ │ ├── main.jsx │ │ └── reducers │ │ │ ├── index.js │ │ │ ├── todos.js │ │ │ └── visibilityFilter.js │ ├── vite.config.js │ └── yarn.lock └── tailwind-starter │ ├── .gitignore │ ├── README.md │ ├── index.html │ ├── package.json │ ├── postcss.config.js │ ├── src │ ├── App.jsx │ ├── components │ │ ├── Header.jsx │ │ └── Nav.jsx │ ├── index.css │ ├── main.jsx │ └── views │ │ ├── About.jsx │ │ ├── Home.jsx │ │ └── NotFound.jsx │ ├── tailwind.config.js │ ├── vite.config.js │ └── yarn.lock ├── lerna.json ├── package.json ├── packages ├── babel-plugin-jsx-sfc │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── __tests__ │ │ ├── onlyComponent.spec.ts │ │ ├── sfc.spec.ts │ │ └── utils.ts │ ├── index.d.ts │ ├── package.json │ ├── rollup.config.js │ └── src │ │ ├── index.ts │ │ └── utils │ │ ├── ast.ts │ │ └── index.ts ├── jsx-sfc.macro │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── package.json │ └── src │ │ └── index.ts ├── jsx-sfc │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── __tests__ │ │ ├── forwardRef.spec.tsx │ │ ├── hoc.spec.tsx │ │ ├── jsxEnvironment.spec.jsx │ │ ├── props.spec.tsx │ │ ├── sfc.spec.tsx │ │ └── withExtensions.spec.tsx │ ├── index.d.ts │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── defineComponent.ts │ │ ├── index.ts │ │ ├── overview.ts │ │ ├── sfc.tsx │ │ ├── template.ts │ │ └── utils.ts │ └── types │ │ ├── dist.definition.ts │ │ ├── global.d.ts │ │ └── jsx-sfc.d.ts ├── use-templates │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── __tests__ │ │ ├── useTemplates.spec.tsx │ │ └── vue │ │ │ └── useTemplates.spec.tsx │ ├── index.d.ts │ ├── package.json │ ├── rollup.config.js │ ├── src │ │ ├── index.ts │ │ ├── shared.ts │ │ ├── template.ts │ │ ├── utils.ts │ │ └── vue │ │ │ ├── index.ts │ │ │ ├── template.ts │ │ │ └── utils.ts │ ├── types │ │ ├── dist.definition.ts │ │ ├── global.d.ts │ │ └── use-templates.d.ts │ └── vue │ │ ├── index.d.ts │ │ ├── index.js │ │ └── types │ │ ├── dist.definition.ts │ │ ├── global.d.ts │ │ ├── index.d.ts │ │ └── use-templates.d.ts ├── vite-plugin-jsx-sfc │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── legacy │ │ └── index.d.ts │ ├── package.json │ ├── rollup.config.js │ └── src │ │ ├── index.ts │ │ └── legacy │ │ ├── index.ts │ │ └── transform.ts └── vscode-jsx-sfc │ ├── .gitignore │ ├── .prettierrc │ ├── .vscode │ └── launch.json │ ├── .vscodeignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── images │ ├── react-logo.png │ └── split-editors.png │ ├── package.json │ ├── snippets │ └── sfc.snippets.json │ ├── src │ ├── extension.ts │ ├── parser │ │ ├── __tests__ │ │ │ └── parser.spec.ts │ │ ├── config.ts │ │ └── index.ts │ ├── types │ │ ├── SFCBlock.ts │ │ ├── Split.ts │ │ ├── global.d.ts │ │ └── index.ts │ └── utils │ │ └── index.ts │ ├── test │ ├── jest.babelrc │ └── jest.config.js │ ├── tsconfig.json │ └── yarn.lock ├── test ├── jest.babelrc ├── jest.config.babel.js ├── jest.config.js ├── node_modules_local │ └── @vue │ │ └── runtime-dom │ │ ├── LICENSE │ │ ├── README.md │ │ ├── dist │ │ ├── runtime-dom.cjs.js │ │ ├── runtime-dom.cjs.prod.js │ │ ├── runtime-dom.d.ts │ │ ├── runtime-dom.esm-browser.js │ │ ├── runtime-dom.esm-browser.prod.js │ │ ├── runtime-dom.esm-bundler.js │ │ ├── runtime-dom.global.js │ │ └── runtime-dom.global.prod.js │ │ ├── index.js │ │ └── package.json ├── setup.js ├── transforms │ ├── cssTransform.js │ └── fileTransform.js └── utils.js ├── tsconfig.json ├── types ├── env.d.ts └── global.d.ts └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/.prettierrc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/.travis.yml -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | packages/jsx-sfc/README.md -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/codecov.yml -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['@commitlint/config-conventional'] 3 | }; 4 | -------------------------------------------------------------------------------- /examples/benchmark/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/benchmark/.gitignore -------------------------------------------------------------------------------- /examples/benchmark/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/benchmark/README.md -------------------------------------------------------------------------------- /examples/benchmark/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/benchmark/index.html -------------------------------------------------------------------------------- /examples/benchmark/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/benchmark/package.json -------------------------------------------------------------------------------- /examples/benchmark/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/benchmark/src/App.jsx -------------------------------------------------------------------------------- /examples/benchmark/src/Result.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/benchmark/src/Result.jsx -------------------------------------------------------------------------------- /examples/benchmark/src/TestCases.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/benchmark/src/TestCases.css -------------------------------------------------------------------------------- /examples/benchmark/src/TestCases.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/benchmark/src/TestCases.tsx -------------------------------------------------------------------------------- /examples/benchmark/src/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/benchmark/src/favicon.svg -------------------------------------------------------------------------------- /examples/benchmark/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/benchmark/src/index.css -------------------------------------------------------------------------------- /examples/benchmark/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/benchmark/src/logo.svg -------------------------------------------------------------------------------- /examples/benchmark/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/benchmark/src/main.jsx -------------------------------------------------------------------------------- /examples/benchmark/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /examples/benchmark/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/benchmark/tsconfig.json -------------------------------------------------------------------------------- /examples/benchmark/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/benchmark/vite.config.ts -------------------------------------------------------------------------------- /examples/benchmark/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/benchmark/yarn.lock -------------------------------------------------------------------------------- /examples/counter/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/counter/.gitignore -------------------------------------------------------------------------------- /examples/counter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/counter/README.md -------------------------------------------------------------------------------- /examples/counter/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/counter/index.html -------------------------------------------------------------------------------- /examples/counter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/counter/package.json -------------------------------------------------------------------------------- /examples/counter/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/counter/src/App.tsx -------------------------------------------------------------------------------- /examples/counter/src/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/counter/src/favicon.svg -------------------------------------------------------------------------------- /examples/counter/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/counter/src/index.css -------------------------------------------------------------------------------- /examples/counter/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/counter/src/logo.svg -------------------------------------------------------------------------------- /examples/counter/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/counter/src/main.tsx -------------------------------------------------------------------------------- /examples/counter/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/counter/tsconfig.json -------------------------------------------------------------------------------- /examples/counter/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/counter/vite.config.ts -------------------------------------------------------------------------------- /examples/counter/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/counter/yarn.lock -------------------------------------------------------------------------------- /examples/react-i18next/.env: -------------------------------------------------------------------------------- 1 | SKIP_PREFLIGHT_CHECK=true -------------------------------------------------------------------------------- /examples/react-i18next/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/.gitignore -------------------------------------------------------------------------------- /examples/react-i18next/@types/react-i18next/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/@types/react-i18next/index.d.ts -------------------------------------------------------------------------------- /examples/react-i18next/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/README.md -------------------------------------------------------------------------------- /examples/react-i18next/config/env.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/config/env.js -------------------------------------------------------------------------------- /examples/react-i18next/config/getHttpsConfig.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/config/getHttpsConfig.js -------------------------------------------------------------------------------- /examples/react-i18next/config/jest/cssTransform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/config/jest/cssTransform.js -------------------------------------------------------------------------------- /examples/react-i18next/config/jest/fileTransform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/config/jest/fileTransform.js -------------------------------------------------------------------------------- /examples/react-i18next/config/modules.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/config/modules.js -------------------------------------------------------------------------------- /examples/react-i18next/config/paths.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/config/paths.js -------------------------------------------------------------------------------- /examples/react-i18next/config/pnpTs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/config/pnpTs.js -------------------------------------------------------------------------------- /examples/react-i18next/config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/config/webpack.config.js -------------------------------------------------------------------------------- /examples/react-i18next/config/webpackDevServer.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/config/webpackDevServer.config.js -------------------------------------------------------------------------------- /examples/react-i18next/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/package.json -------------------------------------------------------------------------------- /examples/react-i18next/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/public/favicon.ico -------------------------------------------------------------------------------- /examples/react-i18next/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/public/index.html -------------------------------------------------------------------------------- /examples/react-i18next/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/public/logo192.png -------------------------------------------------------------------------------- /examples/react-i18next/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/public/logo512.png -------------------------------------------------------------------------------- /examples/react-i18next/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/public/manifest.json -------------------------------------------------------------------------------- /examples/react-i18next/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/public/robots.txt -------------------------------------------------------------------------------- /examples/react-i18next/scripts/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/scripts/build.js -------------------------------------------------------------------------------- /examples/react-i18next/scripts/start.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/scripts/start.js -------------------------------------------------------------------------------- /examples/react-i18next/scripts/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/scripts/test.js -------------------------------------------------------------------------------- /examples/react-i18next/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/src/App.tsx -------------------------------------------------------------------------------- /examples/react-i18next/src/i18n/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/src/i18n/config.ts -------------------------------------------------------------------------------- /examples/react-i18next/src/i18n/en/translation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/src/i18n/en/translation.json -------------------------------------------------------------------------------- /examples/react-i18next/src/i18n/ja/translation.json: -------------------------------------------------------------------------------- 1 | { 2 | "common": "汎用" 3 | } 4 | -------------------------------------------------------------------------------- /examples/react-i18next/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/src/index.css -------------------------------------------------------------------------------- /examples/react-i18next/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/src/index.tsx -------------------------------------------------------------------------------- /examples/react-i18next/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/src/logo.svg -------------------------------------------------------------------------------- /examples/react-i18next/src/react-app-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/src/react-app-env.d.ts -------------------------------------------------------------------------------- /examples/react-i18next/src/reportWebVitals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/src/reportWebVitals.ts -------------------------------------------------------------------------------- /examples/react-i18next/src/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/src/setupTests.ts -------------------------------------------------------------------------------- /examples/react-i18next/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/src/utils.ts -------------------------------------------------------------------------------- /examples/react-i18next/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/tsconfig.json -------------------------------------------------------------------------------- /examples/react-i18next/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/react-i18next/yarn.lock -------------------------------------------------------------------------------- /examples/redux-todos/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/.gitignore -------------------------------------------------------------------------------- /examples/redux-todos/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/README.md -------------------------------------------------------------------------------- /examples/redux-todos/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/index.html -------------------------------------------------------------------------------- /examples/redux-todos/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/package.json -------------------------------------------------------------------------------- /examples/redux-todos/src/actions/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/src/actions/index.js -------------------------------------------------------------------------------- /examples/redux-todos/src/components/AddTodo.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/src/components/AddTodo.jsx -------------------------------------------------------------------------------- /examples/redux-todos/src/components/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/src/components/App.jsx -------------------------------------------------------------------------------- /examples/redux-todos/src/components/Link.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/src/components/Link.jsx -------------------------------------------------------------------------------- /examples/redux-todos/src/components/Sidebar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/src/components/Sidebar.jsx -------------------------------------------------------------------------------- /examples/redux-todos/src/components/Todo.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/src/components/Todo.jsx -------------------------------------------------------------------------------- /examples/redux-todos/src/components/TodoList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/src/components/TodoList.jsx -------------------------------------------------------------------------------- /examples/redux-todos/src/containers/AddTodo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/src/containers/AddTodo.js -------------------------------------------------------------------------------- /examples/redux-todos/src/containers/FilterLink.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/src/containers/FilterLink.js -------------------------------------------------------------------------------- /examples/redux-todos/src/containers/VisibleTodoList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/src/containers/VisibleTodoList.js -------------------------------------------------------------------------------- /examples/redux-todos/src/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/src/favicon.svg -------------------------------------------------------------------------------- /examples/redux-todos/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/src/main.jsx -------------------------------------------------------------------------------- /examples/redux-todos/src/reducers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/src/reducers/index.js -------------------------------------------------------------------------------- /examples/redux-todos/src/reducers/todos.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/src/reducers/todos.js -------------------------------------------------------------------------------- /examples/redux-todos/src/reducers/visibilityFilter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/src/reducers/visibilityFilter.js -------------------------------------------------------------------------------- /examples/redux-todos/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/vite.config.js -------------------------------------------------------------------------------- /examples/redux-todos/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/redux-todos/yarn.lock -------------------------------------------------------------------------------- /examples/tailwind-starter/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | dist 4 | *.local -------------------------------------------------------------------------------- /examples/tailwind-starter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/tailwind-starter/README.md -------------------------------------------------------------------------------- /examples/tailwind-starter/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/tailwind-starter/index.html -------------------------------------------------------------------------------- /examples/tailwind-starter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/tailwind-starter/package.json -------------------------------------------------------------------------------- /examples/tailwind-starter/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/tailwind-starter/postcss.config.js -------------------------------------------------------------------------------- /examples/tailwind-starter/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/tailwind-starter/src/App.jsx -------------------------------------------------------------------------------- /examples/tailwind-starter/src/components/Header.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/tailwind-starter/src/components/Header.jsx -------------------------------------------------------------------------------- /examples/tailwind-starter/src/components/Nav.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/tailwind-starter/src/components/Nav.jsx -------------------------------------------------------------------------------- /examples/tailwind-starter/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/tailwind-starter/src/index.css -------------------------------------------------------------------------------- /examples/tailwind-starter/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/tailwind-starter/src/main.jsx -------------------------------------------------------------------------------- /examples/tailwind-starter/src/views/About.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/tailwind-starter/src/views/About.jsx -------------------------------------------------------------------------------- /examples/tailwind-starter/src/views/Home.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/tailwind-starter/src/views/Home.jsx -------------------------------------------------------------------------------- /examples/tailwind-starter/src/views/NotFound.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/tailwind-starter/src/views/NotFound.jsx -------------------------------------------------------------------------------- /examples/tailwind-starter/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/tailwind-starter/tailwind.config.js -------------------------------------------------------------------------------- /examples/tailwind-starter/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/tailwind-starter/vite.config.js -------------------------------------------------------------------------------- /examples/tailwind-starter/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/examples/tailwind-starter/yarn.lock -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/lerna.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/package.json -------------------------------------------------------------------------------- /packages/babel-plugin-jsx-sfc/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | /lib/ -------------------------------------------------------------------------------- /packages/babel-plugin-jsx-sfc/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/babel-plugin-jsx-sfc/LICENSE -------------------------------------------------------------------------------- /packages/babel-plugin-jsx-sfc/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/babel-plugin-jsx-sfc/README.md -------------------------------------------------------------------------------- /packages/babel-plugin-jsx-sfc/__tests__/onlyComponent.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/babel-plugin-jsx-sfc/__tests__/onlyComponent.spec.ts -------------------------------------------------------------------------------- /packages/babel-plugin-jsx-sfc/__tests__/sfc.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/babel-plugin-jsx-sfc/__tests__/sfc.spec.ts -------------------------------------------------------------------------------- /packages/babel-plugin-jsx-sfc/__tests__/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/babel-plugin-jsx-sfc/__tests__/utils.ts -------------------------------------------------------------------------------- /packages/babel-plugin-jsx-sfc/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/babel-plugin-jsx-sfc/index.d.ts -------------------------------------------------------------------------------- /packages/babel-plugin-jsx-sfc/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/babel-plugin-jsx-sfc/package.json -------------------------------------------------------------------------------- /packages/babel-plugin-jsx-sfc/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/babel-plugin-jsx-sfc/rollup.config.js -------------------------------------------------------------------------------- /packages/babel-plugin-jsx-sfc/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/babel-plugin-jsx-sfc/src/index.ts -------------------------------------------------------------------------------- /packages/babel-plugin-jsx-sfc/src/utils/ast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/babel-plugin-jsx-sfc/src/utils/ast.ts -------------------------------------------------------------------------------- /packages/babel-plugin-jsx-sfc/src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/babel-plugin-jsx-sfc/src/utils/index.ts -------------------------------------------------------------------------------- /packages/jsx-sfc.macro/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | /lib/ -------------------------------------------------------------------------------- /packages/jsx-sfc.macro/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc.macro/LICENSE -------------------------------------------------------------------------------- /packages/jsx-sfc.macro/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc.macro/README.md -------------------------------------------------------------------------------- /packages/jsx-sfc.macro/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc.macro/index.d.ts -------------------------------------------------------------------------------- /packages/jsx-sfc.macro/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc.macro/package.json -------------------------------------------------------------------------------- /packages/jsx-sfc.macro/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc.macro/src/index.ts -------------------------------------------------------------------------------- /packages/jsx-sfc/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | /lib/ 3 | /dist/ -------------------------------------------------------------------------------- /packages/jsx-sfc/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/LICENSE -------------------------------------------------------------------------------- /packages/jsx-sfc/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/README.md -------------------------------------------------------------------------------- /packages/jsx-sfc/__tests__/forwardRef.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/__tests__/forwardRef.spec.tsx -------------------------------------------------------------------------------- /packages/jsx-sfc/__tests__/hoc.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/__tests__/hoc.spec.tsx -------------------------------------------------------------------------------- /packages/jsx-sfc/__tests__/jsxEnvironment.spec.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/__tests__/jsxEnvironment.spec.jsx -------------------------------------------------------------------------------- /packages/jsx-sfc/__tests__/props.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/__tests__/props.spec.tsx -------------------------------------------------------------------------------- /packages/jsx-sfc/__tests__/sfc.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/__tests__/sfc.spec.tsx -------------------------------------------------------------------------------- /packages/jsx-sfc/__tests__/withExtensions.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/__tests__/withExtensions.spec.tsx -------------------------------------------------------------------------------- /packages/jsx-sfc/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/index.d.ts -------------------------------------------------------------------------------- /packages/jsx-sfc/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/package.json -------------------------------------------------------------------------------- /packages/jsx-sfc/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/rollup.config.js -------------------------------------------------------------------------------- /packages/jsx-sfc/src/defineComponent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/src/defineComponent.ts -------------------------------------------------------------------------------- /packages/jsx-sfc/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/src/index.ts -------------------------------------------------------------------------------- /packages/jsx-sfc/src/overview.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/src/overview.ts -------------------------------------------------------------------------------- /packages/jsx-sfc/src/sfc.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/src/sfc.tsx -------------------------------------------------------------------------------- /packages/jsx-sfc/src/template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/src/template.ts -------------------------------------------------------------------------------- /packages/jsx-sfc/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/src/utils.ts -------------------------------------------------------------------------------- /packages/jsx-sfc/types/dist.definition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/types/dist.definition.ts -------------------------------------------------------------------------------- /packages/jsx-sfc/types/global.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'jsx-sfc/lib/*'; 2 | -------------------------------------------------------------------------------- /packages/jsx-sfc/types/jsx-sfc.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/jsx-sfc/types/jsx-sfc.d.ts -------------------------------------------------------------------------------- /packages/use-templates/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/.gitignore -------------------------------------------------------------------------------- /packages/use-templates/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/LICENSE -------------------------------------------------------------------------------- /packages/use-templates/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/README.md -------------------------------------------------------------------------------- /packages/use-templates/__tests__/useTemplates.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/__tests__/useTemplates.spec.tsx -------------------------------------------------------------------------------- /packages/use-templates/__tests__/vue/useTemplates.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/__tests__/vue/useTemplates.spec.tsx -------------------------------------------------------------------------------- /packages/use-templates/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/index.d.ts -------------------------------------------------------------------------------- /packages/use-templates/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/package.json -------------------------------------------------------------------------------- /packages/use-templates/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/rollup.config.js -------------------------------------------------------------------------------- /packages/use-templates/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/src/index.ts -------------------------------------------------------------------------------- /packages/use-templates/src/shared.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/src/shared.ts -------------------------------------------------------------------------------- /packages/use-templates/src/template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/src/template.ts -------------------------------------------------------------------------------- /packages/use-templates/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/src/utils.ts -------------------------------------------------------------------------------- /packages/use-templates/src/vue/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/src/vue/index.ts -------------------------------------------------------------------------------- /packages/use-templates/src/vue/template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/src/vue/template.ts -------------------------------------------------------------------------------- /packages/use-templates/src/vue/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/src/vue/utils.ts -------------------------------------------------------------------------------- /packages/use-templates/types/dist.definition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/types/dist.definition.ts -------------------------------------------------------------------------------- /packages/use-templates/types/global.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'use-templates/lib/*'; 2 | -------------------------------------------------------------------------------- /packages/use-templates/types/use-templates.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/types/use-templates.d.ts -------------------------------------------------------------------------------- /packages/use-templates/vue/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/vue/index.d.ts -------------------------------------------------------------------------------- /packages/use-templates/vue/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/vue/index.js -------------------------------------------------------------------------------- /packages/use-templates/vue/types/dist.definition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/vue/types/dist.definition.ts -------------------------------------------------------------------------------- /packages/use-templates/vue/types/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/vue/types/global.d.ts -------------------------------------------------------------------------------- /packages/use-templates/vue/types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/vue/types/index.d.ts -------------------------------------------------------------------------------- /packages/use-templates/vue/types/use-templates.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/use-templates/vue/types/use-templates.d.ts -------------------------------------------------------------------------------- /packages/vite-plugin-jsx-sfc/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vite-plugin-jsx-sfc/.gitignore -------------------------------------------------------------------------------- /packages/vite-plugin-jsx-sfc/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vite-plugin-jsx-sfc/LICENSE -------------------------------------------------------------------------------- /packages/vite-plugin-jsx-sfc/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vite-plugin-jsx-sfc/README.md -------------------------------------------------------------------------------- /packages/vite-plugin-jsx-sfc/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vite-plugin-jsx-sfc/index.d.ts -------------------------------------------------------------------------------- /packages/vite-plugin-jsx-sfc/legacy/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vite-plugin-jsx-sfc/legacy/index.d.ts -------------------------------------------------------------------------------- /packages/vite-plugin-jsx-sfc/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vite-plugin-jsx-sfc/package.json -------------------------------------------------------------------------------- /packages/vite-plugin-jsx-sfc/rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vite-plugin-jsx-sfc/rollup.config.js -------------------------------------------------------------------------------- /packages/vite-plugin-jsx-sfc/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vite-plugin-jsx-sfc/src/index.ts -------------------------------------------------------------------------------- /packages/vite-plugin-jsx-sfc/src/legacy/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vite-plugin-jsx-sfc/src/legacy/index.ts -------------------------------------------------------------------------------- /packages/vite-plugin-jsx-sfc/src/legacy/transform.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vite-plugin-jsx-sfc/src/legacy/transform.ts -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/.gitignore -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/.prettierrc -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/.vscode/launch.json -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/.vscodeignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/.vscodeignore -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/CHANGELOG.md -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/LICENSE -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/README.md -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/images/react-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/images/react-logo.png -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/images/split-editors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/images/split-editors.png -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/package.json -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/snippets/sfc.snippets.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/snippets/sfc.snippets.json -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/src/extension.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/src/extension.ts -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/src/parser/__tests__/parser.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/src/parser/__tests__/parser.spec.ts -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/src/parser/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/src/parser/config.ts -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/src/parser/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/src/parser/index.ts -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/src/types/SFCBlock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/src/types/SFCBlock.ts -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/src/types/Split.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/src/types/Split.ts -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/src/types/global.d.ts: -------------------------------------------------------------------------------- 1 | declare module '@babel/*'; 2 | -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/src/types/index.ts -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/src/utils/index.ts -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/test/jest.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/test/jest.babelrc -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/test/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/test/jest.config.js -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/tsconfig.json -------------------------------------------------------------------------------- /packages/vscode-jsx-sfc/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/packages/vscode-jsx-sfc/yarn.lock -------------------------------------------------------------------------------- /test/jest.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/jest.babelrc -------------------------------------------------------------------------------- /test/jest.config.babel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/jest.config.babel.js -------------------------------------------------------------------------------- /test/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/jest.config.js -------------------------------------------------------------------------------- /test/node_modules_local/@vue/runtime-dom/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/node_modules_local/@vue/runtime-dom/LICENSE -------------------------------------------------------------------------------- /test/node_modules_local/@vue/runtime-dom/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/node_modules_local/@vue/runtime-dom/README.md -------------------------------------------------------------------------------- /test/node_modules_local/@vue/runtime-dom/dist/runtime-dom.cjs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/node_modules_local/@vue/runtime-dom/dist/runtime-dom.cjs.js -------------------------------------------------------------------------------- /test/node_modules_local/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/node_modules_local/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js -------------------------------------------------------------------------------- /test/node_modules_local/@vue/runtime-dom/dist/runtime-dom.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/node_modules_local/@vue/runtime-dom/dist/runtime-dom.d.ts -------------------------------------------------------------------------------- /test/node_modules_local/@vue/runtime-dom/dist/runtime-dom.esm-browser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/node_modules_local/@vue/runtime-dom/dist/runtime-dom.esm-browser.js -------------------------------------------------------------------------------- /test/node_modules_local/@vue/runtime-dom/dist/runtime-dom.esm-browser.prod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/node_modules_local/@vue/runtime-dom/dist/runtime-dom.esm-browser.prod.js -------------------------------------------------------------------------------- /test/node_modules_local/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/node_modules_local/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js -------------------------------------------------------------------------------- /test/node_modules_local/@vue/runtime-dom/dist/runtime-dom.global.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/node_modules_local/@vue/runtime-dom/dist/runtime-dom.global.js -------------------------------------------------------------------------------- /test/node_modules_local/@vue/runtime-dom/dist/runtime-dom.global.prod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/node_modules_local/@vue/runtime-dom/dist/runtime-dom.global.prod.js -------------------------------------------------------------------------------- /test/node_modules_local/@vue/runtime-dom/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/node_modules_local/@vue/runtime-dom/index.js -------------------------------------------------------------------------------- /test/node_modules_local/@vue/runtime-dom/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/node_modules_local/@vue/runtime-dom/package.json -------------------------------------------------------------------------------- /test/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/setup.js -------------------------------------------------------------------------------- /test/transforms/cssTransform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/transforms/cssTransform.js -------------------------------------------------------------------------------- /test/transforms/fileTransform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/transforms/fileTransform.js -------------------------------------------------------------------------------- /test/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/test/utils.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/types/env.d.ts -------------------------------------------------------------------------------- /types/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/types/global.d.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joe-sky/jsx-sfc/HEAD/yarn.lock --------------------------------------------------------------------------------