diff --git a/.ci/danger/dangerfile.ts b/.ci/danger/dangerfile.ts index e7d267591d89..2891982ca1ea 100644 --- a/.ci/danger/dangerfile.ts +++ b/.ci/danger/dangerfile.ts @@ -7,7 +7,7 @@ const flatten = require('lodash/flatten'); const intersection = require('lodash/intersection'); const isEmpty = require('lodash/isEmpty'); -const pkg = require('../../package.json'); // eslint-disable-line import/newline-after-import +const pkg = require('../../code/package.json'); // eslint-disable-line import/newline-after-import const prLogConfig = pkg['pr-log']; const Versions = { diff --git a/.circleci/config.yml b/.circleci/config.yml index 0a9765c0094a..7b037bac890d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -86,30 +86,40 @@ jobs: - restore_cache: name: Restore Yarn cache keys: - - build-yarn-2-cache-v3--{{ checksum "yarn.lock" }} + - build-yarn-2-cache-v3--{{ checksum "code/yarn.lock" }} - run: name: Install dependencies - command: yarn install --immutable + command: | + cd code + yarn install --immutable + - run: + name: Install script dependencies + command: | + cd scripts + yarn install --immutable - run: name: Bootstrap command: | + cd code yarn bootstrap --build git diff --exit-code - save_cache: name: Save Yarn cache - key: build-yarn-2-cache-v3--{{ checksum "yarn.lock" }} + key: build-yarn-2-cache-v3--{{ checksum "code/yarn.lock" }} paths: - ~/.yarn/berry/cache - persist_to_workspace: root: . paths: - - examples - - node_modules - - addons - - frameworks - - lib - - renderers - - presets + - code/node_modules + - scripts/node_modules + - code/examples + - code/node_modules + - code/addons + - code/frameworks + - code/lib + - code/renderers + - code/presets chromatic: executor: sb_node_14_browsers parallelism: 15 @@ -121,6 +131,7 @@ jobs: - run: name: chromatic command: | + cd code yarn run-chromatics examples: executor: @@ -135,11 +146,12 @@ jobs: - run: name: examples command: | + cd code yarn build-storybooks --all - persist_to_workspace: root: . paths: - - built-storybooks + - code/built-storybooks publish: executor: class: medium @@ -151,7 +163,9 @@ jobs: at: . - run: name: running local registry - command: yarn local-registry --publish + command: | + cd code + yarn local-registry --publish - persist_to_workspace: root: . paths: @@ -178,14 +192,20 @@ jobs: at: . - run: name: running local registry - command: yarn local-registry --port 6000 --open + command: | + cd code + yarn local-registry --port 6000 --open background: true - run: name: Wait for registry - command: yarn wait-on http://localhost:6000 + command: | + cd code + yarn wait-on http://localhost:6000 - run: name: Run E2E (extended) tests - command: yarn test:e2e-framework --clean --all --skip angular --skip angular12 --skip vue3 --skip web_components_typescript --skip cra --skip react + command: | + cd code + yarn test:e2e-framework --clean --all --skip angular --skip angular12 --skip vue3 --skip web_components_typescript --skip cra --skip react no_output_timeout: 5m - store_artifacts: path: /tmp/cypress-record @@ -202,16 +222,22 @@ jobs: at: . - run: name: Running local registry - command: yarn local-registry --port 6000 --open + command: | + cd code + yarn local-registry --port 6000 --open background: true - run: name: Wait for registry - command: yarn wait-on http://localhost:6000 + command: | + cd code + yarn wait-on http://localhost:6000 - run: name: Run E2E (core) tests # Do not test CRA here because it's done in PnP part # TODO: Remove `web_components_typescript` as soon as Lit 2 stable is released - command: yarn test:e2e-framework vue3 angular130 angular13 angular12 web_components_typescript web_components_lit2 react react_legacy_root_api + command: | + cd code + yarn test:e2e-framework vue3 angular130 angular13 angular12 web_components_typescript web_components_lit2 react react_legacy_root_api no_output_timeout: 5m - run: name: prep artifacts @@ -259,21 +285,29 @@ jobs: at: . - run: name: install playright - command: npx playwright install + command: | + cd code + npx playwright install - run: name: Running local registry - command: yarn local-registry --port 6000 --open + command: | + cd code + yarn local-registry --port 6000 --open background: true - run: name: Wait for registry - command: yarn wait-on http://localhost:6000 + command: | + cd code + yarn wait-on http://localhost:6000 - run: name: set up cra repro, skip tests - command: node ./lib/cli/bin/index.js repro -t cra --e2e ../cra-bench + command: | + cd code + node ./lib/cli/bin/index.js repro -t cra --e2e ../cra-bench - run: name: Run @storybook/bench on repro command: | - cd ../cra-bench + cd ./cra-bench npx @storybook/bench@1.0.0--canary.11.52d1ee7.1 'echo noop' --label cra e2e-tests-pnp: executor: @@ -287,14 +321,20 @@ jobs: at: . - run: name: Running local registry - command: yarn local-registry --port 6000 --open + command: | + cd code + yarn local-registry --port 6000 --open background: true - run: name: Wait for registry - command: yarn wait-on http://localhost:6000 + command: | + cd code + yarn wait-on http://localhost:6000 - run: name: run e2e tests cra - command: yarn test:e2e-framework --pnp cra + command: | + cd code + yarn test:e2e-framework --pnp cra # - run: # name: run e2e tests vue # command: yarn test:e2e-framework --pnp sfcVue @@ -319,14 +359,20 @@ jobs: at: . - run: name: running example - command: yarn serve-storybooks + command: | + cd code + yarn serve-storybooks background: true - run: name: await running examples - command: yarn await-serve-storybooks + command: | + cd code + yarn await-serve-storybooks - run: name: cypress run - command: yarn test:e2e-examples + command: | + cd code + yarn test:e2e-examples - store_artifacts: path: /tmp/cypress-record destination: cypress @@ -347,6 +393,7 @@ jobs: - run: name: smoke tests command: | + cd code yarn smoketest-storybooks --all lint: executor: @@ -359,7 +406,9 @@ jobs: at: . - run: name: Lint - command: yarn lint + command: | + cd code + yarn lint unit-tests: executor: sb_node_14_browsers steps: @@ -369,13 +418,15 @@ jobs: at: . - run: name: Test - command: yarn test --coverage --runInBand --ci + command: | + cd code + yarn test --coverage --runInBand --ci - store_test_results: - path: junit.xml + path: code/junit.xml - persist_to_workspace: root: . paths: - - coverage + - code/coverage coverage: executor: class: small @@ -387,7 +438,9 @@ jobs: at: . - run: name: Upload coverage - command: yarn coverage + command: | + cd code + yarn coverage workflows: test: diff --git a/.gitattributes b/.gitattributes index fb467cb53219..5b3c7a66024e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -/.yarn/** linguist-generated +/**/.yarn/** linguist-generated diff --git a/.github/workflows/generate-repros.yml b/.github/workflows/generate-repros.yml index a03fef5497d6..d66fbbe37244 100644 --- a/.github/workflows/generate-repros.yml +++ b/.github/workflows/generate-repros.yml @@ -20,6 +20,8 @@ jobs: run: | git config --global user.name "Storybook Bot" git config --global user.email "bot@storybook.js.org" + - name: Change directory + run: cd code - name: Install dependencies run: yarn install - name: Generate repros with Latest Storybook CLI diff --git a/.github/workflows/tests-unit.yml b/.github/workflows/tests-unit.yml index 07d9a0f98847..ec0bba4fa6ea 100644 --- a/.github/workflows/tests-unit.yml +++ b/.github/workflows/tests-unit.yml @@ -31,8 +31,10 @@ jobs: cache: yarn - name: install, bootstrap run: | + cd code yarn install --immutable yarn bootstrap --core - name: test run: | + cd code yarn test --runInBand --ci diff --git a/.gitignore b/.gitignore index 193ada9a92e3..a1cbf61fbc08 100644 --- a/.gitignore +++ b/.gitignore @@ -3,38 +3,10 @@ node_modules .idea *.iml *.sw* -npm-shrinkwrap.json dist -.tern-port *.DS_Store .cache -.parcel-cache -coverage/ -*.lerna_backup -build -packages/examples/automated-* -/**/LICENSE -docs/public -packs/*.tgz -package-lock.json -.nvmrc -storybook-static -integration/__image_snapshots__/__diff_output__ -.jest-test-results.json -/examples/cra-kitchen-sink/src/__image_snapshots__/__diff_output__/ -lib/*.jar -lib/**/dll -/false -/addons/docs/common/config-* -built-storybooks -cypress/videos -cypress/screenshots -examples/ember-cli/ember-output -.verdaccio-cache -tsconfig.tsbuildinfo -examples/angular-cli/addon-jest.testresults.json junit.xml -.next # Yarn stuff /**/.yarn/* @@ -43,3 +15,4 @@ junit.xml !/**/.yarn/sdks !/**/.yarn/versions /**/.pnp.* +/yarn.lock \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json index fae4b9c9fb32..0fcff3c6e02e 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -3,31 +3,36 @@ // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", - "configurations": [ - { - "type": "node", - "request": "launch", - "name": "official-storybook", - "runtimeExecutable": "npm", - "cwd": "${workspaceFolder}/examples/official-storybook", - "runtimeArgs": ["run-script", "debug"], - "port": 9229, - "skipFiles": ["/**"] - }, - { - "type": "node", - "request": "launch", - "name": "cli html", - "cwd": "${workspaceFolder}/lib/cli/stories", - "runtimeArgs": [ - "--inspect-brk", - "${workspaceFolder}/lib/cli/bin/index.js", - "init", - "--type", - "html" - ], - "port": 9229, - "skipFiles": ["/**"] - } + "configurations": [{ + "type": "node", + "request": "launch", + "name": "official-storybook", + "runtimeExecutable": "npm", + "cwd": "${workspaceFolder}/code/examples/official-storybook", + "runtimeArgs": [ + "run-script", + "debug" + ], + "port": 9229, + "skipFiles": [ + "/**" + ] + }, { + "type": "node", + "request": "launch", + "name": "cli html", + "cwd": "${workspaceFolder}/code/lib/cli/stories", + "runtimeArgs": [ + "--inspect-brk", + "${workspaceFolder}/code/lib/cli/bin/index.js", + "init", + "--type", + "html" + ], + "port": 9229, + "skipFiles": [ + "/**" + ] + } ] } diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9026053ed9e3..5fb86f69ac28 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,10 @@ -

Contributing to Storybook

+# Getting started -Please refer to our [NEW contributing guide on the Storybook website](https://storybook.js.org/docs/react/contribute/how-to-contribute). +- Ensure you have node version 14 installed (suggestion: v14.18.1). +- Ensure if you are using Windows to use the Windows Subsystem for Linux (WSL). +- Run `./bootstrap.sh` to install the dependencies, and get the repo ready to be developed on. +- Run `yarn start` inside of the `code` directory to start the development server. -During the transition, we're also preserving our [OLD, out of date contributing guide](./CONTRIBUTING.old.md) in parallel. +# Contributing to Storybook + +For further advice on how to contribute, please refer to our [NEW contributing guide on the Storybook website](https://storybook.js.org/docs/react/contribute/how-to-contribute). diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100755 index 000000000000..7020c9981ca6 --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +./scripts/check-dependencies.js && cd ./code && yarn bootstrap $1 \ No newline at end of file diff --git a/.editorconfig b/code/.editorconfig similarity index 100% rename from .editorconfig rename to code/.editorconfig diff --git a/.eslintignore b/code/.eslintignore similarity index 100% rename from .eslintignore rename to code/.eslintignore diff --git a/.eslintrc.js b/code/.eslintrc.js similarity index 90% rename from .eslintrc.js rename to code/.eslintrc.js index 5169d8d6cc2e..80316f0a5e7d 100644 --- a/.eslintrc.js +++ b/code/.eslintrc.js @@ -1,14 +1,10 @@ +const path = require('path'); + +const scriptPath = path.join(__dirname, '..', 'scripts'); + module.exports = { root: true, - extends: ['@storybook/eslint-config-storybook', 'plugin:storybook/recommended'], - rules: { - '@typescript-eslint/ban-ts-comment': 'warn', - 'jest/no-standalone-expect': [ - 'error', - { additionalTestBlockFunctions: ['it.skipWindows', 'it.onWindows'] }, - ], - 'no-use-before-define': 'off', - }, + extends: [path.join(scriptPath, '.eslintrc.js')], overrides: [ { // this package depends on a lot of peerDependencies we don't want to specify, because npm would install them @@ -40,7 +36,6 @@ module.exports = { { files: [ '**/__tests__/**', - 'scripts/**', '**/__testfixtures__/**', '**/*.test.*', '**/*.stories.*', diff --git a/code/.gitignore b/code/.gitignore new file mode 100644 index 000000000000..193ada9a92e3 --- /dev/null +++ b/code/.gitignore @@ -0,0 +1,45 @@ +node_modules +*.log +.idea +*.iml +*.sw* +npm-shrinkwrap.json +dist +.tern-port +*.DS_Store +.cache +.parcel-cache +coverage/ +*.lerna_backup +build +packages/examples/automated-* +/**/LICENSE +docs/public +packs/*.tgz +package-lock.json +.nvmrc +storybook-static +integration/__image_snapshots__/__diff_output__ +.jest-test-results.json +/examples/cra-kitchen-sink/src/__image_snapshots__/__diff_output__/ +lib/*.jar +lib/**/dll +/false +/addons/docs/common/config-* +built-storybooks +cypress/videos +cypress/screenshots +examples/ember-cli/ember-output +.verdaccio-cache +tsconfig.tsbuildinfo +examples/angular-cli/addon-jest.testresults.json +junit.xml +.next + +# Yarn stuff +/**/.yarn/* +!/**/.yarn/releases +!/**/.yarn/plugins +!/**/.yarn/sdks +!/**/.yarn/versions +/**/.pnp.* diff --git a/.prettierrc b/code/.prettierrc similarity index 100% rename from .prettierrc rename to code/.prettierrc diff --git a/.remarkignore b/code/.remarkignore similarity index 100% rename from .remarkignore rename to code/.remarkignore diff --git a/.remarkrc.js b/code/.remarkrc.js similarity index 55% rename from .remarkrc.js rename to code/.remarkrc.js index f8250d11d53a..738218a6db8b 100644 --- a/.remarkrc.js +++ b/code/.remarkrc.js @@ -1,2 +1 @@ -/* eslint-disable import/no-extraneous-dependencies */ module.exports = require('@storybook/linter-config/remark.config'); diff --git a/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs b/code/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs similarity index 100% rename from .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs rename to code/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs diff --git a/.yarn/plugins/@yarnpkg/plugin-typescript.cjs b/code/.yarn/plugins/@yarnpkg/plugin-typescript.cjs similarity index 100% rename from .yarn/plugins/@yarnpkg/plugin-typescript.cjs rename to code/.yarn/plugins/@yarnpkg/plugin-typescript.cjs diff --git a/.yarn/releases/yarn-3.2.1.cjs b/code/.yarn/releases/yarn-3.2.1.cjs similarity index 100% rename from .yarn/releases/yarn-3.2.1.cjs rename to code/.yarn/releases/yarn-3.2.1.cjs diff --git a/.yarnrc.yml b/code/.yarnrc.yml similarity index 100% rename from .yarnrc.yml rename to code/.yarnrc.yml diff --git a/__mocks__/fileMock.js b/code/__mocks__/fileMock.js similarity index 100% rename from __mocks__/fileMock.js rename to code/__mocks__/fileMock.js diff --git a/__mocks__/fs-extra.js b/code/__mocks__/fs-extra.js similarity index 100% rename from __mocks__/fs-extra.js rename to code/__mocks__/fs-extra.js diff --git a/__mocks__/fs.js b/code/__mocks__/fs.js similarity index 100% rename from __mocks__/fs.js rename to code/__mocks__/fs.js diff --git a/__mocks__/htmlMock.js b/code/__mocks__/htmlMock.js similarity index 100% rename from __mocks__/htmlMock.js rename to code/__mocks__/htmlMock.js diff --git a/__mocks__/inject-decorator.angular-stories.txt b/code/__mocks__/inject-decorator.angular-stories.txt similarity index 100% rename from __mocks__/inject-decorator.angular-stories.txt rename to code/__mocks__/inject-decorator.angular-stories.txt diff --git a/__mocks__/inject-decorator.flow-stories.txt b/code/__mocks__/inject-decorator.flow-stories.txt similarity index 100% rename from __mocks__/inject-decorator.flow-stories.txt rename to code/__mocks__/inject-decorator.flow-stories.txt diff --git a/__mocks__/inject-decorator.no-stories.txt b/code/__mocks__/inject-decorator.no-stories.txt similarity index 100% rename from __mocks__/inject-decorator.no-stories.txt rename to code/__mocks__/inject-decorator.no-stories.txt diff --git a/__mocks__/inject-decorator.stories.txt b/code/__mocks__/inject-decorator.stories.txt similarity index 100% rename from __mocks__/inject-decorator.stories.txt rename to code/__mocks__/inject-decorator.stories.txt diff --git a/__mocks__/inject-decorator.ts.csf.txt b/code/__mocks__/inject-decorator.ts.csf.txt similarity index 100% rename from __mocks__/inject-decorator.ts.csf.txt rename to code/__mocks__/inject-decorator.ts.csf.txt diff --git a/__mocks__/inject-decorator.ts.txt b/code/__mocks__/inject-decorator.ts.txt similarity index 100% rename from __mocks__/inject-decorator.ts.txt rename to code/__mocks__/inject-decorator.ts.txt diff --git a/__mocks__/inject-decorator.ts.ugly-comments-stories.txt b/code/__mocks__/inject-decorator.ts.ugly-comments-stories.txt similarity index 100% rename from __mocks__/inject-decorator.ts.ugly-comments-stories.txt rename to code/__mocks__/inject-decorator.ts.ugly-comments-stories.txt diff --git a/__mocks__/inject-decorator.ugly-comments-stories.txt b/code/__mocks__/inject-decorator.ugly-comments-stories.txt similarity index 100% rename from __mocks__/inject-decorator.ugly-comments-stories.txt rename to code/__mocks__/inject-decorator.ugly-comments-stories.txt diff --git a/__mocks__/inject-parameters.ts.csf.txt b/code/__mocks__/inject-parameters.ts.csf.txt similarity index 100% rename from __mocks__/inject-parameters.ts.csf.txt rename to code/__mocks__/inject-parameters.ts.csf.txt diff --git a/__mocks__/styleMock.js b/code/__mocks__/styleMock.js similarity index 100% rename from __mocks__/styleMock.js rename to code/__mocks__/styleMock.js diff --git a/addons/a11y/README.md b/code/addons/a11y/README.md similarity index 100% rename from addons/a11y/README.md rename to code/addons/a11y/README.md diff --git a/addons/a11y/docs/screenshot.png b/code/addons/a11y/docs/screenshot.png similarity index 100% rename from addons/a11y/docs/screenshot.png rename to code/addons/a11y/docs/screenshot.png diff --git a/addons/a11y/manager.js b/code/addons/a11y/manager.js similarity index 100% rename from addons/a11y/manager.js rename to code/addons/a11y/manager.js diff --git a/addons/a11y/package.json b/code/addons/a11y/package.json similarity index 97% rename from addons/a11y/package.json rename to code/addons/a11y/package.json index 64c50c476447..3ed1dab1e159 100644 --- a/addons/a11y/package.json +++ b/code/addons/a11y/package.json @@ -59,10 +59,9 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "esrun ../../scripts/prepare/bundle.ts" + "prepare": "../../../scripts/prepare/bundle.ts" }, "dependencies": { - "@digitak/esrun": "^3.2.2", "@storybook/addon-highlight": "7.0.0-alpha.16", "@storybook/addons": "7.0.0-alpha.16", "@storybook/api": "7.0.0-alpha.16", diff --git a/addons/a11y/preview.js b/code/addons/a11y/preview.js similarity index 100% rename from addons/a11y/preview.js rename to code/addons/a11y/preview.js diff --git a/addons/a11y/register.js b/code/addons/a11y/register.js similarity index 100% rename from addons/a11y/register.js rename to code/addons/a11y/register.js diff --git a/addons/a11y/src/a11yRunner.test.ts b/code/addons/a11y/src/a11yRunner.test.ts similarity index 100% rename from addons/a11y/src/a11yRunner.test.ts rename to code/addons/a11y/src/a11yRunner.test.ts diff --git a/addons/a11y/src/a11yRunner.ts b/code/addons/a11y/src/a11yRunner.ts similarity index 100% rename from addons/a11y/src/a11yRunner.ts rename to code/addons/a11y/src/a11yRunner.ts diff --git a/addons/a11y/src/components/A11YPanel.test.tsx b/code/addons/a11y/src/components/A11YPanel.test.tsx similarity index 100% rename from addons/a11y/src/components/A11YPanel.test.tsx rename to code/addons/a11y/src/components/A11YPanel.test.tsx diff --git a/addons/a11y/src/components/A11YPanel.tsx b/code/addons/a11y/src/components/A11YPanel.tsx similarity index 100% rename from addons/a11y/src/components/A11YPanel.tsx rename to code/addons/a11y/src/components/A11YPanel.tsx diff --git a/addons/a11y/src/components/A11yContext.test.tsx b/code/addons/a11y/src/components/A11yContext.test.tsx similarity index 100% rename from addons/a11y/src/components/A11yContext.test.tsx rename to code/addons/a11y/src/components/A11yContext.test.tsx diff --git a/addons/a11y/src/components/A11yContext.tsx b/code/addons/a11y/src/components/A11yContext.tsx similarity index 100% rename from addons/a11y/src/components/A11yContext.tsx rename to code/addons/a11y/src/components/A11yContext.tsx diff --git a/addons/a11y/src/components/ColorFilters.tsx b/code/addons/a11y/src/components/ColorFilters.tsx similarity index 100% rename from addons/a11y/src/components/ColorFilters.tsx rename to code/addons/a11y/src/components/ColorFilters.tsx diff --git a/addons/a11y/src/components/Report/Elements.tsx b/code/addons/a11y/src/components/Report/Elements.tsx similarity index 100% rename from addons/a11y/src/components/Report/Elements.tsx rename to code/addons/a11y/src/components/Report/Elements.tsx diff --git a/addons/a11y/src/components/Report/HighlightToggle.test.tsx b/code/addons/a11y/src/components/Report/HighlightToggle.test.tsx similarity index 100% rename from addons/a11y/src/components/Report/HighlightToggle.test.tsx rename to code/addons/a11y/src/components/Report/HighlightToggle.test.tsx diff --git a/addons/a11y/src/components/Report/HighlightToggle.tsx b/code/addons/a11y/src/components/Report/HighlightToggle.tsx similarity index 100% rename from addons/a11y/src/components/Report/HighlightToggle.tsx rename to code/addons/a11y/src/components/Report/HighlightToggle.tsx diff --git a/addons/a11y/src/components/Report/Info.tsx b/code/addons/a11y/src/components/Report/Info.tsx similarity index 100% rename from addons/a11y/src/components/Report/Info.tsx rename to code/addons/a11y/src/components/Report/Info.tsx diff --git a/addons/a11y/src/components/Report/Item.tsx b/code/addons/a11y/src/components/Report/Item.tsx similarity index 100% rename from addons/a11y/src/components/Report/Item.tsx rename to code/addons/a11y/src/components/Report/Item.tsx diff --git a/addons/a11y/src/components/Report/Rules.tsx b/code/addons/a11y/src/components/Report/Rules.tsx similarity index 100% rename from addons/a11y/src/components/Report/Rules.tsx rename to code/addons/a11y/src/components/Report/Rules.tsx diff --git a/addons/a11y/src/components/Report/Tags.tsx b/code/addons/a11y/src/components/Report/Tags.tsx similarity index 100% rename from addons/a11y/src/components/Report/Tags.tsx rename to code/addons/a11y/src/components/Report/Tags.tsx diff --git a/addons/a11y/src/components/Report/index.tsx b/code/addons/a11y/src/components/Report/index.tsx similarity index 100% rename from addons/a11y/src/components/Report/index.tsx rename to code/addons/a11y/src/components/Report/index.tsx diff --git a/addons/a11y/src/components/Tabs.tsx b/code/addons/a11y/src/components/Tabs.tsx similarity index 100% rename from addons/a11y/src/components/Tabs.tsx rename to code/addons/a11y/src/components/Tabs.tsx diff --git a/addons/a11y/src/components/VisionSimulator.test.tsx b/code/addons/a11y/src/components/VisionSimulator.test.tsx similarity index 100% rename from addons/a11y/src/components/VisionSimulator.test.tsx rename to code/addons/a11y/src/components/VisionSimulator.test.tsx diff --git a/addons/a11y/src/components/VisionSimulator.tsx b/code/addons/a11y/src/components/VisionSimulator.tsx similarity index 100% rename from addons/a11y/src/components/VisionSimulator.tsx rename to code/addons/a11y/src/components/VisionSimulator.tsx diff --git a/addons/a11y/src/constants.ts b/code/addons/a11y/src/constants.ts similarity index 100% rename from addons/a11y/src/constants.ts rename to code/addons/a11y/src/constants.ts diff --git a/addons/a11y/src/index.ts b/code/addons/a11y/src/index.ts similarity index 100% rename from addons/a11y/src/index.ts rename to code/addons/a11y/src/index.ts diff --git a/addons/a11y/src/manager.test.tsx b/code/addons/a11y/src/manager.test.tsx similarity index 100% rename from addons/a11y/src/manager.test.tsx rename to code/addons/a11y/src/manager.test.tsx diff --git a/addons/a11y/src/manager.tsx b/code/addons/a11y/src/manager.tsx similarity index 100% rename from addons/a11y/src/manager.tsx rename to code/addons/a11y/src/manager.tsx diff --git a/addons/a11y/src/params.ts b/code/addons/a11y/src/params.ts similarity index 100% rename from addons/a11y/src/params.ts rename to code/addons/a11y/src/params.ts diff --git a/addons/a11y/src/preview.tsx b/code/addons/a11y/src/preview.tsx similarity index 100% rename from addons/a11y/src/preview.tsx rename to code/addons/a11y/src/preview.tsx diff --git a/addons/a11y/src/typings.d.ts b/code/addons/a11y/src/typings.d.ts similarity index 100% rename from addons/a11y/src/typings.d.ts rename to code/addons/a11y/src/typings.d.ts diff --git a/addons/a11y/tsconfig.json b/code/addons/a11y/tsconfig.json similarity index 100% rename from addons/a11y/tsconfig.json rename to code/addons/a11y/tsconfig.json diff --git a/addons/actions/ADVANCED.md b/code/addons/actions/ADVANCED.md similarity index 100% rename from addons/actions/ADVANCED.md rename to code/addons/actions/ADVANCED.md diff --git a/addons/actions/README.md b/code/addons/actions/README.md similarity index 100% rename from addons/actions/README.md rename to code/addons/actions/README.md diff --git a/addons/actions/docs/screenshot.png b/code/addons/actions/docs/screenshot.png similarity index 100% rename from addons/actions/docs/screenshot.png rename to code/addons/actions/docs/screenshot.png diff --git a/addons/actions/manager.js b/code/addons/actions/manager.js similarity index 100% rename from addons/actions/manager.js rename to code/addons/actions/manager.js diff --git a/addons/actions/package.json b/code/addons/actions/package.json similarity index 97% rename from addons/actions/package.json rename to code/addons/actions/package.json index 3945c2be3c33..55ff4fb9ac39 100644 --- a/addons/actions/package.json +++ b/code/addons/actions/package.json @@ -32,7 +32,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.16", diff --git a/addons/actions/preview.js b/code/addons/actions/preview.js similarity index 100% rename from addons/actions/preview.js rename to code/addons/actions/preview.js diff --git a/addons/actions/register.js b/code/addons/actions/register.js similarity index 100% rename from addons/actions/register.js rename to code/addons/actions/register.js diff --git a/addons/actions/src/components/ActionLogger/index.tsx b/code/addons/actions/src/components/ActionLogger/index.tsx similarity index 100% rename from addons/actions/src/components/ActionLogger/index.tsx rename to code/addons/actions/src/components/ActionLogger/index.tsx diff --git a/addons/actions/src/components/ActionLogger/style.tsx b/code/addons/actions/src/components/ActionLogger/style.tsx similarity index 100% rename from addons/actions/src/components/ActionLogger/style.tsx rename to code/addons/actions/src/components/ActionLogger/style.tsx diff --git a/addons/actions/src/constants.ts b/code/addons/actions/src/constants.ts similarity index 100% rename from addons/actions/src/constants.ts rename to code/addons/actions/src/constants.ts diff --git a/addons/actions/src/containers/ActionLogger/index.tsx b/code/addons/actions/src/containers/ActionLogger/index.tsx similarity index 100% rename from addons/actions/src/containers/ActionLogger/index.tsx rename to code/addons/actions/src/containers/ActionLogger/index.tsx diff --git a/addons/actions/src/index.ts b/code/addons/actions/src/index.ts similarity index 100% rename from addons/actions/src/index.ts rename to code/addons/actions/src/index.ts diff --git a/addons/actions/src/manager.tsx b/code/addons/actions/src/manager.tsx similarity index 100% rename from addons/actions/src/manager.tsx rename to code/addons/actions/src/manager.tsx diff --git a/addons/actions/src/models/ActionDisplay.ts b/code/addons/actions/src/models/ActionDisplay.ts similarity index 100% rename from addons/actions/src/models/ActionDisplay.ts rename to code/addons/actions/src/models/ActionDisplay.ts diff --git a/addons/actions/src/models/ActionOptions.ts b/code/addons/actions/src/models/ActionOptions.ts similarity index 100% rename from addons/actions/src/models/ActionOptions.ts rename to code/addons/actions/src/models/ActionOptions.ts diff --git a/addons/actions/src/models/ActionsFunction.ts b/code/addons/actions/src/models/ActionsFunction.ts similarity index 100% rename from addons/actions/src/models/ActionsFunction.ts rename to code/addons/actions/src/models/ActionsFunction.ts diff --git a/addons/actions/src/models/ActionsMap.ts b/code/addons/actions/src/models/ActionsMap.ts similarity index 100% rename from addons/actions/src/models/ActionsMap.ts rename to code/addons/actions/src/models/ActionsMap.ts diff --git a/addons/actions/src/models/DecoratorFunction.ts b/code/addons/actions/src/models/DecoratorFunction.ts similarity index 100% rename from addons/actions/src/models/DecoratorFunction.ts rename to code/addons/actions/src/models/DecoratorFunction.ts diff --git a/addons/actions/src/models/HandlerFunction.ts b/code/addons/actions/src/models/HandlerFunction.ts similarity index 100% rename from addons/actions/src/models/HandlerFunction.ts rename to code/addons/actions/src/models/HandlerFunction.ts diff --git a/addons/actions/src/models/index.ts b/code/addons/actions/src/models/index.ts similarity index 100% rename from addons/actions/src/models/index.ts rename to code/addons/actions/src/models/index.ts diff --git a/addons/actions/src/preset/addArgs.ts b/code/addons/actions/src/preset/addArgs.ts similarity index 100% rename from addons/actions/src/preset/addArgs.ts rename to code/addons/actions/src/preset/addArgs.ts diff --git a/addons/actions/src/preset/addArgsHelpers.test.ts b/code/addons/actions/src/preset/addArgsHelpers.test.ts similarity index 100% rename from addons/actions/src/preset/addArgsHelpers.test.ts rename to code/addons/actions/src/preset/addArgsHelpers.test.ts diff --git a/addons/actions/src/preset/addArgsHelpers.ts b/code/addons/actions/src/preset/addArgsHelpers.ts similarity index 100% rename from addons/actions/src/preset/addArgsHelpers.ts rename to code/addons/actions/src/preset/addArgsHelpers.ts diff --git a/addons/actions/src/preset/addDecorator.ts b/code/addons/actions/src/preset/addDecorator.ts similarity index 100% rename from addons/actions/src/preset/addDecorator.ts rename to code/addons/actions/src/preset/addDecorator.ts diff --git a/addons/actions/src/preset/preview.tsx b/code/addons/actions/src/preset/preview.tsx similarity index 100% rename from addons/actions/src/preset/preview.tsx rename to code/addons/actions/src/preset/preview.tsx diff --git a/addons/actions/src/preview/__tests__/action.test.js b/code/addons/actions/src/preview/__tests__/action.test.js similarity index 100% rename from addons/actions/src/preview/__tests__/action.test.js rename to code/addons/actions/src/preview/__tests__/action.test.js diff --git a/addons/actions/src/preview/__tests__/actions.test.js b/code/addons/actions/src/preview/__tests__/actions.test.js similarity index 100% rename from addons/actions/src/preview/__tests__/actions.test.js rename to code/addons/actions/src/preview/__tests__/actions.test.js diff --git a/addons/actions/src/preview/__tests__/configureActions.test.js b/code/addons/actions/src/preview/__tests__/configureActions.test.js similarity index 100% rename from addons/actions/src/preview/__tests__/configureActions.test.js rename to code/addons/actions/src/preview/__tests__/configureActions.test.js diff --git a/addons/actions/src/preview/action.ts b/code/addons/actions/src/preview/action.ts similarity index 100% rename from addons/actions/src/preview/action.ts rename to code/addons/actions/src/preview/action.ts diff --git a/addons/actions/src/preview/actions.ts b/code/addons/actions/src/preview/actions.ts similarity index 100% rename from addons/actions/src/preview/actions.ts rename to code/addons/actions/src/preview/actions.ts diff --git a/addons/actions/src/preview/configureActions.ts b/code/addons/actions/src/preview/configureActions.ts similarity index 100% rename from addons/actions/src/preview/configureActions.ts rename to code/addons/actions/src/preview/configureActions.ts diff --git a/addons/actions/src/preview/decorateAction.ts b/code/addons/actions/src/preview/decorateAction.ts similarity index 100% rename from addons/actions/src/preview/decorateAction.ts rename to code/addons/actions/src/preview/decorateAction.ts diff --git a/addons/actions/src/preview/index.ts b/code/addons/actions/src/preview/index.ts similarity index 100% rename from addons/actions/src/preview/index.ts rename to code/addons/actions/src/preview/index.ts diff --git a/addons/actions/src/preview/withActions.ts b/code/addons/actions/src/preview/withActions.ts similarity index 100% rename from addons/actions/src/preview/withActions.ts rename to code/addons/actions/src/preview/withActions.ts diff --git a/addons/actions/src/typings.d.ts b/code/addons/actions/src/typings.d.ts similarity index 100% rename from addons/actions/src/typings.d.ts rename to code/addons/actions/src/typings.d.ts diff --git a/addons/actions/tsconfig.json b/code/addons/actions/tsconfig.json similarity index 100% rename from addons/actions/tsconfig.json rename to code/addons/actions/tsconfig.json diff --git a/addons/backgrounds/README.md b/code/addons/backgrounds/README.md similarity index 100% rename from addons/backgrounds/README.md rename to code/addons/backgrounds/README.md diff --git a/addons/backgrounds/docs/addon-backgrounds.gif b/code/addons/backgrounds/docs/addon-backgrounds.gif similarity index 100% rename from addons/backgrounds/docs/addon-backgrounds.gif rename to code/addons/backgrounds/docs/addon-backgrounds.gif diff --git a/addons/backgrounds/manager.js b/code/addons/backgrounds/manager.js similarity index 100% rename from addons/backgrounds/manager.js rename to code/addons/backgrounds/manager.js diff --git a/addons/backgrounds/package.json b/code/addons/backgrounds/package.json similarity index 97% rename from addons/backgrounds/package.json rename to code/addons/backgrounds/package.json index 3374604ea06c..5db99870c669 100644 --- a/addons/backgrounds/package.json +++ b/code/addons/backgrounds/package.json @@ -36,7 +36,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.16", diff --git a/addons/backgrounds/preview.js b/code/addons/backgrounds/preview.js similarity index 100% rename from addons/backgrounds/preview.js rename to code/addons/backgrounds/preview.js diff --git a/addons/backgrounds/register.js b/code/addons/backgrounds/register.js similarity index 100% rename from addons/backgrounds/register.js rename to code/addons/backgrounds/register.js diff --git a/addons/backgrounds/src/components/ColorIcon.tsx b/code/addons/backgrounds/src/components/ColorIcon.tsx similarity index 100% rename from addons/backgrounds/src/components/ColorIcon.tsx rename to code/addons/backgrounds/src/components/ColorIcon.tsx diff --git a/addons/backgrounds/src/constants.ts b/code/addons/backgrounds/src/constants.ts similarity index 100% rename from addons/backgrounds/src/constants.ts rename to code/addons/backgrounds/src/constants.ts diff --git a/addons/backgrounds/src/containers/BackgroundSelector.tsx b/code/addons/backgrounds/src/containers/BackgroundSelector.tsx similarity index 100% rename from addons/backgrounds/src/containers/BackgroundSelector.tsx rename to code/addons/backgrounds/src/containers/BackgroundSelector.tsx diff --git a/addons/backgrounds/src/containers/GridSelector.tsx b/code/addons/backgrounds/src/containers/GridSelector.tsx similarity index 100% rename from addons/backgrounds/src/containers/GridSelector.tsx rename to code/addons/backgrounds/src/containers/GridSelector.tsx diff --git a/addons/backgrounds/src/decorators/withBackground.ts b/code/addons/backgrounds/src/decorators/withBackground.ts similarity index 100% rename from addons/backgrounds/src/decorators/withBackground.ts rename to code/addons/backgrounds/src/decorators/withBackground.ts diff --git a/addons/backgrounds/src/decorators/withGrid.ts b/code/addons/backgrounds/src/decorators/withGrid.ts similarity index 100% rename from addons/backgrounds/src/decorators/withGrid.ts rename to code/addons/backgrounds/src/decorators/withGrid.ts diff --git a/addons/backgrounds/src/helpers/index.ts b/code/addons/backgrounds/src/helpers/index.ts similarity index 100% rename from addons/backgrounds/src/helpers/index.ts rename to code/addons/backgrounds/src/helpers/index.ts diff --git a/addons/backgrounds/src/index.ts b/code/addons/backgrounds/src/index.ts similarity index 100% rename from addons/backgrounds/src/index.ts rename to code/addons/backgrounds/src/index.ts diff --git a/addons/backgrounds/src/manager.tsx b/code/addons/backgrounds/src/manager.tsx similarity index 100% rename from addons/backgrounds/src/manager.tsx rename to code/addons/backgrounds/src/manager.tsx diff --git a/addons/backgrounds/src/preview.tsx b/code/addons/backgrounds/src/preview.tsx similarity index 100% rename from addons/backgrounds/src/preview.tsx rename to code/addons/backgrounds/src/preview.tsx diff --git a/addons/backgrounds/src/types/index.ts b/code/addons/backgrounds/src/types/index.ts similarity index 100% rename from addons/backgrounds/src/types/index.ts rename to code/addons/backgrounds/src/types/index.ts diff --git a/addons/backgrounds/src/typings.d.ts b/code/addons/backgrounds/src/typings.d.ts similarity index 100% rename from addons/backgrounds/src/typings.d.ts rename to code/addons/backgrounds/src/typings.d.ts diff --git a/addons/backgrounds/tsconfig.json b/code/addons/backgrounds/tsconfig.json similarity index 100% rename from addons/backgrounds/tsconfig.json rename to code/addons/backgrounds/tsconfig.json diff --git a/addons/controls/README.md b/code/addons/controls/README.md similarity index 100% rename from addons/controls/README.md rename to code/addons/controls/README.md diff --git a/addons/controls/docs/media/addon-controls-args-annotated.png b/code/addons/controls/docs/media/addon-controls-args-annotated.png similarity index 100% rename from addons/controls/docs/media/addon-controls-args-annotated.png rename to code/addons/controls/docs/media/addon-controls-args-annotated.png diff --git a/addons/controls/docs/media/addon-controls-args-background-color.png b/code/addons/controls/docs/media/addon-controls-args-background-color.png similarity index 100% rename from addons/controls/docs/media/addon-controls-args-background-color.png rename to code/addons/controls/docs/media/addon-controls-args-background-color.png diff --git a/addons/controls/docs/media/addon-controls-args-background-string.png b/code/addons/controls/docs/media/addon-controls-args-background-string.png similarity index 100% rename from addons/controls/docs/media/addon-controls-args-background-string.png rename to code/addons/controls/docs/media/addon-controls-args-background-string.png diff --git a/addons/controls/docs/media/addon-controls-args-docs.png b/code/addons/controls/docs/media/addon-controls-args-docs.png similarity index 100% rename from addons/controls/docs/media/addon-controls-args-docs.png rename to code/addons/controls/docs/media/addon-controls-args-docs.png diff --git a/addons/controls/docs/media/addon-controls-args-logging.png b/code/addons/controls/docs/media/addon-controls-args-logging.png similarity index 100% rename from addons/controls/docs/media/addon-controls-args-logging.png rename to code/addons/controls/docs/media/addon-controls-args-logging.png diff --git a/addons/controls/docs/media/addon-controls-args-no-annotation.png b/code/addons/controls/docs/media/addon-controls-args-no-annotation.png similarity index 100% rename from addons/controls/docs/media/addon-controls-args-no-annotation.png rename to code/addons/controls/docs/media/addon-controls-args-no-annotation.png diff --git a/addons/controls/docs/media/addon-controls-args-reflow-slider.png b/code/addons/controls/docs/media/addon-controls-args-reflow-slider.png similarity index 100% rename from addons/controls/docs/media/addon-controls-args-reflow-slider.png rename to code/addons/controls/docs/media/addon-controls-args-reflow-slider.png diff --git a/addons/controls/docs/media/addon-controls-args-reflow.png b/code/addons/controls/docs/media/addon-controls-args-reflow.png similarity index 100% rename from addons/controls/docs/media/addon-controls-args-reflow.png rename to code/addons/controls/docs/media/addon-controls-args-reflow.png diff --git a/addons/controls/docs/media/addon-controls-args-template.png b/code/addons/controls/docs/media/addon-controls-args-template.png similarity index 100% rename from addons/controls/docs/media/addon-controls-args-template.png rename to code/addons/controls/docs/media/addon-controls-args-template.png diff --git a/addons/controls/docs/media/addon-controls-expanded.png b/code/addons/controls/docs/media/addon-controls-expanded.png similarity index 100% rename from addons/controls/docs/media/addon-controls-expanded.png rename to code/addons/controls/docs/media/addon-controls-expanded.png diff --git a/addons/controls/docs/media/addon-controls-hero.gif b/code/addons/controls/docs/media/addon-controls-hero.gif similarity index 100% rename from addons/controls/docs/media/addon-controls-hero.gif rename to code/addons/controls/docs/media/addon-controls-hero.gif diff --git a/addons/controls/docs/media/addon-controls-install.png b/code/addons/controls/docs/media/addon-controls-install.png similarity index 100% rename from addons/controls/docs/media/addon-controls-install.png rename to code/addons/controls/docs/media/addon-controls-install.png diff --git a/addons/controls/manager.js b/code/addons/controls/manager.js similarity index 100% rename from addons/controls/manager.js rename to code/addons/controls/manager.js diff --git a/addons/controls/package.json b/code/addons/controls/package.json similarity index 97% rename from addons/controls/package.json rename to code/addons/controls/package.json index 9ccc3a1bded1..b396f9899536 100644 --- a/addons/controls/package.json +++ b/code/addons/controls/package.json @@ -36,7 +36,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.16", diff --git a/addons/controls/register.js b/code/addons/controls/register.js similarity index 100% rename from addons/controls/register.js rename to code/addons/controls/register.js diff --git a/addons/controls/src/ControlsPanel.tsx b/code/addons/controls/src/ControlsPanel.tsx similarity index 100% rename from addons/controls/src/ControlsPanel.tsx rename to code/addons/controls/src/ControlsPanel.tsx diff --git a/addons/controls/src/constants.ts b/code/addons/controls/src/constants.ts similarity index 100% rename from addons/controls/src/constants.ts rename to code/addons/controls/src/constants.ts diff --git a/addons/controls/src/index.ts b/code/addons/controls/src/index.ts similarity index 100% rename from addons/controls/src/index.ts rename to code/addons/controls/src/index.ts diff --git a/addons/controls/src/manager.tsx b/code/addons/controls/src/manager.tsx similarity index 100% rename from addons/controls/src/manager.tsx rename to code/addons/controls/src/manager.tsx diff --git a/addons/controls/src/preset/checkDocsLoaded.ts b/code/addons/controls/src/preset/checkDocsLoaded.ts similarity index 100% rename from addons/controls/src/preset/checkDocsLoaded.ts rename to code/addons/controls/src/preset/checkDocsLoaded.ts diff --git a/addons/controls/tsconfig.json b/code/addons/controls/tsconfig.json similarity index 100% rename from addons/controls/tsconfig.json rename to code/addons/controls/tsconfig.json diff --git a/addons/docs/README.md b/code/addons/docs/README.md similarity index 100% rename from addons/docs/README.md rename to code/addons/docs/README.md diff --git a/addons/docs/angular/README.md b/code/addons/docs/angular/README.md similarity index 100% rename from addons/docs/angular/README.md rename to code/addons/docs/angular/README.md diff --git a/addons/docs/angular/index.d.ts b/code/addons/docs/angular/index.d.ts similarity index 100% rename from addons/docs/angular/index.d.ts rename to code/addons/docs/angular/index.d.ts diff --git a/addons/docs/angular/index.js b/code/addons/docs/angular/index.js similarity index 100% rename from addons/docs/angular/index.js rename to code/addons/docs/angular/index.js diff --git a/addons/docs/blocks.d.ts b/code/addons/docs/blocks.d.ts similarity index 100% rename from addons/docs/blocks.d.ts rename to code/addons/docs/blocks.d.ts diff --git a/addons/docs/blocks.js b/code/addons/docs/blocks.js similarity index 100% rename from addons/docs/blocks.js rename to code/addons/docs/blocks.js diff --git a/addons/docs/common/README.md b/code/addons/docs/common/README.md similarity index 100% rename from addons/docs/common/README.md rename to code/addons/docs/common/README.md diff --git a/addons/docs/docs/docspage.md b/code/addons/docs/docs/docspage.md similarity index 100% rename from addons/docs/docs/docspage.md rename to code/addons/docs/docs/docspage.md diff --git a/addons/docs/docs/faq.md b/code/addons/docs/docs/faq.md similarity index 100% rename from addons/docs/docs/faq.md rename to code/addons/docs/docs/faq.md diff --git a/addons/docs/docs/mdx.md b/code/addons/docs/docs/mdx.md similarity index 100% rename from addons/docs/docs/mdx.md rename to code/addons/docs/docs/mdx.md diff --git a/addons/docs/docs/media/angular-hero.png b/code/addons/docs/docs/media/angular-hero.png similarity index 100% rename from addons/docs/docs/media/angular-hero.png rename to code/addons/docs/docs/media/angular-hero.png diff --git a/addons/docs/docs/media/args-controls.gif b/code/addons/docs/docs/media/args-controls.gif similarity index 100% rename from addons/docs/docs/media/args-controls.gif rename to code/addons/docs/docs/media/args-controls.gif diff --git a/addons/docs/docs/media/docs-tab.png b/code/addons/docs/docs/media/docs-tab.png similarity index 100% rename from addons/docs/docs/media/docs-tab.png rename to code/addons/docs/docs/media/docs-tab.png diff --git a/addons/docs/docs/media/docspage-hero.png b/code/addons/docs/docs/media/docspage-hero.png similarity index 100% rename from addons/docs/docs/media/docspage-hero.png rename to code/addons/docs/docs/media/docspage-hero.png diff --git a/addons/docs/docs/media/docspage-slots.png b/code/addons/docs/docs/media/docspage-slots.png similarity index 100% rename from addons/docs/docs/media/docspage-slots.png rename to code/addons/docs/docs/media/docspage-slots.png diff --git a/addons/docs/docs/media/docspage-subcomponents.png b/code/addons/docs/docs/media/docspage-subcomponents.png similarity index 100% rename from addons/docs/docs/media/docspage-subcomponents.png rename to code/addons/docs/docs/media/docspage-subcomponents.png diff --git a/addons/docs/docs/media/faq-debug.png b/code/addons/docs/docs/media/faq-debug.png similarity index 100% rename from addons/docs/docs/media/faq-debug.png rename to code/addons/docs/docs/media/faq-debug.png diff --git a/addons/docs/docs/media/faq-devtools.png b/code/addons/docs/docs/media/faq-devtools.png similarity index 100% rename from addons/docs/docs/media/faq-devtools.png rename to code/addons/docs/docs/media/faq-devtools.png diff --git a/addons/docs/docs/media/hero.png b/code/addons/docs/docs/media/hero.png similarity index 100% rename from addons/docs/docs/media/hero.png rename to code/addons/docs/docs/media/hero.png diff --git a/addons/docs/docs/media/mdx-documentation-only.png b/code/addons/docs/docs/media/mdx-documentation-only.png similarity index 100% rename from addons/docs/docs/media/mdx-documentation-only.png rename to code/addons/docs/docs/media/mdx-documentation-only.png diff --git a/addons/docs/docs/media/mdx-hero.png b/code/addons/docs/docs/media/mdx-hero.png similarity index 100% rename from addons/docs/docs/media/mdx-hero.png rename to code/addons/docs/docs/media/mdx-hero.png diff --git a/addons/docs/docs/media/mdx-page.png b/code/addons/docs/docs/media/mdx-page.png similarity index 100% rename from addons/docs/docs/media/mdx-page.png rename to code/addons/docs/docs/media/mdx-page.png diff --git a/addons/docs/docs/media/mdx-simple.png b/code/addons/docs/docs/media/mdx-simple.png similarity index 100% rename from addons/docs/docs/media/mdx-simple.png rename to code/addons/docs/docs/media/mdx-simple.png diff --git a/addons/docs/docs/media/props-tables-hero.png b/code/addons/docs/docs/media/props-tables-hero.png similarity index 100% rename from addons/docs/docs/media/props-tables-hero.png rename to code/addons/docs/docs/media/props-tables-hero.png diff --git a/addons/docs/docs/media/vue-hero.png b/code/addons/docs/docs/media/vue-hero.png similarity index 100% rename from addons/docs/docs/media/vue-hero.png rename to code/addons/docs/docs/media/vue-hero.png diff --git a/addons/docs/docs/multiframework.md b/code/addons/docs/docs/multiframework.md similarity index 100% rename from addons/docs/docs/multiframework.md rename to code/addons/docs/docs/multiframework.md diff --git a/addons/docs/docs/props-tables.md b/code/addons/docs/docs/props-tables.md similarity index 100% rename from addons/docs/docs/props-tables.md rename to code/addons/docs/docs/props-tables.md diff --git a/addons/docs/docs/recipes.md b/code/addons/docs/docs/recipes.md similarity index 100% rename from addons/docs/docs/recipes.md rename to code/addons/docs/docs/recipes.md diff --git a/addons/docs/docs/theming.md b/code/addons/docs/docs/theming.md similarity index 100% rename from addons/docs/docs/theming.md rename to code/addons/docs/docs/theming.md diff --git a/addons/docs/ember/README.md b/code/addons/docs/ember/README.md similarity index 100% rename from addons/docs/ember/README.md rename to code/addons/docs/ember/README.md diff --git a/addons/docs/ember/index.js b/code/addons/docs/ember/index.js similarity index 100% rename from addons/docs/ember/index.js rename to code/addons/docs/ember/index.js diff --git a/addons/docs/jest-transform-mdx.js b/code/addons/docs/jest-transform-mdx.js similarity index 100% rename from addons/docs/jest-transform-mdx.js rename to code/addons/docs/jest-transform-mdx.js diff --git a/addons/docs/mdx-compiler-plugin.js b/code/addons/docs/mdx-compiler-plugin.js similarity index 100% rename from addons/docs/mdx-compiler-plugin.js rename to code/addons/docs/mdx-compiler-plugin.js diff --git a/addons/docs/package.json b/code/addons/docs/package.json similarity index 98% rename from addons/docs/package.json rename to code/addons/docs/package.json index d50531ecc140..2d3bfc36cc37 100644 --- a/addons/docs/package.json +++ b/code/addons/docs/package.json @@ -46,7 +46,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.12.12", diff --git a/addons/docs/postinstall/presets.js b/code/addons/docs/postinstall/presets.js similarity index 100% rename from addons/docs/postinstall/presets.js rename to code/addons/docs/postinstall/presets.js diff --git a/addons/docs/preset.js b/code/addons/docs/preset.js similarity index 100% rename from addons/docs/preset.js rename to code/addons/docs/preset.js diff --git a/addons/docs/preview.js b/code/addons/docs/preview.js similarity index 100% rename from addons/docs/preview.js rename to code/addons/docs/preview.js diff --git a/addons/docs/react/README.md b/code/addons/docs/react/README.md similarity index 100% rename from addons/docs/react/README.md rename to code/addons/docs/react/README.md diff --git a/addons/docs/src/DocsRenderer.tsx b/code/addons/docs/src/DocsRenderer.tsx similarity index 100% rename from addons/docs/src/DocsRenderer.tsx rename to code/addons/docs/src/DocsRenderer.tsx diff --git a/addons/docs/src/blocks/index.ts b/code/addons/docs/src/blocks/index.ts similarity index 100% rename from addons/docs/src/blocks/index.ts rename to code/addons/docs/src/blocks/index.ts diff --git a/addons/docs/src/index.ts b/code/addons/docs/src/index.ts similarity index 100% rename from addons/docs/src/index.ts rename to code/addons/docs/src/index.ts diff --git a/addons/docs/src/preset.ts b/code/addons/docs/src/preset.ts similarity index 100% rename from addons/docs/src/preset.ts rename to code/addons/docs/src/preset.ts diff --git a/addons/docs/src/preview.ts b/code/addons/docs/src/preview.ts similarity index 100% rename from addons/docs/src/preview.ts rename to code/addons/docs/src/preview.ts diff --git a/addons/docs/src/shared.ts b/code/addons/docs/src/shared.ts similarity index 100% rename from addons/docs/src/shared.ts rename to code/addons/docs/src/shared.ts diff --git a/addons/docs/src/typings.d.ts b/code/addons/docs/src/typings.d.ts similarity index 100% rename from addons/docs/src/typings.d.ts rename to code/addons/docs/src/typings.d.ts diff --git a/addons/docs/svelte/HOC.svelte b/code/addons/docs/svelte/HOC.svelte similarity index 100% rename from addons/docs/svelte/HOC.svelte rename to code/addons/docs/svelte/HOC.svelte diff --git a/addons/docs/tsconfig.json b/code/addons/docs/tsconfig.json similarity index 100% rename from addons/docs/tsconfig.json rename to code/addons/docs/tsconfig.json diff --git a/addons/docs/vue/README.md b/code/addons/docs/vue/README.md similarity index 100% rename from addons/docs/vue/README.md rename to code/addons/docs/vue/README.md diff --git a/addons/docs/vue3/README.md b/code/addons/docs/vue3/README.md similarity index 100% rename from addons/docs/vue3/README.md rename to code/addons/docs/vue3/README.md diff --git a/addons/docs/web-components/README.md b/code/addons/docs/web-components/README.md similarity index 100% rename from addons/docs/web-components/README.md rename to code/addons/docs/web-components/README.md diff --git a/addons/docs/web-components/index.js b/code/addons/docs/web-components/index.js similarity index 100% rename from addons/docs/web-components/index.js rename to code/addons/docs/web-components/index.js diff --git a/addons/essentials/README.md b/code/addons/essentials/README.md similarity index 100% rename from addons/essentials/README.md rename to code/addons/essentials/README.md diff --git a/addons/essentials/package.json b/code/addons/essentials/package.json similarity index 98% rename from addons/essentials/package.json rename to code/addons/essentials/package.json index 242a9a269acc..160aa017f051 100644 --- a/addons/essentials/package.json +++ b/code/addons/essentials/package.json @@ -30,7 +30,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addon-actions": "7.0.0-alpha.16", diff --git a/addons/essentials/src/index.ts b/code/addons/essentials/src/index.ts similarity index 100% rename from addons/essentials/src/index.ts rename to code/addons/essentials/src/index.ts diff --git a/addons/essentials/src/typings.d.ts b/code/addons/essentials/src/typings.d.ts similarity index 100% rename from addons/essentials/src/typings.d.ts rename to code/addons/essentials/src/typings.d.ts diff --git a/addons/essentials/tsconfig.json b/code/addons/essentials/tsconfig.json similarity index 100% rename from addons/essentials/tsconfig.json rename to code/addons/essentials/tsconfig.json diff --git a/addons/highlight/README.md b/code/addons/highlight/README.md similarity index 100% rename from addons/highlight/README.md rename to code/addons/highlight/README.md diff --git a/addons/highlight/package.json b/code/addons/highlight/package.json similarity index 96% rename from addons/highlight/package.json rename to code/addons/highlight/package.json index d3e000881fe4..3ee8cd664fb2 100644 --- a/addons/highlight/package.json +++ b/code/addons/highlight/package.json @@ -34,7 +34,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.16", diff --git a/addons/highlight/preview.js b/code/addons/highlight/preview.js similarity index 100% rename from addons/highlight/preview.js rename to code/addons/highlight/preview.js diff --git a/addons/highlight/src/constants.ts b/code/addons/highlight/src/constants.ts similarity index 100% rename from addons/highlight/src/constants.ts rename to code/addons/highlight/src/constants.ts diff --git a/addons/highlight/src/highlight.ts b/code/addons/highlight/src/highlight.ts similarity index 100% rename from addons/highlight/src/highlight.ts rename to code/addons/highlight/src/highlight.ts diff --git a/addons/highlight/src/index.ts b/code/addons/highlight/src/index.ts similarity index 100% rename from addons/highlight/src/index.ts rename to code/addons/highlight/src/index.ts diff --git a/addons/highlight/src/typings.d.ts b/code/addons/highlight/src/typings.d.ts similarity index 100% rename from addons/highlight/src/typings.d.ts rename to code/addons/highlight/src/typings.d.ts diff --git a/addons/highlight/tsconfig.json b/code/addons/highlight/tsconfig.json similarity index 100% rename from addons/highlight/tsconfig.json rename to code/addons/highlight/tsconfig.json diff --git a/addons/interactions/README.md b/code/addons/interactions/README.md similarity index 100% rename from addons/interactions/README.md rename to code/addons/interactions/README.md diff --git a/addons/interactions/manager.js b/code/addons/interactions/manager.js similarity index 100% rename from addons/interactions/manager.js rename to code/addons/interactions/manager.js diff --git a/addons/interactions/package.json b/code/addons/interactions/package.json similarity index 97% rename from addons/interactions/package.json rename to code/addons/interactions/package.json index 9036c73be708..8a2efcd7bf67 100644 --- a/addons/interactions/package.json +++ b/code/addons/interactions/package.json @@ -32,7 +32,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@devtools-ds/object-inspector": "^1.1.2", diff --git a/addons/interactions/preset.js b/code/addons/interactions/preset.js similarity index 100% rename from addons/interactions/preset.js rename to code/addons/interactions/preset.js diff --git a/addons/interactions/preview.js b/code/addons/interactions/preview.js similarity index 100% rename from addons/interactions/preview.js rename to code/addons/interactions/preview.js diff --git a/addons/interactions/register.js b/code/addons/interactions/register.js similarity index 100% rename from addons/interactions/register.js rename to code/addons/interactions/register.js diff --git a/addons/interactions/src/Panel.test.ts b/code/addons/interactions/src/Panel.test.ts similarity index 100% rename from addons/interactions/src/Panel.test.ts rename to code/addons/interactions/src/Panel.test.ts diff --git a/addons/interactions/src/Panel.tsx b/code/addons/interactions/src/Panel.tsx similarity index 100% rename from addons/interactions/src/Panel.tsx rename to code/addons/interactions/src/Panel.tsx diff --git a/addons/interactions/src/components/AccountForm/AccountForm.tsx b/code/addons/interactions/src/components/AccountForm/AccountForm.tsx similarity index 100% rename from addons/interactions/src/components/AccountForm/AccountForm.tsx rename to code/addons/interactions/src/components/AccountForm/AccountForm.tsx diff --git a/addons/interactions/src/components/AccountForm/addon-interactions.stories.mdx b/code/addons/interactions/src/components/AccountForm/addon-interactions.stories.mdx similarity index 100% rename from addons/interactions/src/components/AccountForm/addon-interactions.stories.mdx rename to code/addons/interactions/src/components/AccountForm/addon-interactions.stories.mdx diff --git a/addons/interactions/src/components/AccountForm/addon-interactions.stories.tsx b/code/addons/interactions/src/components/AccountForm/addon-interactions.stories.tsx similarity index 100% rename from addons/interactions/src/components/AccountForm/addon-interactions.stories.tsx rename to code/addons/interactions/src/components/AccountForm/addon-interactions.stories.tsx diff --git a/addons/interactions/src/components/Interaction.stories.tsx b/code/addons/interactions/src/components/Interaction.stories.tsx similarity index 100% rename from addons/interactions/src/components/Interaction.stories.tsx rename to code/addons/interactions/src/components/Interaction.stories.tsx diff --git a/addons/interactions/src/components/Interaction.tsx b/code/addons/interactions/src/components/Interaction.tsx similarity index 100% rename from addons/interactions/src/components/Interaction.tsx rename to code/addons/interactions/src/components/Interaction.tsx diff --git a/addons/interactions/src/components/InteractionsPanel.stories.tsx b/code/addons/interactions/src/components/InteractionsPanel.stories.tsx similarity index 100% rename from addons/interactions/src/components/InteractionsPanel.stories.tsx rename to code/addons/interactions/src/components/InteractionsPanel.stories.tsx diff --git a/addons/interactions/src/components/InteractionsPanel.tsx b/code/addons/interactions/src/components/InteractionsPanel.tsx similarity index 100% rename from addons/interactions/src/components/InteractionsPanel.tsx rename to code/addons/interactions/src/components/InteractionsPanel.tsx diff --git a/addons/interactions/src/components/List.tsx b/code/addons/interactions/src/components/List.tsx similarity index 100% rename from addons/interactions/src/components/List.tsx rename to code/addons/interactions/src/components/List.tsx diff --git a/addons/interactions/src/components/MatcherResult.stories.tsx b/code/addons/interactions/src/components/MatcherResult.stories.tsx similarity index 100% rename from addons/interactions/src/components/MatcherResult.stories.tsx rename to code/addons/interactions/src/components/MatcherResult.stories.tsx diff --git a/addons/interactions/src/components/MatcherResult.tsx b/code/addons/interactions/src/components/MatcherResult.tsx similarity index 100% rename from addons/interactions/src/components/MatcherResult.tsx rename to code/addons/interactions/src/components/MatcherResult.tsx diff --git a/addons/interactions/src/components/MethodCall.stories.tsx b/code/addons/interactions/src/components/MethodCall.stories.tsx similarity index 100% rename from addons/interactions/src/components/MethodCall.stories.tsx rename to code/addons/interactions/src/components/MethodCall.stories.tsx diff --git a/addons/interactions/src/components/MethodCall.tsx b/code/addons/interactions/src/components/MethodCall.tsx similarity index 100% rename from addons/interactions/src/components/MethodCall.tsx rename to code/addons/interactions/src/components/MethodCall.tsx diff --git a/addons/interactions/src/components/StatusBadge.stories.tsx b/code/addons/interactions/src/components/StatusBadge.stories.tsx similarity index 100% rename from addons/interactions/src/components/StatusBadge.stories.tsx rename to code/addons/interactions/src/components/StatusBadge.stories.tsx diff --git a/addons/interactions/src/components/StatusBadge.tsx b/code/addons/interactions/src/components/StatusBadge.tsx similarity index 100% rename from addons/interactions/src/components/StatusBadge.tsx rename to code/addons/interactions/src/components/StatusBadge.tsx diff --git a/addons/interactions/src/components/StatusIcon.stories.tsx b/code/addons/interactions/src/components/StatusIcon.stories.tsx similarity index 100% rename from addons/interactions/src/components/StatusIcon.stories.tsx rename to code/addons/interactions/src/components/StatusIcon.stories.tsx diff --git a/addons/interactions/src/components/StatusIcon.tsx b/code/addons/interactions/src/components/StatusIcon.tsx similarity index 100% rename from addons/interactions/src/components/StatusIcon.tsx rename to code/addons/interactions/src/components/StatusIcon.tsx diff --git a/addons/interactions/src/components/Subnav.stories.tsx b/code/addons/interactions/src/components/Subnav.stories.tsx similarity index 100% rename from addons/interactions/src/components/Subnav.stories.tsx rename to code/addons/interactions/src/components/Subnav.stories.tsx diff --git a/addons/interactions/src/components/Subnav.tsx b/code/addons/interactions/src/components/Subnav.tsx similarity index 100% rename from addons/interactions/src/components/Subnav.tsx rename to code/addons/interactions/src/components/Subnav.tsx diff --git a/addons/interactions/src/components/TabStatus.tsx b/code/addons/interactions/src/components/TabStatus.tsx similarity index 100% rename from addons/interactions/src/components/TabStatus.tsx rename to code/addons/interactions/src/components/TabStatus.tsx diff --git a/addons/interactions/src/constants.ts b/code/addons/interactions/src/constants.ts similarity index 100% rename from addons/interactions/src/constants.ts rename to code/addons/interactions/src/constants.ts diff --git a/addons/interactions/src/index.ts b/code/addons/interactions/src/index.ts similarity index 100% rename from addons/interactions/src/index.ts rename to code/addons/interactions/src/index.ts diff --git a/addons/interactions/src/manager.tsx b/code/addons/interactions/src/manager.tsx similarity index 100% rename from addons/interactions/src/manager.tsx rename to code/addons/interactions/src/manager.tsx diff --git a/addons/interactions/src/mocks/index.ts b/code/addons/interactions/src/mocks/index.ts similarity index 100% rename from addons/interactions/src/mocks/index.ts rename to code/addons/interactions/src/mocks/index.ts diff --git a/addons/interactions/src/preset/checkActionsLoaded.ts b/code/addons/interactions/src/preset/checkActionsLoaded.ts similarity index 100% rename from addons/interactions/src/preset/checkActionsLoaded.ts rename to code/addons/interactions/src/preset/checkActionsLoaded.ts diff --git a/addons/interactions/src/preset/preview.ts b/code/addons/interactions/src/preset/preview.ts similarity index 100% rename from addons/interactions/src/preset/preview.ts rename to code/addons/interactions/src/preset/preview.ts diff --git a/addons/interactions/src/theme.ts b/code/addons/interactions/src/theme.ts similarity index 100% rename from addons/interactions/src/theme.ts rename to code/addons/interactions/src/theme.ts diff --git a/addons/interactions/src/typings.d.ts b/code/addons/interactions/src/typings.d.ts similarity index 100% rename from addons/interactions/src/typings.d.ts rename to code/addons/interactions/src/typings.d.ts diff --git a/addons/interactions/tsconfig.json b/code/addons/interactions/tsconfig.json similarity index 100% rename from addons/interactions/tsconfig.json rename to code/addons/interactions/tsconfig.json diff --git a/addons/jest/README.md b/code/addons/jest/README.md similarity index 100% rename from addons/jest/README.md rename to code/addons/jest/README.md diff --git a/addons/jest/docs/storybook-addon-jest.gif b/code/addons/jest/docs/storybook-addon-jest.gif similarity index 100% rename from addons/jest/docs/storybook-addon-jest.gif rename to code/addons/jest/docs/storybook-addon-jest.gif diff --git a/addons/jest/manager.js b/code/addons/jest/manager.js similarity index 100% rename from addons/jest/manager.js rename to code/addons/jest/manager.js diff --git a/addons/jest/package.json b/code/addons/jest/package.json similarity index 97% rename from addons/jest/package.json rename to code/addons/jest/package.json index 450894892cfc..40383e18d87f 100644 --- a/addons/jest/package.json +++ b/code/addons/jest/package.json @@ -38,7 +38,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.16", diff --git a/addons/jest/register.js b/code/addons/jest/register.js similarity index 100% rename from addons/jest/register.js rename to code/addons/jest/register.js diff --git a/addons/jest/src/components/Message.tsx b/code/addons/jest/src/components/Message.tsx similarity index 100% rename from addons/jest/src/components/Message.tsx rename to code/addons/jest/src/components/Message.tsx diff --git a/addons/jest/src/components/Panel.tsx b/code/addons/jest/src/components/Panel.tsx similarity index 100% rename from addons/jest/src/components/Panel.tsx rename to code/addons/jest/src/components/Panel.tsx diff --git a/addons/jest/src/components/Result.tsx b/code/addons/jest/src/components/Result.tsx similarity index 100% rename from addons/jest/src/components/Result.tsx rename to code/addons/jest/src/components/Result.tsx diff --git a/addons/jest/src/hoc/provideJestResult.tsx b/code/addons/jest/src/hoc/provideJestResult.tsx similarity index 100% rename from addons/jest/src/hoc/provideJestResult.tsx rename to code/addons/jest/src/hoc/provideJestResult.tsx diff --git a/addons/jest/src/index.ts b/code/addons/jest/src/index.ts similarity index 100% rename from addons/jest/src/index.ts rename to code/addons/jest/src/index.ts diff --git a/addons/jest/src/manager.tsx b/code/addons/jest/src/manager.tsx similarity index 100% rename from addons/jest/src/manager.tsx rename to code/addons/jest/src/manager.tsx diff --git a/addons/jest/src/shared.test.ts b/code/addons/jest/src/shared.test.ts similarity index 100% rename from addons/jest/src/shared.test.ts rename to code/addons/jest/src/shared.test.ts diff --git a/addons/jest/src/shared.ts b/code/addons/jest/src/shared.ts similarity index 100% rename from addons/jest/src/shared.ts rename to code/addons/jest/src/shared.ts diff --git a/addons/jest/src/typings.d.ts b/code/addons/jest/src/typings.d.ts similarity index 100% rename from addons/jest/src/typings.d.ts rename to code/addons/jest/src/typings.d.ts diff --git a/addons/jest/tsconfig.json b/code/addons/jest/tsconfig.json similarity index 100% rename from addons/jest/tsconfig.json rename to code/addons/jest/tsconfig.json diff --git a/addons/links/README.md b/code/addons/links/README.md similarity index 100% rename from addons/links/README.md rename to code/addons/links/README.md diff --git a/addons/links/manager.js b/code/addons/links/manager.js similarity index 100% rename from addons/links/manager.js rename to code/addons/links/manager.js diff --git a/addons/links/package.json b/code/addons/links/package.json similarity index 97% rename from addons/links/package.json rename to code/addons/links/package.json index f3d3251be81e..340046da58f8 100644 --- a/addons/links/package.json +++ b/code/addons/links/package.json @@ -32,7 +32,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.16", diff --git a/addons/links/preview.js b/code/addons/links/preview.js similarity index 100% rename from addons/links/preview.js rename to code/addons/links/preview.js diff --git a/addons/links/react.d.ts b/code/addons/links/react.d.ts similarity index 100% rename from addons/links/react.d.ts rename to code/addons/links/react.d.ts diff --git a/addons/links/react.js b/code/addons/links/react.js similarity index 100% rename from addons/links/react.js rename to code/addons/links/react.js diff --git a/addons/links/register.js b/code/addons/links/register.js similarity index 100% rename from addons/links/register.js rename to code/addons/links/register.js diff --git a/addons/links/src/constants.ts b/code/addons/links/src/constants.ts similarity index 100% rename from addons/links/src/constants.ts rename to code/addons/links/src/constants.ts diff --git a/addons/links/src/index.ts b/code/addons/links/src/index.ts similarity index 100% rename from addons/links/src/index.ts rename to code/addons/links/src/index.ts diff --git a/addons/links/src/manager.ts b/code/addons/links/src/manager.ts similarity index 100% rename from addons/links/src/manager.ts rename to code/addons/links/src/manager.ts diff --git a/addons/links/src/preview.ts b/code/addons/links/src/preview.ts similarity index 100% rename from addons/links/src/preview.ts rename to code/addons/links/src/preview.ts diff --git a/addons/links/src/react/components/RoutedLink.tsx b/code/addons/links/src/react/components/RoutedLink.tsx similarity index 100% rename from addons/links/src/react/components/RoutedLink.tsx rename to code/addons/links/src/react/components/RoutedLink.tsx diff --git a/addons/links/src/react/components/link.test.tsx b/code/addons/links/src/react/components/link.test.tsx similarity index 100% rename from addons/links/src/react/components/link.test.tsx rename to code/addons/links/src/react/components/link.test.tsx diff --git a/addons/links/src/react/components/link.tsx b/code/addons/links/src/react/components/link.tsx similarity index 100% rename from addons/links/src/react/components/link.tsx rename to code/addons/links/src/react/components/link.tsx diff --git a/addons/links/src/react/index.ts b/code/addons/links/src/react/index.ts similarity index 100% rename from addons/links/src/react/index.ts rename to code/addons/links/src/react/index.ts diff --git a/addons/links/src/typings.d.ts b/code/addons/links/src/typings.d.ts similarity index 100% rename from addons/links/src/typings.d.ts rename to code/addons/links/src/typings.d.ts diff --git a/addons/links/src/utils.test.ts b/code/addons/links/src/utils.test.ts similarity index 100% rename from addons/links/src/utils.test.ts rename to code/addons/links/src/utils.test.ts diff --git a/addons/links/src/utils.ts b/code/addons/links/src/utils.ts similarity index 100% rename from addons/links/src/utils.ts rename to code/addons/links/src/utils.ts diff --git a/addons/links/tsconfig.json b/code/addons/links/tsconfig.json similarity index 100% rename from addons/links/tsconfig.json rename to code/addons/links/tsconfig.json diff --git a/addons/measure/README.md b/code/addons/measure/README.md similarity index 100% rename from addons/measure/README.md rename to code/addons/measure/README.md diff --git a/addons/measure/manager.js b/code/addons/measure/manager.js similarity index 100% rename from addons/measure/manager.js rename to code/addons/measure/manager.js diff --git a/addons/measure/package.json b/code/addons/measure/package.json similarity index 97% rename from addons/measure/package.json rename to code/addons/measure/package.json index ec90366f2b6f..0967c13df599 100644 --- a/addons/measure/package.json +++ b/code/addons/measure/package.json @@ -35,7 +35,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.16", diff --git a/addons/measure/preview.js b/code/addons/measure/preview.js similarity index 100% rename from addons/measure/preview.js rename to code/addons/measure/preview.js diff --git a/addons/measure/register.js b/code/addons/measure/register.js similarity index 100% rename from addons/measure/register.js rename to code/addons/measure/register.js diff --git a/addons/measure/src/Tool.tsx b/code/addons/measure/src/Tool.tsx similarity index 100% rename from addons/measure/src/Tool.tsx rename to code/addons/measure/src/Tool.tsx diff --git a/addons/measure/src/box-model/canvas.ts b/code/addons/measure/src/box-model/canvas.ts similarity index 100% rename from addons/measure/src/box-model/canvas.ts rename to code/addons/measure/src/box-model/canvas.ts diff --git a/addons/measure/src/box-model/labels.ts b/code/addons/measure/src/box-model/labels.ts similarity index 100% rename from addons/measure/src/box-model/labels.ts rename to code/addons/measure/src/box-model/labels.ts diff --git a/addons/measure/src/box-model/visualizer.ts b/code/addons/measure/src/box-model/visualizer.ts similarity index 100% rename from addons/measure/src/box-model/visualizer.ts rename to code/addons/measure/src/box-model/visualizer.ts diff --git a/addons/measure/src/constants.ts b/code/addons/measure/src/constants.ts similarity index 100% rename from addons/measure/src/constants.ts rename to code/addons/measure/src/constants.ts diff --git a/addons/measure/src/index.ts b/code/addons/measure/src/index.ts similarity index 100% rename from addons/measure/src/index.ts rename to code/addons/measure/src/index.ts diff --git a/addons/measure/src/manager.tsx b/code/addons/measure/src/manager.tsx similarity index 100% rename from addons/measure/src/manager.tsx rename to code/addons/measure/src/manager.tsx diff --git a/addons/measure/src/preview.tsx b/code/addons/measure/src/preview.tsx similarity index 100% rename from addons/measure/src/preview.tsx rename to code/addons/measure/src/preview.tsx diff --git a/addons/measure/src/typings.d.ts b/code/addons/measure/src/typings.d.ts similarity index 100% rename from addons/measure/src/typings.d.ts rename to code/addons/measure/src/typings.d.ts diff --git a/addons/measure/src/util.ts b/code/addons/measure/src/util.ts similarity index 100% rename from addons/measure/src/util.ts rename to code/addons/measure/src/util.ts diff --git a/addons/measure/src/withMeasure.ts b/code/addons/measure/src/withMeasure.ts similarity index 100% rename from addons/measure/src/withMeasure.ts rename to code/addons/measure/src/withMeasure.ts diff --git a/addons/measure/tsconfig.json b/code/addons/measure/tsconfig.json similarity index 100% rename from addons/measure/tsconfig.json rename to code/addons/measure/tsconfig.json diff --git a/addons/outline/README.md b/code/addons/outline/README.md similarity index 100% rename from addons/outline/README.md rename to code/addons/outline/README.md diff --git a/addons/outline/manager.js b/code/addons/outline/manager.js similarity index 100% rename from addons/outline/manager.js rename to code/addons/outline/manager.js diff --git a/addons/outline/package.json b/code/addons/outline/package.json similarity index 97% rename from addons/outline/package.json rename to code/addons/outline/package.json index ae2dbd1c8e6d..9560cb157637 100644 --- a/addons/outline/package.json +++ b/code/addons/outline/package.json @@ -38,7 +38,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.16", diff --git a/addons/outline/preview.js b/code/addons/outline/preview.js similarity index 100% rename from addons/outline/preview.js rename to code/addons/outline/preview.js diff --git a/addons/outline/register.js b/code/addons/outline/register.js similarity index 100% rename from addons/outline/register.js rename to code/addons/outline/register.js diff --git a/addons/outline/src/OutlineSelector.tsx b/code/addons/outline/src/OutlineSelector.tsx similarity index 100% rename from addons/outline/src/OutlineSelector.tsx rename to code/addons/outline/src/OutlineSelector.tsx diff --git a/addons/outline/src/constants.ts b/code/addons/outline/src/constants.ts similarity index 100% rename from addons/outline/src/constants.ts rename to code/addons/outline/src/constants.ts diff --git a/addons/outline/src/helpers.ts b/code/addons/outline/src/helpers.ts similarity index 100% rename from addons/outline/src/helpers.ts rename to code/addons/outline/src/helpers.ts diff --git a/addons/outline/src/index.ts b/code/addons/outline/src/index.ts similarity index 100% rename from addons/outline/src/index.ts rename to code/addons/outline/src/index.ts diff --git a/addons/outline/src/manager.tsx b/code/addons/outline/src/manager.tsx similarity index 100% rename from addons/outline/src/manager.tsx rename to code/addons/outline/src/manager.tsx diff --git a/addons/outline/src/outlineCSS.ts b/code/addons/outline/src/outlineCSS.ts similarity index 100% rename from addons/outline/src/outlineCSS.ts rename to code/addons/outline/src/outlineCSS.ts diff --git a/addons/outline/src/preset/preview.tsx b/code/addons/outline/src/preset/preview.tsx similarity index 100% rename from addons/outline/src/preset/preview.tsx rename to code/addons/outline/src/preset/preview.tsx diff --git a/addons/outline/src/typings.d.ts b/code/addons/outline/src/typings.d.ts similarity index 100% rename from addons/outline/src/typings.d.ts rename to code/addons/outline/src/typings.d.ts diff --git a/addons/outline/src/withOutline.ts b/code/addons/outline/src/withOutline.ts similarity index 100% rename from addons/outline/src/withOutline.ts rename to code/addons/outline/src/withOutline.ts diff --git a/addons/outline/tsconfig.json b/code/addons/outline/tsconfig.json similarity index 100% rename from addons/outline/tsconfig.json rename to code/addons/outline/tsconfig.json diff --git a/addons/storyshots/README.md b/code/addons/storyshots/README.md similarity index 100% rename from addons/storyshots/README.md rename to code/addons/storyshots/README.md diff --git a/addons/storyshots/storyshots-core/.eslintrc.js b/code/addons/storyshots/storyshots-core/.eslintrc.js similarity index 100% rename from addons/storyshots/storyshots-core/.eslintrc.js rename to code/addons/storyshots/storyshots-core/.eslintrc.js diff --git a/addons/storyshots/storyshots-core/.storybook/config.js b/code/addons/storyshots/storyshots-core/.storybook/config.js similarity index 100% rename from addons/storyshots/storyshots-core/.storybook/config.js rename to code/addons/storyshots/storyshots-core/.storybook/config.js diff --git a/addons/storyshots/storyshots-core/.storybook/configTest.js b/code/addons/storyshots/storyshots-core/.storybook/configTest.js similarity index 100% rename from addons/storyshots/storyshots-core/.storybook/configTest.js rename to code/addons/storyshots/storyshots-core/.storybook/configTest.js diff --git a/addons/storyshots/storyshots-core/.storybook/presets.js b/code/addons/storyshots/storyshots-core/.storybook/presets.js similarity index 100% rename from addons/storyshots/storyshots-core/.storybook/presets.js rename to code/addons/storyshots/storyshots-core/.storybook/presets.js diff --git a/addons/storyshots/storyshots-core/README.md b/code/addons/storyshots/storyshots-core/README.md similarity index 100% rename from addons/storyshots/storyshots-core/README.md rename to code/addons/storyshots/storyshots-core/README.md diff --git a/addons/storyshots/storyshots-core/docs/storyshots-fail.png b/code/addons/storyshots/storyshots-core/docs/storyshots-fail.png similarity index 100% rename from addons/storyshots/storyshots-core/docs/storyshots-fail.png rename to code/addons/storyshots/storyshots-core/docs/storyshots-fail.png diff --git a/addons/storyshots/storyshots-core/docs/storyshots.png b/code/addons/storyshots/storyshots-core/docs/storyshots.png similarity index 100% rename from addons/storyshots/storyshots-core/docs/storyshots.png rename to code/addons/storyshots/storyshots-core/docs/storyshots.png diff --git a/addons/storyshots/storyshots-core/injectFileName.js b/code/addons/storyshots/storyshots-core/injectFileName.js similarity index 100% rename from addons/storyshots/storyshots-core/injectFileName.js rename to code/addons/storyshots/storyshots-core/injectFileName.js diff --git a/addons/storyshots/storyshots-core/package.json b/code/addons/storyshots/storyshots-core/package.json similarity index 98% rename from addons/storyshots/storyshots-core/package.json rename to code/addons/storyshots/storyshots-core/package.json index 434a9dbd09e5..ef4a9a71fb8e 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/code/addons/storyshots/storyshots-core/package.json @@ -33,7 +33,7 @@ "scripts": { "build-storybook": "sb build", "example": "jest storyshot.test", - "prepare": "node ../../../scripts/prepare.js", + "prepare": "node ../../../../scripts/prepare.js", "storybook": "yarn sb dev -p 6006" }, "dependencies": { diff --git a/addons/storyshots/storyshots-core/preset.js b/code/addons/storyshots/storyshots-core/preset.js similarity index 100% rename from addons/storyshots/storyshots-core/preset.js rename to code/addons/storyshots/storyshots-core/preset.js diff --git a/addons/storyshots/storyshots-core/src/Stories2SnapsConverter.test.ts b/code/addons/storyshots/storyshots-core/src/Stories2SnapsConverter.test.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/Stories2SnapsConverter.test.ts rename to code/addons/storyshots/storyshots-core/src/Stories2SnapsConverter.test.ts diff --git a/addons/storyshots/storyshots-core/src/Stories2SnapsConverter.ts b/code/addons/storyshots/storyshots-core/src/Stories2SnapsConverter.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/Stories2SnapsConverter.ts rename to code/addons/storyshots/storyshots-core/src/Stories2SnapsConverter.ts diff --git a/addons/storyshots/storyshots-core/src/api/StoryshotsOptions.ts b/code/addons/storyshots/storyshots-core/src/api/StoryshotsOptions.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/api/StoryshotsOptions.ts rename to code/addons/storyshots/storyshots-core/src/api/StoryshotsOptions.ts diff --git a/addons/storyshots/storyshots-core/src/api/ensureOptionsDefaults.ts b/code/addons/storyshots/storyshots-core/src/api/ensureOptionsDefaults.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/api/ensureOptionsDefaults.ts rename to code/addons/storyshots/storyshots-core/src/api/ensureOptionsDefaults.ts diff --git a/addons/storyshots/storyshots-core/src/api/index.ts b/code/addons/storyshots/storyshots-core/src/api/index.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/api/index.ts rename to code/addons/storyshots/storyshots-core/src/api/index.ts diff --git a/addons/storyshots/storyshots-core/src/api/integrityTestTemplate.ts b/code/addons/storyshots/storyshots-core/src/api/integrityTestTemplate.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/api/integrityTestTemplate.ts rename to code/addons/storyshots/storyshots-core/src/api/integrityTestTemplate.ts diff --git a/addons/storyshots/storyshots-core/src/api/snapshotsTestsTemplate.ts b/code/addons/storyshots/storyshots-core/src/api/snapshotsTestsTemplate.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/api/snapshotsTestsTemplate.ts rename to code/addons/storyshots/storyshots-core/src/api/snapshotsTestsTemplate.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/Loader.ts b/code/addons/storyshots/storyshots-core/src/frameworks/Loader.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/Loader.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/Loader.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/SupportedFramework.ts b/code/addons/storyshots/storyshots-core/src/frameworks/SupportedFramework.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/SupportedFramework.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/SupportedFramework.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/angular/loader.ts b/code/addons/storyshots/storyshots-core/src/frameworks/angular/loader.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/angular/loader.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/angular/loader.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/angular/renderTree.ts b/code/addons/storyshots/storyshots-core/src/frameworks/angular/renderTree.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/angular/renderTree.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/angular/renderTree.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/angular/types.ts b/code/addons/storyshots/storyshots-core/src/frameworks/angular/types.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/angular/types.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/angular/types.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/configure.test.ts b/code/addons/storyshots/storyshots-core/src/frameworks/configure.test.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/configure.test.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/configure.test.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/configure.ts b/code/addons/storyshots/storyshots-core/src/frameworks/configure.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/configure.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/configure.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/frameworkLoader.ts b/code/addons/storyshots/storyshots-core/src/frameworks/frameworkLoader.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/frameworkLoader.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/frameworkLoader.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/hasDependency.ts b/code/addons/storyshots/storyshots-core/src/frameworks/hasDependency.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/hasDependency.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/hasDependency.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/html/loader.ts b/code/addons/storyshots/storyshots-core/src/frameworks/html/loader.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/html/loader.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/html/loader.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/html/renderTree.ts b/code/addons/storyshots/storyshots-core/src/frameworks/html/renderTree.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/html/renderTree.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/html/renderTree.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/index.ts b/code/addons/storyshots/storyshots-core/src/frameworks/index.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/index.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/index.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/preact/loader.ts b/code/addons/storyshots/storyshots-core/src/frameworks/preact/loader.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/preact/loader.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/preact/loader.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/preact/renderTree.ts b/code/addons/storyshots/storyshots-core/src/frameworks/preact/renderTree.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/preact/renderTree.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/preact/renderTree.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/rax/loader.ts b/code/addons/storyshots/storyshots-core/src/frameworks/rax/loader.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/rax/loader.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/rax/loader.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/rax/renderTree.ts b/code/addons/storyshots/storyshots-core/src/frameworks/rax/renderTree.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/rax/renderTree.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/rax/renderTree.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/react-native/loader.ts b/code/addons/storyshots/storyshots-core/src/frameworks/react-native/loader.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/react-native/loader.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/react-native/loader.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/react/loader.ts b/code/addons/storyshots/storyshots-core/src/frameworks/react/loader.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/react/loader.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/react/loader.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/react/renderShallowTree.ts b/code/addons/storyshots/storyshots-core/src/frameworks/react/renderShallowTree.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/react/renderShallowTree.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/react/renderShallowTree.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/react/renderTree.ts b/code/addons/storyshots/storyshots-core/src/frameworks/react/renderTree.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/react/renderTree.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/react/renderTree.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/riot/loader.ts b/code/addons/storyshots/storyshots-core/src/frameworks/riot/loader.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/riot/loader.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/riot/loader.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/riot/renderTree.ts b/code/addons/storyshots/storyshots-core/src/frameworks/riot/renderTree.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/riot/renderTree.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/riot/renderTree.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/svelte/loader.ts b/code/addons/storyshots/storyshots-core/src/frameworks/svelte/loader.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/svelte/loader.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/svelte/loader.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/svelte/renderTree.ts b/code/addons/storyshots/storyshots-core/src/frameworks/svelte/renderTree.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/svelte/renderTree.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/svelte/renderTree.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/vue/loader.ts b/code/addons/storyshots/storyshots-core/src/frameworks/vue/loader.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/vue/loader.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/vue/loader.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/vue/renderTree.ts b/code/addons/storyshots/storyshots-core/src/frameworks/vue/renderTree.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/vue/renderTree.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/vue/renderTree.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/vue3/loader.ts b/code/addons/storyshots/storyshots-core/src/frameworks/vue3/loader.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/vue3/loader.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/vue3/loader.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/vue3/renderTree.ts b/code/addons/storyshots/storyshots-core/src/frameworks/vue3/renderTree.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/vue3/renderTree.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/vue3/renderTree.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/web-components/loader.ts b/code/addons/storyshots/storyshots-core/src/frameworks/web-components/loader.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/web-components/loader.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/web-components/loader.ts diff --git a/addons/storyshots/storyshots-core/src/frameworks/web-components/renderTree.ts b/code/addons/storyshots/storyshots-core/src/frameworks/web-components/renderTree.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/frameworks/web-components/renderTree.ts rename to code/addons/storyshots/storyshots-core/src/frameworks/web-components/renderTree.ts diff --git a/addons/storyshots/storyshots-core/src/index.ts b/code/addons/storyshots/storyshots-core/src/index.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/index.ts rename to code/addons/storyshots/storyshots-core/src/index.ts diff --git a/addons/storyshots/storyshots-core/src/test-bodies.ts b/code/addons/storyshots/storyshots-core/src/test-bodies.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/test-bodies.ts rename to code/addons/storyshots/storyshots-core/src/test-bodies.ts diff --git a/addons/storyshots/storyshots-core/src/typings.d.ts b/code/addons/storyshots/storyshots-core/src/typings.d.ts similarity index 100% rename from addons/storyshots/storyshots-core/src/typings.d.ts rename to code/addons/storyshots/storyshots-core/src/typings.d.ts diff --git a/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.enzyme.test.js.snap b/code/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.enzyme.test.js.snap similarity index 100% rename from addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.enzyme.test.js.snap rename to code/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.enzyme.test.js.snap diff --git a/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.metadata.test.js.snap b/code/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.metadata.test.js.snap similarity index 100% rename from addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.metadata.test.js.snap rename to code/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.metadata.test.js.snap diff --git a/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.shallow.test.js.snap b/code/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.shallow.test.js.snap similarity index 100% rename from addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.shallow.test.js.snap rename to code/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.shallow.test.js.snap diff --git a/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.shallowWithOptions.test.js.snap b/code/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.shallowWithOptions.test.js.snap similarity index 100% rename from addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.shallowWithOptions.test.js.snap rename to code/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.shallowWithOptions.test.js.snap diff --git a/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.snapshotWithOptionsFunction.test.js.snap b/code/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.snapshotWithOptionsFunction.test.js.snap similarity index 100% rename from addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.snapshotWithOptionsFunction.test.js.snap rename to code/addons/storyshots/storyshots-core/stories/__snapshots__/storyshot.snapshotWithOptionsFunction.test.js.snap diff --git a/addons/storyshots/storyshots-core/stories/directly_required/__snapshots__/index.foo b/code/addons/storyshots/storyshots-core/stories/directly_required/__snapshots__/index.foo similarity index 100% rename from addons/storyshots/storyshots-core/stories/directly_required/__snapshots__/index.foo rename to code/addons/storyshots/storyshots-core/stories/directly_required/__snapshots__/index.foo diff --git a/addons/storyshots/storyshots-core/stories/directly_required/__snapshots__/index.storyshot b/code/addons/storyshots/storyshots-core/stories/directly_required/__snapshots__/index.storyshot similarity index 100% rename from addons/storyshots/storyshots-core/stories/directly_required/__snapshots__/index.storyshot rename to code/addons/storyshots/storyshots-core/stories/directly_required/__snapshots__/index.storyshot diff --git a/addons/storyshots/storyshots-core/stories/directly_required/__snapshots__/index@Another-_-Button@with-_-some-_-emoji.boo b/code/addons/storyshots/storyshots-core/stories/directly_required/__snapshots__/index@Another-_-Button@with-_-some-_-emoji.boo similarity index 100% rename from addons/storyshots/storyshots-core/stories/directly_required/__snapshots__/index@Another-_-Button@with-_-some-_-emoji.boo rename to code/addons/storyshots/storyshots-core/stories/directly_required/__snapshots__/index@Another-_-Button@with-_-some-_-emoji.boo diff --git a/addons/storyshots/storyshots-core/stories/directly_required/__snapshots__/index@Another-_-Button@with-_-text.boo b/code/addons/storyshots/storyshots-core/stories/directly_required/__snapshots__/index@Another-_-Button@with-_-text.boo similarity index 100% rename from addons/storyshots/storyshots-core/stories/directly_required/__snapshots__/index@Another-_-Button@with-_-text.boo rename to code/addons/storyshots/storyshots-core/stories/directly_required/__snapshots__/index@Another-_-Button@with-_-text.boo diff --git a/addons/storyshots/storyshots-core/stories/directly_required/index.js b/code/addons/storyshots/storyshots-core/stories/directly_required/index.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/directly_required/index.js rename to code/addons/storyshots/storyshots-core/stories/directly_required/index.js diff --git a/addons/storyshots/storyshots-core/stories/exported_metadata/Text.stories.js b/code/addons/storyshots/storyshots-core/stories/exported_metadata/Text.stories.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/exported_metadata/Text.stories.js rename to code/addons/storyshots/storyshots-core/stories/exported_metadata/Text.stories.js diff --git a/addons/storyshots/storyshots-core/stories/exported_metadata/main.js b/code/addons/storyshots/storyshots-core/stories/exported_metadata/main.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/exported_metadata/main.js rename to code/addons/storyshots/storyshots-core/stories/exported_metadata/main.js diff --git a/addons/storyshots/storyshots-core/stories/exported_metadata/preview.js b/code/addons/storyshots/storyshots-core/stories/exported_metadata/preview.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/exported_metadata/preview.js rename to code/addons/storyshots/storyshots-core/stories/exported_metadata/preview.js diff --git a/addons/storyshots/storyshots-core/stories/react-demo.js b/code/addons/storyshots/storyshots-core/stories/react-demo.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/react-demo.js rename to code/addons/storyshots/storyshots-core/stories/react-demo.js diff --git a/addons/storyshots/storyshots-core/stories/required_with_context/Async.stories.js b/code/addons/storyshots/storyshots-core/stories/required_with_context/Async.stories.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/required_with_context/Async.stories.js rename to code/addons/storyshots/storyshots-core/stories/required_with_context/Async.stories.js diff --git a/addons/storyshots/storyshots-core/stories/required_with_context/Button.stories.js b/code/addons/storyshots/storyshots-core/stories/required_with_context/Button.stories.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/required_with_context/Button.stories.js rename to code/addons/storyshots/storyshots-core/stories/required_with_context/Button.stories.js diff --git a/addons/storyshots/storyshots-core/stories/required_with_context/Welcome.stories.js b/code/addons/storyshots/storyshots-core/stories/required_with_context/Welcome.stories.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/required_with_context/Welcome.stories.js rename to code/addons/storyshots/storyshots-core/stories/required_with_context/Welcome.stories.js diff --git a/addons/storyshots/storyshots-core/stories/required_with_context/Welcome.stories.mdx b/code/addons/storyshots/storyshots-core/stories/required_with_context/Welcome.stories.mdx similarity index 100% rename from addons/storyshots/storyshots-core/stories/required_with_context/Welcome.stories.mdx rename to code/addons/storyshots/storyshots-core/stories/required_with_context/Welcome.stories.mdx diff --git a/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Async.stories.async.storyshot b/code/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Async.stories.async.storyshot similarity index 100% rename from addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Async.stories.async.storyshot rename to code/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Async.stories.async.storyshot diff --git a/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Async.stories.foo b/code/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Async.stories.foo similarity index 100% rename from addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Async.stories.foo rename to code/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Async.stories.foo diff --git a/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Async.stories.storyshot b/code/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Async.stories.storyshot similarity index 100% rename from addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Async.stories.storyshot rename to code/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Async.stories.storyshot diff --git a/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Button.stories.foo b/code/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Button.stories.foo similarity index 100% rename from addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Button.stories.foo rename to code/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Button.stories.foo diff --git a/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Button.stories.storyshot b/code/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Button.stories.storyshot similarity index 100% rename from addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Button.stories.storyshot rename to code/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Button.stories.storyshot diff --git a/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.foo b/code/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.foo similarity index 100% rename from addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.foo rename to code/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.foo diff --git a/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.storyshot b/code/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.storyshot similarity index 100% rename from addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.storyshot rename to code/addons/storyshots/storyshots-core/stories/required_with_context/__snapshots__/Welcome.stories.storyshot diff --git a/addons/storyshots/storyshots-core/stories/storyshot.async.test.js b/code/addons/storyshots/storyshots-core/stories/storyshot.async.test.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/storyshot.async.test.js rename to code/addons/storyshots/storyshots-core/stories/storyshot.async.test.js diff --git a/addons/storyshots/storyshots-core/stories/storyshot.configFunc.test.js b/code/addons/storyshots/storyshots-core/stories/storyshot.configFunc.test.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/storyshot.configFunc.test.js rename to code/addons/storyshots/storyshots-core/stories/storyshot.configFunc.test.js diff --git a/addons/storyshots/storyshots-core/stories/storyshot.enzyme.test.js b/code/addons/storyshots/storyshots-core/stories/storyshot.enzyme.test.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/storyshot.enzyme.test.js rename to code/addons/storyshots/storyshots-core/stories/storyshot.enzyme.test.js diff --git a/addons/storyshots/storyshots-core/stories/storyshot.metadata.test.js b/code/addons/storyshots/storyshots-core/stories/storyshot.metadata.test.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/storyshot.metadata.test.js rename to code/addons/storyshots/storyshots-core/stories/storyshot.metadata.test.js diff --git a/addons/storyshots/storyshots-core/stories/storyshot.renderOnly.test.js b/code/addons/storyshots/storyshots-core/stories/storyshot.renderOnly.test.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/storyshot.renderOnly.test.js rename to code/addons/storyshots/storyshots-core/stories/storyshot.renderOnly.test.js diff --git a/addons/storyshots/storyshots-core/stories/storyshot.renderWithOptions.test.js b/code/addons/storyshots/storyshots-core/stories/storyshot.renderWithOptions.test.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/storyshot.renderWithOptions.test.js rename to code/addons/storyshots/storyshots-core/stories/storyshot.renderWithOptions.test.js diff --git a/addons/storyshots/storyshots-core/stories/storyshot.shallow.test.js b/code/addons/storyshots/storyshots-core/stories/storyshot.shallow.test.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/storyshot.shallow.test.js rename to code/addons/storyshots/storyshots-core/stories/storyshot.shallow.test.js diff --git a/addons/storyshots/storyshots-core/stories/storyshot.shallowWithOptions.test.js b/code/addons/storyshots/storyshots-core/stories/storyshot.shallowWithOptions.test.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/storyshot.shallowWithOptions.test.js rename to code/addons/storyshots/storyshots-core/stories/storyshot.shallowWithOptions.test.js diff --git a/addons/storyshots/storyshots-core/stories/storyshot.snapshotWithOptionsFunction.test.js b/code/addons/storyshots/storyshots-core/stories/storyshot.snapshotWithOptionsFunction.test.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/storyshot.snapshotWithOptionsFunction.test.js rename to code/addons/storyshots/storyshots-core/stories/storyshot.snapshotWithOptionsFunction.test.js diff --git a/addons/storyshots/storyshots-core/stories/storyshot.specificConfig.test.js b/code/addons/storyshots/storyshots-core/stories/storyshot.specificConfig.test.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/storyshot.specificConfig.test.js rename to code/addons/storyshots/storyshots-core/stories/storyshot.specificConfig.test.js diff --git a/addons/storyshots/storyshots-core/stories/storyshot.test.js b/code/addons/storyshots/storyshots-core/stories/storyshot.test.js similarity index 100% rename from addons/storyshots/storyshots-core/stories/storyshot.test.js rename to code/addons/storyshots/storyshots-core/stories/storyshot.test.js diff --git a/addons/storyshots/storyshots-core/tsconfig.json b/code/addons/storyshots/storyshots-core/tsconfig.json similarity index 100% rename from addons/storyshots/storyshots-core/tsconfig.json rename to code/addons/storyshots/storyshots-core/tsconfig.json diff --git a/addons/storyshots/storyshots-puppeteer/.eslintrc.js b/code/addons/storyshots/storyshots-puppeteer/.eslintrc.js similarity index 100% rename from addons/storyshots/storyshots-puppeteer/.eslintrc.js rename to code/addons/storyshots/storyshots-puppeteer/.eslintrc.js diff --git a/addons/storyshots/storyshots-puppeteer/README.md b/code/addons/storyshots/storyshots-puppeteer/README.md similarity index 100% rename from addons/storyshots/storyshots-puppeteer/README.md rename to code/addons/storyshots/storyshots-puppeteer/README.md diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/code/addons/storyshots/storyshots-puppeteer/package.json similarity index 96% rename from addons/storyshots/storyshots-puppeteer/package.json rename to code/addons/storyshots/storyshots-puppeteer/package.json index 61c6d1d42644..45114dd60cd2 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/code/addons/storyshots/storyshots-puppeteer/package.json @@ -30,7 +30,7 @@ "*.d.ts" ], "scripts": { - "prepare": "node ../../../scripts/prepare.js" + "prepare": "node ../../../../scripts/prepare.js" }, "dependencies": { "@axe-core/puppeteer": "^4.2.0", diff --git a/addons/storyshots/storyshots-puppeteer/preset.js b/code/addons/storyshots/storyshots-puppeteer/preset.js similarity index 100% rename from addons/storyshots/storyshots-puppeteer/preset.js rename to code/addons/storyshots/storyshots-puppeteer/preset.js diff --git a/addons/storyshots/storyshots-puppeteer/src/__tests__/url.test.ts b/code/addons/storyshots/storyshots-puppeteer/src/__tests__/url.test.ts similarity index 100% rename from addons/storyshots/storyshots-puppeteer/src/__tests__/url.test.ts rename to code/addons/storyshots/storyshots-puppeteer/src/__tests__/url.test.ts diff --git a/addons/storyshots/storyshots-puppeteer/src/axeTest.ts b/code/addons/storyshots/storyshots-puppeteer/src/axeTest.ts similarity index 100% rename from addons/storyshots/storyshots-puppeteer/src/axeTest.ts rename to code/addons/storyshots/storyshots-puppeteer/src/axeTest.ts diff --git a/addons/storyshots/storyshots-puppeteer/src/config.ts b/code/addons/storyshots/storyshots-puppeteer/src/config.ts similarity index 100% rename from addons/storyshots/storyshots-puppeteer/src/config.ts rename to code/addons/storyshots/storyshots-puppeteer/src/config.ts diff --git a/addons/storyshots/storyshots-puppeteer/src/imageSnapshot.ts b/code/addons/storyshots/storyshots-puppeteer/src/imageSnapshot.ts similarity index 100% rename from addons/storyshots/storyshots-puppeteer/src/imageSnapshot.ts rename to code/addons/storyshots/storyshots-puppeteer/src/imageSnapshot.ts diff --git a/addons/storyshots/storyshots-puppeteer/src/index.ts b/code/addons/storyshots/storyshots-puppeteer/src/index.ts similarity index 100% rename from addons/storyshots/storyshots-puppeteer/src/index.ts rename to code/addons/storyshots/storyshots-puppeteer/src/index.ts diff --git a/addons/storyshots/storyshots-puppeteer/src/puppeteerTest.ts b/code/addons/storyshots/storyshots-puppeteer/src/puppeteerTest.ts similarity index 100% rename from addons/storyshots/storyshots-puppeteer/src/puppeteerTest.ts rename to code/addons/storyshots/storyshots-puppeteer/src/puppeteerTest.ts diff --git a/addons/storyshots/storyshots-puppeteer/src/url.ts b/code/addons/storyshots/storyshots-puppeteer/src/url.ts similarity index 100% rename from addons/storyshots/storyshots-puppeteer/src/url.ts rename to code/addons/storyshots/storyshots-puppeteer/src/url.ts diff --git a/addons/storyshots/storyshots-puppeteer/tsconfig.json b/code/addons/storyshots/storyshots-puppeteer/tsconfig.json similarity index 100% rename from addons/storyshots/storyshots-puppeteer/tsconfig.json rename to code/addons/storyshots/storyshots-puppeteer/tsconfig.json diff --git a/addons/storysource/README.md b/code/addons/storysource/README.md similarity index 100% rename from addons/storysource/README.md rename to code/addons/storysource/README.md diff --git a/addons/storysource/docs/demo.gif b/code/addons/storysource/docs/demo.gif similarity index 100% rename from addons/storysource/docs/demo.gif rename to code/addons/storysource/docs/demo.gif diff --git a/addons/storysource/docs/theming-light-dark.png b/code/addons/storysource/docs/theming-light-dark.png similarity index 100% rename from addons/storysource/docs/theming-light-dark.png rename to code/addons/storysource/docs/theming-light-dark.png diff --git a/addons/storysource/package.json b/code/addons/storysource/package.json similarity index 97% rename from addons/storysource/package.json rename to code/addons/storysource/package.json index f32a32d824e6..63eb663cfe53 100644 --- a/addons/storysource/package.json +++ b/code/addons/storysource/package.json @@ -32,7 +32,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.16", diff --git a/addons/storysource/preset.js b/code/addons/storysource/preset.js similarity index 100% rename from addons/storysource/preset.js rename to code/addons/storysource/preset.js diff --git a/addons/storysource/register.js b/code/addons/storysource/register.js similarity index 100% rename from addons/storysource/register.js rename to code/addons/storysource/register.js diff --git a/addons/storysource/src/StoryPanel.tsx b/code/addons/storysource/src/StoryPanel.tsx similarity index 100% rename from addons/storysource/src/StoryPanel.tsx rename to code/addons/storysource/src/StoryPanel.tsx diff --git a/addons/storysource/src/events.ts b/code/addons/storysource/src/events.ts similarity index 100% rename from addons/storysource/src/events.ts rename to code/addons/storysource/src/events.ts diff --git a/addons/storysource/src/index.ts b/code/addons/storysource/src/index.ts similarity index 100% rename from addons/storysource/src/index.ts rename to code/addons/storysource/src/index.ts diff --git a/addons/storysource/src/manager.tsx b/code/addons/storysource/src/manager.tsx similarity index 100% rename from addons/storysource/src/manager.tsx rename to code/addons/storysource/src/manager.tsx diff --git a/addons/storysource/theming-light-dark.png b/code/addons/storysource/theming-light-dark.png similarity index 100% rename from addons/storysource/theming-light-dark.png rename to code/addons/storysource/theming-light-dark.png diff --git a/addons/storysource/tsconfig.json b/code/addons/storysource/tsconfig.json similarity index 100% rename from addons/storysource/tsconfig.json rename to code/addons/storysource/tsconfig.json diff --git a/addons/toolbars/README.md b/code/addons/toolbars/README.md similarity index 100% rename from addons/toolbars/README.md rename to code/addons/toolbars/README.md diff --git a/addons/toolbars/docs/hero.gif b/code/addons/toolbars/docs/hero.gif similarity index 100% rename from addons/toolbars/docs/hero.gif rename to code/addons/toolbars/docs/hero.gif diff --git a/addons/toolbars/manager.js b/code/addons/toolbars/manager.js similarity index 100% rename from addons/toolbars/manager.js rename to code/addons/toolbars/manager.js diff --git a/addons/toolbars/package.json b/code/addons/toolbars/package.json similarity index 97% rename from addons/toolbars/package.json rename to code/addons/toolbars/package.json index 80a8fb57475d..900dfb18dabf 100644 --- a/addons/toolbars/package.json +++ b/code/addons/toolbars/package.json @@ -36,7 +36,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.16", diff --git a/addons/toolbars/register.js b/code/addons/toolbars/register.js similarity index 100% rename from addons/toolbars/register.js rename to code/addons/toolbars/register.js diff --git a/addons/toolbars/src/components/ToolbarManager.tsx b/code/addons/toolbars/src/components/ToolbarManager.tsx similarity index 100% rename from addons/toolbars/src/components/ToolbarManager.tsx rename to code/addons/toolbars/src/components/ToolbarManager.tsx diff --git a/addons/toolbars/src/components/ToolbarMenuButton.tsx b/code/addons/toolbars/src/components/ToolbarMenuButton.tsx similarity index 100% rename from addons/toolbars/src/components/ToolbarMenuButton.tsx rename to code/addons/toolbars/src/components/ToolbarMenuButton.tsx diff --git a/addons/toolbars/src/components/ToolbarMenuList.tsx b/code/addons/toolbars/src/components/ToolbarMenuList.tsx similarity index 100% rename from addons/toolbars/src/components/ToolbarMenuList.tsx rename to code/addons/toolbars/src/components/ToolbarMenuList.tsx diff --git a/addons/toolbars/src/components/ToolbarMenuListItem.tsx b/code/addons/toolbars/src/components/ToolbarMenuListItem.tsx similarity index 100% rename from addons/toolbars/src/components/ToolbarMenuListItem.tsx rename to code/addons/toolbars/src/components/ToolbarMenuListItem.tsx diff --git a/addons/toolbars/src/constants.ts b/code/addons/toolbars/src/constants.ts similarity index 100% rename from addons/toolbars/src/constants.ts rename to code/addons/toolbars/src/constants.ts diff --git a/addons/toolbars/src/hoc/withKeyboardCycle.tsx b/code/addons/toolbars/src/hoc/withKeyboardCycle.tsx similarity index 100% rename from addons/toolbars/src/hoc/withKeyboardCycle.tsx rename to code/addons/toolbars/src/hoc/withKeyboardCycle.tsx diff --git a/addons/toolbars/src/manager.tsx b/code/addons/toolbars/src/manager.tsx similarity index 100% rename from addons/toolbars/src/manager.tsx rename to code/addons/toolbars/src/manager.tsx diff --git a/addons/toolbars/src/types.ts b/code/addons/toolbars/src/types.ts similarity index 100% rename from addons/toolbars/src/types.ts rename to code/addons/toolbars/src/types.ts diff --git a/addons/toolbars/src/utils/create-cycle-value-array.ts b/code/addons/toolbars/src/utils/create-cycle-value-array.ts similarity index 100% rename from addons/toolbars/src/utils/create-cycle-value-array.ts rename to code/addons/toolbars/src/utils/create-cycle-value-array.ts diff --git a/addons/toolbars/src/utils/get-selected.ts b/code/addons/toolbars/src/utils/get-selected.ts similarity index 100% rename from addons/toolbars/src/utils/get-selected.ts rename to code/addons/toolbars/src/utils/get-selected.ts diff --git a/addons/toolbars/src/utils/normalize-toolbar-arg-type.ts b/code/addons/toolbars/src/utils/normalize-toolbar-arg-type.ts similarity index 100% rename from addons/toolbars/src/utils/normalize-toolbar-arg-type.ts rename to code/addons/toolbars/src/utils/normalize-toolbar-arg-type.ts diff --git a/addons/toolbars/src/utils/register-shortcuts.ts b/code/addons/toolbars/src/utils/register-shortcuts.ts similarity index 100% rename from addons/toolbars/src/utils/register-shortcuts.ts rename to code/addons/toolbars/src/utils/register-shortcuts.ts diff --git a/addons/toolbars/tsconfig.json b/code/addons/toolbars/tsconfig.json similarity index 100% rename from addons/toolbars/tsconfig.json rename to code/addons/toolbars/tsconfig.json diff --git a/addons/viewport/README.md b/code/addons/viewport/README.md similarity index 100% rename from addons/viewport/README.md rename to code/addons/viewport/README.md diff --git a/addons/viewport/docs/viewport.png b/code/addons/viewport/docs/viewport.png similarity index 100% rename from addons/viewport/docs/viewport.png rename to code/addons/viewport/docs/viewport.png diff --git a/addons/viewport/manager.js b/code/addons/viewport/manager.js similarity index 100% rename from addons/viewport/manager.js rename to code/addons/viewport/manager.js diff --git a/addons/viewport/package.json b/code/addons/viewport/package.json similarity index 97% rename from addons/viewport/package.json rename to code/addons/viewport/package.json index 389b4144622b..0af8ef137d81 100644 --- a/addons/viewport/package.json +++ b/code/addons/viewport/package.json @@ -33,7 +33,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.16", diff --git a/addons/viewport/register.js b/code/addons/viewport/register.js similarity index 100% rename from addons/viewport/register.js rename to code/addons/viewport/register.js diff --git a/addons/viewport/src/Tool.tsx b/code/addons/viewport/src/Tool.tsx similarity index 100% rename from addons/viewport/src/Tool.tsx rename to code/addons/viewport/src/Tool.tsx diff --git a/addons/viewport/src/constants.ts b/code/addons/viewport/src/constants.ts similarity index 100% rename from addons/viewport/src/constants.ts rename to code/addons/viewport/src/constants.ts diff --git a/addons/viewport/src/defaults.ts b/code/addons/viewport/src/defaults.ts similarity index 100% rename from addons/viewport/src/defaults.ts rename to code/addons/viewport/src/defaults.ts diff --git a/addons/viewport/src/manager.tsx b/code/addons/viewport/src/manager.tsx similarity index 100% rename from addons/viewport/src/manager.tsx rename to code/addons/viewport/src/manager.tsx diff --git a/addons/viewport/src/models/Viewport.ts b/code/addons/viewport/src/models/Viewport.ts similarity index 100% rename from addons/viewport/src/models/Viewport.ts rename to code/addons/viewport/src/models/Viewport.ts diff --git a/addons/viewport/src/models/ViewportAddonParameter.ts b/code/addons/viewport/src/models/ViewportAddonParameter.ts similarity index 100% rename from addons/viewport/src/models/ViewportAddonParameter.ts rename to code/addons/viewport/src/models/ViewportAddonParameter.ts diff --git a/addons/viewport/src/models/index.ts b/code/addons/viewport/src/models/index.ts similarity index 100% rename from addons/viewport/src/models/index.ts rename to code/addons/viewport/src/models/index.ts diff --git a/addons/viewport/src/preview.ts b/code/addons/viewport/src/preview.ts similarity index 100% rename from addons/viewport/src/preview.ts rename to code/addons/viewport/src/preview.ts diff --git a/addons/viewport/src/shortcuts.ts b/code/addons/viewport/src/shortcuts.ts similarity index 100% rename from addons/viewport/src/shortcuts.ts rename to code/addons/viewport/src/shortcuts.ts diff --git a/addons/viewport/tsconfig.json b/code/addons/viewport/tsconfig.json similarity index 100% rename from addons/viewport/tsconfig.json rename to code/addons/viewport/tsconfig.json diff --git a/cypress.json b/code/cypress.json similarity index 100% rename from cypress.json rename to code/cypress.json diff --git a/cypress/.eslintrc.json b/code/cypress/.eslintrc.json similarity index 100% rename from cypress/.eslintrc.json rename to code/cypress/.eslintrc.json diff --git a/cypress/fixtures/example.json b/code/cypress/fixtures/example.json similarity index 100% rename from cypress/fixtures/example.json rename to code/cypress/fixtures/example.json diff --git a/cypress/generated/addon-action.spec.ts b/code/cypress/generated/addon-action.spec.ts similarity index 100% rename from cypress/generated/addon-action.spec.ts rename to code/cypress/generated/addon-action.spec.ts diff --git a/cypress/generated/addon-backgrounds.spec.ts b/code/cypress/generated/addon-backgrounds.spec.ts similarity index 100% rename from cypress/generated/addon-backgrounds.spec.ts rename to code/cypress/generated/addon-backgrounds.spec.ts diff --git a/cypress/generated/addon-controls.spec.ts b/code/cypress/generated/addon-controls.spec.ts similarity index 100% rename from cypress/generated/addon-controls.spec.ts rename to code/cypress/generated/addon-controls.spec.ts diff --git a/cypress/generated/addon-docs.spec.ts b/code/cypress/generated/addon-docs.spec.ts similarity index 100% rename from cypress/generated/addon-docs.spec.ts rename to code/cypress/generated/addon-docs.spec.ts diff --git a/cypress/generated/addon-interactions.spec.ts b/code/cypress/generated/addon-interactions.spec.ts similarity index 100% rename from cypress/generated/addon-interactions.spec.ts rename to code/cypress/generated/addon-interactions.spec.ts diff --git a/cypress/generated/addon-viewport.spec.ts b/code/cypress/generated/addon-viewport.spec.ts similarity index 100% rename from cypress/generated/addon-viewport.spec.ts rename to code/cypress/generated/addon-viewport.spec.ts diff --git a/cypress/generated/basic.spec.ts b/code/cypress/generated/basic.spec.ts similarity index 100% rename from cypress/generated/basic.spec.ts rename to code/cypress/generated/basic.spec.ts diff --git a/cypress/helper.ts b/code/cypress/helper.ts similarity index 100% rename from cypress/helper.ts rename to code/cypress/helper.ts diff --git a/cypress/integration/addon-links.spec.ts b/code/cypress/integration/addon-links.spec.ts similarity index 100% rename from cypress/integration/addon-links.spec.ts rename to code/cypress/integration/addon-links.spec.ts diff --git a/cypress/integration/navigation.spec.ts b/code/cypress/integration/navigation.spec.ts similarity index 100% rename from cypress/integration/navigation.spec.ts rename to code/cypress/integration/navigation.spec.ts diff --git a/cypress/plugins/index.js b/code/cypress/plugins/index.js similarity index 100% rename from cypress/plugins/index.js rename to code/cypress/plugins/index.js diff --git a/cypress/plugins/webpack.config.js b/code/cypress/plugins/webpack.config.js similarity index 100% rename from cypress/plugins/webpack.config.js rename to code/cypress/plugins/webpack.config.js diff --git a/cypress/report-teamcity-metadata.ts b/code/cypress/report-teamcity-metadata.ts similarity index 100% rename from cypress/report-teamcity-metadata.ts rename to code/cypress/report-teamcity-metadata.ts diff --git a/cypress/support/commands.js b/code/cypress/support/commands.js similarity index 100% rename from cypress/support/commands.js rename to code/cypress/support/commands.js diff --git a/cypress/support/index.d.ts b/code/cypress/support/index.d.ts similarity index 100% rename from cypress/support/index.d.ts rename to code/cypress/support/index.d.ts diff --git a/cypress/support/index.js b/code/cypress/support/index.js similarity index 100% rename from cypress/support/index.js rename to code/cypress/support/index.js diff --git a/cypress/tsconfig.json b/code/cypress/tsconfig.json similarity index 100% rename from cypress/tsconfig.json rename to code/cypress/tsconfig.json diff --git a/cypress/typings.d.ts b/code/cypress/typings.d.ts similarity index 100% rename from cypress/typings.d.ts rename to code/cypress/typings.d.ts diff --git a/examples/README.md b/code/examples/README.md similarity index 100% rename from examples/README.md rename to code/examples/README.md diff --git a/examples/angular-cli/.editorconfig b/code/examples/angular-cli/.editorconfig similarity index 100% rename from examples/angular-cli/.editorconfig rename to code/examples/angular-cli/.editorconfig diff --git a/examples/angular-cli/.env b/code/examples/angular-cli/.env similarity index 100% rename from examples/angular-cli/.env rename to code/examples/angular-cli/.env diff --git a/examples/angular-cli/.eslintignore b/code/examples/angular-cli/.eslintignore similarity index 100% rename from examples/angular-cli/.eslintignore rename to code/examples/angular-cli/.eslintignore diff --git a/examples/angular-cli/.eslintrc.js b/code/examples/angular-cli/.eslintrc.js similarity index 100% rename from examples/angular-cli/.eslintrc.js rename to code/examples/angular-cli/.eslintrc.js diff --git a/examples/angular-cli/.gitignore b/code/examples/angular-cli/.gitignore similarity index 100% rename from examples/angular-cli/.gitignore rename to code/examples/angular-cli/.gitignore diff --git a/examples/angular-cli/.storybook/main.ts b/code/examples/angular-cli/.storybook/main.ts similarity index 100% rename from examples/angular-cli/.storybook/main.ts rename to code/examples/angular-cli/.storybook/main.ts diff --git a/examples/angular-cli/.storybook/preview.ts b/code/examples/angular-cli/.storybook/preview.ts similarity index 100% rename from examples/angular-cli/.storybook/preview.ts rename to code/examples/angular-cli/.storybook/preview.ts diff --git a/examples/angular-cli/.storybook/tsconfig.json b/code/examples/angular-cli/.storybook/tsconfig.json similarity index 100% rename from examples/angular-cli/.storybook/tsconfig.json rename to code/examples/angular-cli/.storybook/tsconfig.json diff --git a/examples/angular-cli/README.md b/code/examples/angular-cli/README.md similarity index 100% rename from examples/angular-cli/README.md rename to code/examples/angular-cli/README.md diff --git a/examples/angular-cli/angular.json b/code/examples/angular-cli/angular.json similarity index 100% rename from examples/angular-cli/angular.json rename to code/examples/angular-cli/angular.json diff --git a/examples/angular-cli/angularshots.test.js b/code/examples/angular-cli/angularshots.test.js similarity index 100% rename from examples/angular-cli/angularshots.test.js rename to code/examples/angular-cli/angularshots.test.js diff --git a/examples/angular-cli/e2e/app.e2e-spec.ts b/code/examples/angular-cli/e2e/app.e2e-spec.ts similarity index 100% rename from examples/angular-cli/e2e/app.e2e-spec.ts rename to code/examples/angular-cli/e2e/app.e2e-spec.ts diff --git a/examples/angular-cli/e2e/app.po.ts b/code/examples/angular-cli/e2e/app.po.ts similarity index 100% rename from examples/angular-cli/e2e/app.po.ts rename to code/examples/angular-cli/e2e/app.po.ts diff --git a/examples/angular-cli/e2e/tsconfig.e2e.json b/code/examples/angular-cli/e2e/tsconfig.e2e.json similarity index 100% rename from examples/angular-cli/e2e/tsconfig.e2e.json rename to code/examples/angular-cli/e2e/tsconfig.e2e.json diff --git a/examples/angular-cli/jest-config/globalMocks.ts b/code/examples/angular-cli/jest-config/globalMocks.ts similarity index 100% rename from examples/angular-cli/jest-config/globalMocks.ts rename to code/examples/angular-cli/jest-config/globalMocks.ts diff --git a/examples/angular-cli/jest-config/setup.ts b/code/examples/angular-cli/jest-config/setup.ts similarity index 100% rename from examples/angular-cli/jest-config/setup.ts rename to code/examples/angular-cli/jest-config/setup.ts diff --git a/examples/angular-cli/jest.addon-config.js b/code/examples/angular-cli/jest.addon-config.js similarity index 100% rename from examples/angular-cli/jest.addon-config.js rename to code/examples/angular-cli/jest.addon-config.js diff --git a/examples/angular-cli/jest.config.js b/code/examples/angular-cli/jest.config.js similarity index 93% rename from examples/angular-cli/jest.config.js rename to code/examples/angular-cli/jest.config.js index d64bd077b51d..d30bd54e04dd 100644 --- a/examples/angular-cli/jest.config.js +++ b/code/examples/angular-cli/jest.config.js @@ -21,7 +21,7 @@ module.exports = { transform: { '^.+\\.stories\\.[jt]sx?$': '@storybook/addon-storyshots/injectFileName', '^.+\\.(ts|html)$': 'ts-jest', - '^.+\\.jsx?$': path.join(projectDir, 'scripts/utils/jest-transform-js.js'), + '^.+\\.jsx?$': path.join(projectDir, '../scripts/utils/jest-transform-js.js'), '^.+\\.mdx$': '@storybook/addon-docs/jest-transform-mdx', }, moduleFileExtensions: [...config.moduleFileExtensions, 'html'], diff --git a/examples/angular-cli/package.json b/code/examples/angular-cli/package.json similarity index 100% rename from examples/angular-cli/package.json rename to code/examples/angular-cli/package.json diff --git a/examples/angular-cli/protractor.conf.js b/code/examples/angular-cli/protractor.conf.js similarity index 100% rename from examples/angular-cli/protractor.conf.js rename to code/examples/angular-cli/protractor.conf.js diff --git a/examples/angular-cli/src/app/app.component.html b/code/examples/angular-cli/src/app/app.component.html similarity index 100% rename from examples/angular-cli/src/app/app.component.html rename to code/examples/angular-cli/src/app/app.component.html diff --git a/examples/angular-cli/src/app/app.component.scss b/code/examples/angular-cli/src/app/app.component.scss similarity index 100% rename from examples/angular-cli/src/app/app.component.scss rename to code/examples/angular-cli/src/app/app.component.scss diff --git a/examples/angular-cli/src/app/app.component.spec.ts b/code/examples/angular-cli/src/app/app.component.spec.ts similarity index 100% rename from examples/angular-cli/src/app/app.component.spec.ts rename to code/examples/angular-cli/src/app/app.component.spec.ts diff --git a/examples/angular-cli/src/app/app.component.ts b/code/examples/angular-cli/src/app/app.component.ts similarity index 100% rename from examples/angular-cli/src/app/app.component.ts rename to code/examples/angular-cli/src/app/app.component.ts diff --git a/examples/angular-cli/src/app/app.module.ts b/code/examples/angular-cli/src/app/app.module.ts similarity index 100% rename from examples/angular-cli/src/app/app.module.ts rename to code/examples/angular-cli/src/app/app.module.ts diff --git a/examples/angular-cli/src/assets/.gitkeep b/code/examples/angular-cli/src/assets/.gitkeep similarity index 100% rename from examples/angular-cli/src/assets/.gitkeep rename to code/examples/angular-cli/src/assets/.gitkeep diff --git a/examples/angular-cli/src/assets/favicon.ico b/code/examples/angular-cli/src/assets/favicon.ico similarity index 100% rename from examples/angular-cli/src/assets/favicon.ico rename to code/examples/angular-cli/src/assets/favicon.ico diff --git a/examples/angular-cli/src/commons/_colors.scss b/code/examples/angular-cli/src/commons/_colors.scss similarity index 100% rename from examples/angular-cli/src/commons/_colors.scss rename to code/examples/angular-cli/src/commons/_colors.scss diff --git a/examples/angular-cli/src/cssWarning.ts b/code/examples/angular-cli/src/cssWarning.ts similarity index 100% rename from examples/angular-cli/src/cssWarning.ts rename to code/examples/angular-cli/src/cssWarning.ts diff --git a/examples/angular-cli/src/environments/environment.prod.ts b/code/examples/angular-cli/src/environments/environment.prod.ts similarity index 100% rename from examples/angular-cli/src/environments/environment.prod.ts rename to code/examples/angular-cli/src/environments/environment.prod.ts diff --git a/examples/angular-cli/src/environments/environment.ts b/code/examples/angular-cli/src/environments/environment.ts similarity index 100% rename from examples/angular-cli/src/environments/environment.ts rename to code/examples/angular-cli/src/environments/environment.ts diff --git a/examples/angular-cli/src/index.html b/code/examples/angular-cli/src/index.html similarity index 100% rename from examples/angular-cli/src/index.html rename to code/examples/angular-cli/src/index.html diff --git a/examples/angular-cli/src/karma.ts b/code/examples/angular-cli/src/karma.ts similarity index 100% rename from examples/angular-cli/src/karma.ts rename to code/examples/angular-cli/src/karma.ts diff --git a/examples/angular-cli/src/main.ts b/code/examples/angular-cli/src/main.ts similarity index 100% rename from examples/angular-cli/src/main.ts rename to code/examples/angular-cli/src/main.ts diff --git a/examples/angular-cli/src/polyfills.ts b/code/examples/angular-cli/src/polyfills.ts similarity index 100% rename from examples/angular-cli/src/polyfills.ts rename to code/examples/angular-cli/src/polyfills.ts diff --git a/examples/angular-cli/src/stories/__snapshots__/welcome-angular.stories.storyshot b/code/examples/angular-cli/src/stories/__snapshots__/welcome-angular.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/__snapshots__/welcome-angular.stories.storyshot rename to code/examples/angular-cli/src/stories/__snapshots__/welcome-angular.stories.storyshot diff --git a/examples/angular-cli/src/stories/__snapshots__/welcome-storybook.stories.storyshot b/code/examples/angular-cli/src/stories/__snapshots__/welcome-storybook.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/__snapshots__/welcome-storybook.stories.storyshot rename to code/examples/angular-cli/src/stories/__snapshots__/welcome-storybook.stories.storyshot diff --git a/examples/angular-cli/src/stories/addons/README.stories.mdx b/code/examples/angular-cli/src/stories/addons/README.stories.mdx similarity index 100% rename from examples/angular-cli/src/stories/addons/README.stories.mdx rename to code/examples/angular-cli/src/stories/addons/README.stories.mdx diff --git a/examples/angular-cli/src/stories/addons/actions/__snapshots__/addon-actions.stories.storyshot b/code/examples/angular-cli/src/stories/addons/actions/__snapshots__/addon-actions.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/addons/actions/__snapshots__/addon-actions.stories.storyshot rename to code/examples/angular-cli/src/stories/addons/actions/__snapshots__/addon-actions.stories.storyshot diff --git a/examples/angular-cli/src/stories/addons/actions/addon-actions.stories.ts b/code/examples/angular-cli/src/stories/addons/actions/addon-actions.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/actions/addon-actions.stories.ts rename to code/examples/angular-cli/src/stories/addons/actions/addon-actions.stories.ts diff --git a/examples/angular-cli/src/stories/addons/backgrounds/__snapshots__/addon-background.stories.storyshot b/code/examples/angular-cli/src/stories/addons/backgrounds/__snapshots__/addon-background.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/addons/backgrounds/__snapshots__/addon-background.stories.storyshot rename to code/examples/angular-cli/src/stories/addons/backgrounds/__snapshots__/addon-background.stories.storyshot diff --git a/examples/angular-cli/src/stories/addons/backgrounds/addon-background.stories.ts b/code/examples/angular-cli/src/stories/addons/backgrounds/addon-background.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/backgrounds/addon-background.stories.ts rename to code/examples/angular-cli/src/stories/addons/backgrounds/addon-background.stories.ts diff --git a/examples/angular-cli/src/stories/addons/controls/__snapshots__/addon-controls.stories.storyshot b/code/examples/angular-cli/src/stories/addons/controls/__snapshots__/addon-controls.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/addons/controls/__snapshots__/addon-controls.stories.storyshot rename to code/examples/angular-cli/src/stories/addons/controls/__snapshots__/addon-controls.stories.storyshot diff --git a/examples/angular-cli/src/stories/addons/controls/addon-controls.stories.ts b/code/examples/angular-cli/src/stories/addons/controls/addon-controls.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/controls/addon-controls.stories.ts rename to code/examples/angular-cli/src/stories/addons/controls/addon-controls.stories.ts diff --git a/examples/angular-cli/src/stories/addons/docs/__snapshots__/addon-docs.stories.storyshot b/code/examples/angular-cli/src/stories/addons/docs/__snapshots__/addon-docs.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/__snapshots__/addon-docs.stories.storyshot rename to code/examples/angular-cli/src/stories/addons/docs/__snapshots__/addon-docs.stories.storyshot diff --git a/examples/angular-cli/src/stories/addons/docs/__snapshots__/duplicate.stories.storyshot b/code/examples/angular-cli/src/stories/addons/docs/__snapshots__/duplicate.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/__snapshots__/duplicate.stories.storyshot rename to code/examples/angular-cli/src/stories/addons/docs/__snapshots__/duplicate.stories.storyshot diff --git a/examples/angular-cli/src/stories/addons/docs/__snapshots__/simple.stories.storyshot b/code/examples/angular-cli/src/stories/addons/docs/__snapshots__/simple.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/__snapshots__/simple.stories.storyshot rename to code/examples/angular-cli/src/stories/addons/docs/__snapshots__/simple.stories.storyshot diff --git a/examples/angular-cli/src/stories/addons/docs/__snapshots__/template.stories.storyshot b/code/examples/angular-cli/src/stories/addons/docs/__snapshots__/template.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/__snapshots__/template.stories.storyshot rename to code/examples/angular-cli/src/stories/addons/docs/__snapshots__/template.stories.storyshot diff --git a/examples/angular-cli/src/stories/addons/docs/addon-docs.stories.mdx b/code/examples/angular-cli/src/stories/addons/docs/addon-docs.stories.mdx similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/addon-docs.stories.mdx rename to code/examples/angular-cli/src/stories/addons/docs/addon-docs.stories.mdx diff --git a/examples/angular-cli/src/stories/addons/docs/doc-button/__snapshots__/doc-button.stories.storyshot b/code/examples/angular-cli/src/stories/addons/docs/doc-button/__snapshots__/doc-button.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/doc-button/__snapshots__/doc-button.stories.storyshot rename to code/examples/angular-cli/src/stories/addons/docs/doc-button/__snapshots__/doc-button.stories.storyshot diff --git a/examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.component.html b/code/examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.component.html similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.component.html rename to code/examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.component.html diff --git a/examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.component.scss b/code/examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.component.scss similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.component.scss rename to code/examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.component.scss diff --git a/examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.component.ts b/code/examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.component.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.component.ts rename to code/examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.component.ts diff --git a/examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.stories.mdx b/code/examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.stories.mdx similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.stories.mdx rename to code/examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.stories.mdx diff --git a/examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.stories.ts b/code/examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.stories.ts rename to code/examples/angular-cli/src/stories/addons/docs/doc-button/doc-button.stories.ts diff --git a/examples/angular-cli/src/stories/addons/docs/doc-directive/__snapshots__/doc-directive.stories.storyshot b/code/examples/angular-cli/src/stories/addons/docs/doc-directive/__snapshots__/doc-directive.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/doc-directive/__snapshots__/doc-directive.stories.storyshot rename to code/examples/angular-cli/src/stories/addons/docs/doc-directive/__snapshots__/doc-directive.stories.storyshot diff --git a/examples/angular-cli/src/stories/addons/docs/doc-directive/doc-directive.directive.ts b/code/examples/angular-cli/src/stories/addons/docs/doc-directive/doc-directive.directive.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/doc-directive/doc-directive.directive.ts rename to code/examples/angular-cli/src/stories/addons/docs/doc-directive/doc-directive.directive.ts diff --git a/examples/angular-cli/src/stories/addons/docs/doc-directive/doc-directive.stories.ts b/code/examples/angular-cli/src/stories/addons/docs/doc-directive/doc-directive.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/doc-directive/doc-directive.stories.ts rename to code/examples/angular-cli/src/stories/addons/docs/doc-directive/doc-directive.stories.ts diff --git a/examples/angular-cli/src/stories/addons/docs/doc-injectable/__snapshots__/doc-injectable.stories.storyshot b/code/examples/angular-cli/src/stories/addons/docs/doc-injectable/__snapshots__/doc-injectable.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/doc-injectable/__snapshots__/doc-injectable.stories.storyshot rename to code/examples/angular-cli/src/stories/addons/docs/doc-injectable/__snapshots__/doc-injectable.stories.storyshot diff --git a/examples/angular-cli/src/stories/addons/docs/doc-injectable/doc-injectable.service.ts b/code/examples/angular-cli/src/stories/addons/docs/doc-injectable/doc-injectable.service.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/doc-injectable/doc-injectable.service.ts rename to code/examples/angular-cli/src/stories/addons/docs/doc-injectable/doc-injectable.service.ts diff --git a/examples/angular-cli/src/stories/addons/docs/doc-injectable/doc-injectable.stories.ts b/code/examples/angular-cli/src/stories/addons/docs/doc-injectable/doc-injectable.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/doc-injectable/doc-injectable.stories.ts rename to code/examples/angular-cli/src/stories/addons/docs/doc-injectable/doc-injectable.stories.ts diff --git a/examples/angular-cli/src/stories/addons/docs/doc-pipe/__snapshots__/doc-pipe.stories.storyshot b/code/examples/angular-cli/src/stories/addons/docs/doc-pipe/__snapshots__/doc-pipe.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/doc-pipe/__snapshots__/doc-pipe.stories.storyshot rename to code/examples/angular-cli/src/stories/addons/docs/doc-pipe/__snapshots__/doc-pipe.stories.storyshot diff --git a/examples/angular-cli/src/stories/addons/docs/doc-pipe/doc-pipe.pipe.ts b/code/examples/angular-cli/src/stories/addons/docs/doc-pipe/doc-pipe.pipe.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/doc-pipe/doc-pipe.pipe.ts rename to code/examples/angular-cli/src/stories/addons/docs/doc-pipe/doc-pipe.pipe.ts diff --git a/examples/angular-cli/src/stories/addons/docs/doc-pipe/doc-pipe.stories.ts b/code/examples/angular-cli/src/stories/addons/docs/doc-pipe/doc-pipe.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/doc-pipe/doc-pipe.stories.ts rename to code/examples/angular-cli/src/stories/addons/docs/doc-pipe/doc-pipe.stories.ts diff --git a/examples/angular-cli/src/stories/addons/docs/docs-only.stories.mdx b/code/examples/angular-cli/src/stories/addons/docs/docs-only.stories.mdx similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/docs-only.stories.mdx rename to code/examples/angular-cli/src/stories/addons/docs/docs-only.stories.mdx diff --git a/examples/angular-cli/src/stories/addons/docs/duplicate.stories.mdx b/code/examples/angular-cli/src/stories/addons/docs/duplicate.stories.mdx similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/duplicate.stories.mdx rename to code/examples/angular-cli/src/stories/addons/docs/duplicate.stories.mdx diff --git a/examples/angular-cli/src/stories/addons/docs/iframe/__snapshots__/iframe.stories.storyshot b/code/examples/angular-cli/src/stories/addons/docs/iframe/__snapshots__/iframe.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/iframe/__snapshots__/iframe.stories.storyshot rename to code/examples/angular-cli/src/stories/addons/docs/iframe/__snapshots__/iframe.stories.storyshot diff --git a/examples/angular-cli/src/stories/addons/docs/iframe/iframe.stories.ts b/code/examples/angular-cli/src/stories/addons/docs/iframe/iframe.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/iframe/iframe.stories.ts rename to code/examples/angular-cli/src/stories/addons/docs/iframe/iframe.stories.ts diff --git a/examples/angular-cli/src/stories/addons/docs/markdown.stories.mdx b/code/examples/angular-cli/src/stories/addons/docs/markdown.stories.mdx similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/markdown.stories.mdx rename to code/examples/angular-cli/src/stories/addons/docs/markdown.stories.mdx diff --git a/examples/angular-cli/src/stories/addons/docs/simple.stories.mdx b/code/examples/angular-cli/src/stories/addons/docs/simple.stories.mdx similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/simple.stories.mdx rename to code/examples/angular-cli/src/stories/addons/docs/simple.stories.mdx diff --git a/examples/angular-cli/src/stories/addons/docs/template.stories.mdx b/code/examples/angular-cli/src/stories/addons/docs/template.stories.mdx similarity index 100% rename from examples/angular-cli/src/stories/addons/docs/template.stories.mdx rename to code/examples/angular-cli/src/stories/addons/docs/template.stories.mdx diff --git a/examples/angular-cli/src/stories/addons/interactions/__snapshots__/addon-interactions.stories.storyshot b/code/examples/angular-cli/src/stories/addons/interactions/__snapshots__/addon-interactions.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/addons/interactions/__snapshots__/addon-interactions.stories.storyshot rename to code/examples/angular-cli/src/stories/addons/interactions/__snapshots__/addon-interactions.stories.storyshot diff --git a/examples/angular-cli/src/stories/addons/interactions/addon-interactions.stories.ts b/code/examples/angular-cli/src/stories/addons/interactions/addon-interactions.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/interactions/addon-interactions.stories.ts rename to code/examples/angular-cli/src/stories/addons/interactions/addon-interactions.stories.ts diff --git a/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.css b/code/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.css similarity index 100% rename from examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.css rename to code/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.css diff --git a/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.html b/code/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.html similarity index 100% rename from examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.html rename to code/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.html diff --git a/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.ts b/code/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.ts rename to code/examples/angular-cli/src/stories/addons/interactions/hero-form/hero-form.component.ts diff --git a/examples/angular-cli/src/stories/addons/jest/__snapshots__/addon-jest.stories.storyshot b/code/examples/angular-cli/src/stories/addons/jest/__snapshots__/addon-jest.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/addons/jest/__snapshots__/addon-jest.stories.storyshot rename to code/examples/angular-cli/src/stories/addons/jest/__snapshots__/addon-jest.stories.storyshot diff --git a/examples/angular-cli/src/stories/addons/jest/addon-jest.stories.ts b/code/examples/angular-cli/src/stories/addons/jest/addon-jest.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/jest/addon-jest.stories.ts rename to code/examples/angular-cli/src/stories/addons/jest/addon-jest.stories.ts diff --git a/examples/angular-cli/src/stories/addons/links/__snapshots__/addon-links.stories.storyshot b/code/examples/angular-cli/src/stories/addons/links/__snapshots__/addon-links.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/addons/links/__snapshots__/addon-links.stories.storyshot rename to code/examples/angular-cli/src/stories/addons/links/__snapshots__/addon-links.stories.storyshot diff --git a/examples/angular-cli/src/stories/addons/links/addon-links.stories.ts b/code/examples/angular-cli/src/stories/addons/links/addon-links.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/links/addon-links.stories.ts rename to code/examples/angular-cli/src/stories/addons/links/addon-links.stories.ts diff --git a/examples/angular-cli/src/stories/addons/toolbars/locales/__snapshots__/locales.stories.storyshot b/code/examples/angular-cli/src/stories/addons/toolbars/locales/__snapshots__/locales.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/addons/toolbars/locales/__snapshots__/locales.stories.storyshot rename to code/examples/angular-cli/src/stories/addons/toolbars/locales/__snapshots__/locales.stories.storyshot diff --git a/examples/angular-cli/src/stories/addons/toolbars/locales/locales.stories.ts b/code/examples/angular-cli/src/stories/addons/toolbars/locales/locales.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/toolbars/locales/locales.stories.ts rename to code/examples/angular-cli/src/stories/addons/toolbars/locales/locales.stories.ts diff --git a/examples/angular-cli/src/stories/addons/toolbars/locales/translate.pipe.ts b/code/examples/angular-cli/src/stories/addons/toolbars/locales/translate.pipe.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/toolbars/locales/translate.pipe.ts rename to code/examples/angular-cli/src/stories/addons/toolbars/locales/translate.pipe.ts diff --git a/examples/angular-cli/src/stories/addons/toolbars/locales/translate.service.ts b/code/examples/angular-cli/src/stories/addons/toolbars/locales/translate.service.ts similarity index 100% rename from examples/angular-cli/src/stories/addons/toolbars/locales/translate.service.ts rename to code/examples/angular-cli/src/stories/addons/toolbars/locales/translate.service.ts diff --git a/examples/angular-cli/src/stories/angular-demo/button.component.ts b/code/examples/angular-cli/src/stories/angular-demo/button.component.ts similarity index 100% rename from examples/angular-cli/src/stories/angular-demo/button.component.ts rename to code/examples/angular-cli/src/stories/angular-demo/button.component.ts diff --git a/examples/angular-cli/src/stories/angular-demo/index.ts b/code/examples/angular-cli/src/stories/angular-demo/index.ts similarity index 100% rename from examples/angular-cli/src/stories/angular-demo/index.ts rename to code/examples/angular-cli/src/stories/angular-demo/index.ts diff --git a/examples/angular-cli/src/stories/angular-demo/welcome.component.ts b/code/examples/angular-cli/src/stories/angular-demo/welcome.component.ts similarity index 100% rename from examples/angular-cli/src/stories/angular-demo/welcome.component.ts rename to code/examples/angular-cli/src/stories/angular-demo/welcome.component.ts diff --git a/examples/angular-cli/src/stories/basics/README.stories.mdx b/code/examples/angular-cli/src/stories/basics/README.stories.mdx similarity index 100% rename from examples/angular-cli/src/stories/basics/README.stories.mdx rename to code/examples/angular-cli/src/stories/basics/README.stories.mdx diff --git a/examples/angular-cli/src/stories/basics/angular-forms/customControlValueAccessor/__snapshots__/custom-cva-component.stories.storyshot b/code/examples/angular-cli/src/stories/basics/angular-forms/customControlValueAccessor/__snapshots__/custom-cva-component.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/basics/angular-forms/customControlValueAccessor/__snapshots__/custom-cva-component.stories.storyshot rename to code/examples/angular-cli/src/stories/basics/angular-forms/customControlValueAccessor/__snapshots__/custom-cva-component.stories.storyshot diff --git a/examples/angular-cli/src/stories/basics/angular-forms/customControlValueAccessor/custom-cva-component.stories.ts b/code/examples/angular-cli/src/stories/basics/angular-forms/customControlValueAccessor/custom-cva-component.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/angular-forms/customControlValueAccessor/custom-cva-component.stories.ts rename to code/examples/angular-cli/src/stories/basics/angular-forms/customControlValueAccessor/custom-cva-component.stories.ts diff --git a/examples/angular-cli/src/stories/basics/angular-forms/customControlValueAccessor/custom-cva.component.ts b/code/examples/angular-cli/src/stories/basics/angular-forms/customControlValueAccessor/custom-cva.component.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/angular-forms/customControlValueAccessor/custom-cva.component.ts rename to code/examples/angular-cli/src/stories/basics/angular-forms/customControlValueAccessor/custom-cva.component.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-complex-selectors/__snapshots__/multiple-selector.component.stories.storyshot b/code/examples/angular-cli/src/stories/basics/component-with-complex-selectors/__snapshots__/multiple-selector.component.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-complex-selectors/__snapshots__/multiple-selector.component.stories.storyshot rename to code/examples/angular-cli/src/stories/basics/component-with-complex-selectors/__snapshots__/multiple-selector.component.stories.storyshot diff --git a/examples/angular-cli/src/stories/basics/component-with-complex-selectors/attribute-selector.component.ts b/code/examples/angular-cli/src/stories/basics/component-with-complex-selectors/attribute-selector.component.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-complex-selectors/attribute-selector.component.ts rename to code/examples/angular-cli/src/stories/basics/component-with-complex-selectors/attribute-selector.component.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-complex-selectors/class-selector.component.ts b/code/examples/angular-cli/src/stories/basics/component-with-complex-selectors/class-selector.component.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-complex-selectors/class-selector.component.ts rename to code/examples/angular-cli/src/stories/basics/component-with-complex-selectors/class-selector.component.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-complex-selectors/multiple-selector.component.stories.ts b/code/examples/angular-cli/src/stories/basics/component-with-complex-selectors/multiple-selector.component.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-complex-selectors/multiple-selector.component.stories.ts rename to code/examples/angular-cli/src/stories/basics/component-with-complex-selectors/multiple-selector.component.stories.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-complex-selectors/multiple-selector.component.ts b/code/examples/angular-cli/src/stories/basics/component-with-complex-selectors/multiple-selector.component.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-complex-selectors/multiple-selector.component.ts rename to code/examples/angular-cli/src/stories/basics/component-with-complex-selectors/multiple-selector.component.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-enums/__snapshots__/enums.component.stories.storyshot b/code/examples/angular-cli/src/stories/basics/component-with-enums/__snapshots__/enums.component.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-enums/__snapshots__/enums.component.stories.storyshot rename to code/examples/angular-cli/src/stories/basics/component-with-enums/__snapshots__/enums.component.stories.storyshot diff --git a/examples/angular-cli/src/stories/basics/component-with-enums/enums.component.html b/code/examples/angular-cli/src/stories/basics/component-with-enums/enums.component.html similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-enums/enums.component.html rename to code/examples/angular-cli/src/stories/basics/component-with-enums/enums.component.html diff --git a/examples/angular-cli/src/stories/basics/component-with-enums/enums.component.stories.ts b/code/examples/angular-cli/src/stories/basics/component-with-enums/enums.component.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-enums/enums.component.stories.ts rename to code/examples/angular-cli/src/stories/basics/component-with-enums/enums.component.stories.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-enums/enums.component.ts b/code/examples/angular-cli/src/stories/basics/component-with-enums/enums.component.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-enums/enums.component.ts rename to code/examples/angular-cli/src/stories/basics/component-with-enums/enums.component.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-inheritance/__snapshots__/inheritance.stories.storyshot b/code/examples/angular-cli/src/stories/basics/component-with-inheritance/__snapshots__/inheritance.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-inheritance/__snapshots__/inheritance.stories.storyshot rename to code/examples/angular-cli/src/stories/basics/component-with-inheritance/__snapshots__/inheritance.stories.storyshot diff --git a/examples/angular-cli/src/stories/basics/component-with-inheritance/base-button.component.ts b/code/examples/angular-cli/src/stories/basics/component-with-inheritance/base-button.component.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-inheritance/base-button.component.ts rename to code/examples/angular-cli/src/stories/basics/component-with-inheritance/base-button.component.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-inheritance/icon-button.component.ts b/code/examples/angular-cli/src/stories/basics/component-with-inheritance/icon-button.component.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-inheritance/icon-button.component.ts rename to code/examples/angular-cli/src/stories/basics/component-with-inheritance/icon-button.component.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-inheritance/inheritance.stories.ts b/code/examples/angular-cli/src/stories/basics/component-with-inheritance/inheritance.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-inheritance/inheritance.stories.ts rename to code/examples/angular-cli/src/stories/basics/component-with-inheritance/inheritance.stories.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-ng-content/__snapshots__/ng-content-about-parent.stories.storyshot b/code/examples/angular-cli/src/stories/basics/component-with-ng-content/__snapshots__/ng-content-about-parent.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-ng-content/__snapshots__/ng-content-about-parent.stories.storyshot rename to code/examples/angular-cli/src/stories/basics/component-with-ng-content/__snapshots__/ng-content-about-parent.stories.storyshot diff --git a/examples/angular-cli/src/stories/basics/component-with-ng-content/__snapshots__/ng-content-simple.stories.storyshot b/code/examples/angular-cli/src/stories/basics/component-with-ng-content/__snapshots__/ng-content-simple.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-ng-content/__snapshots__/ng-content-simple.stories.storyshot rename to code/examples/angular-cli/src/stories/basics/component-with-ng-content/__snapshots__/ng-content-simple.stories.storyshot diff --git a/examples/angular-cli/src/stories/basics/component-with-ng-content/ng-content-about-parent.stories.ts b/code/examples/angular-cli/src/stories/basics/component-with-ng-content/ng-content-about-parent.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-ng-content/ng-content-about-parent.stories.ts rename to code/examples/angular-cli/src/stories/basics/component-with-ng-content/ng-content-about-parent.stories.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-ng-content/ng-content-simple.stories.ts b/code/examples/angular-cli/src/stories/basics/component-with-ng-content/ng-content-simple.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-ng-content/ng-content-simple.stories.ts rename to code/examples/angular-cli/src/stories/basics/component-with-ng-content/ng-content-simple.stories.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-ng-on-destroy/component-with-on-destroy.stories.ts b/code/examples/angular-cli/src/stories/basics/component-with-ng-on-destroy/component-with-on-destroy.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-ng-on-destroy/component-with-on-destroy.stories.ts rename to code/examples/angular-cli/src/stories/basics/component-with-ng-on-destroy/component-with-on-destroy.stories.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-on-push/__snapshots__/on-push.stories.storyshot b/code/examples/angular-cli/src/stories/basics/component-with-on-push/__snapshots__/on-push.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-on-push/__snapshots__/on-push.stories.storyshot rename to code/examples/angular-cli/src/stories/basics/component-with-on-push/__snapshots__/on-push.stories.storyshot diff --git a/examples/angular-cli/src/stories/basics/component-with-on-push/on-push-box.component.ts b/code/examples/angular-cli/src/stories/basics/component-with-on-push/on-push-box.component.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-on-push/on-push-box.component.ts rename to code/examples/angular-cli/src/stories/basics/component-with-on-push/on-push-box.component.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-on-push/on-push.stories.ts b/code/examples/angular-cli/src/stories/basics/component-with-on-push/on-push.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-on-push/on-push.stories.ts rename to code/examples/angular-cli/src/stories/basics/component-with-on-push/on-push.stories.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-pipe/__snapshots__/custom-pipes.stories.storyshot b/code/examples/angular-cli/src/stories/basics/component-with-pipe/__snapshots__/custom-pipes.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-pipe/__snapshots__/custom-pipes.stories.storyshot rename to code/examples/angular-cli/src/stories/basics/component-with-pipe/__snapshots__/custom-pipes.stories.storyshot diff --git a/examples/angular-cli/src/stories/basics/component-with-pipe/custom-pipes.stories.ts b/code/examples/angular-cli/src/stories/basics/component-with-pipe/custom-pipes.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-pipe/custom-pipes.stories.ts rename to code/examples/angular-cli/src/stories/basics/component-with-pipe/custom-pipes.stories.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-pipe/custom.pipe.ts b/code/examples/angular-cli/src/stories/basics/component-with-pipe/custom.pipe.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-pipe/custom.pipe.ts rename to code/examples/angular-cli/src/stories/basics/component-with-pipe/custom.pipe.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-pipe/with-pipe.component.ts b/code/examples/angular-cli/src/stories/basics/component-with-pipe/with-pipe.component.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-pipe/with-pipe.component.ts rename to code/examples/angular-cli/src/stories/basics/component-with-pipe/with-pipe.component.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-provider/__snapshots__/di.component.stories.storyshot b/code/examples/angular-cli/src/stories/basics/component-with-provider/__snapshots__/di.component.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-provider/__snapshots__/di.component.stories.storyshot rename to code/examples/angular-cli/src/stories/basics/component-with-provider/__snapshots__/di.component.stories.storyshot diff --git a/examples/angular-cli/src/stories/basics/component-with-provider/di.component.html b/code/examples/angular-cli/src/stories/basics/component-with-provider/di.component.html similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-provider/di.component.html rename to code/examples/angular-cli/src/stories/basics/component-with-provider/di.component.html diff --git a/examples/angular-cli/src/stories/basics/component-with-provider/di.component.stories.ts b/code/examples/angular-cli/src/stories/basics/component-with-provider/di.component.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-provider/di.component.stories.ts rename to code/examples/angular-cli/src/stories/basics/component-with-provider/di.component.stories.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-provider/di.component.ts b/code/examples/angular-cli/src/stories/basics/component-with-provider/di.component.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-provider/di.component.ts rename to code/examples/angular-cli/src/stories/basics/component-with-provider/di.component.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-style/__snapshots__/styled.component.stories.storyshot b/code/examples/angular-cli/src/stories/basics/component-with-style/__snapshots__/styled.component.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-style/__snapshots__/styled.component.stories.storyshot rename to code/examples/angular-cli/src/stories/basics/component-with-style/__snapshots__/styled.component.stories.storyshot diff --git a/examples/angular-cli/src/stories/basics/component-with-style/styled.component.css b/code/examples/angular-cli/src/stories/basics/component-with-style/styled.component.css similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-style/styled.component.css rename to code/examples/angular-cli/src/stories/basics/component-with-style/styled.component.css diff --git a/examples/angular-cli/src/stories/basics/component-with-style/styled.component.html b/code/examples/angular-cli/src/stories/basics/component-with-style/styled.component.html similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-style/styled.component.html rename to code/examples/angular-cli/src/stories/basics/component-with-style/styled.component.html diff --git a/examples/angular-cli/src/stories/basics/component-with-style/styled.component.scss b/code/examples/angular-cli/src/stories/basics/component-with-style/styled.component.scss similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-style/styled.component.scss rename to code/examples/angular-cli/src/stories/basics/component-with-style/styled.component.scss diff --git a/examples/angular-cli/src/stories/basics/component-with-style/styled.component.stories.ts b/code/examples/angular-cli/src/stories/basics/component-with-style/styled.component.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-style/styled.component.stories.ts rename to code/examples/angular-cli/src/stories/basics/component-with-style/styled.component.stories.ts diff --git a/examples/angular-cli/src/stories/basics/component-with-style/styled.component.ts b/code/examples/angular-cli/src/stories/basics/component-with-style/styled.component.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-with-style/styled.component.ts rename to code/examples/angular-cli/src/stories/basics/component-with-style/styled.component.ts diff --git a/examples/angular-cli/src/stories/basics/component-without-selector/__snapshots__/without-selector-ng-component-outlet.stories.storyshot b/code/examples/angular-cli/src/stories/basics/component-without-selector/__snapshots__/without-selector-ng-component-outlet.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/basics/component-without-selector/__snapshots__/without-selector-ng-component-outlet.stories.storyshot rename to code/examples/angular-cli/src/stories/basics/component-without-selector/__snapshots__/without-selector-ng-component-outlet.stories.storyshot diff --git a/examples/angular-cli/src/stories/basics/component-without-selector/__snapshots__/without-selector-ng-factory-resolver.stories.storyshot b/code/examples/angular-cli/src/stories/basics/component-without-selector/__snapshots__/without-selector-ng-factory-resolver.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/basics/component-without-selector/__snapshots__/without-selector-ng-factory-resolver.stories.storyshot rename to code/examples/angular-cli/src/stories/basics/component-without-selector/__snapshots__/without-selector-ng-factory-resolver.stories.storyshot diff --git a/examples/angular-cli/src/stories/basics/component-without-selector/__snapshots__/without-selector.stories.storyshot b/code/examples/angular-cli/src/stories/basics/component-without-selector/__snapshots__/without-selector.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/basics/component-without-selector/__snapshots__/without-selector.stories.storyshot rename to code/examples/angular-cli/src/stories/basics/component-without-selector/__snapshots__/without-selector.stories.storyshot diff --git a/examples/angular-cli/src/stories/basics/component-without-selector/without-selector-ng-component-outlet.stories.ts b/code/examples/angular-cli/src/stories/basics/component-without-selector/without-selector-ng-component-outlet.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-without-selector/without-selector-ng-component-outlet.stories.ts rename to code/examples/angular-cli/src/stories/basics/component-without-selector/without-selector-ng-component-outlet.stories.ts diff --git a/examples/angular-cli/src/stories/basics/component-without-selector/without-selector-ng-factory-resolver.stories.ts b/code/examples/angular-cli/src/stories/basics/component-without-selector/without-selector-ng-factory-resolver.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-without-selector/without-selector-ng-factory-resolver.stories.ts rename to code/examples/angular-cli/src/stories/basics/component-without-selector/without-selector-ng-factory-resolver.stories.ts diff --git a/examples/angular-cli/src/stories/basics/component-without-selector/without-selector.component.ts b/code/examples/angular-cli/src/stories/basics/component-without-selector/without-selector.component.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-without-selector/without-selector.component.ts rename to code/examples/angular-cli/src/stories/basics/component-without-selector/without-selector.component.ts diff --git a/examples/angular-cli/src/stories/basics/component-without-selector/without-selector.stories.ts b/code/examples/angular-cli/src/stories/basics/component-without-selector/without-selector.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/component-without-selector/without-selector.stories.ts rename to code/examples/angular-cli/src/stories/basics/component-without-selector/without-selector.stories.ts diff --git a/examples/angular-cli/src/stories/basics/ng-module/__snapshots__/import-module-for-root.stories.storyshot b/code/examples/angular-cli/src/stories/basics/ng-module/__snapshots__/import-module-for-root.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/basics/ng-module/__snapshots__/import-module-for-root.stories.storyshot rename to code/examples/angular-cli/src/stories/basics/ng-module/__snapshots__/import-module-for-root.stories.storyshot diff --git a/examples/angular-cli/src/stories/basics/ng-module/__snapshots__/import-module.stories.storyshot b/code/examples/angular-cli/src/stories/basics/ng-module/__snapshots__/import-module.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/basics/ng-module/__snapshots__/import-module.stories.storyshot rename to code/examples/angular-cli/src/stories/basics/ng-module/__snapshots__/import-module.stories.storyshot diff --git a/examples/angular-cli/src/stories/basics/ng-module/angular-src/chip-color.token.ts b/code/examples/angular-cli/src/stories/basics/ng-module/angular-src/chip-color.token.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/ng-module/angular-src/chip-color.token.ts rename to code/examples/angular-cli/src/stories/basics/ng-module/angular-src/chip-color.token.ts diff --git a/examples/angular-cli/src/stories/basics/ng-module/angular-src/chip-text.pipe.ts b/code/examples/angular-cli/src/stories/basics/ng-module/angular-src/chip-text.pipe.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/ng-module/angular-src/chip-text.pipe.ts rename to code/examples/angular-cli/src/stories/basics/ng-module/angular-src/chip-text.pipe.ts diff --git a/examples/angular-cli/src/stories/basics/ng-module/angular-src/chip.component.ts b/code/examples/angular-cli/src/stories/basics/ng-module/angular-src/chip.component.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/ng-module/angular-src/chip.component.ts rename to code/examples/angular-cli/src/stories/basics/ng-module/angular-src/chip.component.ts diff --git a/examples/angular-cli/src/stories/basics/ng-module/angular-src/chips-group.component.ts b/code/examples/angular-cli/src/stories/basics/ng-module/angular-src/chips-group.component.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/ng-module/angular-src/chips-group.component.ts rename to code/examples/angular-cli/src/stories/basics/ng-module/angular-src/chips-group.component.ts diff --git a/examples/angular-cli/src/stories/basics/ng-module/angular-src/chips.module.ts b/code/examples/angular-cli/src/stories/basics/ng-module/angular-src/chips.module.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/ng-module/angular-src/chips.module.ts rename to code/examples/angular-cli/src/stories/basics/ng-module/angular-src/chips.module.ts diff --git a/examples/angular-cli/src/stories/basics/ng-module/import-module-for-root.stories.ts b/code/examples/angular-cli/src/stories/basics/ng-module/import-module-for-root.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/ng-module/import-module-for-root.stories.ts rename to code/examples/angular-cli/src/stories/basics/ng-module/import-module-for-root.stories.ts diff --git a/examples/angular-cli/src/stories/basics/ng-module/import-module.stories.ts b/code/examples/angular-cli/src/stories/basics/ng-module/import-module.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/basics/ng-module/import-module.stories.ts rename to code/examples/angular-cli/src/stories/basics/ng-module/import-module.stories.ts diff --git a/examples/angular-cli/src/stories/core/README.stories.mdx b/code/examples/angular-cli/src/stories/core/README.stories.mdx similarity index 100% rename from examples/angular-cli/src/stories/core/README.stories.mdx rename to code/examples/angular-cli/src/stories/core/README.stories.mdx diff --git a/examples/angular-cli/src/stories/core/decorators/componentWrapperDecorator/__snapshots__/decorators.stories.storyshot b/code/examples/angular-cli/src/stories/core/decorators/componentWrapperDecorator/__snapshots__/decorators.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/core/decorators/componentWrapperDecorator/__snapshots__/decorators.stories.storyshot rename to code/examples/angular-cli/src/stories/core/decorators/componentWrapperDecorator/__snapshots__/decorators.stories.storyshot diff --git a/examples/angular-cli/src/stories/core/decorators/componentWrapperDecorator/child.component.ts b/code/examples/angular-cli/src/stories/core/decorators/componentWrapperDecorator/child.component.ts similarity index 100% rename from examples/angular-cli/src/stories/core/decorators/componentWrapperDecorator/child.component.ts rename to code/examples/angular-cli/src/stories/core/decorators/componentWrapperDecorator/child.component.ts diff --git a/examples/angular-cli/src/stories/core/decorators/componentWrapperDecorator/decorators.stories.ts b/code/examples/angular-cli/src/stories/core/decorators/componentWrapperDecorator/decorators.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/core/decorators/componentWrapperDecorator/decorators.stories.ts rename to code/examples/angular-cli/src/stories/core/decorators/componentWrapperDecorator/decorators.stories.ts diff --git a/examples/angular-cli/src/stories/core/decorators/componentWrapperDecorator/parent.component.ts b/code/examples/angular-cli/src/stories/core/decorators/componentWrapperDecorator/parent.component.ts similarity index 100% rename from examples/angular-cli/src/stories/core/decorators/componentWrapperDecorator/parent.component.ts rename to code/examples/angular-cli/src/stories/core/decorators/componentWrapperDecorator/parent.component.ts diff --git a/examples/angular-cli/src/stories/core/decorators/theme-decorator/__snapshots__/decorators.stories.storyshot b/code/examples/angular-cli/src/stories/core/decorators/theme-decorator/__snapshots__/decorators.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/core/decorators/theme-decorator/__snapshots__/decorators.stories.storyshot rename to code/examples/angular-cli/src/stories/core/decorators/theme-decorator/__snapshots__/decorators.stories.storyshot diff --git a/examples/angular-cli/src/stories/core/decorators/theme-decorator/decorators.stories.ts b/code/examples/angular-cli/src/stories/core/decorators/theme-decorator/decorators.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/core/decorators/theme-decorator/decorators.stories.ts rename to code/examples/angular-cli/src/stories/core/decorators/theme-decorator/decorators.stories.ts diff --git a/examples/angular-cli/src/stories/core/moduleMetadata/__snapshots__/in-export-default.stories.storyshot b/code/examples/angular-cli/src/stories/core/moduleMetadata/__snapshots__/in-export-default.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/core/moduleMetadata/__snapshots__/in-export-default.stories.storyshot rename to code/examples/angular-cli/src/stories/core/moduleMetadata/__snapshots__/in-export-default.stories.storyshot diff --git a/examples/angular-cli/src/stories/core/moduleMetadata/__snapshots__/in-stories.stories.storyshot b/code/examples/angular-cli/src/stories/core/moduleMetadata/__snapshots__/in-stories.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/core/moduleMetadata/__snapshots__/in-stories.stories.storyshot rename to code/examples/angular-cli/src/stories/core/moduleMetadata/__snapshots__/in-stories.stories.storyshot diff --git a/examples/angular-cli/src/stories/core/moduleMetadata/__snapshots__/merge-default-and-story.stories.storyshot b/code/examples/angular-cli/src/stories/core/moduleMetadata/__snapshots__/merge-default-and-story.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/core/moduleMetadata/__snapshots__/merge-default-and-story.stories.storyshot rename to code/examples/angular-cli/src/stories/core/moduleMetadata/__snapshots__/merge-default-and-story.stories.storyshot diff --git a/examples/angular-cli/src/stories/core/moduleMetadata/angular-src/custom.pipe.ts b/code/examples/angular-cli/src/stories/core/moduleMetadata/angular-src/custom.pipe.ts similarity index 100% rename from examples/angular-cli/src/stories/core/moduleMetadata/angular-src/custom.pipe.ts rename to code/examples/angular-cli/src/stories/core/moduleMetadata/angular-src/custom.pipe.ts diff --git a/examples/angular-cli/src/stories/core/moduleMetadata/angular-src/dummy.service.ts b/code/examples/angular-cli/src/stories/core/moduleMetadata/angular-src/dummy.service.ts similarity index 100% rename from examples/angular-cli/src/stories/core/moduleMetadata/angular-src/dummy.service.ts rename to code/examples/angular-cli/src/stories/core/moduleMetadata/angular-src/dummy.service.ts diff --git a/examples/angular-cli/src/stories/core/moduleMetadata/angular-src/service.component.ts b/code/examples/angular-cli/src/stories/core/moduleMetadata/angular-src/service.component.ts similarity index 100% rename from examples/angular-cli/src/stories/core/moduleMetadata/angular-src/service.component.ts rename to code/examples/angular-cli/src/stories/core/moduleMetadata/angular-src/service.component.ts diff --git a/examples/angular-cli/src/stories/core/moduleMetadata/angular-src/token.component.ts b/code/examples/angular-cli/src/stories/core/moduleMetadata/angular-src/token.component.ts similarity index 100% rename from examples/angular-cli/src/stories/core/moduleMetadata/angular-src/token.component.ts rename to code/examples/angular-cli/src/stories/core/moduleMetadata/angular-src/token.component.ts diff --git a/examples/angular-cli/src/stories/core/moduleMetadata/in-export-default.stories.ts b/code/examples/angular-cli/src/stories/core/moduleMetadata/in-export-default.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/core/moduleMetadata/in-export-default.stories.ts rename to code/examples/angular-cli/src/stories/core/moduleMetadata/in-export-default.stories.ts diff --git a/examples/angular-cli/src/stories/core/moduleMetadata/in-stories.stories.ts b/code/examples/angular-cli/src/stories/core/moduleMetadata/in-stories.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/core/moduleMetadata/in-stories.stories.ts rename to code/examples/angular-cli/src/stories/core/moduleMetadata/in-stories.stories.ts diff --git a/examples/angular-cli/src/stories/core/moduleMetadata/merge-default-and-story.stories.ts b/code/examples/angular-cli/src/stories/core/moduleMetadata/merge-default-and-story.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/core/moduleMetadata/merge-default-and-story.stories.ts rename to code/examples/angular-cli/src/stories/core/moduleMetadata/merge-default-and-story.stories.ts diff --git a/examples/angular-cli/src/stories/core/parameters/__snapshots__/all-parameters.stories.storyshot b/code/examples/angular-cli/src/stories/core/parameters/__snapshots__/all-parameters.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/core/parameters/__snapshots__/all-parameters.stories.storyshot rename to code/examples/angular-cli/src/stories/core/parameters/__snapshots__/all-parameters.stories.storyshot diff --git a/examples/angular-cli/src/stories/core/parameters/__snapshots__/bootstrap-options.stories.storyshot b/code/examples/angular-cli/src/stories/core/parameters/__snapshots__/bootstrap-options.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/core/parameters/__snapshots__/bootstrap-options.stories.storyshot rename to code/examples/angular-cli/src/stories/core/parameters/__snapshots__/bootstrap-options.stories.storyshot diff --git a/examples/angular-cli/src/stories/core/parameters/__snapshots__/layout.parameters.stories.storyshot b/code/examples/angular-cli/src/stories/core/parameters/__snapshots__/layout.parameters.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/core/parameters/__snapshots__/layout.parameters.stories.storyshot rename to code/examples/angular-cli/src/stories/core/parameters/__snapshots__/layout.parameters.stories.storyshot diff --git a/examples/angular-cli/src/stories/core/parameters/all-parameters.stories.ts b/code/examples/angular-cli/src/stories/core/parameters/all-parameters.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/core/parameters/all-parameters.stories.ts rename to code/examples/angular-cli/src/stories/core/parameters/all-parameters.stories.ts diff --git a/examples/angular-cli/src/stories/core/parameters/bootstrap-options.stories.ts b/code/examples/angular-cli/src/stories/core/parameters/bootstrap-options.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/core/parameters/bootstrap-options.stories.ts rename to code/examples/angular-cli/src/stories/core/parameters/bootstrap-options.stories.ts diff --git a/examples/angular-cli/src/stories/core/parameters/layout.parameters.stories.ts b/code/examples/angular-cli/src/stories/core/parameters/layout.parameters.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/core/parameters/layout.parameters.stories.ts rename to code/examples/angular-cli/src/stories/core/parameters/layout.parameters.stories.ts diff --git a/examples/angular-cli/src/stories/core/styles/__snapshots__/story-styles.stories.storyshot b/code/examples/angular-cli/src/stories/core/styles/__snapshots__/story-styles.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/core/styles/__snapshots__/story-styles.stories.storyshot rename to code/examples/angular-cli/src/stories/core/styles/__snapshots__/story-styles.stories.storyshot diff --git a/examples/angular-cli/src/stories/core/styles/story-styles.stories.ts b/code/examples/angular-cli/src/stories/core/styles/story-styles.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/core/styles/story-styles.stories.ts rename to code/examples/angular-cli/src/stories/core/styles/story-styles.stories.ts diff --git a/examples/angular-cli/src/stories/from-cli/Button.stories.ts b/code/examples/angular-cli/src/stories/from-cli/Button.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/from-cli/Button.stories.ts rename to code/examples/angular-cli/src/stories/from-cli/Button.stories.ts diff --git a/examples/angular-cli/src/stories/from-cli/button.component.ts b/code/examples/angular-cli/src/stories/from-cli/button.component.ts similarity index 100% rename from examples/angular-cli/src/stories/from-cli/button.component.ts rename to code/examples/angular-cli/src/stories/from-cli/button.component.ts diff --git a/examples/angular-cli/src/stories/from-cli/button.css b/code/examples/angular-cli/src/stories/from-cli/button.css similarity index 100% rename from examples/angular-cli/src/stories/from-cli/button.css rename to code/examples/angular-cli/src/stories/from-cli/button.css diff --git a/examples/angular-cli/src/stories/legacy/README.stories.mdx b/code/examples/angular-cli/src/stories/legacy/README.stories.mdx similarity index 100% rename from examples/angular-cli/src/stories/legacy/README.stories.mdx rename to code/examples/angular-cli/src/stories/legacy/README.stories.mdx diff --git a/examples/angular-cli/src/stories/legacy/__snapshots__/component-in-story.stories.storyshot b/code/examples/angular-cli/src/stories/legacy/__snapshots__/component-in-story.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/legacy/__snapshots__/component-in-story.stories.storyshot rename to code/examples/angular-cli/src/stories/legacy/__snapshots__/component-in-story.stories.storyshot diff --git a/examples/angular-cli/src/stories/legacy/component-in-story.stories.ts b/code/examples/angular-cli/src/stories/legacy/component-in-story.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/legacy/component-in-story.stories.ts rename to code/examples/angular-cli/src/stories/legacy/component-in-story.stories.ts diff --git a/examples/angular-cli/src/stories/others/issues/12009-unknown-component.stories.ts b/code/examples/angular-cli/src/stories/others/issues/12009-unknown-component.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/others/issues/12009-unknown-component.stories.ts rename to code/examples/angular-cli/src/stories/others/issues/12009-unknown-component.stories.ts diff --git a/examples/angular-cli/src/stories/others/issues/__snapshots__/12009-unknown-component.stories.storyshot b/code/examples/angular-cli/src/stories/others/issues/__snapshots__/12009-unknown-component.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/others/issues/__snapshots__/12009-unknown-component.stories.storyshot rename to code/examples/angular-cli/src/stories/others/issues/__snapshots__/12009-unknown-component.stories.storyshot diff --git a/examples/angular-cli/src/stories/others/ngrx/__snapshots__/ngrx-store.stories.storyshot b/code/examples/angular-cli/src/stories/others/ngrx/__snapshots__/ngrx-store.stories.storyshot similarity index 100% rename from examples/angular-cli/src/stories/others/ngrx/__snapshots__/ngrx-store.stories.storyshot rename to code/examples/angular-cli/src/stories/others/ngrx/__snapshots__/ngrx-store.stories.storyshot diff --git a/examples/angular-cli/src/stories/others/ngrx/ngrx-store.stories.ts b/code/examples/angular-cli/src/stories/others/ngrx/ngrx-store.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/others/ngrx/ngrx-store.stories.ts rename to code/examples/angular-cli/src/stories/others/ngrx/ngrx-store.stories.ts diff --git a/examples/angular-cli/src/stories/others/ngx-translate/README.stories.mdx b/code/examples/angular-cli/src/stories/others/ngx-translate/README.stories.mdx similarity index 100% rename from examples/angular-cli/src/stories/others/ngx-translate/README.stories.mdx rename to code/examples/angular-cli/src/stories/others/ngx-translate/README.stories.mdx diff --git a/examples/angular-cli/src/stories/preview/csf3/input-with-play.stories.ts b/code/examples/angular-cli/src/stories/preview/csf3/input-with-play.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/preview/csf3/input-with-play.stories.ts rename to code/examples/angular-cli/src/stories/preview/csf3/input-with-play.stories.ts diff --git a/examples/angular-cli/src/stories/preview/csf3/sb-input.component.ts b/code/examples/angular-cli/src/stories/preview/csf3/sb-input.component.ts similarity index 100% rename from examples/angular-cli/src/stories/preview/csf3/sb-input.component.ts rename to code/examples/angular-cli/src/stories/preview/csf3/sb-input.component.ts diff --git a/examples/angular-cli/src/stories/welcome-angular.stories.ts b/code/examples/angular-cli/src/stories/welcome-angular.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/welcome-angular.stories.ts rename to code/examples/angular-cli/src/stories/welcome-angular.stories.ts diff --git a/examples/angular-cli/src/stories/welcome-storybook.stories.ts b/code/examples/angular-cli/src/stories/welcome-storybook.stories.ts similarity index 100% rename from examples/angular-cli/src/stories/welcome-storybook.stories.ts rename to code/examples/angular-cli/src/stories/welcome-storybook.stories.ts diff --git a/examples/angular-cli/src/styles.css b/code/examples/angular-cli/src/styles.css similarity index 100% rename from examples/angular-cli/src/styles.css rename to code/examples/angular-cli/src/styles.css diff --git a/examples/angular-cli/src/styles.scss b/code/examples/angular-cli/src/styles.scss similarity index 100% rename from examples/angular-cli/src/styles.scss rename to code/examples/angular-cli/src/styles.scss diff --git a/examples/angular-cli/src/tsconfig.spec.json b/code/examples/angular-cli/src/tsconfig.spec.json similarity index 100% rename from examples/angular-cli/src/tsconfig.spec.json rename to code/examples/angular-cli/src/tsconfig.spec.json diff --git a/examples/angular-cli/src/typings.d.ts b/code/examples/angular-cli/src/typings.d.ts similarity index 100% rename from examples/angular-cli/src/typings.d.ts rename to code/examples/angular-cli/src/typings.d.ts diff --git a/examples/angular-cli/tsconfig.app.json b/code/examples/angular-cli/tsconfig.app.json similarity index 100% rename from examples/angular-cli/tsconfig.app.json rename to code/examples/angular-cli/tsconfig.app.json diff --git a/examples/angular-cli/tsconfig.json b/code/examples/angular-cli/tsconfig.json similarity index 100% rename from examples/angular-cli/tsconfig.json rename to code/examples/angular-cli/tsconfig.json diff --git a/examples/cra-kitchen-sink/.env b/code/examples/cra-kitchen-sink/.env similarity index 59% rename from examples/cra-kitchen-sink/.env rename to code/examples/cra-kitchen-sink/.env index e70a111949cd..7d104c48c82d 100644 --- a/examples/cra-kitchen-sink/.env +++ b/code/examples/cra-kitchen-sink/.env @@ -1,2 +1,3 @@ +DISABLE_ESLINT_PLUGIN=true SKIP_PREFLIGHT_CHECK=true NODE_PATH=src \ No newline at end of file diff --git a/examples/cra-kitchen-sink/.storybook/main.ts b/code/examples/cra-kitchen-sink/.storybook/main.ts similarity index 100% rename from examples/cra-kitchen-sink/.storybook/main.ts rename to code/examples/cra-kitchen-sink/.storybook/main.ts diff --git a/examples/cra-kitchen-sink/.storybook/manager.js b/code/examples/cra-kitchen-sink/.storybook/manager.js similarity index 100% rename from examples/cra-kitchen-sink/.storybook/manager.js rename to code/examples/cra-kitchen-sink/.storybook/manager.js diff --git a/examples/cra-kitchen-sink/.storybook/preview.js b/code/examples/cra-kitchen-sink/.storybook/preview.js similarity index 100% rename from examples/cra-kitchen-sink/.storybook/preview.js rename to code/examples/cra-kitchen-sink/.storybook/preview.js diff --git a/examples/cra-kitchen-sink/package.json b/code/examples/cra-kitchen-sink/package.json similarity index 100% rename from examples/cra-kitchen-sink/package.json rename to code/examples/cra-kitchen-sink/package.json diff --git a/examples/cra-kitchen-sink/public/favicon.ico b/code/examples/cra-kitchen-sink/public/favicon.ico similarity index 100% rename from examples/cra-kitchen-sink/public/favicon.ico rename to code/examples/cra-kitchen-sink/public/favicon.ico diff --git a/examples/cra-kitchen-sink/public/index.html b/code/examples/cra-kitchen-sink/public/index.html similarity index 100% rename from examples/cra-kitchen-sink/public/index.html rename to code/examples/cra-kitchen-sink/public/index.html diff --git a/examples/cra-kitchen-sink/src/App.css b/code/examples/cra-kitchen-sink/src/App.css similarity index 100% rename from examples/cra-kitchen-sink/src/App.css rename to code/examples/cra-kitchen-sink/src/App.css diff --git a/examples/cra-kitchen-sink/src/App.js b/code/examples/cra-kitchen-sink/src/App.js similarity index 100% rename from examples/cra-kitchen-sink/src/App.js rename to code/examples/cra-kitchen-sink/src/App.js diff --git a/examples/cra-kitchen-sink/src/base.css b/code/examples/cra-kitchen-sink/src/base.css similarity index 100% rename from examples/cra-kitchen-sink/src/base.css rename to code/examples/cra-kitchen-sink/src/base.css diff --git a/examples/cra-kitchen-sink/src/components/Container.js b/code/examples/cra-kitchen-sink/src/components/Container.js similarity index 100% rename from examples/cra-kitchen-sink/src/components/Container.js rename to code/examples/cra-kitchen-sink/src/components/Container.js diff --git a/examples/cra-kitchen-sink/src/components/FastRefreshExample.js b/code/examples/cra-kitchen-sink/src/components/FastRefreshExample.js similarity index 100% rename from examples/cra-kitchen-sink/src/components/FastRefreshExample.js rename to code/examples/cra-kitchen-sink/src/components/FastRefreshExample.js diff --git a/examples/cra-kitchen-sink/src/components/LifecycleLogger.js b/code/examples/cra-kitchen-sink/src/components/LifecycleLogger.js similarity index 100% rename from examples/cra-kitchen-sink/src/components/LifecycleLogger.js rename to code/examples/cra-kitchen-sink/src/components/LifecycleLogger.js diff --git a/examples/cra-kitchen-sink/src/components/react-demo.js b/code/examples/cra-kitchen-sink/src/components/react-demo.js similarity index 100% rename from examples/cra-kitchen-sink/src/components/react-demo.js rename to code/examples/cra-kitchen-sink/src/components/react-demo.js diff --git a/examples/cra-kitchen-sink/src/index.css b/code/examples/cra-kitchen-sink/src/index.css similarity index 100% rename from examples/cra-kitchen-sink/src/index.css rename to code/examples/cra-kitchen-sink/src/index.css diff --git a/examples/cra-kitchen-sink/src/index.js b/code/examples/cra-kitchen-sink/src/index.js similarity index 100% rename from examples/cra-kitchen-sink/src/index.js rename to code/examples/cra-kitchen-sink/src/index.js diff --git a/examples/cra-kitchen-sink/src/logo.svg b/code/examples/cra-kitchen-sink/src/logo.svg similarity index 100% rename from examples/cra-kitchen-sink/src/logo.svg rename to code/examples/cra-kitchen-sink/src/logo.svg diff --git a/examples/cra-kitchen-sink/src/stories/App.stories.js b/code/examples/cra-kitchen-sink/src/stories/App.stories.js similarity index 100% rename from examples/cra-kitchen-sink/src/stories/App.stories.js rename to code/examples/cra-kitchen-sink/src/stories/App.stories.js diff --git a/examples/cra-kitchen-sink/src/stories/Lifecycle.stories.js b/code/examples/cra-kitchen-sink/src/stories/Lifecycle.stories.js similarity index 100% rename from examples/cra-kitchen-sink/src/stories/Lifecycle.stories.js rename to code/examples/cra-kitchen-sink/src/stories/Lifecycle.stories.js diff --git a/examples/cra-kitchen-sink/src/stories/button.stories.js b/code/examples/cra-kitchen-sink/src/stories/button.stories.js similarity index 100% rename from examples/cra-kitchen-sink/src/stories/button.stories.js rename to code/examples/cra-kitchen-sink/src/stories/button.stories.js diff --git a/examples/cra-kitchen-sink/src/stories/decorators.stories.js b/code/examples/cra-kitchen-sink/src/stories/decorators.stories.js similarity index 100% rename from examples/cra-kitchen-sink/src/stories/decorators.stories.js rename to code/examples/cra-kitchen-sink/src/stories/decorators.stories.js diff --git a/examples/cra-kitchen-sink/src/stories/fast-refresh.stories.js b/code/examples/cra-kitchen-sink/src/stories/fast-refresh.stories.js similarity index 100% rename from examples/cra-kitchen-sink/src/stories/fast-refresh.stories.js rename to code/examples/cra-kitchen-sink/src/stories/fast-refresh.stories.js diff --git a/examples/cra-kitchen-sink/src/stories/force-rerender.stories.js b/code/examples/cra-kitchen-sink/src/stories/force-rerender.stories.js similarity index 100% rename from examples/cra-kitchen-sink/src/stories/force-rerender.stories.js rename to code/examples/cra-kitchen-sink/src/stories/force-rerender.stories.js diff --git a/examples/cra-kitchen-sink/src/stories/long-description.stories.js b/code/examples/cra-kitchen-sink/src/stories/long-description.stories.js similarity index 100% rename from examples/cra-kitchen-sink/src/stories/long-description.stories.js rename to code/examples/cra-kitchen-sink/src/stories/long-description.stories.js diff --git a/examples/cra-kitchen-sink/src/stories/test.stories.mdx b/code/examples/cra-kitchen-sink/src/stories/test.stories.mdx similarity index 100% rename from examples/cra-kitchen-sink/src/stories/test.stories.mdx rename to code/examples/cra-kitchen-sink/src/stories/test.stories.mdx diff --git a/examples/cra-kitchen-sink/src/stories/welcome.stories.js b/code/examples/cra-kitchen-sink/src/stories/welcome.stories.js similarity index 100% rename from examples/cra-kitchen-sink/src/stories/welcome.stories.js rename to code/examples/cra-kitchen-sink/src/stories/welcome.stories.js diff --git a/code/examples/cra-ts-essentials/.env b/code/examples/cra-ts-essentials/.env new file mode 100644 index 000000000000..7d104c48c82d --- /dev/null +++ b/code/examples/cra-ts-essentials/.env @@ -0,0 +1,3 @@ +DISABLE_ESLINT_PLUGIN=true +SKIP_PREFLIGHT_CHECK=true +NODE_PATH=src \ No newline at end of file diff --git a/examples/cra-ts-essentials/.storybook/main.ts b/code/examples/cra-ts-essentials/.storybook/main.ts similarity index 100% rename from examples/cra-ts-essentials/.storybook/main.ts rename to code/examples/cra-ts-essentials/.storybook/main.ts diff --git a/examples/cra-ts-essentials/.storybook/preview.tsx b/code/examples/cra-ts-essentials/.storybook/preview.tsx similarity index 100% rename from examples/cra-ts-essentials/.storybook/preview.tsx rename to code/examples/cra-ts-essentials/.storybook/preview.tsx diff --git a/examples/cra-ts-essentials/README.md b/code/examples/cra-ts-essentials/README.md similarity index 100% rename from examples/cra-ts-essentials/README.md rename to code/examples/cra-ts-essentials/README.md diff --git a/examples/cra-ts-essentials/package.json b/code/examples/cra-ts-essentials/package.json similarity index 100% rename from examples/cra-ts-essentials/package.json rename to code/examples/cra-ts-essentials/package.json diff --git a/examples/cra-ts-essentials/public/favicon.ico b/code/examples/cra-ts-essentials/public/favicon.ico similarity index 100% rename from examples/cra-ts-essentials/public/favicon.ico rename to code/examples/cra-ts-essentials/public/favicon.ico diff --git a/examples/cra-ts-essentials/public/index.html b/code/examples/cra-ts-essentials/public/index.html similarity index 100% rename from examples/cra-ts-essentials/public/index.html rename to code/examples/cra-ts-essentials/public/index.html diff --git a/examples/cra-ts-essentials/public/logo192.png b/code/examples/cra-ts-essentials/public/logo192.png similarity index 100% rename from examples/cra-ts-essentials/public/logo192.png rename to code/examples/cra-ts-essentials/public/logo192.png diff --git a/examples/cra-ts-essentials/public/logo512.png b/code/examples/cra-ts-essentials/public/logo512.png similarity index 100% rename from examples/cra-ts-essentials/public/logo512.png rename to code/examples/cra-ts-essentials/public/logo512.png diff --git a/examples/cra-ts-essentials/public/manifest.json b/code/examples/cra-ts-essentials/public/manifest.json similarity index 100% rename from examples/cra-ts-essentials/public/manifest.json rename to code/examples/cra-ts-essentials/public/manifest.json diff --git a/examples/cra-ts-essentials/public/robots.txt b/code/examples/cra-ts-essentials/public/robots.txt similarity index 100% rename from examples/cra-ts-essentials/public/robots.txt rename to code/examples/cra-ts-essentials/public/robots.txt diff --git a/examples/cra-ts-essentials/src/App.css b/code/examples/cra-ts-essentials/src/App.css similarity index 100% rename from examples/cra-ts-essentials/src/App.css rename to code/examples/cra-ts-essentials/src/App.css diff --git a/examples/cra-ts-essentials/src/App.test.tsx b/code/examples/cra-ts-essentials/src/App.test.tsx similarity index 100% rename from examples/cra-ts-essentials/src/App.test.tsx rename to code/examples/cra-ts-essentials/src/App.test.tsx diff --git a/examples/cra-ts-essentials/src/App.tsx b/code/examples/cra-ts-essentials/src/App.tsx similarity index 100% rename from examples/cra-ts-essentials/src/App.tsx rename to code/examples/cra-ts-essentials/src/App.tsx diff --git a/examples/cra-ts-essentials/src/index.css b/code/examples/cra-ts-essentials/src/index.css similarity index 100% rename from examples/cra-ts-essentials/src/index.css rename to code/examples/cra-ts-essentials/src/index.css diff --git a/examples/cra-ts-essentials/src/index.tsx b/code/examples/cra-ts-essentials/src/index.tsx similarity index 100% rename from examples/cra-ts-essentials/src/index.tsx rename to code/examples/cra-ts-essentials/src/index.tsx diff --git a/examples/cra-ts-essentials/src/logo.svg b/code/examples/cra-ts-essentials/src/logo.svg similarity index 100% rename from examples/cra-ts-essentials/src/logo.svg rename to code/examples/cra-ts-essentials/src/logo.svg diff --git a/examples/cra-ts-essentials/src/react-app-env.d.ts b/code/examples/cra-ts-essentials/src/react-app-env.d.ts similarity index 100% rename from examples/cra-ts-essentials/src/react-app-env.d.ts rename to code/examples/cra-ts-essentials/src/react-app-env.d.ts diff --git a/examples/cra-ts-essentials/src/serviceWorker.ts b/code/examples/cra-ts-essentials/src/serviceWorker.ts similarity index 100% rename from examples/cra-ts-essentials/src/serviceWorker.ts rename to code/examples/cra-ts-essentials/src/serviceWorker.ts diff --git a/examples/cra-ts-essentials/src/setupTests.ts b/code/examples/cra-ts-essentials/src/setupTests.ts similarity index 100% rename from examples/cra-ts-essentials/src/setupTests.ts rename to code/examples/cra-ts-essentials/src/setupTests.ts diff --git a/examples/cra-ts-essentials/src/stories/0-Welcome.stories.tsx b/code/examples/cra-ts-essentials/src/stories/0-Welcome.stories.tsx similarity index 100% rename from examples/cra-ts-essentials/src/stories/0-Welcome.stories.tsx rename to code/examples/cra-ts-essentials/src/stories/0-Welcome.stories.tsx diff --git a/examples/cra-ts-essentials/src/stories/1-Button.stories.tsx b/code/examples/cra-ts-essentials/src/stories/1-Button.stories.tsx similarity index 100% rename from examples/cra-ts-essentials/src/stories/1-Button.stories.tsx rename to code/examples/cra-ts-essentials/src/stories/1-Button.stories.tsx diff --git a/examples/cra-ts-essentials/src/stories/Button.stories.tsx b/code/examples/cra-ts-essentials/src/stories/Button.stories.tsx similarity index 100% rename from examples/cra-ts-essentials/src/stories/Button.stories.tsx rename to code/examples/cra-ts-essentials/src/stories/Button.stories.tsx diff --git a/examples/cra-ts-essentials/src/stories/Button.tsx b/code/examples/cra-ts-essentials/src/stories/Button.tsx similarity index 100% rename from examples/cra-ts-essentials/src/stories/Button.tsx rename to code/examples/cra-ts-essentials/src/stories/Button.tsx diff --git a/examples/cra-ts-essentials/src/stories/button.css b/code/examples/cra-ts-essentials/src/stories/button.css similarity index 100% rename from examples/cra-ts-essentials/src/stories/button.css rename to code/examples/cra-ts-essentials/src/stories/button.css diff --git a/examples/cra-ts-essentials/src/stories/react-demo.tsx b/code/examples/cra-ts-essentials/src/stories/react-demo.tsx similarity index 100% rename from examples/cra-ts-essentials/src/stories/react-demo.tsx rename to code/examples/cra-ts-essentials/src/stories/react-demo.tsx diff --git a/examples/cra-ts-essentials/src/stories/testing-react/components/AccountForm.stories.tsx b/code/examples/cra-ts-essentials/src/stories/testing-react/components/AccountForm.stories.tsx similarity index 100% rename from examples/cra-ts-essentials/src/stories/testing-react/components/AccountForm.stories.tsx rename to code/examples/cra-ts-essentials/src/stories/testing-react/components/AccountForm.stories.tsx diff --git a/examples/cra-ts-essentials/src/stories/testing-react/components/AccountForm.test.tsx b/code/examples/cra-ts-essentials/src/stories/testing-react/components/AccountForm.test.tsx similarity index 100% rename from examples/cra-ts-essentials/src/stories/testing-react/components/AccountForm.test.tsx rename to code/examples/cra-ts-essentials/src/stories/testing-react/components/AccountForm.test.tsx diff --git a/examples/cra-ts-essentials/src/stories/testing-react/components/AccountForm.tsx b/code/examples/cra-ts-essentials/src/stories/testing-react/components/AccountForm.tsx similarity index 100% rename from examples/cra-ts-essentials/src/stories/testing-react/components/AccountForm.tsx rename to code/examples/cra-ts-essentials/src/stories/testing-react/components/AccountForm.tsx diff --git a/examples/cra-ts-essentials/src/stories/testing-react/components/Button.stories.tsx b/code/examples/cra-ts-essentials/src/stories/testing-react/components/Button.stories.tsx similarity index 100% rename from examples/cra-ts-essentials/src/stories/testing-react/components/Button.stories.tsx rename to code/examples/cra-ts-essentials/src/stories/testing-react/components/Button.stories.tsx diff --git a/examples/cra-ts-essentials/src/stories/testing-react/components/Button.test.tsx b/code/examples/cra-ts-essentials/src/stories/testing-react/components/Button.test.tsx similarity index 100% rename from examples/cra-ts-essentials/src/stories/testing-react/components/Button.test.tsx rename to code/examples/cra-ts-essentials/src/stories/testing-react/components/Button.test.tsx diff --git a/examples/cra-ts-essentials/src/stories/testing-react/components/Button.tsx b/code/examples/cra-ts-essentials/src/stories/testing-react/components/Button.tsx similarity index 100% rename from examples/cra-ts-essentials/src/stories/testing-react/components/Button.tsx rename to code/examples/cra-ts-essentials/src/stories/testing-react/components/Button.tsx diff --git a/examples/cra-ts-essentials/src/stories/testing-react/components/__snapshots__/internals.test.tsx.snap b/code/examples/cra-ts-essentials/src/stories/testing-react/components/__snapshots__/internals.test.tsx.snap similarity index 100% rename from examples/cra-ts-essentials/src/stories/testing-react/components/__snapshots__/internals.test.tsx.snap rename to code/examples/cra-ts-essentials/src/stories/testing-react/components/__snapshots__/internals.test.tsx.snap diff --git a/examples/cra-ts-essentials/src/stories/testing-react/components/button.css b/code/examples/cra-ts-essentials/src/stories/testing-react/components/button.css similarity index 100% rename from examples/cra-ts-essentials/src/stories/testing-react/components/button.css rename to code/examples/cra-ts-essentials/src/stories/testing-react/components/button.css diff --git a/examples/cra-ts-essentials/src/stories/testing-react/components/internals.test.tsx b/code/examples/cra-ts-essentials/src/stories/testing-react/components/internals.test.tsx similarity index 100% rename from examples/cra-ts-essentials/src/stories/testing-react/components/internals.test.tsx rename to code/examples/cra-ts-essentials/src/stories/testing-react/components/internals.test.tsx diff --git a/examples/cra-ts-essentials/tsconfig.json b/code/examples/cra-ts-essentials/tsconfig.json similarity index 100% rename from examples/cra-ts-essentials/tsconfig.json rename to code/examples/cra-ts-essentials/tsconfig.json diff --git a/code/examples/cra-ts-kitchen-sink/.env b/code/examples/cra-ts-kitchen-sink/.env new file mode 100644 index 000000000000..7d104c48c82d --- /dev/null +++ b/code/examples/cra-ts-kitchen-sink/.env @@ -0,0 +1,3 @@ +DISABLE_ESLINT_PLUGIN=true +SKIP_PREFLIGHT_CHECK=true +NODE_PATH=src \ No newline at end of file diff --git a/examples/cra-ts-kitchen-sink/.storybook/localAddon/manager.tsx b/code/examples/cra-ts-kitchen-sink/.storybook/localAddon/manager.tsx similarity index 100% rename from examples/cra-ts-kitchen-sink/.storybook/localAddon/manager.tsx rename to code/examples/cra-ts-kitchen-sink/.storybook/localAddon/manager.tsx diff --git a/examples/cra-ts-kitchen-sink/.storybook/localAddon/preset.ts b/code/examples/cra-ts-kitchen-sink/.storybook/localAddon/preset.ts similarity index 100% rename from examples/cra-ts-kitchen-sink/.storybook/localAddon/preset.ts rename to code/examples/cra-ts-kitchen-sink/.storybook/localAddon/preset.ts diff --git a/examples/cra-ts-kitchen-sink/.storybook/main.ts b/code/examples/cra-ts-kitchen-sink/.storybook/main.ts similarity index 100% rename from examples/cra-ts-kitchen-sink/.storybook/main.ts rename to code/examples/cra-ts-kitchen-sink/.storybook/main.ts diff --git a/examples/cra-ts-kitchen-sink/.storybook/preview.ts b/code/examples/cra-ts-kitchen-sink/.storybook/preview.ts similarity index 100% rename from examples/cra-ts-kitchen-sink/.storybook/preview.ts rename to code/examples/cra-ts-kitchen-sink/.storybook/preview.ts diff --git a/examples/cra-ts-kitchen-sink/README.md b/code/examples/cra-ts-kitchen-sink/README.md similarity index 100% rename from examples/cra-ts-kitchen-sink/README.md rename to code/examples/cra-ts-kitchen-sink/README.md diff --git a/examples/cra-ts-kitchen-sink/package.json b/code/examples/cra-ts-kitchen-sink/package.json similarity index 100% rename from examples/cra-ts-kitchen-sink/package.json rename to code/examples/cra-ts-kitchen-sink/package.json diff --git a/examples/cra-ts-kitchen-sink/public/favicon.ico b/code/examples/cra-ts-kitchen-sink/public/favicon.ico similarity index 100% rename from examples/cra-ts-kitchen-sink/public/favicon.ico rename to code/examples/cra-ts-kitchen-sink/public/favicon.ico diff --git a/examples/cra-ts-kitchen-sink/public/index.html b/code/examples/cra-ts-kitchen-sink/public/index.html similarity index 100% rename from examples/cra-ts-kitchen-sink/public/index.html rename to code/examples/cra-ts-kitchen-sink/public/index.html diff --git a/examples/cra-ts-kitchen-sink/public/logo192.png b/code/examples/cra-ts-kitchen-sink/public/logo192.png similarity index 100% rename from examples/cra-ts-kitchen-sink/public/logo192.png rename to code/examples/cra-ts-kitchen-sink/public/logo192.png diff --git a/examples/cra-ts-kitchen-sink/public/logo512.png b/code/examples/cra-ts-kitchen-sink/public/logo512.png similarity index 100% rename from examples/cra-ts-kitchen-sink/public/logo512.png rename to code/examples/cra-ts-kitchen-sink/public/logo512.png diff --git a/examples/cra-ts-kitchen-sink/public/manifest.json b/code/examples/cra-ts-kitchen-sink/public/manifest.json similarity index 100% rename from examples/cra-ts-kitchen-sink/public/manifest.json rename to code/examples/cra-ts-kitchen-sink/public/manifest.json diff --git a/examples/cra-ts-kitchen-sink/public/robots.txt b/code/examples/cra-ts-kitchen-sink/public/robots.txt similarity index 100% rename from examples/cra-ts-kitchen-sink/public/robots.txt rename to code/examples/cra-ts-kitchen-sink/public/robots.txt diff --git a/examples/cra-ts-kitchen-sink/src/App.css b/code/examples/cra-ts-kitchen-sink/src/App.css similarity index 100% rename from examples/cra-ts-kitchen-sink/src/App.css rename to code/examples/cra-ts-kitchen-sink/src/App.css diff --git a/examples/cra-ts-kitchen-sink/src/App.tsx b/code/examples/cra-ts-kitchen-sink/src/App.tsx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/App.tsx rename to code/examples/cra-ts-kitchen-sink/src/App.tsx diff --git a/examples/cra-ts-kitchen-sink/src/components/Button.stories.tsx b/code/examples/cra-ts-kitchen-sink/src/components/Button.stories.tsx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/components/Button.stories.tsx rename to code/examples/cra-ts-kitchen-sink/src/components/Button.stories.tsx diff --git a/examples/cra-ts-kitchen-sink/src/components/Button.tsx b/code/examples/cra-ts-kitchen-sink/src/components/Button.tsx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/components/Button.tsx rename to code/examples/cra-ts-kitchen-sink/src/components/Button.tsx diff --git a/examples/cra-ts-kitchen-sink/src/components/react-demo.tsx b/code/examples/cra-ts-kitchen-sink/src/components/react-demo.tsx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/components/react-demo.tsx rename to code/examples/cra-ts-kitchen-sink/src/components/react-demo.tsx diff --git a/examples/cra-ts-kitchen-sink/src/index.css b/code/examples/cra-ts-kitchen-sink/src/index.css similarity index 100% rename from examples/cra-ts-kitchen-sink/src/index.css rename to code/examples/cra-ts-kitchen-sink/src/index.css diff --git a/examples/cra-ts-kitchen-sink/src/index.tsx b/code/examples/cra-ts-kitchen-sink/src/index.tsx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/index.tsx rename to code/examples/cra-ts-kitchen-sink/src/index.tsx diff --git a/examples/cra-ts-kitchen-sink/src/logo.svg b/code/examples/cra-ts-kitchen-sink/src/logo.svg similarity index 100% rename from examples/cra-ts-kitchen-sink/src/logo.svg rename to code/examples/cra-ts-kitchen-sink/src/logo.svg diff --git a/examples/cra-ts-kitchen-sink/src/react-app-env.d.ts b/code/examples/cra-ts-kitchen-sink/src/react-app-env.d.ts similarity index 100% rename from examples/cra-ts-kitchen-sink/src/react-app-env.d.ts rename to code/examples/cra-ts-kitchen-sink/src/react-app-env.d.ts diff --git a/examples/cra-ts-kitchen-sink/src/stories/0-Welcome.stories.tsx b/code/examples/cra-ts-kitchen-sink/src/stories/0-Welcome.stories.tsx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/0-Welcome.stories.tsx rename to code/examples/cra-ts-kitchen-sink/src/stories/0-Welcome.stories.tsx diff --git a/examples/cra-ts-kitchen-sink/src/stories/1-Button.stories.tsx b/code/examples/cra-ts-kitchen-sink/src/stories/1-Button.stories.tsx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/1-Button.stories.tsx rename to code/examples/cra-ts-kitchen-sink/src/stories/1-Button.stories.tsx diff --git a/examples/cra-ts-kitchen-sink/src/stories/Button.tsx b/code/examples/cra-ts-kitchen-sink/src/stories/Button.tsx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/Button.tsx rename to code/examples/cra-ts-kitchen-sink/src/stories/Button.tsx diff --git a/examples/cra-ts-kitchen-sink/src/stories/Classes.stories.mdx b/code/examples/cra-ts-kitchen-sink/src/stories/Classes.stories.mdx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/Classes.stories.mdx rename to code/examples/cra-ts-kitchen-sink/src/stories/Classes.stories.mdx diff --git a/examples/cra-ts-kitchen-sink/src/stories/PropsSort.js b/code/examples/cra-ts-kitchen-sink/src/stories/PropsSort.js similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/PropsSort.js rename to code/examples/cra-ts-kitchen-sink/src/stories/PropsSort.js diff --git a/examples/cra-ts-kitchen-sink/src/stories/Test.stories.mdx b/code/examples/cra-ts-kitchen-sink/src/stories/Test.stories.mdx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/Test.stories.mdx rename to code/examples/cra-ts-kitchen-sink/src/stories/Test.stories.mdx diff --git a/examples/cra-ts-kitchen-sink/src/stories/anchors/anchors.stories.mdx b/code/examples/cra-ts-kitchen-sink/src/stories/anchors/anchors.stories.mdx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/anchors/anchors.stories.mdx rename to code/examples/cra-ts-kitchen-sink/src/stories/anchors/anchors.stories.mdx diff --git a/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/DocgenJS.js b/code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/DocgenJS.js similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/docgen-tests/DocgenJS.js rename to code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/DocgenJS.js diff --git a/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/DocgenTS.tsx b/code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/DocgenTS.tsx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/docgen-tests/DocgenTS.tsx rename to code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/DocgenTS.tsx diff --git a/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/docgen.stories.mdx b/code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/docgen.stories.mdx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/docgen-tests/docgen.stories.mdx rename to code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/docgen.stories.mdx diff --git a/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc-perfo.js b/code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc-perfo.js similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc-perfo.js rename to code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc-perfo.js diff --git a/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc-perfo.stories.mdx b/code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc-perfo.stories.mdx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc-perfo.stories.mdx rename to code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc-perfo.stories.mdx diff --git a/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc-ts.tsx b/code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc-ts.tsx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc-ts.tsx rename to code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc-ts.tsx diff --git a/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc.js b/code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc.js similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc.js rename to code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc.js diff --git a/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc.stories.mdx b/code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc.stories.mdx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc.stories.mdx rename to code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/jsdoc/jsdoc.stories.mdx diff --git a/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/ext.js b/code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/ext.js similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/ext.js rename to code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/ext.js diff --git a/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/prop-types.js b/code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/prop-types.js similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/prop-types.js rename to code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/prop-types.js diff --git a/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/ts-types.tsx b/code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/ts-types.tsx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/ts-types.tsx rename to code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/ts-types.tsx diff --git a/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/types.stories.mdx b/code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/types.stories.mdx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/types.stories.mdx rename to code/examples/cra-ts-kitchen-sink/src/stories/docgen-tests/types/types.stories.mdx diff --git a/examples/cra-ts-kitchen-sink/src/stories/props-sort.stories.mdx b/code/examples/cra-ts-kitchen-sink/src/stories/props-sort.stories.mdx similarity index 100% rename from examples/cra-ts-kitchen-sink/src/stories/props-sort.stories.mdx rename to code/examples/cra-ts-kitchen-sink/src/stories/props-sort.stories.mdx diff --git a/examples/cra-ts-kitchen-sink/tsconfig.json b/code/examples/cra-ts-kitchen-sink/tsconfig.json similarity index 100% rename from examples/cra-ts-kitchen-sink/tsconfig.json rename to code/examples/cra-ts-kitchen-sink/tsconfig.json diff --git a/examples/doc-blocks/.env b/code/examples/doc-blocks/.env similarity index 100% rename from examples/doc-blocks/.env rename to code/examples/doc-blocks/.env diff --git a/examples/doc-blocks/.storybook/main.ts b/code/examples/doc-blocks/.storybook/main.ts similarity index 100% rename from examples/doc-blocks/.storybook/main.ts rename to code/examples/doc-blocks/.storybook/main.ts diff --git a/examples/doc-blocks/.storybook/manager.js b/code/examples/doc-blocks/.storybook/manager.js similarity index 100% rename from examples/doc-blocks/.storybook/manager.js rename to code/examples/doc-blocks/.storybook/manager.js diff --git a/examples/doc-blocks/.storybook/preview.tsx b/code/examples/doc-blocks/.storybook/preview.tsx similarity index 100% rename from examples/doc-blocks/.storybook/preview.tsx rename to code/examples/doc-blocks/.storybook/preview.tsx diff --git a/examples/doc-blocks/README.md b/code/examples/doc-blocks/README.md similarity index 100% rename from examples/doc-blocks/README.md rename to code/examples/doc-blocks/README.md diff --git a/examples/doc-blocks/babel.config.js b/code/examples/doc-blocks/babel.config.js similarity index 100% rename from examples/doc-blocks/babel.config.js rename to code/examples/doc-blocks/babel.config.js diff --git a/examples/doc-blocks/package.json b/code/examples/doc-blocks/package.json similarity index 100% rename from examples/doc-blocks/package.json rename to code/examples/doc-blocks/package.json diff --git a/examples/doc-blocks/tsconfig.json b/code/examples/doc-blocks/tsconfig.json similarity index 100% rename from examples/doc-blocks/tsconfig.json rename to code/examples/doc-blocks/tsconfig.json diff --git a/examples/ember-cli/.ember-cli b/code/examples/ember-cli/.ember-cli similarity index 100% rename from examples/ember-cli/.ember-cli rename to code/examples/ember-cli/.ember-cli diff --git a/examples/ember-cli/.eslintignore b/code/examples/ember-cli/.eslintignore similarity index 100% rename from examples/ember-cli/.eslintignore rename to code/examples/ember-cli/.eslintignore diff --git a/examples/ember-cli/.eslintrc.js b/code/examples/ember-cli/.eslintrc.js similarity index 100% rename from examples/ember-cli/.eslintrc.js rename to code/examples/ember-cli/.eslintrc.js diff --git a/examples/ember-cli/.gitignore b/code/examples/ember-cli/.gitignore similarity index 100% rename from examples/ember-cli/.gitignore rename to code/examples/ember-cli/.gitignore diff --git a/examples/ember-cli/.storybook/main.js b/code/examples/ember-cli/.storybook/main.js similarity index 100% rename from examples/ember-cli/.storybook/main.js rename to code/examples/ember-cli/.storybook/main.js diff --git a/examples/ember-cli/.storybook/preview.js b/code/examples/ember-cli/.storybook/preview.js similarity index 100% rename from examples/ember-cli/.storybook/preview.js rename to code/examples/ember-cli/.storybook/preview.js diff --git a/examples/ember-cli/README.md b/code/examples/ember-cli/README.md similarity index 100% rename from examples/ember-cli/README.md rename to code/examples/ember-cli/README.md diff --git a/examples/ember-cli/app/app.js b/code/examples/ember-cli/app/app.js similarity index 100% rename from examples/ember-cli/app/app.js rename to code/examples/ember-cli/app/app.js diff --git a/examples/ember-cli/app/components/welcome-banner.js b/code/examples/ember-cli/app/components/welcome-banner.js similarity index 100% rename from examples/ember-cli/app/components/welcome-banner.js rename to code/examples/ember-cli/app/components/welcome-banner.js diff --git a/examples/ember-cli/app/components/welcome-page.js b/code/examples/ember-cli/app/components/welcome-page.js similarity index 100% rename from examples/ember-cli/app/components/welcome-page.js rename to code/examples/ember-cli/app/components/welcome-page.js diff --git a/examples/ember-cli/app/index.html b/code/examples/ember-cli/app/index.html similarity index 100% rename from examples/ember-cli/app/index.html rename to code/examples/ember-cli/app/index.html diff --git a/examples/ember-cli/app/initializers/.gitkeep b/code/examples/ember-cli/app/initializers/.gitkeep similarity index 100% rename from examples/ember-cli/app/initializers/.gitkeep rename to code/examples/ember-cli/app/initializers/.gitkeep diff --git a/examples/ember-cli/app/resolver.js b/code/examples/ember-cli/app/resolver.js similarity index 100% rename from examples/ember-cli/app/resolver.js rename to code/examples/ember-cli/app/resolver.js diff --git a/examples/ember-cli/app/router.js b/code/examples/ember-cli/app/router.js similarity index 100% rename from examples/ember-cli/app/router.js rename to code/examples/ember-cli/app/router.js diff --git a/examples/ember-cli/app/styles/app.css b/code/examples/ember-cli/app/styles/app.css similarity index 100% rename from examples/ember-cli/app/styles/app.css rename to code/examples/ember-cli/app/styles/app.css diff --git a/examples/ember-cli/app/templates/application.hbs b/code/examples/ember-cli/app/templates/application.hbs similarity index 100% rename from examples/ember-cli/app/templates/application.hbs rename to code/examples/ember-cli/app/templates/application.hbs diff --git a/examples/ember-cli/app/templates/components/named-block.hbs b/code/examples/ember-cli/app/templates/components/named-block.hbs similarity index 100% rename from examples/ember-cli/app/templates/components/named-block.hbs rename to code/examples/ember-cli/app/templates/components/named-block.hbs diff --git a/examples/ember-cli/app/templates/components/welcome-banner.hbs b/code/examples/ember-cli/app/templates/components/welcome-banner.hbs similarity index 100% rename from examples/ember-cli/app/templates/components/welcome-banner.hbs rename to code/examples/ember-cli/app/templates/components/welcome-banner.hbs diff --git a/examples/ember-cli/app/templates/components/welcome-page.hbs b/code/examples/ember-cli/app/templates/components/welcome-page.hbs similarity index 100% rename from examples/ember-cli/app/templates/components/welcome-page.hbs rename to code/examples/ember-cli/app/templates/components/welcome-page.hbs diff --git a/examples/ember-cli/config/environment.js b/code/examples/ember-cli/config/environment.js similarity index 100% rename from examples/ember-cli/config/environment.js rename to code/examples/ember-cli/config/environment.js diff --git a/examples/ember-cli/config/optional-features.json b/code/examples/ember-cli/config/optional-features.json similarity index 100% rename from examples/ember-cli/config/optional-features.json rename to code/examples/ember-cli/config/optional-features.json diff --git a/examples/ember-cli/config/targets.js b/code/examples/ember-cli/config/targets.js similarity index 100% rename from examples/ember-cli/config/targets.js rename to code/examples/ember-cli/config/targets.js diff --git a/examples/ember-cli/ember-cli-build.js b/code/examples/ember-cli/ember-cli-build.js similarity index 100% rename from examples/ember-cli/ember-cli-build.js rename to code/examples/ember-cli/ember-cli-build.js diff --git a/examples/ember-cli/package.json b/code/examples/ember-cli/package.json similarity index 100% rename from examples/ember-cli/package.json rename to code/examples/ember-cli/package.json diff --git a/examples/ember-cli/public/logo.png b/code/examples/ember-cli/public/logo.png similarity index 100% rename from examples/ember-cli/public/logo.png rename to code/examples/ember-cli/public/logo.png diff --git a/examples/ember-cli/stories/addon-a11y.stories.js b/code/examples/ember-cli/stories/addon-a11y.stories.js similarity index 100% rename from examples/ember-cli/stories/addon-a11y.stories.js rename to code/examples/ember-cli/stories/addon-a11y.stories.js diff --git a/examples/ember-cli/stories/addon-actions.stories.js b/code/examples/ember-cli/stories/addon-actions.stories.js similarity index 100% rename from examples/ember-cli/stories/addon-actions.stories.js rename to code/examples/ember-cli/stories/addon-actions.stories.js diff --git a/examples/ember-cli/stories/addon-backgrounds.stories.js b/code/examples/ember-cli/stories/addon-backgrounds.stories.js similarity index 100% rename from examples/ember-cli/stories/addon-backgrounds.stories.js rename to code/examples/ember-cli/stories/addon-backgrounds.stories.js diff --git a/examples/ember-cli/stories/addon-controls.stories.js b/code/examples/ember-cli/stories/addon-controls.stories.js similarity index 100% rename from examples/ember-cli/stories/addon-controls.stories.js rename to code/examples/ember-cli/stories/addon-controls.stories.js diff --git a/examples/ember-cli/stories/addon-links.stories.js b/code/examples/ember-cli/stories/addon-links.stories.js similarity index 100% rename from examples/ember-cli/stories/addon-links.stories.js rename to code/examples/ember-cli/stories/addon-links.stories.js diff --git a/examples/ember-cli/stories/index.stories.js b/code/examples/ember-cli/stories/index.stories.js similarity index 100% rename from examples/ember-cli/stories/index.stories.js rename to code/examples/ember-cli/stories/index.stories.js diff --git a/examples/ember-cli/stories/polyfill-example.stories.js b/code/examples/ember-cli/stories/polyfill-example.stories.js similarity index 100% rename from examples/ember-cli/stories/polyfill-example.stories.js rename to code/examples/ember-cli/stories/polyfill-example.stories.js diff --git a/examples/ember-cli/stories/welcome-banner.stories.js b/code/examples/ember-cli/stories/welcome-banner.stories.js similarity index 100% rename from examples/ember-cli/stories/welcome-banner.stories.js rename to code/examples/ember-cli/stories/welcome-banner.stories.js diff --git a/examples/external-docs/.babelrc b/code/examples/external-docs/.babelrc similarity index 100% rename from examples/external-docs/.babelrc rename to code/examples/external-docs/.babelrc diff --git a/examples/external-docs/.storybook/main.cjs b/code/examples/external-docs/.storybook/main.cjs similarity index 100% rename from examples/external-docs/.storybook/main.cjs rename to code/examples/external-docs/.storybook/main.cjs diff --git a/examples/external-docs/.storybook/preview.js b/code/examples/external-docs/.storybook/preview.js similarity index 100% rename from examples/external-docs/.storybook/preview.js rename to code/examples/external-docs/.storybook/preview.js diff --git a/examples/external-docs/README.md b/code/examples/external-docs/README.md similarity index 100% rename from examples/external-docs/README.md rename to code/examples/external-docs/README.md diff --git a/examples/external-docs/components/AccountForm.mdx b/code/examples/external-docs/components/AccountForm.mdx similarity index 100% rename from examples/external-docs/components/AccountForm.mdx rename to code/examples/external-docs/components/AccountForm.mdx diff --git a/examples/external-docs/components/AccountForm.stories.tsx b/code/examples/external-docs/components/AccountForm.stories.tsx similarity index 100% rename from examples/external-docs/components/AccountForm.stories.tsx rename to code/examples/external-docs/components/AccountForm.stories.tsx diff --git a/examples/external-docs/components/AccountForm.tsx b/code/examples/external-docs/components/AccountForm.tsx similarity index 100% rename from examples/external-docs/components/AccountForm.tsx rename to code/examples/external-docs/components/AccountForm.tsx diff --git a/examples/external-docs/components/Introduction.mdx b/code/examples/external-docs/components/Introduction.mdx similarity index 100% rename from examples/external-docs/components/Introduction.mdx rename to code/examples/external-docs/components/Introduction.mdx diff --git a/examples/external-docs/components/Template.mdx b/code/examples/external-docs/components/Template.mdx similarity index 100% rename from examples/external-docs/components/Template.mdx rename to code/examples/external-docs/components/Template.mdx diff --git a/examples/external-docs/components/button.mdx b/code/examples/external-docs/components/button.mdx similarity index 100% rename from examples/external-docs/components/button.mdx rename to code/examples/external-docs/components/button.mdx diff --git a/examples/external-docs/components/button.stories.tsx b/code/examples/external-docs/components/button.stories.tsx similarity index 100% rename from examples/external-docs/components/button.stories.tsx rename to code/examples/external-docs/components/button.stories.tsx diff --git a/examples/external-docs/components/button.tsx b/code/examples/external-docs/components/button.tsx similarity index 100% rename from examples/external-docs/components/button.tsx rename to code/examples/external-docs/components/button.tsx diff --git a/examples/external-docs/components/emoji-button.mdx b/code/examples/external-docs/components/emoji-button.mdx similarity index 100% rename from examples/external-docs/components/emoji-button.mdx rename to code/examples/external-docs/components/emoji-button.mdx diff --git a/examples/external-docs/components/emoji-button.stories.tsx b/code/examples/external-docs/components/emoji-button.stories.tsx similarity index 100% rename from examples/external-docs/components/emoji-button.stories.tsx rename to code/examples/external-docs/components/emoji-button.stories.tsx diff --git a/examples/external-docs/components/emoji-button.tsx b/code/examples/external-docs/components/emoji-button.tsx similarity index 100% rename from examples/external-docs/components/emoji-button.tsx rename to code/examples/external-docs/components/emoji-button.tsx diff --git a/examples/external-docs/next-env.d.ts b/code/examples/external-docs/next-env.d.ts similarity index 100% rename from examples/external-docs/next-env.d.ts rename to code/examples/external-docs/next-env.d.ts diff --git a/examples/external-docs/next.config.js b/code/examples/external-docs/next.config.js similarity index 100% rename from examples/external-docs/next.config.js rename to code/examples/external-docs/next.config.js diff --git a/examples/external-docs/package.json b/code/examples/external-docs/package.json similarity index 100% rename from examples/external-docs/package.json rename to code/examples/external-docs/package.json diff --git a/examples/external-docs/pages/AccountForm.mdx b/code/examples/external-docs/pages/AccountForm.mdx similarity index 100% rename from examples/external-docs/pages/AccountForm.mdx rename to code/examples/external-docs/pages/AccountForm.mdx diff --git a/examples/external-docs/pages/_app.js b/code/examples/external-docs/pages/_app.js similarity index 100% rename from examples/external-docs/pages/_app.js rename to code/examples/external-docs/pages/_app.js diff --git a/examples/external-docs/pages/api/hello.js b/code/examples/external-docs/pages/api/hello.js similarity index 100% rename from examples/external-docs/pages/api/hello.js rename to code/examples/external-docs/pages/api/hello.js diff --git a/examples/external-docs/pages/button.mdx b/code/examples/external-docs/pages/button.mdx similarity index 100% rename from examples/external-docs/pages/button.mdx rename to code/examples/external-docs/pages/button.mdx diff --git a/examples/external-docs/pages/emoji-button.mdx b/code/examples/external-docs/pages/emoji-button.mdx similarity index 100% rename from examples/external-docs/pages/emoji-button.mdx rename to code/examples/external-docs/pages/emoji-button.mdx diff --git a/examples/external-docs/pages/index.mdx b/code/examples/external-docs/pages/index.mdx similarity index 100% rename from examples/external-docs/pages/index.mdx rename to code/examples/external-docs/pages/index.mdx diff --git a/examples/external-docs/pages/nested/item1.mdx b/code/examples/external-docs/pages/nested/item1.mdx similarity index 100% rename from examples/external-docs/pages/nested/item1.mdx rename to code/examples/external-docs/pages/nested/item1.mdx diff --git a/examples/external-docs/pages/nested/item2.mdx b/code/examples/external-docs/pages/nested/item2.mdx similarity index 100% rename from examples/external-docs/pages/nested/item2.mdx rename to code/examples/external-docs/pages/nested/item2.mdx diff --git a/examples/external-docs/pages/setup.mdx b/code/examples/external-docs/pages/setup.mdx similarity index 100% rename from examples/external-docs/pages/setup.mdx rename to code/examples/external-docs/pages/setup.mdx diff --git a/examples/external-docs/public/favicon.ico b/code/examples/external-docs/public/favicon.ico similarity index 100% rename from examples/external-docs/public/favicon.ico rename to code/examples/external-docs/public/favicon.ico diff --git a/examples/external-docs/public/vercel.svg b/code/examples/external-docs/public/vercel.svg similarity index 100% rename from examples/external-docs/public/vercel.svg rename to code/examples/external-docs/public/vercel.svg diff --git a/examples/external-docs/styles/Home.module.css b/code/examples/external-docs/styles/Home.module.css similarity index 100% rename from examples/external-docs/styles/Home.module.css rename to code/examples/external-docs/styles/Home.module.css diff --git a/examples/external-docs/styles/globals.css b/code/examples/external-docs/styles/globals.css similarity index 100% rename from examples/external-docs/styles/globals.css rename to code/examples/external-docs/styles/globals.css diff --git a/examples/external-docs/theme.config.js b/code/examples/external-docs/theme.config.js similarity index 100% rename from examples/external-docs/theme.config.js rename to code/examples/external-docs/theme.config.js diff --git a/examples/external-docs/tsconfig.json b/code/examples/external-docs/tsconfig.json similarity index 100% rename from examples/external-docs/tsconfig.json rename to code/examples/external-docs/tsconfig.json diff --git a/examples/html-kitchen-sink/.storybook/main.ts b/code/examples/html-kitchen-sink/.storybook/main.ts similarity index 100% rename from examples/html-kitchen-sink/.storybook/main.ts rename to code/examples/html-kitchen-sink/.storybook/main.ts diff --git a/examples/html-kitchen-sink/.storybook/preview.js b/code/examples/html-kitchen-sink/.storybook/preview.js similarity index 100% rename from examples/html-kitchen-sink/.storybook/preview.js rename to code/examples/html-kitchen-sink/.storybook/preview.js diff --git a/examples/html-kitchen-sink/babel.config.json b/code/examples/html-kitchen-sink/babel.config.json similarity index 100% rename from examples/html-kitchen-sink/babel.config.json rename to code/examples/html-kitchen-sink/babel.config.json diff --git a/examples/html-kitchen-sink/jest.config.js b/code/examples/html-kitchen-sink/jest.config.js similarity index 100% rename from examples/html-kitchen-sink/jest.config.js rename to code/examples/html-kitchen-sink/jest.config.js diff --git a/examples/html-kitchen-sink/package.json b/code/examples/html-kitchen-sink/package.json similarity index 100% rename from examples/html-kitchen-sink/package.json rename to code/examples/html-kitchen-sink/package.json diff --git a/examples/html-kitchen-sink/postcss.config.js b/code/examples/html-kitchen-sink/postcss.config.js similarity index 100% rename from examples/html-kitchen-sink/postcss.config.js rename to code/examples/html-kitchen-sink/postcss.config.js diff --git a/examples/html-kitchen-sink/stories/__snapshots__/addon-a11y.stories.storyshot b/code/examples/html-kitchen-sink/stories/__snapshots__/addon-a11y.stories.storyshot similarity index 100% rename from examples/html-kitchen-sink/stories/__snapshots__/addon-a11y.stories.storyshot rename to code/examples/html-kitchen-sink/stories/__snapshots__/addon-a11y.stories.storyshot diff --git a/examples/html-kitchen-sink/stories/__snapshots__/addon-actions.stories.storyshot b/code/examples/html-kitchen-sink/stories/__snapshots__/addon-actions.stories.storyshot similarity index 100% rename from examples/html-kitchen-sink/stories/__snapshots__/addon-actions.stories.storyshot rename to code/examples/html-kitchen-sink/stories/__snapshots__/addon-actions.stories.storyshot diff --git a/examples/html-kitchen-sink/stories/__snapshots__/addon-backgrounds.stories.storyshot b/code/examples/html-kitchen-sink/stories/__snapshots__/addon-backgrounds.stories.storyshot similarity index 100% rename from examples/html-kitchen-sink/stories/__snapshots__/addon-backgrounds.stories.storyshot rename to code/examples/html-kitchen-sink/stories/__snapshots__/addon-backgrounds.stories.storyshot diff --git a/examples/html-kitchen-sink/stories/__snapshots__/addon-controls.stories.storyshot b/code/examples/html-kitchen-sink/stories/__snapshots__/addon-controls.stories.storyshot similarity index 100% rename from examples/html-kitchen-sink/stories/__snapshots__/addon-controls.stories.storyshot rename to code/examples/html-kitchen-sink/stories/__snapshots__/addon-controls.stories.storyshot diff --git a/examples/html-kitchen-sink/stories/__snapshots__/addon-docs.stories.storyshot b/code/examples/html-kitchen-sink/stories/__snapshots__/addon-docs.stories.storyshot similarity index 100% rename from examples/html-kitchen-sink/stories/__snapshots__/addon-docs.stories.storyshot rename to code/examples/html-kitchen-sink/stories/__snapshots__/addon-docs.stories.storyshot diff --git a/examples/html-kitchen-sink/stories/__snapshots__/addon-jest.stories.storyshot b/code/examples/html-kitchen-sink/stories/__snapshots__/addon-jest.stories.storyshot similarity index 100% rename from examples/html-kitchen-sink/stories/__snapshots__/addon-jest.stories.storyshot rename to code/examples/html-kitchen-sink/stories/__snapshots__/addon-jest.stories.storyshot diff --git a/examples/html-kitchen-sink/stories/__snapshots__/button.stories.storyshot b/code/examples/html-kitchen-sink/stories/__snapshots__/button.stories.storyshot similarity index 100% rename from examples/html-kitchen-sink/stories/__snapshots__/button.stories.storyshot rename to code/examples/html-kitchen-sink/stories/__snapshots__/button.stories.storyshot diff --git a/examples/html-kitchen-sink/stories/__snapshots__/loaders.stories.storyshot b/code/examples/html-kitchen-sink/stories/__snapshots__/loaders.stories.storyshot similarity index 100% rename from examples/html-kitchen-sink/stories/__snapshots__/loaders.stories.storyshot rename to code/examples/html-kitchen-sink/stories/__snapshots__/loaders.stories.storyshot diff --git a/examples/html-kitchen-sink/stories/__snapshots__/source-loader.stories.storyshot b/code/examples/html-kitchen-sink/stories/__snapshots__/source-loader.stories.storyshot similarity index 100% rename from examples/html-kitchen-sink/stories/__snapshots__/source-loader.stories.storyshot rename to code/examples/html-kitchen-sink/stories/__snapshots__/source-loader.stories.storyshot diff --git a/examples/html-kitchen-sink/stories/__snapshots__/welcome.stories.storyshot b/code/examples/html-kitchen-sink/stories/__snapshots__/welcome.stories.storyshot similarity index 100% rename from examples/html-kitchen-sink/stories/__snapshots__/welcome.stories.storyshot rename to code/examples/html-kitchen-sink/stories/__snapshots__/welcome.stories.storyshot diff --git a/examples/html-kitchen-sink/stories/addon-a11y.stories.js b/code/examples/html-kitchen-sink/stories/addon-a11y.stories.js similarity index 100% rename from examples/html-kitchen-sink/stories/addon-a11y.stories.js rename to code/examples/html-kitchen-sink/stories/addon-a11y.stories.js diff --git a/examples/html-kitchen-sink/stories/addon-actions.stories.js b/code/examples/html-kitchen-sink/stories/addon-actions.stories.js similarity index 100% rename from examples/html-kitchen-sink/stories/addon-actions.stories.js rename to code/examples/html-kitchen-sink/stories/addon-actions.stories.js diff --git a/examples/html-kitchen-sink/stories/addon-backgrounds.stories.js b/code/examples/html-kitchen-sink/stories/addon-backgrounds.stories.js similarity index 100% rename from examples/html-kitchen-sink/stories/addon-backgrounds.stories.js rename to code/examples/html-kitchen-sink/stories/addon-backgrounds.stories.js diff --git a/examples/html-kitchen-sink/stories/addon-controls.stories.js b/code/examples/html-kitchen-sink/stories/addon-controls.stories.js similarity index 100% rename from examples/html-kitchen-sink/stories/addon-controls.stories.js rename to code/examples/html-kitchen-sink/stories/addon-controls.stories.js diff --git a/examples/html-kitchen-sink/stories/addon-docs.stories.mdx b/code/examples/html-kitchen-sink/stories/addon-docs.stories.mdx similarity index 100% rename from examples/html-kitchen-sink/stories/addon-docs.stories.mdx rename to code/examples/html-kitchen-sink/stories/addon-docs.stories.mdx diff --git a/examples/html-kitchen-sink/stories/addon-jest.stories.js b/code/examples/html-kitchen-sink/stories/addon-jest.stories.js similarity index 100% rename from examples/html-kitchen-sink/stories/addon-jest.stories.js rename to code/examples/html-kitchen-sink/stories/addon-jest.stories.js diff --git a/examples/html-kitchen-sink/stories/addon-jest.testresults.json b/code/examples/html-kitchen-sink/stories/addon-jest.testresults.json similarity index 100% rename from examples/html-kitchen-sink/stories/addon-jest.testresults.json rename to code/examples/html-kitchen-sink/stories/addon-jest.testresults.json diff --git a/examples/html-kitchen-sink/stories/button.html b/code/examples/html-kitchen-sink/stories/button.html similarity index 100% rename from examples/html-kitchen-sink/stories/button.html rename to code/examples/html-kitchen-sink/stories/button.html diff --git a/examples/html-kitchen-sink/stories/button.stories.js b/code/examples/html-kitchen-sink/stories/button.stories.js similarity index 100% rename from examples/html-kitchen-sink/stories/button.stories.js rename to code/examples/html-kitchen-sink/stories/button.stories.js diff --git a/examples/html-kitchen-sink/stories/from-essentials/Button.stories.ts b/code/examples/html-kitchen-sink/stories/from-essentials/Button.stories.ts similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/Button.stories.ts rename to code/examples/html-kitchen-sink/stories/from-essentials/Button.stories.ts diff --git a/examples/html-kitchen-sink/stories/from-essentials/Button.ts b/code/examples/html-kitchen-sink/stories/from-essentials/Button.ts similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/Button.ts rename to code/examples/html-kitchen-sink/stories/from-essentials/Button.ts diff --git a/examples/html-kitchen-sink/stories/from-essentials/Header.stories.ts b/code/examples/html-kitchen-sink/stories/from-essentials/Header.stories.ts similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/Header.stories.ts rename to code/examples/html-kitchen-sink/stories/from-essentials/Header.stories.ts diff --git a/examples/html-kitchen-sink/stories/from-essentials/Header.ts b/code/examples/html-kitchen-sink/stories/from-essentials/Header.ts similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/Header.ts rename to code/examples/html-kitchen-sink/stories/from-essentials/Header.ts diff --git a/examples/html-kitchen-sink/stories/from-essentials/Page.stories.ts b/code/examples/html-kitchen-sink/stories/from-essentials/Page.stories.ts similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/Page.stories.ts rename to code/examples/html-kitchen-sink/stories/from-essentials/Page.stories.ts diff --git a/examples/html-kitchen-sink/stories/from-essentials/Page.ts b/code/examples/html-kitchen-sink/stories/from-essentials/Page.ts similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/Page.ts rename to code/examples/html-kitchen-sink/stories/from-essentials/Page.ts diff --git a/examples/html-kitchen-sink/stories/from-essentials/__snapshots__/Button.stories.storyshot b/code/examples/html-kitchen-sink/stories/from-essentials/__snapshots__/Button.stories.storyshot similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/__snapshots__/Button.stories.storyshot rename to code/examples/html-kitchen-sink/stories/from-essentials/__snapshots__/Button.stories.storyshot diff --git a/examples/html-kitchen-sink/stories/from-essentials/__snapshots__/Header.stories.storyshot b/code/examples/html-kitchen-sink/stories/from-essentials/__snapshots__/Header.stories.storyshot similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/__snapshots__/Header.stories.storyshot rename to code/examples/html-kitchen-sink/stories/from-essentials/__snapshots__/Header.stories.storyshot diff --git a/examples/html-kitchen-sink/stories/from-essentials/__snapshots__/Page.stories.storyshot b/code/examples/html-kitchen-sink/stories/from-essentials/__snapshots__/Page.stories.storyshot similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/__snapshots__/Page.stories.storyshot rename to code/examples/html-kitchen-sink/stories/from-essentials/__snapshots__/Page.stories.storyshot diff --git a/examples/html-kitchen-sink/stories/from-essentials/assets/code-brackets.svg b/code/examples/html-kitchen-sink/stories/from-essentials/assets/code-brackets.svg similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/assets/code-brackets.svg rename to code/examples/html-kitchen-sink/stories/from-essentials/assets/code-brackets.svg diff --git a/examples/html-kitchen-sink/stories/from-essentials/assets/colors.svg b/code/examples/html-kitchen-sink/stories/from-essentials/assets/colors.svg similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/assets/colors.svg rename to code/examples/html-kitchen-sink/stories/from-essentials/assets/colors.svg diff --git a/examples/html-kitchen-sink/stories/from-essentials/assets/comments.svg b/code/examples/html-kitchen-sink/stories/from-essentials/assets/comments.svg similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/assets/comments.svg rename to code/examples/html-kitchen-sink/stories/from-essentials/assets/comments.svg diff --git a/examples/html-kitchen-sink/stories/from-essentials/assets/direction.svg b/code/examples/html-kitchen-sink/stories/from-essentials/assets/direction.svg similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/assets/direction.svg rename to code/examples/html-kitchen-sink/stories/from-essentials/assets/direction.svg diff --git a/examples/html-kitchen-sink/stories/from-essentials/assets/flow.svg b/code/examples/html-kitchen-sink/stories/from-essentials/assets/flow.svg similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/assets/flow.svg rename to code/examples/html-kitchen-sink/stories/from-essentials/assets/flow.svg diff --git a/examples/html-kitchen-sink/stories/from-essentials/assets/plugin.svg b/code/examples/html-kitchen-sink/stories/from-essentials/assets/plugin.svg similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/assets/plugin.svg rename to code/examples/html-kitchen-sink/stories/from-essentials/assets/plugin.svg diff --git a/examples/html-kitchen-sink/stories/from-essentials/assets/repo.svg b/code/examples/html-kitchen-sink/stories/from-essentials/assets/repo.svg similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/assets/repo.svg rename to code/examples/html-kitchen-sink/stories/from-essentials/assets/repo.svg diff --git a/examples/html-kitchen-sink/stories/from-essentials/assets/stackalt.svg b/code/examples/html-kitchen-sink/stories/from-essentials/assets/stackalt.svg similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/assets/stackalt.svg rename to code/examples/html-kitchen-sink/stories/from-essentials/assets/stackalt.svg diff --git a/examples/html-kitchen-sink/stories/from-essentials/button.css b/code/examples/html-kitchen-sink/stories/from-essentials/button.css similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/button.css rename to code/examples/html-kitchen-sink/stories/from-essentials/button.css diff --git a/examples/html-kitchen-sink/stories/from-essentials/header.css b/code/examples/html-kitchen-sink/stories/from-essentials/header.css similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/header.css rename to code/examples/html-kitchen-sink/stories/from-essentials/header.css diff --git a/examples/html-kitchen-sink/stories/from-essentials/page.css b/code/examples/html-kitchen-sink/stories/from-essentials/page.css similarity index 100% rename from examples/html-kitchen-sink/stories/from-essentials/page.css rename to code/examples/html-kitchen-sink/stories/from-essentials/page.css diff --git a/examples/html-kitchen-sink/stories/loaders.stories.js b/code/examples/html-kitchen-sink/stories/loaders.stories.js similarity index 100% rename from examples/html-kitchen-sink/stories/loaders.stories.js rename to code/examples/html-kitchen-sink/stories/loaders.stories.js diff --git a/examples/html-kitchen-sink/stories/logo.svg b/code/examples/html-kitchen-sink/stories/logo.svg similarity index 100% rename from examples/html-kitchen-sink/stories/logo.svg rename to code/examples/html-kitchen-sink/stories/logo.svg diff --git a/examples/html-kitchen-sink/stories/source-loader.stories.js b/code/examples/html-kitchen-sink/stories/source-loader.stories.js similarity index 100% rename from examples/html-kitchen-sink/stories/source-loader.stories.js rename to code/examples/html-kitchen-sink/stories/source-loader.stories.js diff --git a/examples/html-kitchen-sink/stories/welcome.css b/code/examples/html-kitchen-sink/stories/welcome.css similarity index 100% rename from examples/html-kitchen-sink/stories/welcome.css rename to code/examples/html-kitchen-sink/stories/welcome.css diff --git a/examples/html-kitchen-sink/stories/welcome.html b/code/examples/html-kitchen-sink/stories/welcome.html similarity index 100% rename from examples/html-kitchen-sink/stories/welcome.html rename to code/examples/html-kitchen-sink/stories/welcome.html diff --git a/examples/html-kitchen-sink/stories/welcome.stories.js b/code/examples/html-kitchen-sink/stories/welcome.stories.js similarity index 100% rename from examples/html-kitchen-sink/stories/welcome.stories.js rename to code/examples/html-kitchen-sink/stories/welcome.stories.js diff --git a/examples/html-kitchen-sink/tests/addon-jest.config.json b/code/examples/html-kitchen-sink/tests/addon-jest.config.json similarity index 75% rename from examples/html-kitchen-sink/tests/addon-jest.config.json rename to code/examples/html-kitchen-sink/tests/addon-jest.config.json index e6e886d95ac2..b550c2b11067 100644 --- a/examples/html-kitchen-sink/tests/addon-jest.config.json +++ b/code/examples/html-kitchen-sink/tests/addon-jest.config.json @@ -5,6 +5,6 @@ "transform": { ".*": "babel-jest" }, - "setupFilesAfterEnv": ["/scripts/jest.init.js"], + "setupFilesAfterEnv": ["/../scripts/jest.init.js"], "testMatch": ["/examples/official-storybook/tests/addon-jest.test.js"] } diff --git a/examples/html-kitchen-sink/tests/addon-jest.test.js b/code/examples/html-kitchen-sink/tests/addon-jest.test.js similarity index 100% rename from examples/html-kitchen-sink/tests/addon-jest.test.js rename to code/examples/html-kitchen-sink/tests/addon-jest.test.js diff --git a/examples/html-kitchen-sink/tests/htmlshots.test.js b/code/examples/html-kitchen-sink/tests/htmlshots.test.js similarity index 100% rename from examples/html-kitchen-sink/tests/htmlshots.test.js rename to code/examples/html-kitchen-sink/tests/htmlshots.test.js diff --git a/examples/html-kitchen-sink/typings.d.ts b/code/examples/html-kitchen-sink/typings.d.ts similarity index 100% rename from examples/html-kitchen-sink/typings.d.ts rename to code/examples/html-kitchen-sink/typings.d.ts diff --git a/examples/official-storybook/.env b/code/examples/official-storybook/.env similarity index 100% rename from examples/official-storybook/.env rename to code/examples/official-storybook/.env diff --git a/examples/official-storybook/.env.development b/code/examples/official-storybook/.env.development similarity index 100% rename from examples/official-storybook/.env.development rename to code/examples/official-storybook/.env.development diff --git a/examples/official-storybook/README.md b/code/examples/official-storybook/README.md similarity index 100% rename from examples/official-storybook/README.md rename to code/examples/official-storybook/README.md diff --git a/examples/official-storybook/babel.config.js b/code/examples/official-storybook/babel.config.js similarity index 100% rename from examples/official-storybook/babel.config.js rename to code/examples/official-storybook/babel.config.js diff --git a/examples/official-storybook/components/BaseButton.js b/code/examples/official-storybook/components/BaseButton.js similarity index 100% rename from examples/official-storybook/components/BaseButton.js rename to code/examples/official-storybook/components/BaseButton.js diff --git a/examples/official-storybook/components/ButtonGroup.js b/code/examples/official-storybook/components/ButtonGroup.js similarity index 100% rename from examples/official-storybook/components/ButtonGroup.js rename to code/examples/official-storybook/components/ButtonGroup.js diff --git a/examples/official-storybook/components/DelayedRender.js b/code/examples/official-storybook/components/DelayedRender.js similarity index 100% rename from examples/official-storybook/components/DelayedRender.js rename to code/examples/official-storybook/components/DelayedRender.js diff --git a/examples/official-storybook/components/DocgenButton.js b/code/examples/official-storybook/components/DocgenButton.js similarity index 100% rename from examples/official-storybook/components/DocgenButton.js rename to code/examples/official-storybook/components/DocgenButton.js diff --git a/examples/official-storybook/components/ForwardRefButton.js b/code/examples/official-storybook/components/ForwardRefButton.js similarity index 100% rename from examples/official-storybook/components/ForwardRefButton.js rename to code/examples/official-storybook/components/ForwardRefButton.js diff --git a/examples/official-storybook/components/ImportedPropsButton.js b/code/examples/official-storybook/components/ImportedPropsButton.js similarity index 100% rename from examples/official-storybook/components/ImportedPropsButton.js rename to code/examples/official-storybook/components/ImportedPropsButton.js diff --git a/examples/official-storybook/components/MemoButton.js b/code/examples/official-storybook/components/MemoButton.js similarity index 100% rename from examples/official-storybook/components/MemoButton.js rename to code/examples/official-storybook/components/MemoButton.js diff --git a/examples/official-storybook/components/NamedExportButton.js b/code/examples/official-storybook/components/NamedExportButton.js similarity index 100% rename from examples/official-storybook/components/NamedExportButton.js rename to code/examples/official-storybook/components/NamedExportButton.js diff --git a/examples/official-storybook/components/OptionalButton.tsx b/code/examples/official-storybook/components/OptionalButton.tsx similarity index 100% rename from examples/official-storybook/components/OptionalButton.tsx rename to code/examples/official-storybook/components/OptionalButton.tsx diff --git a/examples/official-storybook/components/TableComponent.js b/code/examples/official-storybook/components/TableComponent.js similarity index 100% rename from examples/official-storybook/components/TableComponent.js rename to code/examples/official-storybook/components/TableComponent.js diff --git a/examples/official-storybook/components/TsButton.tsx b/code/examples/official-storybook/components/TsButton.tsx similarity index 100% rename from examples/official-storybook/components/TsButton.tsx rename to code/examples/official-storybook/components/TsButton.tsx diff --git a/examples/official-storybook/components/addon-a11y/Button.js b/code/examples/official-storybook/components/addon-a11y/Button.js similarity index 100% rename from examples/official-storybook/components/addon-a11y/Button.js rename to code/examples/official-storybook/components/addon-a11y/Button.js diff --git a/examples/official-storybook/components/addon-a11y/Form/Input.js b/code/examples/official-storybook/components/addon-a11y/Form/Input.js similarity index 100% rename from examples/official-storybook/components/addon-a11y/Form/Input.js rename to code/examples/official-storybook/components/addon-a11y/Form/Input.js diff --git a/examples/official-storybook/components/addon-a11y/Form/Label.js b/code/examples/official-storybook/components/addon-a11y/Form/Label.js similarity index 100% rename from examples/official-storybook/components/addon-a11y/Form/Label.js rename to code/examples/official-storybook/components/addon-a11y/Form/Label.js diff --git a/examples/official-storybook/components/addon-a11y/Form/Row.js b/code/examples/official-storybook/components/addon-a11y/Form/Row.js similarity index 100% rename from examples/official-storybook/components/addon-a11y/Form/Row.js rename to code/examples/official-storybook/components/addon-a11y/Form/Row.js diff --git a/examples/official-storybook/components/addon-a11y/Form/index.js b/code/examples/official-storybook/components/addon-a11y/Form/index.js similarity index 100% rename from examples/official-storybook/components/addon-a11y/Form/index.js rename to code/examples/official-storybook/components/addon-a11y/Form/index.js diff --git a/examples/official-storybook/components/addon-measure/ShadowRoot.js b/code/examples/official-storybook/components/addon-measure/ShadowRoot.js similarity index 100% rename from examples/official-storybook/components/addon-measure/ShadowRoot.js rename to code/examples/official-storybook/components/addon-measure/ShadowRoot.js diff --git a/examples/official-storybook/components/addon-measure/Visualization.js b/code/examples/official-storybook/components/addon-measure/Visualization.js similarity index 100% rename from examples/official-storybook/components/addon-measure/Visualization.js rename to code/examples/official-storybook/components/addon-measure/Visualization.js diff --git a/examples/official-storybook/components/page/Button.js b/code/examples/official-storybook/components/page/Button.js similarity index 100% rename from examples/official-storybook/components/page/Button.js rename to code/examples/official-storybook/components/page/Button.js diff --git a/examples/official-storybook/components/page/Header.js b/code/examples/official-storybook/components/page/Header.js similarity index 100% rename from examples/official-storybook/components/page/Header.js rename to code/examples/official-storybook/components/page/Header.js diff --git a/examples/official-storybook/components/page/Page.js b/code/examples/official-storybook/components/page/Page.js similarity index 100% rename from examples/official-storybook/components/page/Page.js rename to code/examples/official-storybook/components/page/Page.js diff --git a/examples/official-storybook/components/page/button.css b/code/examples/official-storybook/components/page/button.css similarity index 100% rename from examples/official-storybook/components/page/button.css rename to code/examples/official-storybook/components/page/button.css diff --git a/examples/official-storybook/components/page/header.css b/code/examples/official-storybook/components/page/header.css similarity index 100% rename from examples/official-storybook/components/page/header.css rename to code/examples/official-storybook/components/page/header.css diff --git a/examples/official-storybook/components/page/page.css b/code/examples/official-storybook/components/page/page.css similarity index 100% rename from examples/official-storybook/components/page/page.css rename to code/examples/official-storybook/components/page/page.css diff --git a/examples/official-storybook/components/react-demo.tsx b/code/examples/official-storybook/components/react-demo.tsx similarity index 100% rename from examples/official-storybook/components/react-demo.tsx rename to code/examples/official-storybook/components/react-demo.tsx diff --git a/examples/official-storybook/head-warning.js b/code/examples/official-storybook/head-warning.js similarity index 100% rename from examples/official-storybook/head-warning.js rename to code/examples/official-storybook/head-warning.js diff --git a/examples/official-storybook/intro.stories.mdx b/code/examples/official-storybook/intro.stories.mdx similarity index 100% rename from examples/official-storybook/intro.stories.mdx rename to code/examples/official-storybook/intro.stories.mdx diff --git a/examples/official-storybook/main.ts b/code/examples/official-storybook/main.ts similarity index 100% rename from examples/official-storybook/main.ts rename to code/examples/official-storybook/main.ts diff --git a/examples/official-storybook/manager-head.html b/code/examples/official-storybook/manager-head.html similarity index 100% rename from examples/official-storybook/manager-head.html rename to code/examples/official-storybook/manager-head.html diff --git a/examples/official-storybook/manager.js b/code/examples/official-storybook/manager.js similarity index 100% rename from examples/official-storybook/manager.js rename to code/examples/official-storybook/manager.js diff --git a/examples/official-storybook/package.json b/code/examples/official-storybook/package.json similarity index 100% rename from examples/official-storybook/package.json rename to code/examples/official-storybook/package.json diff --git a/examples/official-storybook/preview-head.html b/code/examples/official-storybook/preview-head.html similarity index 100% rename from examples/official-storybook/preview-head.html rename to code/examples/official-storybook/preview-head.html diff --git a/examples/official-storybook/preview.js b/code/examples/official-storybook/preview.js similarity index 100% rename from examples/official-storybook/preview.js rename to code/examples/official-storybook/preview.js diff --git a/examples/official-storybook/statics/examples/example1/example1.txt b/code/examples/official-storybook/statics/examples/example1/example1.txt similarity index 100% rename from examples/official-storybook/statics/examples/example1/example1.txt rename to code/examples/official-storybook/statics/examples/example1/example1.txt diff --git a/examples/official-storybook/statics/examples/example2/example2.txt b/code/examples/official-storybook/statics/examples/example2/example2.txt similarity index 100% rename from examples/official-storybook/statics/examples/example2/example2.txt rename to code/examples/official-storybook/statics/examples/example2/example2.txt diff --git a/examples/official-storybook/statics/public/public.txt b/code/examples/official-storybook/statics/public/public.txt similarity index 100% rename from examples/official-storybook/statics/public/public.txt rename to code/examples/official-storybook/statics/public/public.txt diff --git a/examples/official-storybook/stories/addon-a11y/base-button.stories.js b/code/examples/official-storybook/stories/addon-a11y/base-button.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-a11y/base-button.stories.js rename to code/examples/official-storybook/stories/addon-a11y/base-button.stories.js diff --git a/examples/official-storybook/stories/addon-a11y/button.stories.js b/code/examples/official-storybook/stories/addon-a11y/button.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-a11y/button.stories.js rename to code/examples/official-storybook/stories/addon-a11y/button.stories.js diff --git a/examples/official-storybook/stories/addon-a11y/form.stories.js b/code/examples/official-storybook/stories/addon-a11y/form.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-a11y/form.stories.js rename to code/examples/official-storybook/stories/addon-a11y/form.stories.js diff --git a/examples/official-storybook/stories/addon-a11y/highlight.stories.js b/code/examples/official-storybook/stories/addon-a11y/highlight.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-a11y/highlight.stories.js rename to code/examples/official-storybook/stories/addon-a11y/highlight.stories.js diff --git a/examples/official-storybook/stories/addon-a11y/image.stories.js b/code/examples/official-storybook/stories/addon-a11y/image.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-a11y/image.stories.js rename to code/examples/official-storybook/stories/addon-a11y/image.stories.js diff --git a/examples/official-storybook/stories/addon-a11y/parameters.stories.js b/code/examples/official-storybook/stories/addon-a11y/parameters.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-a11y/parameters.stories.js rename to code/examples/official-storybook/stories/addon-a11y/parameters.stories.js diff --git a/examples/official-storybook/stories/addon-a11y/typography.stories.js b/code/examples/official-storybook/stories/addon-a11y/typography.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-a11y/typography.stories.js rename to code/examples/official-storybook/stories/addon-a11y/typography.stories.js diff --git a/examples/official-storybook/stories/addon-actions.stories.js b/code/examples/official-storybook/stories/addon-actions.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-actions.stories.js rename to code/examples/official-storybook/stories/addon-actions.stories.js diff --git a/examples/official-storybook/stories/addon-backgrounds.stories.js b/code/examples/official-storybook/stories/addon-backgrounds.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-backgrounds.stories.js rename to code/examples/official-storybook/stories/addon-backgrounds.stories.js diff --git a/examples/official-storybook/stories/addon-controls.stories.tsx b/code/examples/official-storybook/stories/addon-controls.stories.tsx similarity index 100% rename from examples/official-storybook/stories/addon-controls.stories.tsx rename to code/examples/official-storybook/stories/addon-controls.stories.tsx diff --git a/examples/official-storybook/stories/addon-docs/addon-docs-blocks.stories.js b/code/examples/official-storybook/stories/addon-docs/addon-docs-blocks.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-docs/addon-docs-blocks.stories.js rename to code/examples/official-storybook/stories/addon-docs/addon-docs-blocks.stories.js diff --git a/examples/official-storybook/stories/addon-docs/addon-docs-mdx.stories.mdx b/code/examples/official-storybook/stories/addon-docs/addon-docs-mdx.stories.mdx similarity index 100% rename from examples/official-storybook/stories/addon-docs/addon-docs-mdx.stories.mdx rename to code/examples/official-storybook/stories/addon-docs/addon-docs-mdx.stories.mdx diff --git a/examples/official-storybook/stories/addon-docs/addon-docs.stories.js b/code/examples/official-storybook/stories/addon-docs/addon-docs.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-docs/addon-docs.stories.js rename to code/examples/official-storybook/stories/addon-docs/addon-docs.stories.js diff --git a/examples/official-storybook/stories/addon-docs/array-subcomponents.stories.js b/code/examples/official-storybook/stories/addon-docs/array-subcomponents.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-docs/array-subcomponents.stories.js rename to code/examples/official-storybook/stories/addon-docs/array-subcomponents.stories.js diff --git a/examples/official-storybook/stories/addon-docs/colorpalette.stories.mdx b/code/examples/official-storybook/stories/addon-docs/colorpalette.stories.mdx similarity index 100% rename from examples/official-storybook/stories/addon-docs/colorpalette.stories.mdx rename to code/examples/official-storybook/stories/addon-docs/colorpalette.stories.mdx diff --git a/examples/official-storybook/stories/addon-docs/container-override.stories.mdx b/code/examples/official-storybook/stories/addon-docs/container-override.stories.mdx similarity index 100% rename from examples/official-storybook/stories/addon-docs/container-override.stories.mdx rename to code/examples/official-storybook/stories/addon-docs/container-override.stories.mdx diff --git a/examples/official-storybook/stories/addon-docs/csf-with-mdx-docs.stories.js b/code/examples/official-storybook/stories/addon-docs/csf-with-mdx-docs.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-docs/csf-with-mdx-docs.stories.js rename to code/examples/official-storybook/stories/addon-docs/csf-with-mdx-docs.stories.js diff --git a/examples/official-storybook/stories/addon-docs/csf-with-mdx-docs.stories.mdx b/code/examples/official-storybook/stories/addon-docs/csf-with-mdx-docs.stories.mdx similarity index 100% rename from examples/official-storybook/stories/addon-docs/csf-with-mdx-docs.stories.mdx rename to code/examples/official-storybook/stories/addon-docs/csf-with-mdx-docs.stories.mdx diff --git a/examples/official-storybook/stories/addon-docs/csf3.stories.mdx b/code/examples/official-storybook/stories/addon-docs/csf3.stories.mdx similarity index 100% rename from examples/official-storybook/stories/addon-docs/csf3.stories.mdx rename to code/examples/official-storybook/stories/addon-docs/csf3.stories.mdx diff --git a/examples/official-storybook/stories/addon-docs/docs-only.stories.mdx b/code/examples/official-storybook/stories/addon-docs/docs-only.stories.mdx similarity index 100% rename from examples/official-storybook/stories/addon-docs/docs-only.stories.mdx rename to code/examples/official-storybook/stories/addon-docs/docs-only.stories.mdx diff --git a/examples/official-storybook/stories/addon-docs/dynamic-title.stories.js b/code/examples/official-storybook/stories/addon-docs/dynamic-title.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-docs/dynamic-title.stories.js rename to code/examples/official-storybook/stories/addon-docs/dynamic-title.stories.js diff --git a/examples/official-storybook/stories/addon-docs/forward-ref-inner-proptypes.stories.js b/code/examples/official-storybook/stories/addon-docs/forward-ref-inner-proptypes.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-docs/forward-ref-inner-proptypes.stories.js rename to code/examples/official-storybook/stories/addon-docs/forward-ref-inner-proptypes.stories.js diff --git a/examples/official-storybook/stories/addon-docs/forward-ref-outer-proptypes.stories.js b/code/examples/official-storybook/stories/addon-docs/forward-ref-outer-proptypes.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-docs/forward-ref-outer-proptypes.stories.js rename to code/examples/official-storybook/stories/addon-docs/forward-ref-outer-proptypes.stories.js diff --git a/examples/official-storybook/stories/addon-docs/imported.stories.tsx b/code/examples/official-storybook/stories/addon-docs/imported.stories.tsx similarity index 100% rename from examples/official-storybook/stories/addon-docs/imported.stories.tsx rename to code/examples/official-storybook/stories/addon-docs/imported.stories.tsx diff --git a/examples/official-storybook/stories/addon-docs/markdown.stories.mdx b/code/examples/official-storybook/stories/addon-docs/markdown.stories.mdx similarity index 100% rename from examples/official-storybook/stories/addon-docs/markdown.stories.mdx rename to code/examples/official-storybook/stories/addon-docs/markdown.stories.mdx diff --git a/examples/official-storybook/stories/addon-docs/mdx.stories.js b/code/examples/official-storybook/stories/addon-docs/mdx.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-docs/mdx.stories.js rename to code/examples/official-storybook/stories/addon-docs/mdx.stories.js diff --git a/examples/official-storybook/stories/addon-docs/memo.stories.js b/code/examples/official-storybook/stories/addon-docs/memo.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-docs/memo.stories.js rename to code/examples/official-storybook/stories/addon-docs/memo.stories.js diff --git a/examples/official-storybook/stories/addon-docs/meta-string-template.stories.mdx b/code/examples/official-storybook/stories/addon-docs/meta-string-template.stories.mdx similarity index 100% rename from examples/official-storybook/stories/addon-docs/meta-string-template.stories.mdx rename to code/examples/official-storybook/stories/addon-docs/meta-string-template.stories.mdx diff --git a/examples/official-storybook/stories/addon-docs/meta-title-quotes.stories.mdx b/code/examples/official-storybook/stories/addon-docs/meta-title-quotes.stories.mdx similarity index 100% rename from examples/official-storybook/stories/addon-docs/meta-title-quotes.stories.mdx rename to code/examples/official-storybook/stories/addon-docs/meta-title-quotes.stories.mdx diff --git a/examples/official-storybook/stories/addon-docs/mixed-leaves-component.stories.js b/code/examples/official-storybook/stories/addon-docs/mixed-leaves-component.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-docs/mixed-leaves-component.stories.js rename to code/examples/official-storybook/stories/addon-docs/mixed-leaves-component.stories.js diff --git a/examples/official-storybook/stories/addon-docs/mixed-leaves-folder.stories.js b/code/examples/official-storybook/stories/addon-docs/mixed-leaves-folder.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-docs/mixed-leaves-folder.stories.js rename to code/examples/official-storybook/stories/addon-docs/mixed-leaves-folder.stories.js diff --git a/examples/official-storybook/stories/addon-docs/props-include-exclude.stories.mdx b/code/examples/official-storybook/stories/addon-docs/props-include-exclude.stories.mdx similarity index 100% rename from examples/official-storybook/stories/addon-docs/props-include-exclude.stories.mdx rename to code/examples/official-storybook/stories/addon-docs/props-include-exclude.stories.mdx diff --git a/examples/official-storybook/stories/addon-docs/props.stories.mdx b/code/examples/official-storybook/stories/addon-docs/props.stories.mdx similarity index 100% rename from examples/official-storybook/stories/addon-docs/props.stories.mdx rename to code/examples/official-storybook/stories/addon-docs/props.stories.mdx diff --git a/examples/official-storybook/stories/addon-docs/ref.stories.mdx b/code/examples/official-storybook/stories/addon-docs/ref.stories.mdx similarity index 100% rename from examples/official-storybook/stories/addon-docs/ref.stories.mdx rename to code/examples/official-storybook/stories/addon-docs/ref.stories.mdx diff --git a/examples/official-storybook/stories/addon-docs/source.stories.tsx b/code/examples/official-storybook/stories/addon-docs/source.stories.tsx similarity index 100% rename from examples/official-storybook/stories/addon-docs/source.stories.tsx rename to code/examples/official-storybook/stories/addon-docs/source.stories.tsx diff --git a/examples/official-storybook/stories/addon-docs/stories.mdx b/code/examples/official-storybook/stories/addon-docs/stories.mdx similarity index 100% rename from examples/official-storybook/stories/addon-docs/stories.mdx rename to code/examples/official-storybook/stories/addon-docs/stories.mdx diff --git a/examples/official-storybook/stories/addon-docs/subcomponents.stories.js b/code/examples/official-storybook/stories/addon-docs/subcomponents.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-docs/subcomponents.stories.js rename to code/examples/official-storybook/stories/addon-docs/subcomponents.stories.js diff --git a/examples/official-storybook/stories/addon-docs/title-generators.ts b/code/examples/official-storybook/stories/addon-docs/title-generators.ts similarity index 100% rename from examples/official-storybook/stories/addon-docs/title-generators.ts rename to code/examples/official-storybook/stories/addon-docs/title-generators.ts diff --git a/examples/official-storybook/stories/addon-docs/transform-source.stories.js b/code/examples/official-storybook/stories/addon-docs/transform-source.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-docs/transform-source.stories.js rename to code/examples/official-storybook/stories/addon-docs/transform-source.stories.js diff --git a/examples/official-storybook/stories/addon-docs/ts-button.stories.tsx b/code/examples/official-storybook/stories/addon-docs/ts-button.stories.tsx similarity index 100% rename from examples/official-storybook/stories/addon-docs/ts-button.stories.tsx rename to code/examples/official-storybook/stories/addon-docs/ts-button.stories.tsx diff --git a/examples/official-storybook/stories/addon-highlight.stories.js b/code/examples/official-storybook/stories/addon-highlight.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-highlight.stories.js rename to code/examples/official-storybook/stories/addon-highlight.stories.js diff --git a/examples/official-storybook/stories/addon-jest.stories.js b/code/examples/official-storybook/stories/addon-jest.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-jest.stories.js rename to code/examples/official-storybook/stories/addon-jest.stories.js diff --git a/examples/official-storybook/stories/addon-jest.testresults.json b/code/examples/official-storybook/stories/addon-jest.testresults.json similarity index 100% rename from examples/official-storybook/stories/addon-jest.testresults.json rename to code/examples/official-storybook/stories/addon-jest.testresults.json diff --git a/examples/official-storybook/stories/addon-links/button.stories.tsx b/code/examples/official-storybook/stories/addon-links/button.stories.tsx similarity index 100% rename from examples/official-storybook/stories/addon-links/button.stories.tsx rename to code/examples/official-storybook/stories/addon-links/button.stories.tsx diff --git a/examples/official-storybook/stories/addon-links/href.stories.js b/code/examples/official-storybook/stories/addon-links/href.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-links/href.stories.js rename to code/examples/official-storybook/stories/addon-links/href.stories.js diff --git a/examples/official-storybook/stories/addon-links/link.stories.js b/code/examples/official-storybook/stories/addon-links/link.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-links/link.stories.js rename to code/examples/official-storybook/stories/addon-links/link.stories.js diff --git a/examples/official-storybook/stories/addon-links/scroll.stories.js b/code/examples/official-storybook/stories/addon-links/scroll.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-links/scroll.stories.js rename to code/examples/official-storybook/stories/addon-links/scroll.stories.js diff --git a/examples/official-storybook/stories/addon-links/select.stories.js b/code/examples/official-storybook/stories/addon-links/select.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-links/select.stories.js rename to code/examples/official-storybook/stories/addon-links/select.stories.js diff --git a/examples/official-storybook/stories/addon-measure/BoxModel.stories.js b/code/examples/official-storybook/stories/addon-measure/BoxModel.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-measure/BoxModel.stories.js rename to code/examples/official-storybook/stories/addon-measure/BoxModel.stories.js diff --git a/examples/official-storybook/stories/addon-measure/Grid.stories.js b/code/examples/official-storybook/stories/addon-measure/Grid.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-measure/Grid.stories.js rename to code/examples/official-storybook/stories/addon-measure/Grid.stories.js diff --git a/examples/official-storybook/stories/addon-measure/ShadowRoot.stories.js b/code/examples/official-storybook/stories/addon-measure/ShadowRoot.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-measure/ShadowRoot.stories.js rename to code/examples/official-storybook/stories/addon-measure/ShadowRoot.stories.js diff --git a/examples/official-storybook/stories/addon-measure/SmallNode.stories.js b/code/examples/official-storybook/stories/addon-measure/SmallNode.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-measure/SmallNode.stories.js rename to code/examples/official-storybook/stories/addon-measure/SmallNode.stories.js diff --git a/examples/official-storybook/stories/addon-measure/StackingLabels.stories.js b/code/examples/official-storybook/stories/addon-measure/StackingLabels.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-measure/StackingLabels.stories.js rename to code/examples/official-storybook/stories/addon-measure/StackingLabels.stories.js diff --git a/examples/official-storybook/stories/addon-outline.stories.js b/code/examples/official-storybook/stories/addon-outline.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-outline.stories.js rename to code/examples/official-storybook/stories/addon-outline.stories.js diff --git a/examples/official-storybook/stories/addon-storyshots.stories.js b/code/examples/official-storybook/stories/addon-storyshots.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-storyshots.stories.js rename to code/examples/official-storybook/stories/addon-storyshots.stories.js diff --git a/examples/official-storybook/stories/addon-toolbars.stories.js b/code/examples/official-storybook/stories/addon-toolbars.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-toolbars.stories.js rename to code/examples/official-storybook/stories/addon-toolbars.stories.js diff --git a/examples/official-storybook/stories/addon-viewport/custom-default.stories.js b/code/examples/official-storybook/stories/addon-viewport/custom-default.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-viewport/custom-default.stories.js rename to code/examples/official-storybook/stories/addon-viewport/custom-default.stories.js diff --git a/examples/official-storybook/stories/addon-viewport/default.stories.js b/code/examples/official-storybook/stories/addon-viewport/default.stories.js similarity index 100% rename from examples/official-storybook/stories/addon-viewport/default.stories.js rename to code/examples/official-storybook/stories/addon-viewport/default.stories.js diff --git a/examples/official-storybook/stories/controls-sort.stories.tsx b/code/examples/official-storybook/stories/controls-sort.stories.tsx similarity index 100% rename from examples/official-storybook/stories/controls-sort.stories.tsx rename to code/examples/official-storybook/stories/controls-sort.stories.tsx diff --git a/examples/official-storybook/stories/core/args.stories.tsx b/code/examples/official-storybook/stories/core/args.stories.tsx similarity index 100% rename from examples/official-storybook/stories/core/args.stories.tsx rename to code/examples/official-storybook/stories/core/args.stories.tsx diff --git a/examples/official-storybook/stories/core/async.stories.inactive.js b/code/examples/official-storybook/stories/core/async.stories.inactive.js similarity index 100% rename from examples/official-storybook/stories/core/async.stories.inactive.js rename to code/examples/official-storybook/stories/core/async.stories.inactive.js diff --git a/examples/official-storybook/stories/core/decorators.stories.js b/code/examples/official-storybook/stories/core/decorators.stories.js similarity index 100% rename from examples/official-storybook/stories/core/decorators.stories.js rename to code/examples/official-storybook/stories/core/decorators.stories.js diff --git a/examples/official-storybook/stories/core/errors.stories.js b/code/examples/official-storybook/stories/core/errors.stories.js similarity index 100% rename from examples/official-storybook/stories/core/errors.stories.js rename to code/examples/official-storybook/stories/core/errors.stories.js diff --git a/examples/official-storybook/stories/core/events.stories.js b/code/examples/official-storybook/stories/core/events.stories.js similarity index 100% rename from examples/official-storybook/stories/core/events.stories.js rename to code/examples/official-storybook/stories/core/events.stories.js diff --git a/examples/official-storybook/stories/core/globals.stories.js b/code/examples/official-storybook/stories/core/globals.stories.js similarity index 100% rename from examples/official-storybook/stories/core/globals.stories.js rename to code/examples/official-storybook/stories/core/globals.stories.js diff --git a/examples/official-storybook/stories/core/interleaved-exports.stories.js b/code/examples/official-storybook/stories/core/interleaved-exports.stories.js similarity index 100% rename from examples/official-storybook/stories/core/interleaved-exports.stories.js rename to code/examples/official-storybook/stories/core/interleaved-exports.stories.js diff --git a/examples/official-storybook/stories/core/layout.stories.js b/code/examples/official-storybook/stories/core/layout.stories.js similarity index 100% rename from examples/official-storybook/stories/core/layout.stories.js rename to code/examples/official-storybook/stories/core/layout.stories.js diff --git a/examples/official-storybook/stories/core/layout.stories.mdx b/code/examples/official-storybook/stories/core/layout.stories.mdx similarity index 100% rename from examples/official-storybook/stories/core/layout.stories.mdx rename to code/examples/official-storybook/stories/core/layout.stories.mdx diff --git a/examples/official-storybook/stories/core/loaders.stories.js b/code/examples/official-storybook/stories/core/loaders.stories.js similarity index 100% rename from examples/official-storybook/stories/core/loaders.stories.js rename to code/examples/official-storybook/stories/core/loaders.stories.js diff --git a/examples/official-storybook/stories/core/named-export-order.stories.js b/code/examples/official-storybook/stories/core/named-export-order.stories.js similarity index 100% rename from examples/official-storybook/stories/core/named-export-order.stories.js rename to code/examples/official-storybook/stories/core/named-export-order.stories.js diff --git a/examples/official-storybook/stories/core/parameters.stories.js b/code/examples/official-storybook/stories/core/parameters.stories.js similarity index 100% rename from examples/official-storybook/stories/core/parameters.stories.js rename to code/examples/official-storybook/stories/core/parameters.stories.js diff --git a/examples/official-storybook/stories/core/prefix.stories.js b/code/examples/official-storybook/stories/core/prefix.stories.js similarity index 100% rename from examples/official-storybook/stories/core/prefix.stories.js rename to code/examples/official-storybook/stories/core/prefix.stories.js diff --git a/examples/official-storybook/stories/core/reexport-source-loader.stories.js b/code/examples/official-storybook/stories/core/reexport-source-loader.stories.js similarity index 100% rename from examples/official-storybook/stories/core/reexport-source-loader.stories.js rename to code/examples/official-storybook/stories/core/reexport-source-loader.stories.js diff --git a/examples/official-storybook/stories/core/rendering.stories.js b/code/examples/official-storybook/stories/core/rendering.stories.js similarity index 100% rename from examples/official-storybook/stories/core/rendering.stories.js rename to code/examples/official-storybook/stories/core/rendering.stories.js diff --git a/examples/official-storybook/stories/core/scroll.stories.js b/code/examples/official-storybook/stories/core/scroll.stories.js similarity index 100% rename from examples/official-storybook/stories/core/scroll.stories.js rename to code/examples/official-storybook/stories/core/scroll.stories.js diff --git a/examples/official-storybook/stories/core/sideloaded.stories.tsx b/code/examples/official-storybook/stories/core/sideloaded.stories.tsx similarity index 100% rename from examples/official-storybook/stories/core/sideloaded.stories.tsx rename to code/examples/official-storybook/stories/core/sideloaded.stories.tsx diff --git a/examples/official-storybook/stories/core/unicode.stories.js b/code/examples/official-storybook/stories/core/unicode.stories.js similarity index 100% rename from examples/official-storybook/stories/core/unicode.stories.js rename to code/examples/official-storybook/stories/core/unicode.stories.js diff --git a/examples/official-storybook/stories/demo/button.stories.js b/code/examples/official-storybook/stories/demo/button.stories.js similarity index 100% rename from examples/official-storybook/stories/demo/button.stories.js rename to code/examples/official-storybook/stories/demo/button.stories.js diff --git a/examples/official-storybook/stories/demo/button.stories.mdx b/code/examples/official-storybook/stories/demo/button.stories.mdx similarity index 100% rename from examples/official-storybook/stories/demo/button.stories.mdx rename to code/examples/official-storybook/stories/demo/button.stories.mdx diff --git a/examples/official-storybook/stories/demo/csf-embedding.test.js b/code/examples/official-storybook/stories/demo/csf-embedding.test.js similarity index 100% rename from examples/official-storybook/stories/demo/csf-embedding.test.js rename to code/examples/official-storybook/stories/demo/csf-embedding.test.js diff --git a/examples/official-storybook/stories/demo/setup.stories.tsx b/code/examples/official-storybook/stories/demo/setup.stories.tsx similarity index 100% rename from examples/official-storybook/stories/demo/setup.stories.tsx rename to code/examples/official-storybook/stories/demo/setup.stories.tsx diff --git a/examples/official-storybook/stories/demo/typed-button.stories.tsx b/code/examples/official-storybook/stories/demo/typed-button.stories.tsx similarity index 100% rename from examples/official-storybook/stories/demo/typed-button.stories.tsx rename to code/examples/official-storybook/stories/demo/typed-button.stories.tsx diff --git a/examples/official-storybook/stories/demo/welcome.stories.js b/code/examples/official-storybook/stories/demo/welcome.stories.js similarity index 100% rename from examples/official-storybook/stories/demo/welcome.stories.js rename to code/examples/official-storybook/stories/demo/welcome.stories.js diff --git a/examples/official-storybook/stories/hooks.stories.js b/code/examples/official-storybook/stories/hooks.stories.js similarity index 92% rename from examples/official-storybook/stories/hooks.stories.js rename to code/examples/official-storybook/stories/hooks.stories.js index a5973d68d926..280f4fcb14c7 100644 --- a/examples/official-storybook/stories/hooks.stories.js +++ b/code/examples/official-storybook/stories/hooks.stories.js @@ -57,8 +57,7 @@ export const ReactHookCheckbox = () => { const DummyContext = createContext({}); export const Context = (args) => { - // testing hooks in the story - const storyContext = useContext(DummyContext); + const storyContext = useContext(DummyContext); // deepscan-disable-line -- we're testing if this will not throw an Error return ; }; diff --git a/examples/official-storybook/stories/notes/notes.md b/code/examples/official-storybook/stories/notes/notes.md similarity index 100% rename from examples/official-storybook/stories/notes/notes.md rename to code/examples/official-storybook/stories/notes/notes.md diff --git a/examples/official-storybook/stories/notes/notes.mdx b/code/examples/official-storybook/stories/notes/notes.mdx similarity index 100% rename from examples/official-storybook/stories/notes/notes.mdx rename to code/examples/official-storybook/stories/notes/notes.mdx diff --git a/examples/official-storybook/stories/title/AutoTitle.stories.js b/code/examples/official-storybook/stories/title/AutoTitle.stories.js similarity index 100% rename from examples/official-storybook/stories/title/AutoTitle.stories.js rename to code/examples/official-storybook/stories/title/AutoTitle.stories.js diff --git a/examples/official-storybook/stories/title/CustomTitle.stories.js b/code/examples/official-storybook/stories/title/CustomTitle.stories.js similarity index 100% rename from examples/official-storybook/stories/title/CustomTitle.stories.js rename to code/examples/official-storybook/stories/title/CustomTitle.stories.js diff --git a/examples/official-storybook/storyshots-puppeteer/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-storyshots-block-story-1-snap.png b/code/examples/official-storybook/storyshots-puppeteer/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-storyshots-block-story-1-snap.png similarity index 100% rename from examples/official-storybook/storyshots-puppeteer/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-storyshots-block-story-1-snap.png rename to code/examples/official-storybook/storyshots-puppeteer/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-storyshots-block-story-1-snap.png diff --git a/examples/official-storybook/storyshots-puppeteer/axe-tests.runner.js b/code/examples/official-storybook/storyshots-puppeteer/axe-tests.runner.js similarity index 100% rename from examples/official-storybook/storyshots-puppeteer/axe-tests.runner.js rename to code/examples/official-storybook/storyshots-puppeteer/axe-tests.runner.js diff --git a/examples/official-storybook/storyshots-puppeteer/getStorybookUrl.js b/code/examples/official-storybook/storyshots-puppeteer/getStorybookUrl.js similarity index 100% rename from examples/official-storybook/storyshots-puppeteer/getStorybookUrl.js rename to code/examples/official-storybook/storyshots-puppeteer/getStorybookUrl.js diff --git a/examples/official-storybook/storyshots-puppeteer/jest.config.js b/code/examples/official-storybook/storyshots-puppeteer/jest.config.js similarity index 100% rename from examples/official-storybook/storyshots-puppeteer/jest.config.js rename to code/examples/official-storybook/storyshots-puppeteer/jest.config.js diff --git a/examples/official-storybook/storyshots-puppeteer/puppeteer-tests.runner.js b/code/examples/official-storybook/storyshots-puppeteer/puppeteer-tests.runner.js similarity index 100% rename from examples/official-storybook/storyshots-puppeteer/puppeteer-tests.runner.js rename to code/examples/official-storybook/storyshots-puppeteer/puppeteer-tests.runner.js diff --git a/examples/official-storybook/storyshots-puppeteer/storyshots-image.runner.js b/code/examples/official-storybook/storyshots-puppeteer/storyshots-image.runner.js similarity index 100% rename from examples/official-storybook/storyshots-puppeteer/storyshots-image.runner.js rename to code/examples/official-storybook/storyshots-puppeteer/storyshots-image.runner.js diff --git a/examples/official-storybook/tests/addon-jest.config.json b/code/examples/official-storybook/tests/addon-jest.config.json similarity index 100% rename from examples/official-storybook/tests/addon-jest.config.json rename to code/examples/official-storybook/tests/addon-jest.config.json diff --git a/examples/official-storybook/tests/addon-jest.test.js b/code/examples/official-storybook/tests/addon-jest.test.js similarity index 100% rename from examples/official-storybook/tests/addon-jest.test.js rename to code/examples/official-storybook/tests/addon-jest.test.js diff --git a/examples/preact-kitchen-sink/.eslintrc.js b/code/examples/preact-kitchen-sink/.eslintrc.js similarity index 100% rename from examples/preact-kitchen-sink/.eslintrc.js rename to code/examples/preact-kitchen-sink/.eslintrc.js diff --git a/examples/preact-kitchen-sink/.gitignore b/code/examples/preact-kitchen-sink/.gitignore similarity index 100% rename from examples/preact-kitchen-sink/.gitignore rename to code/examples/preact-kitchen-sink/.gitignore diff --git a/examples/preact-kitchen-sink/.storybook/main.ts b/code/examples/preact-kitchen-sink/.storybook/main.ts similarity index 100% rename from examples/preact-kitchen-sink/.storybook/main.ts rename to code/examples/preact-kitchen-sink/.storybook/main.ts diff --git a/examples/preact-kitchen-sink/README.md b/code/examples/preact-kitchen-sink/README.md similarity index 100% rename from examples/preact-kitchen-sink/README.md rename to code/examples/preact-kitchen-sink/README.md diff --git a/examples/preact-kitchen-sink/babel.config.json b/code/examples/preact-kitchen-sink/babel.config.json similarity index 100% rename from examples/preact-kitchen-sink/babel.config.json rename to code/examples/preact-kitchen-sink/babel.config.json diff --git a/examples/preact-kitchen-sink/jest.config.js b/code/examples/preact-kitchen-sink/jest.config.js similarity index 100% rename from examples/preact-kitchen-sink/jest.config.js rename to code/examples/preact-kitchen-sink/jest.config.js diff --git a/examples/preact-kitchen-sink/package.json b/code/examples/preact-kitchen-sink/package.json similarity index 97% rename from examples/preact-kitchen-sink/package.json rename to code/examples/preact-kitchen-sink/package.json index bff809b75b49..79087c84259b 100644 --- a/examples/preact-kitchen-sink/package.json +++ b/code/examples/preact-kitchen-sink/package.json @@ -14,7 +14,6 @@ }, "devDependencies": { "@babel/core": "^7.12.10", - "@babel/plugin-transform-runtime": "^7.12.10", "@storybook/addon-a11y": "7.0.0-alpha.16", "@storybook/addon-actions": "7.0.0-alpha.16", "@storybook/addon-backgrounds": "7.0.0-alpha.16", diff --git a/examples/preact-kitchen-sink/preact-enzyme-mapping.js b/code/examples/preact-kitchen-sink/preact-enzyme-mapping.js similarity index 100% rename from examples/preact-kitchen-sink/preact-enzyme-mapping.js rename to code/examples/preact-kitchen-sink/preact-enzyme-mapping.js diff --git a/examples/preact-kitchen-sink/preactshots.test.js b/code/examples/preact-kitchen-sink/preactshots.test.js similarity index 100% rename from examples/preact-kitchen-sink/preactshots.test.js rename to code/examples/preact-kitchen-sink/preactshots.test.js diff --git a/examples/preact-kitchen-sink/public/favicon.ico b/code/examples/preact-kitchen-sink/public/favicon.ico similarity index 100% rename from examples/preact-kitchen-sink/public/favicon.ico rename to code/examples/preact-kitchen-sink/public/favicon.ico diff --git a/examples/preact-kitchen-sink/public/logo.png b/code/examples/preact-kitchen-sink/public/logo.png similarity index 100% rename from examples/preact-kitchen-sink/public/logo.png rename to code/examples/preact-kitchen-sink/public/logo.png diff --git a/examples/preact-kitchen-sink/src/Button.js b/code/examples/preact-kitchen-sink/src/Button.js similarity index 100% rename from examples/preact-kitchen-sink/src/Button.js rename to code/examples/preact-kitchen-sink/src/Button.js diff --git a/examples/preact-kitchen-sink/src/React.js b/code/examples/preact-kitchen-sink/src/React.js similarity index 100% rename from examples/preact-kitchen-sink/src/React.js rename to code/examples/preact-kitchen-sink/src/React.js diff --git a/examples/preact-kitchen-sink/src/Welcome.js b/code/examples/preact-kitchen-sink/src/Welcome.js similarity index 100% rename from examples/preact-kitchen-sink/src/Welcome.js rename to code/examples/preact-kitchen-sink/src/Welcome.js diff --git a/examples/preact-kitchen-sink/src/stories/__snapshots__/addon-actions.stories.storyshot b/code/examples/preact-kitchen-sink/src/stories/__snapshots__/addon-actions.stories.storyshot similarity index 100% rename from examples/preact-kitchen-sink/src/stories/__snapshots__/addon-actions.stories.storyshot rename to code/examples/preact-kitchen-sink/src/stories/__snapshots__/addon-actions.stories.storyshot diff --git a/examples/preact-kitchen-sink/src/stories/__snapshots__/addon-backgrounds.stories.storyshot b/code/examples/preact-kitchen-sink/src/stories/__snapshots__/addon-backgrounds.stories.storyshot similarity index 100% rename from examples/preact-kitchen-sink/src/stories/__snapshots__/addon-backgrounds.stories.storyshot rename to code/examples/preact-kitchen-sink/src/stories/__snapshots__/addon-backgrounds.stories.storyshot diff --git a/examples/preact-kitchen-sink/src/stories/__snapshots__/addon-links.stories.storyshot b/code/examples/preact-kitchen-sink/src/stories/__snapshots__/addon-links.stories.storyshot similarity index 100% rename from examples/preact-kitchen-sink/src/stories/__snapshots__/addon-links.stories.storyshot rename to code/examples/preact-kitchen-sink/src/stories/__snapshots__/addon-links.stories.storyshot diff --git a/examples/preact-kitchen-sink/src/stories/__snapshots__/button.stories.storyshot b/code/examples/preact-kitchen-sink/src/stories/__snapshots__/button.stories.storyshot similarity index 100% rename from examples/preact-kitchen-sink/src/stories/__snapshots__/button.stories.storyshot rename to code/examples/preact-kitchen-sink/src/stories/__snapshots__/button.stories.storyshot diff --git a/examples/preact-kitchen-sink/src/stories/__snapshots__/react-compat.stories.storyshot b/code/examples/preact-kitchen-sink/src/stories/__snapshots__/react-compat.stories.storyshot similarity index 100% rename from examples/preact-kitchen-sink/src/stories/__snapshots__/react-compat.stories.storyshot rename to code/examples/preact-kitchen-sink/src/stories/__snapshots__/react-compat.stories.storyshot diff --git a/examples/preact-kitchen-sink/src/stories/__snapshots__/welcome.stories.storyshot b/code/examples/preact-kitchen-sink/src/stories/__snapshots__/welcome.stories.storyshot similarity index 100% rename from examples/preact-kitchen-sink/src/stories/__snapshots__/welcome.stories.storyshot rename to code/examples/preact-kitchen-sink/src/stories/__snapshots__/welcome.stories.storyshot diff --git a/examples/preact-kitchen-sink/src/stories/addon-actions.stories.js b/code/examples/preact-kitchen-sink/src/stories/addon-actions.stories.js similarity index 100% rename from examples/preact-kitchen-sink/src/stories/addon-actions.stories.js rename to code/examples/preact-kitchen-sink/src/stories/addon-actions.stories.js diff --git a/examples/preact-kitchen-sink/src/stories/addon-backgrounds.stories.js b/code/examples/preact-kitchen-sink/src/stories/addon-backgrounds.stories.js similarity index 100% rename from examples/preact-kitchen-sink/src/stories/addon-backgrounds.stories.js rename to code/examples/preact-kitchen-sink/src/stories/addon-backgrounds.stories.js diff --git a/examples/preact-kitchen-sink/src/stories/addon-links.stories.js b/code/examples/preact-kitchen-sink/src/stories/addon-links.stories.js similarity index 100% rename from examples/preact-kitchen-sink/src/stories/addon-links.stories.js rename to code/examples/preact-kitchen-sink/src/stories/addon-links.stories.js diff --git a/examples/preact-kitchen-sink/src/stories/button.stories.js b/code/examples/preact-kitchen-sink/src/stories/button.stories.js similarity index 100% rename from examples/preact-kitchen-sink/src/stories/button.stories.js rename to code/examples/preact-kitchen-sink/src/stories/button.stories.js diff --git a/examples/preact-kitchen-sink/src/stories/react-compat.stories.js b/code/examples/preact-kitchen-sink/src/stories/react-compat.stories.js similarity index 100% rename from examples/preact-kitchen-sink/src/stories/react-compat.stories.js rename to code/examples/preact-kitchen-sink/src/stories/react-compat.stories.js diff --git a/examples/preact-kitchen-sink/src/stories/welcome.stories.js b/code/examples/preact-kitchen-sink/src/stories/welcome.stories.js similarity index 100% rename from examples/preact-kitchen-sink/src/stories/welcome.stories.js rename to code/examples/preact-kitchen-sink/src/stories/welcome.stories.js diff --git a/examples/react-ts/.babelrc b/code/examples/react-ts/.babelrc similarity index 100% rename from examples/react-ts/.babelrc rename to code/examples/react-ts/.babelrc diff --git a/examples/react-ts/.env b/code/examples/react-ts/.env similarity index 100% rename from examples/react-ts/.env rename to code/examples/react-ts/.env diff --git a/examples/react-ts/.storybook/main.ts b/code/examples/react-ts/.storybook/main.ts similarity index 100% rename from examples/react-ts/.storybook/main.ts rename to code/examples/react-ts/.storybook/main.ts diff --git a/examples/react-ts/.storybook/manager.js b/code/examples/react-ts/.storybook/manager.js similarity index 100% rename from examples/react-ts/.storybook/manager.js rename to code/examples/react-ts/.storybook/manager.js diff --git a/examples/react-ts/.storybook/preview.tsx b/code/examples/react-ts/.storybook/preview.tsx similarity index 100% rename from examples/react-ts/.storybook/preview.tsx rename to code/examples/react-ts/.storybook/preview.tsx diff --git a/examples/react-ts/README.md b/code/examples/react-ts/README.md similarity index 100% rename from examples/react-ts/README.md rename to code/examples/react-ts/README.md diff --git a/examples/react-ts/package.json b/code/examples/react-ts/package.json similarity index 100% rename from examples/react-ts/package.json rename to code/examples/react-ts/package.json diff --git a/examples/react-ts/src/AccountForm.stories.tsx b/code/examples/react-ts/src/AccountForm.stories.tsx similarity index 100% rename from examples/react-ts/src/AccountForm.stories.tsx rename to code/examples/react-ts/src/AccountForm.stories.tsx diff --git a/examples/react-ts/src/AccountForm.tsx b/code/examples/react-ts/src/AccountForm.tsx similarity index 100% rename from examples/react-ts/src/AccountForm.tsx rename to code/examples/react-ts/src/AccountForm.tsx diff --git a/examples/react-ts/src/__snapshots__/storyshots.test.ts.snap b/code/examples/react-ts/src/__snapshots__/storyshots.test.ts.snap similarity index 100% rename from examples/react-ts/src/__snapshots__/storyshots.test.ts.snap rename to code/examples/react-ts/src/__snapshots__/storyshots.test.ts.snap diff --git a/examples/react-ts/src/addon-docs/docs-only.stories.mdx b/code/examples/react-ts/src/addon-docs/docs-only.stories.mdx similarity index 100% rename from examples/react-ts/src/addon-docs/docs-only.stories.mdx rename to code/examples/react-ts/src/addon-docs/docs-only.stories.mdx diff --git a/examples/react-ts/src/addon-docs/docs.stories.mdx b/code/examples/react-ts/src/addon-docs/docs.stories.mdx similarity index 100% rename from examples/react-ts/src/addon-docs/docs.stories.mdx rename to code/examples/react-ts/src/addon-docs/docs.stories.mdx diff --git a/examples/react-ts/src/button.stories.tsx b/code/examples/react-ts/src/button.stories.tsx similarity index 100% rename from examples/react-ts/src/button.stories.tsx rename to code/examples/react-ts/src/button.stories.tsx diff --git a/examples/react-ts/src/button.tsx b/code/examples/react-ts/src/button.tsx similarity index 100% rename from examples/react-ts/src/button.tsx rename to code/examples/react-ts/src/button.tsx diff --git a/examples/react-ts/src/button2.stories.tsx b/code/examples/react-ts/src/button2.stories.tsx similarity index 100% rename from examples/react-ts/src/button2.stories.tsx rename to code/examples/react-ts/src/button2.stories.tsx diff --git a/examples/react-ts/src/button3.stories.tsx b/code/examples/react-ts/src/button3.stories.tsx similarity index 100% rename from examples/react-ts/src/button3.stories.tsx rename to code/examples/react-ts/src/button3.stories.tsx diff --git a/examples/react-ts/src/docs2/MetaOf.mdx b/code/examples/react-ts/src/docs2/MetaOf.mdx similarity index 100% rename from examples/react-ts/src/docs2/MetaOf.mdx rename to code/examples/react-ts/src/docs2/MetaOf.mdx diff --git a/examples/react-ts/src/docs2/NoTitle.mdx b/code/examples/react-ts/src/docs2/NoTitle.mdx similarity index 100% rename from examples/react-ts/src/docs2/NoTitle.mdx rename to code/examples/react-ts/src/docs2/NoTitle.mdx diff --git a/examples/react-ts/src/docs2/Title.mdx b/code/examples/react-ts/src/docs2/Title.mdx similarity index 100% rename from examples/react-ts/src/docs2/Title.mdx rename to code/examples/react-ts/src/docs2/Title.mdx diff --git a/examples/react-ts/src/emoji-button.js b/code/examples/react-ts/src/emoji-button.js similarity index 100% rename from examples/react-ts/src/emoji-button.js rename to code/examples/react-ts/src/emoji-button.js diff --git a/examples/react-ts/src/emoji-button.stories.js b/code/examples/react-ts/src/emoji-button.stories.js similarity index 100% rename from examples/react-ts/src/emoji-button.stories.js rename to code/examples/react-ts/src/emoji-button.stories.js diff --git a/examples/react-ts/src/storyshots.test.ts b/code/examples/react-ts/src/storyshots.test.ts similarity index 100% rename from examples/react-ts/src/storyshots.test.ts rename to code/examples/react-ts/src/storyshots.test.ts diff --git a/examples/react-ts/src/title/AutoTitle.stories.js b/code/examples/react-ts/src/title/AutoTitle.stories.js similarity index 100% rename from examples/react-ts/src/title/AutoTitle.stories.js rename to code/examples/react-ts/src/title/AutoTitle.stories.js diff --git a/examples/react-ts/src/title/CustomTitle.stories.js b/code/examples/react-ts/src/title/CustomTitle.stories.js similarity index 100% rename from examples/react-ts/src/title/CustomTitle.stories.js rename to code/examples/react-ts/src/title/CustomTitle.stories.js diff --git a/examples/react-ts/tsconfig.json b/code/examples/react-ts/tsconfig.json similarity index 100% rename from examples/react-ts/tsconfig.json rename to code/examples/react-ts/tsconfig.json diff --git a/examples/server-kitchen-sink/.storybook/main.ts b/code/examples/server-kitchen-sink/.storybook/main.ts similarity index 100% rename from examples/server-kitchen-sink/.storybook/main.ts rename to code/examples/server-kitchen-sink/.storybook/main.ts diff --git a/examples/server-kitchen-sink/.storybook/preview.js b/code/examples/server-kitchen-sink/.storybook/preview.js similarity index 100% rename from examples/server-kitchen-sink/.storybook/preview.js rename to code/examples/server-kitchen-sink/.storybook/preview.js diff --git a/examples/server-kitchen-sink/README.md b/code/examples/server-kitchen-sink/README.md similarity index 100% rename from examples/server-kitchen-sink/README.md rename to code/examples/server-kitchen-sink/README.md diff --git a/examples/server-kitchen-sink/package.json b/code/examples/server-kitchen-sink/package.json similarity index 100% rename from examples/server-kitchen-sink/package.json rename to code/examples/server-kitchen-sink/package.json diff --git a/examples/server-kitchen-sink/public/css/button.css b/code/examples/server-kitchen-sink/public/css/button.css similarity index 100% rename from examples/server-kitchen-sink/public/css/button.css rename to code/examples/server-kitchen-sink/public/css/button.css diff --git a/examples/server-kitchen-sink/public/js/alert.js b/code/examples/server-kitchen-sink/public/js/alert.js similarity index 100% rename from examples/server-kitchen-sink/public/js/alert.js rename to code/examples/server-kitchen-sink/public/js/alert.js diff --git a/examples/server-kitchen-sink/server.js b/code/examples/server-kitchen-sink/server.js similarity index 100% rename from examples/server-kitchen-sink/server.js rename to code/examples/server-kitchen-sink/server.js diff --git a/examples/server-kitchen-sink/stories/addons/a11y.stories.json b/code/examples/server-kitchen-sink/stories/addons/a11y.stories.json similarity index 100% rename from examples/server-kitchen-sink/stories/addons/a11y.stories.json rename to code/examples/server-kitchen-sink/stories/addons/a11y.stories.json diff --git a/examples/server-kitchen-sink/stories/addons/actions.stories.json b/code/examples/server-kitchen-sink/stories/addons/actions.stories.json similarity index 100% rename from examples/server-kitchen-sink/stories/addons/actions.stories.json rename to code/examples/server-kitchen-sink/stories/addons/actions.stories.json diff --git a/examples/server-kitchen-sink/stories/addons/backgrounds.stories.json b/code/examples/server-kitchen-sink/stories/addons/backgrounds.stories.json similarity index 100% rename from examples/server-kitchen-sink/stories/addons/backgrounds.stories.json rename to code/examples/server-kitchen-sink/stories/addons/backgrounds.stories.json diff --git a/examples/server-kitchen-sink/stories/addons/controls.stories.json b/code/examples/server-kitchen-sink/stories/addons/controls.stories.json similarity index 100% rename from examples/server-kitchen-sink/stories/addons/controls.stories.json rename to code/examples/server-kitchen-sink/stories/addons/controls.stories.json diff --git a/examples/server-kitchen-sink/stories/demo.stories.json b/code/examples/server-kitchen-sink/stories/demo.stories.json similarity index 100% rename from examples/server-kitchen-sink/stories/demo.stories.json rename to code/examples/server-kitchen-sink/stories/demo.stories.json diff --git a/examples/server-kitchen-sink/stories/html_content/scripts.stories.json b/code/examples/server-kitchen-sink/stories/html_content/scripts.stories.json similarity index 100% rename from examples/server-kitchen-sink/stories/html_content/scripts.stories.json rename to code/examples/server-kitchen-sink/stories/html_content/scripts.stories.json diff --git a/examples/server-kitchen-sink/stories/html_content/styles.stories.json b/code/examples/server-kitchen-sink/stories/html_content/styles.stories.json similarity index 100% rename from examples/server-kitchen-sink/stories/html_content/styles.stories.json rename to code/examples/server-kitchen-sink/stories/html_content/styles.stories.json diff --git a/examples/server-kitchen-sink/stories/kitchen_sink.stories.json b/code/examples/server-kitchen-sink/stories/kitchen_sink.stories.json similarity index 100% rename from examples/server-kitchen-sink/stories/kitchen_sink.stories.json rename to code/examples/server-kitchen-sink/stories/kitchen_sink.stories.json diff --git a/examples/server-kitchen-sink/stories/params.stories.json b/code/examples/server-kitchen-sink/stories/params.stories.json similarity index 100% rename from examples/server-kitchen-sink/stories/params.stories.json rename to code/examples/server-kitchen-sink/stories/params.stories.json diff --git a/examples/server-kitchen-sink/stories/welcome.stories.json b/code/examples/server-kitchen-sink/stories/welcome.stories.json similarity index 100% rename from examples/server-kitchen-sink/stories/welcome.stories.json rename to code/examples/server-kitchen-sink/stories/welcome.stories.json diff --git a/examples/server-kitchen-sink/stories/yaml.stories.yaml b/code/examples/server-kitchen-sink/stories/yaml.stories.yaml similarity index 100% rename from examples/server-kitchen-sink/stories/yaml.stories.yaml rename to code/examples/server-kitchen-sink/stories/yaml.stories.yaml diff --git a/examples/server-kitchen-sink/stories/yml.stories.yml b/code/examples/server-kitchen-sink/stories/yml.stories.yml similarity index 100% rename from examples/server-kitchen-sink/stories/yml.stories.yml rename to code/examples/server-kitchen-sink/stories/yml.stories.yml diff --git a/examples/server-kitchen-sink/views/addons/a11y/contrast.pug b/code/examples/server-kitchen-sink/views/addons/a11y/contrast.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/a11y/contrast.pug rename to code/examples/server-kitchen-sink/views/addons/a11y/contrast.pug diff --git a/examples/server-kitchen-sink/views/addons/a11y/default.pug b/code/examples/server-kitchen-sink/views/addons/a11y/default.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/a11y/default.pug rename to code/examples/server-kitchen-sink/views/addons/a11y/default.pug diff --git a/examples/server-kitchen-sink/views/addons/a11y/disabled.pug b/code/examples/server-kitchen-sink/views/addons/a11y/disabled.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/a11y/disabled.pug rename to code/examples/server-kitchen-sink/views/addons/a11y/disabled.pug diff --git a/examples/server-kitchen-sink/views/addons/a11y/label.pug b/code/examples/server-kitchen-sink/views/addons/a11y/label.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/a11y/label.pug rename to code/examples/server-kitchen-sink/views/addons/a11y/label.pug diff --git a/examples/server-kitchen-sink/views/addons/actions/button.pug b/code/examples/server-kitchen-sink/views/addons/actions/button.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/actions/button.pug rename to code/examples/server-kitchen-sink/views/addons/actions/button.pug diff --git a/examples/server-kitchen-sink/views/addons/actions/story1.pug b/code/examples/server-kitchen-sink/views/addons/actions/story1.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/actions/story1.pug rename to code/examples/server-kitchen-sink/views/addons/actions/story1.pug diff --git a/examples/server-kitchen-sink/views/addons/actions/story2.pug b/code/examples/server-kitchen-sink/views/addons/actions/story2.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/actions/story2.pug rename to code/examples/server-kitchen-sink/views/addons/actions/story2.pug diff --git a/examples/server-kitchen-sink/views/addons/actions/story3.pug b/code/examples/server-kitchen-sink/views/addons/actions/story3.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/actions/story3.pug rename to code/examples/server-kitchen-sink/views/addons/actions/story3.pug diff --git a/examples/server-kitchen-sink/views/addons/actions/story4.pug b/code/examples/server-kitchen-sink/views/addons/actions/story4.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/actions/story4.pug rename to code/examples/server-kitchen-sink/views/addons/actions/story4.pug diff --git a/examples/server-kitchen-sink/views/addons/actions/story5.pug b/code/examples/server-kitchen-sink/views/addons/actions/story5.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/actions/story5.pug rename to code/examples/server-kitchen-sink/views/addons/actions/story5.pug diff --git a/examples/server-kitchen-sink/views/addons/actions/story6.pug b/code/examples/server-kitchen-sink/views/addons/actions/story6.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/actions/story6.pug rename to code/examples/server-kitchen-sink/views/addons/actions/story6.pug diff --git a/examples/server-kitchen-sink/views/addons/actions/story7.pug b/code/examples/server-kitchen-sink/views/addons/actions/story7.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/actions/story7.pug rename to code/examples/server-kitchen-sink/views/addons/actions/story7.pug diff --git a/examples/server-kitchen-sink/views/addons/actions/story8.pug b/code/examples/server-kitchen-sink/views/addons/actions/story8.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/actions/story8.pug rename to code/examples/server-kitchen-sink/views/addons/actions/story8.pug diff --git a/examples/server-kitchen-sink/views/addons/backgrounds/story1.pug b/code/examples/server-kitchen-sink/views/addons/backgrounds/story1.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/backgrounds/story1.pug rename to code/examples/server-kitchen-sink/views/addons/backgrounds/story1.pug diff --git a/examples/server-kitchen-sink/views/addons/backgrounds/story2.pug b/code/examples/server-kitchen-sink/views/addons/backgrounds/story2.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/backgrounds/story2.pug rename to code/examples/server-kitchen-sink/views/addons/backgrounds/story2.pug diff --git a/examples/server-kitchen-sink/views/addons/controls/all.pug b/code/examples/server-kitchen-sink/views/addons/controls/all.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/controls/all.pug rename to code/examples/server-kitchen-sink/views/addons/controls/all.pug diff --git a/examples/server-kitchen-sink/views/addons/controls/css.pug b/code/examples/server-kitchen-sink/views/addons/controls/css.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/controls/css.pug rename to code/examples/server-kitchen-sink/views/addons/controls/css.pug diff --git a/examples/server-kitchen-sink/views/addons/controls/simple.pug b/code/examples/server-kitchen-sink/views/addons/controls/simple.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/controls/simple.pug rename to code/examples/server-kitchen-sink/views/addons/controls/simple.pug diff --git a/examples/server-kitchen-sink/views/addons/controls/xss_safety.pug b/code/examples/server-kitchen-sink/views/addons/controls/xss_safety.pug similarity index 100% rename from examples/server-kitchen-sink/views/addons/controls/xss_safety.pug rename to code/examples/server-kitchen-sink/views/addons/controls/xss_safety.pug diff --git a/examples/server-kitchen-sink/views/demo/button.pug b/code/examples/server-kitchen-sink/views/demo/button.pug similarity index 100% rename from examples/server-kitchen-sink/views/demo/button.pug rename to code/examples/server-kitchen-sink/views/demo/button.pug diff --git a/examples/server-kitchen-sink/views/demo/heading.pug b/code/examples/server-kitchen-sink/views/demo/heading.pug similarity index 100% rename from examples/server-kitchen-sink/views/demo/heading.pug rename to code/examples/server-kitchen-sink/views/demo/heading.pug diff --git a/examples/server-kitchen-sink/views/demo/headings.pug b/code/examples/server-kitchen-sink/views/demo/headings.pug similarity index 100% rename from examples/server-kitchen-sink/views/demo/headings.pug rename to code/examples/server-kitchen-sink/views/demo/headings.pug diff --git a/examples/server-kitchen-sink/views/params/override.pug b/code/examples/server-kitchen-sink/views/params/override.pug similarity index 100% rename from examples/server-kitchen-sink/views/params/override.pug rename to code/examples/server-kitchen-sink/views/params/override.pug diff --git a/examples/server-kitchen-sink/views/params/params.pug b/code/examples/server-kitchen-sink/views/params/params.pug similarity index 100% rename from examples/server-kitchen-sink/views/params/params.pug rename to code/examples/server-kitchen-sink/views/params/params.pug diff --git a/examples/server-kitchen-sink/views/params/story.pug b/code/examples/server-kitchen-sink/views/params/story.pug similarity index 100% rename from examples/server-kitchen-sink/views/params/story.pug rename to code/examples/server-kitchen-sink/views/params/story.pug diff --git a/examples/server-kitchen-sink/views/params/story_fn_override.pug b/code/examples/server-kitchen-sink/views/params/story_fn_override.pug similarity index 100% rename from examples/server-kitchen-sink/views/params/story_fn_override.pug rename to code/examples/server-kitchen-sink/views/params/story_fn_override.pug diff --git a/examples/server-kitchen-sink/views/scripts/body_inline.pug b/code/examples/server-kitchen-sink/views/scripts/body_inline.pug similarity index 100% rename from examples/server-kitchen-sink/views/scripts/body_inline.pug rename to code/examples/server-kitchen-sink/views/scripts/body_inline.pug diff --git a/examples/server-kitchen-sink/views/scripts/body_src.pug b/code/examples/server-kitchen-sink/views/scripts/body_src.pug similarity index 100% rename from examples/server-kitchen-sink/views/scripts/body_src.pug rename to code/examples/server-kitchen-sink/views/scripts/body_src.pug diff --git a/examples/server-kitchen-sink/views/scripts/head_inline.pug b/code/examples/server-kitchen-sink/views/scripts/head_inline.pug similarity index 100% rename from examples/server-kitchen-sink/views/scripts/head_inline.pug rename to code/examples/server-kitchen-sink/views/scripts/head_inline.pug diff --git a/examples/server-kitchen-sink/views/scripts/head_src.pug b/code/examples/server-kitchen-sink/views/scripts/head_src.pug similarity index 100% rename from examples/server-kitchen-sink/views/scripts/head_src.pug rename to code/examples/server-kitchen-sink/views/scripts/head_src.pug diff --git a/examples/server-kitchen-sink/views/scripts/includes/alert_script_inline.pug b/code/examples/server-kitchen-sink/views/scripts/includes/alert_script_inline.pug similarity index 100% rename from examples/server-kitchen-sink/views/scripts/includes/alert_script_inline.pug rename to code/examples/server-kitchen-sink/views/scripts/includes/alert_script_inline.pug diff --git a/examples/server-kitchen-sink/views/scripts/includes/alert_script_src.pug b/code/examples/server-kitchen-sink/views/scripts/includes/alert_script_src.pug similarity index 100% rename from examples/server-kitchen-sink/views/scripts/includes/alert_script_src.pug rename to code/examples/server-kitchen-sink/views/scripts/includes/alert_script_src.pug diff --git a/examples/server-kitchen-sink/views/scripts/includes/button.pug b/code/examples/server-kitchen-sink/views/scripts/includes/button.pug similarity index 100% rename from examples/server-kitchen-sink/views/scripts/includes/button.pug rename to code/examples/server-kitchen-sink/views/scripts/includes/button.pug diff --git a/examples/server-kitchen-sink/views/styles/body_inline.pug b/code/examples/server-kitchen-sink/views/styles/body_inline.pug similarity index 100% rename from examples/server-kitchen-sink/views/styles/body_inline.pug rename to code/examples/server-kitchen-sink/views/styles/body_inline.pug diff --git a/examples/server-kitchen-sink/views/styles/body_src.pug b/code/examples/server-kitchen-sink/views/styles/body_src.pug similarity index 100% rename from examples/server-kitchen-sink/views/styles/body_src.pug rename to code/examples/server-kitchen-sink/views/styles/body_src.pug diff --git a/examples/server-kitchen-sink/views/styles/head_inline.pug b/code/examples/server-kitchen-sink/views/styles/head_inline.pug similarity index 100% rename from examples/server-kitchen-sink/views/styles/head_inline.pug rename to code/examples/server-kitchen-sink/views/styles/head_inline.pug diff --git a/examples/server-kitchen-sink/views/styles/head_src.pug b/code/examples/server-kitchen-sink/views/styles/head_src.pug similarity index 100% rename from examples/server-kitchen-sink/views/styles/head_src.pug rename to code/examples/server-kitchen-sink/views/styles/head_src.pug diff --git a/examples/server-kitchen-sink/views/styles/includes/button.pug b/code/examples/server-kitchen-sink/views/styles/includes/button.pug similarity index 100% rename from examples/server-kitchen-sink/views/styles/includes/button.pug rename to code/examples/server-kitchen-sink/views/styles/includes/button.pug diff --git a/examples/server-kitchen-sink/views/styles/includes/button_styles_inline.pug b/code/examples/server-kitchen-sink/views/styles/includes/button_styles_inline.pug similarity index 100% rename from examples/server-kitchen-sink/views/styles/includes/button_styles_inline.pug rename to code/examples/server-kitchen-sink/views/styles/includes/button_styles_inline.pug diff --git a/examples/server-kitchen-sink/views/styles/includes/button_styles_src.pug b/code/examples/server-kitchen-sink/views/styles/includes/button_styles_src.pug similarity index 100% rename from examples/server-kitchen-sink/views/styles/includes/button_styles_src.pug rename to code/examples/server-kitchen-sink/views/styles/includes/button_styles_src.pug diff --git a/examples/server-kitchen-sink/views/welcome/welcome.pug b/code/examples/server-kitchen-sink/views/welcome/welcome.pug similarity index 100% rename from examples/server-kitchen-sink/views/welcome/welcome.pug rename to code/examples/server-kitchen-sink/views/welcome/welcome.pug diff --git a/examples/server-kitchen-sink/views/yaml/button.pug b/code/examples/server-kitchen-sink/views/yaml/button.pug similarity index 100% rename from examples/server-kitchen-sink/views/yaml/button.pug rename to code/examples/server-kitchen-sink/views/yaml/button.pug diff --git a/examples/server-kitchen-sink/views/yaml/heading.pug b/code/examples/server-kitchen-sink/views/yaml/heading.pug similarity index 100% rename from examples/server-kitchen-sink/views/yaml/heading.pug rename to code/examples/server-kitchen-sink/views/yaml/heading.pug diff --git a/examples/server-kitchen-sink/views/yaml/headings.pug b/code/examples/server-kitchen-sink/views/yaml/headings.pug similarity index 100% rename from examples/server-kitchen-sink/views/yaml/headings.pug rename to code/examples/server-kitchen-sink/views/yaml/headings.pug diff --git a/examples/standalone-preview/.babelrc.js b/code/examples/standalone-preview/.babelrc.js similarity index 100% rename from examples/standalone-preview/.babelrc.js rename to code/examples/standalone-preview/.babelrc.js diff --git a/examples/standalone-preview/README.md b/code/examples/standalone-preview/README.md similarity index 100% rename from examples/standalone-preview/README.md rename to code/examples/standalone-preview/README.md diff --git a/examples/standalone-preview/addPreview.ts b/code/examples/standalone-preview/addPreview.ts similarity index 100% rename from examples/standalone-preview/addPreview.ts rename to code/examples/standalone-preview/addPreview.ts diff --git a/examples/standalone-preview/package.json b/code/examples/standalone-preview/package.json similarity index 100% rename from examples/standalone-preview/package.json rename to code/examples/standalone-preview/package.json diff --git a/examples/standalone-preview/stories/Component1.stories.tsx b/code/examples/standalone-preview/stories/Component1.stories.tsx similarity index 100% rename from examples/standalone-preview/stories/Component1.stories.tsx rename to code/examples/standalone-preview/stories/Component1.stories.tsx diff --git a/examples/standalone-preview/stories/Component2.stories.tsx b/code/examples/standalone-preview/stories/Component2.stories.tsx similarity index 100% rename from examples/standalone-preview/stories/Component2.stories.tsx rename to code/examples/standalone-preview/stories/Component2.stories.tsx diff --git a/examples/standalone-preview/storybook.html b/code/examples/standalone-preview/storybook.html similarity index 100% rename from examples/standalone-preview/storybook.html rename to code/examples/standalone-preview/storybook.html diff --git a/examples/standalone-preview/storybook.ts b/code/examples/standalone-preview/storybook.ts similarity index 100% rename from examples/standalone-preview/storybook.ts rename to code/examples/standalone-preview/storybook.ts diff --git a/examples/svelte-kitchen-sink/.gitignore b/code/examples/svelte-kitchen-sink/.gitignore similarity index 100% rename from examples/svelte-kitchen-sink/.gitignore rename to code/examples/svelte-kitchen-sink/.gitignore diff --git a/examples/svelte-kitchen-sink/.storybook/main.ts b/code/examples/svelte-kitchen-sink/.storybook/main.ts similarity index 100% rename from examples/svelte-kitchen-sink/.storybook/main.ts rename to code/examples/svelte-kitchen-sink/.storybook/main.ts diff --git a/examples/svelte-kitchen-sink/.storybook/preview.js b/code/examples/svelte-kitchen-sink/.storybook/preview.js similarity index 100% rename from examples/svelte-kitchen-sink/.storybook/preview.js rename to code/examples/svelte-kitchen-sink/.storybook/preview.js diff --git a/examples/svelte-kitchen-sink/README.md b/code/examples/svelte-kitchen-sink/README.md similarity index 100% rename from examples/svelte-kitchen-sink/README.md rename to code/examples/svelte-kitchen-sink/README.md diff --git a/examples/svelte-kitchen-sink/jest.config.js b/code/examples/svelte-kitchen-sink/jest.config.js similarity index 100% rename from examples/svelte-kitchen-sink/jest.config.js rename to code/examples/svelte-kitchen-sink/jest.config.js diff --git a/examples/svelte-kitchen-sink/package.json b/code/examples/svelte-kitchen-sink/package.json similarity index 100% rename from examples/svelte-kitchen-sink/package.json rename to code/examples/svelte-kitchen-sink/package.json diff --git a/examples/svelte-kitchen-sink/public/favicon.ico b/code/examples/svelte-kitchen-sink/public/favicon.ico similarity index 100% rename from examples/svelte-kitchen-sink/public/favicon.ico rename to code/examples/svelte-kitchen-sink/public/favicon.ico diff --git a/examples/svelte-kitchen-sink/src/components/Button.svelte b/code/examples/svelte-kitchen-sink/src/components/Button.svelte similarity index 100% rename from examples/svelte-kitchen-sink/src/components/Button.svelte rename to code/examples/svelte-kitchen-sink/src/components/Button.svelte diff --git a/examples/svelte-kitchen-sink/src/components/Button.test.js b/code/examples/svelte-kitchen-sink/src/components/Button.test.js similarity index 100% rename from examples/svelte-kitchen-sink/src/components/Button.test.js rename to code/examples/svelte-kitchen-sink/src/components/Button.test.js diff --git a/examples/svelte-kitchen-sink/src/components/Context.svelte b/code/examples/svelte-kitchen-sink/src/components/Context.svelte similarity index 100% rename from examples/svelte-kitchen-sink/src/components/Context.svelte rename to code/examples/svelte-kitchen-sink/src/components/Context.svelte diff --git a/examples/svelte-kitchen-sink/src/components/Counter.svelte b/code/examples/svelte-kitchen-sink/src/components/Counter.svelte similarity index 100% rename from examples/svelte-kitchen-sink/src/components/Counter.svelte rename to code/examples/svelte-kitchen-sink/src/components/Counter.svelte diff --git a/examples/svelte-kitchen-sink/src/logo.png b/code/examples/svelte-kitchen-sink/src/logo.png similarity index 100% rename from examples/svelte-kitchen-sink/src/logo.png rename to code/examples/svelte-kitchen-sink/src/logo.png diff --git a/examples/svelte-kitchen-sink/src/stories/BorderDecorator.svelte b/code/examples/svelte-kitchen-sink/src/stories/BorderDecorator.svelte similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/BorderDecorator.svelte rename to code/examples/svelte-kitchen-sink/src/stories/BorderDecorator.svelte diff --git a/examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-actions.stories.storyshot b/code/examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-actions.stories.storyshot similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-actions.stories.storyshot rename to code/examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-actions.stories.storyshot diff --git a/examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-backgrounds.stories.storyshot b/code/examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-backgrounds.stories.storyshot similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-backgrounds.stories.storyshot rename to code/examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-backgrounds.stories.storyshot diff --git a/examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-controls.stories.storyshot b/code/examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-controls.stories.storyshot similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-controls.stories.storyshot rename to code/examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-controls.stories.storyshot diff --git a/examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-docs.stories.storyshot b/code/examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-docs.stories.storyshot similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-docs.stories.storyshot rename to code/examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-docs.stories.storyshot diff --git a/examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-links.stories.storyshot b/code/examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-links.stories.storyshot similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-links.stories.storyshot rename to code/examples/svelte-kitchen-sink/src/stories/__snapshots__/addon-links.stories.storyshot diff --git a/examples/svelte-kitchen-sink/src/stories/__snapshots__/argstable.stories.storyshot b/code/examples/svelte-kitchen-sink/src/stories/__snapshots__/argstable.stories.storyshot similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/__snapshots__/argstable.stories.storyshot rename to code/examples/svelte-kitchen-sink/src/stories/__snapshots__/argstable.stories.storyshot diff --git a/examples/svelte-kitchen-sink/src/stories/__snapshots__/button.stories.storyshot b/code/examples/svelte-kitchen-sink/src/stories/__snapshots__/button.stories.storyshot similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/__snapshots__/button.stories.storyshot rename to code/examples/svelte-kitchen-sink/src/stories/__snapshots__/button.stories.storyshot diff --git a/examples/svelte-kitchen-sink/src/stories/__snapshots__/decorators.stories.storyshot b/code/examples/svelte-kitchen-sink/src/stories/__snapshots__/decorators.stories.storyshot similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/__snapshots__/decorators.stories.storyshot rename to code/examples/svelte-kitchen-sink/src/stories/__snapshots__/decorators.stories.storyshot diff --git a/examples/svelte-kitchen-sink/src/stories/__snapshots__/welcome.stories.storyshot b/code/examples/svelte-kitchen-sink/src/stories/__snapshots__/welcome.stories.storyshot similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/__snapshots__/welcome.stories.storyshot rename to code/examples/svelte-kitchen-sink/src/stories/__snapshots__/welcome.stories.storyshot diff --git a/examples/svelte-kitchen-sink/src/stories/addon-actions.stories.js b/code/examples/svelte-kitchen-sink/src/stories/addon-actions.stories.js similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/addon-actions.stories.js rename to code/examples/svelte-kitchen-sink/src/stories/addon-actions.stories.js diff --git a/examples/svelte-kitchen-sink/src/stories/addon-backgrounds.stories.js b/code/examples/svelte-kitchen-sink/src/stories/addon-backgrounds.stories.js similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/addon-backgrounds.stories.js rename to code/examples/svelte-kitchen-sink/src/stories/addon-backgrounds.stories.js diff --git a/examples/svelte-kitchen-sink/src/stories/addon-controls.stories.js b/code/examples/svelte-kitchen-sink/src/stories/addon-controls.stories.js similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/addon-controls.stories.js rename to code/examples/svelte-kitchen-sink/src/stories/addon-controls.stories.js diff --git a/examples/svelte-kitchen-sink/src/stories/addon-docs.stories.mdx b/code/examples/svelte-kitchen-sink/src/stories/addon-docs.stories.mdx similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/addon-docs.stories.mdx rename to code/examples/svelte-kitchen-sink/src/stories/addon-docs.stories.mdx diff --git a/examples/svelte-kitchen-sink/src/stories/addon-links.stories.js b/code/examples/svelte-kitchen-sink/src/stories/addon-links.stories.js similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/addon-links.stories.js rename to code/examples/svelte-kitchen-sink/src/stories/addon-links.stories.js diff --git a/examples/svelte-kitchen-sink/src/stories/argstable.stories.js b/code/examples/svelte-kitchen-sink/src/stories/argstable.stories.js similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/argstable.stories.js rename to code/examples/svelte-kitchen-sink/src/stories/argstable.stories.js diff --git a/examples/svelte-kitchen-sink/src/stories/button.stories.js b/code/examples/svelte-kitchen-sink/src/stories/button.stories.js similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/button.stories.js rename to code/examples/svelte-kitchen-sink/src/stories/button.stories.js diff --git a/examples/svelte-kitchen-sink/src/stories/decorators.stories.js b/code/examples/svelte-kitchen-sink/src/stories/decorators.stories.js similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/decorators.stories.js rename to code/examples/svelte-kitchen-sink/src/stories/decorators.stories.js diff --git a/examples/svelte-kitchen-sink/src/stories/error.stories.js b/code/examples/svelte-kitchen-sink/src/stories/error.stories.js similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/error.stories.js rename to code/examples/svelte-kitchen-sink/src/stories/error.stories.js diff --git a/examples/svelte-kitchen-sink/src/stories/views/ActionKnobView.svelte b/code/examples/svelte-kitchen-sink/src/stories/views/ActionKnobView.svelte similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/views/ActionKnobView.svelte rename to code/examples/svelte-kitchen-sink/src/stories/views/ActionKnobView.svelte diff --git a/examples/svelte-kitchen-sink/src/stories/views/ActionLinkView.svelte b/code/examples/svelte-kitchen-sink/src/stories/views/ActionLinkView.svelte similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/views/ActionLinkView.svelte rename to code/examples/svelte-kitchen-sink/src/stories/views/ActionLinkView.svelte diff --git a/examples/svelte-kitchen-sink/src/stories/views/ArgsTableView.svelte b/code/examples/svelte-kitchen-sink/src/stories/views/ArgsTableView.svelte similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/views/ArgsTableView.svelte rename to code/examples/svelte-kitchen-sink/src/stories/views/ArgsTableView.svelte diff --git a/examples/svelte-kitchen-sink/src/stories/views/ButtonView.svelte b/code/examples/svelte-kitchen-sink/src/stories/views/ButtonView.svelte similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/views/ButtonView.svelte rename to code/examples/svelte-kitchen-sink/src/stories/views/ButtonView.svelte diff --git a/examples/svelte-kitchen-sink/src/stories/views/ControlShowcaseView.svelte b/code/examples/svelte-kitchen-sink/src/stories/views/ControlShowcaseView.svelte similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/views/ControlShowcaseView.svelte rename to code/examples/svelte-kitchen-sink/src/stories/views/ControlShowcaseView.svelte diff --git a/examples/svelte-kitchen-sink/src/stories/views/ErrorView.svelte b/code/examples/svelte-kitchen-sink/src/stories/views/ErrorView.svelte similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/views/ErrorView.svelte rename to code/examples/svelte-kitchen-sink/src/stories/views/ErrorView.svelte diff --git a/examples/svelte-kitchen-sink/src/stories/views/WelcomeView.svelte b/code/examples/svelte-kitchen-sink/src/stories/views/WelcomeView.svelte similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/views/WelcomeView.svelte rename to code/examples/svelte-kitchen-sink/src/stories/views/WelcomeView.svelte diff --git a/examples/svelte-kitchen-sink/src/stories/welcome.stories.js b/code/examples/svelte-kitchen-sink/src/stories/welcome.stories.js similarity index 100% rename from examples/svelte-kitchen-sink/src/stories/welcome.stories.js rename to code/examples/svelte-kitchen-sink/src/stories/welcome.stories.js diff --git a/examples/svelte-kitchen-sink/svelte.config.js b/code/examples/svelte-kitchen-sink/svelte.config.js similarity index 100% rename from examples/svelte-kitchen-sink/svelte.config.js rename to code/examples/svelte-kitchen-sink/svelte.config.js diff --git a/examples/svelte-kitchen-sink/svelteshots.test.js b/code/examples/svelte-kitchen-sink/svelteshots.test.js similarity index 100% rename from examples/svelte-kitchen-sink/svelteshots.test.js rename to code/examples/svelte-kitchen-sink/svelteshots.test.js diff --git a/examples/svelte-kitchen-sink/tsconfig.json b/code/examples/svelte-kitchen-sink/tsconfig.json similarity index 100% rename from examples/svelte-kitchen-sink/tsconfig.json rename to code/examples/svelte-kitchen-sink/tsconfig.json diff --git a/examples/vue-3-cli/.browserslistrc b/code/examples/vue-3-cli/.browserslistrc similarity index 100% rename from examples/vue-3-cli/.browserslistrc rename to code/examples/vue-3-cli/.browserslistrc diff --git a/examples/vue-3-cli/.gitignore b/code/examples/vue-3-cli/.gitignore similarity index 100% rename from examples/vue-3-cli/.gitignore rename to code/examples/vue-3-cli/.gitignore diff --git a/examples/vue-3-cli/.storybook/main.ts b/code/examples/vue-3-cli/.storybook/main.ts similarity index 100% rename from examples/vue-3-cli/.storybook/main.ts rename to code/examples/vue-3-cli/.storybook/main.ts diff --git a/examples/vue-3-cli/.storybook/preview-head.html b/code/examples/vue-3-cli/.storybook/preview-head.html similarity index 100% rename from examples/vue-3-cli/.storybook/preview-head.html rename to code/examples/vue-3-cli/.storybook/preview-head.html diff --git a/examples/vue-3-cli/.storybook/preview.ts b/code/examples/vue-3-cli/.storybook/preview.ts similarity index 100% rename from examples/vue-3-cli/.storybook/preview.ts rename to code/examples/vue-3-cli/.storybook/preview.ts diff --git a/examples/vue-3-cli/README.md b/code/examples/vue-3-cli/README.md similarity index 100% rename from examples/vue-3-cli/README.md rename to code/examples/vue-3-cli/README.md diff --git a/examples/vue-3-cli/babel.config.js b/code/examples/vue-3-cli/babel.config.js similarity index 100% rename from examples/vue-3-cli/babel.config.js rename to code/examples/vue-3-cli/babel.config.js diff --git a/examples/vue-3-cli/jest.config.js b/code/examples/vue-3-cli/jest.config.js similarity index 100% rename from examples/vue-3-cli/jest.config.js rename to code/examples/vue-3-cli/jest.config.js diff --git a/examples/vue-3-cli/package.json b/code/examples/vue-3-cli/package.json similarity index 100% rename from examples/vue-3-cli/package.json rename to code/examples/vue-3-cli/package.json diff --git a/examples/vue-3-cli/public/favicon.ico b/code/examples/vue-3-cli/public/favicon.ico similarity index 100% rename from examples/vue-3-cli/public/favicon.ico rename to code/examples/vue-3-cli/public/favicon.ico diff --git a/examples/vue-3-cli/public/index.html b/code/examples/vue-3-cli/public/index.html similarity index 100% rename from examples/vue-3-cli/public/index.html rename to code/examples/vue-3-cli/public/index.html diff --git a/examples/vue-3-cli/src/App.vue b/code/examples/vue-3-cli/src/App.vue similarity index 100% rename from examples/vue-3-cli/src/App.vue rename to code/examples/vue-3-cli/src/App.vue diff --git a/examples/vue-3-cli/src/assets/logo.png b/code/examples/vue-3-cli/src/assets/logo.png similarity index 100% rename from examples/vue-3-cli/src/assets/logo.png rename to code/examples/vue-3-cli/src/assets/logo.png diff --git a/examples/vue-3-cli/src/components/HelloWorld.vue b/code/examples/vue-3-cli/src/components/HelloWorld.vue similarity index 100% rename from examples/vue-3-cli/src/components/HelloWorld.vue rename to code/examples/vue-3-cli/src/components/HelloWorld.vue diff --git a/examples/vue-3-cli/src/main.ts b/code/examples/vue-3-cli/src/main.ts similarity index 100% rename from examples/vue-3-cli/src/main.ts rename to code/examples/vue-3-cli/src/main.ts diff --git a/examples/vue-3-cli/src/shims-vue.d.ts b/code/examples/vue-3-cli/src/shims-vue.d.ts similarity index 100% rename from examples/vue-3-cli/src/shims-vue.d.ts rename to code/examples/vue-3-cli/src/shims-vue.d.ts diff --git a/examples/vue-3-cli/src/stories/Button.stories.js b/code/examples/vue-3-cli/src/stories/Button.stories.js similarity index 100% rename from examples/vue-3-cli/src/stories/Button.stories.js rename to code/examples/vue-3-cli/src/stories/Button.stories.js diff --git a/examples/vue-3-cli/src/stories/Button.stories.mdx b/code/examples/vue-3-cli/src/stories/Button.stories.mdx similarity index 100% rename from examples/vue-3-cli/src/stories/Button.stories.mdx rename to code/examples/vue-3-cli/src/stories/Button.stories.mdx diff --git a/examples/vue-3-cli/src/stories/Button.vue b/code/examples/vue-3-cli/src/stories/Button.vue similarity index 100% rename from examples/vue-3-cli/src/stories/Button.vue rename to code/examples/vue-3-cli/src/stories/Button.vue diff --git a/examples/vue-3-cli/src/stories/CSF3.stories.ts b/code/examples/vue-3-cli/src/stories/CSF3.stories.ts similarity index 100% rename from examples/vue-3-cli/src/stories/CSF3.stories.ts rename to code/examples/vue-3-cli/src/stories/CSF3.stories.ts diff --git a/examples/vue-3-cli/src/stories/ComponentInDecorator.stories.js b/code/examples/vue-3-cli/src/stories/ComponentInDecorator.stories.js similarity index 100% rename from examples/vue-3-cli/src/stories/ComponentInDecorator.stories.js rename to code/examples/vue-3-cli/src/stories/ComponentInDecorator.stories.js diff --git a/examples/vue-3-cli/src/stories/DynamicHeading.stories.ts b/code/examples/vue-3-cli/src/stories/DynamicHeading.stories.ts similarity index 100% rename from examples/vue-3-cli/src/stories/DynamicHeading.stories.ts rename to code/examples/vue-3-cli/src/stories/DynamicHeading.stories.ts diff --git a/examples/vue-3-cli/src/stories/DynamicHeading.ts b/code/examples/vue-3-cli/src/stories/DynamicHeading.ts similarity index 100% rename from examples/vue-3-cli/src/stories/DynamicHeading.ts rename to code/examples/vue-3-cli/src/stories/DynamicHeading.ts diff --git a/examples/vue-3-cli/src/stories/GlobalUsage.stories.js b/code/examples/vue-3-cli/src/stories/GlobalUsage.stories.js similarity index 100% rename from examples/vue-3-cli/src/stories/GlobalUsage.stories.js rename to code/examples/vue-3-cli/src/stories/GlobalUsage.stories.js diff --git a/examples/vue-3-cli/src/stories/GlobalUsage.vue b/code/examples/vue-3-cli/src/stories/GlobalUsage.vue similarity index 100% rename from examples/vue-3-cli/src/stories/GlobalUsage.vue rename to code/examples/vue-3-cli/src/stories/GlobalUsage.vue diff --git a/examples/vue-3-cli/src/stories/Header.stories.js b/code/examples/vue-3-cli/src/stories/Header.stories.js similarity index 100% rename from examples/vue-3-cli/src/stories/Header.stories.js rename to code/examples/vue-3-cli/src/stories/Header.stories.js diff --git a/examples/vue-3-cli/src/stories/Header.vue b/code/examples/vue-3-cli/src/stories/Header.vue similarity index 100% rename from examples/vue-3-cli/src/stories/Header.vue rename to code/examples/vue-3-cli/src/stories/Header.vue diff --git a/examples/vue-3-cli/src/stories/Introduction.stories.mdx b/code/examples/vue-3-cli/src/stories/Introduction.stories.mdx similarity index 100% rename from examples/vue-3-cli/src/stories/Introduction.stories.mdx rename to code/examples/vue-3-cli/src/stories/Introduction.stories.mdx diff --git a/examples/vue-3-cli/src/stories/OverrideArgs.stories.js b/code/examples/vue-3-cli/src/stories/OverrideArgs.stories.js similarity index 100% rename from examples/vue-3-cli/src/stories/OverrideArgs.stories.js rename to code/examples/vue-3-cli/src/stories/OverrideArgs.stories.js diff --git a/examples/vue-3-cli/src/stories/OverrideArgs.vue b/code/examples/vue-3-cli/src/stories/OverrideArgs.vue similarity index 100% rename from examples/vue-3-cli/src/stories/OverrideArgs.vue rename to code/examples/vue-3-cli/src/stories/OverrideArgs.vue diff --git a/examples/vue-3-cli/src/stories/Page.stories.js b/code/examples/vue-3-cli/src/stories/Page.stories.js similarity index 100% rename from examples/vue-3-cli/src/stories/Page.stories.js rename to code/examples/vue-3-cli/src/stories/Page.stories.js diff --git a/examples/vue-3-cli/src/stories/Page.vue b/code/examples/vue-3-cli/src/stories/Page.vue similarity index 100% rename from examples/vue-3-cli/src/stories/Page.vue rename to code/examples/vue-3-cli/src/stories/Page.vue diff --git a/examples/vue-3-cli/src/stories/ThemeDecorator.stories.js b/code/examples/vue-3-cli/src/stories/ThemeDecorator.stories.js similarity index 100% rename from examples/vue-3-cli/src/stories/ThemeDecorator.stories.js rename to code/examples/vue-3-cli/src/stories/ThemeDecorator.stories.js diff --git a/examples/vue-3-cli/src/stories/__snapshots__/Button.stories.storyshot b/code/examples/vue-3-cli/src/stories/__snapshots__/Button.stories.storyshot similarity index 100% rename from examples/vue-3-cli/src/stories/__snapshots__/Button.stories.storyshot rename to code/examples/vue-3-cli/src/stories/__snapshots__/Button.stories.storyshot diff --git a/examples/vue-3-cli/src/stories/__snapshots__/Header.stories.storyshot b/code/examples/vue-3-cli/src/stories/__snapshots__/Header.stories.storyshot similarity index 100% rename from examples/vue-3-cli/src/stories/__snapshots__/Header.stories.storyshot rename to code/examples/vue-3-cli/src/stories/__snapshots__/Header.stories.storyshot diff --git a/examples/vue-3-cli/src/stories/__snapshots__/Page.stories.storyshot b/code/examples/vue-3-cli/src/stories/__snapshots__/Page.stories.storyshot similarity index 100% rename from examples/vue-3-cli/src/stories/__snapshots__/Page.stories.storyshot rename to code/examples/vue-3-cli/src/stories/__snapshots__/Page.stories.storyshot diff --git a/examples/vue-3-cli/src/stories/addons/Counter.vue b/code/examples/vue-3-cli/src/stories/addons/Counter.vue similarity index 100% rename from examples/vue-3-cli/src/stories/addons/Counter.vue rename to code/examples/vue-3-cli/src/stories/addons/Counter.vue diff --git a/examples/vue-3-cli/src/stories/addons/addon-interactions.stories.js b/code/examples/vue-3-cli/src/stories/addons/addon-interactions.stories.js similarity index 100% rename from examples/vue-3-cli/src/stories/addons/addon-interactions.stories.js rename to code/examples/vue-3-cli/src/stories/addons/addon-interactions.stories.js diff --git a/examples/vue-3-cli/src/stories/assets/code-brackets.svg b/code/examples/vue-3-cli/src/stories/assets/code-brackets.svg similarity index 100% rename from examples/vue-3-cli/src/stories/assets/code-brackets.svg rename to code/examples/vue-3-cli/src/stories/assets/code-brackets.svg diff --git a/examples/vue-3-cli/src/stories/assets/colors.svg b/code/examples/vue-3-cli/src/stories/assets/colors.svg similarity index 100% rename from examples/vue-3-cli/src/stories/assets/colors.svg rename to code/examples/vue-3-cli/src/stories/assets/colors.svg diff --git a/examples/vue-3-cli/src/stories/assets/comments.svg b/code/examples/vue-3-cli/src/stories/assets/comments.svg similarity index 100% rename from examples/vue-3-cli/src/stories/assets/comments.svg rename to code/examples/vue-3-cli/src/stories/assets/comments.svg diff --git a/examples/vue-3-cli/src/stories/assets/direction.svg b/code/examples/vue-3-cli/src/stories/assets/direction.svg similarity index 100% rename from examples/vue-3-cli/src/stories/assets/direction.svg rename to code/examples/vue-3-cli/src/stories/assets/direction.svg diff --git a/examples/vue-3-cli/src/stories/assets/flow.svg b/code/examples/vue-3-cli/src/stories/assets/flow.svg similarity index 100% rename from examples/vue-3-cli/src/stories/assets/flow.svg rename to code/examples/vue-3-cli/src/stories/assets/flow.svg diff --git a/examples/vue-3-cli/src/stories/assets/plugin.svg b/code/examples/vue-3-cli/src/stories/assets/plugin.svg similarity index 100% rename from examples/vue-3-cli/src/stories/assets/plugin.svg rename to code/examples/vue-3-cli/src/stories/assets/plugin.svg diff --git a/examples/vue-3-cli/src/stories/assets/repo.svg b/code/examples/vue-3-cli/src/stories/assets/repo.svg similarity index 100% rename from examples/vue-3-cli/src/stories/assets/repo.svg rename to code/examples/vue-3-cli/src/stories/assets/repo.svg diff --git a/examples/vue-3-cli/src/stories/assets/stackalt.svg b/code/examples/vue-3-cli/src/stories/assets/stackalt.svg similarity index 100% rename from examples/vue-3-cli/src/stories/assets/stackalt.svg rename to code/examples/vue-3-cli/src/stories/assets/stackalt.svg diff --git a/examples/vue-3-cli/src/stories/button.css b/code/examples/vue-3-cli/src/stories/button.css similarity index 100% rename from examples/vue-3-cli/src/stories/button.css rename to code/examples/vue-3-cli/src/stories/button.css diff --git a/examples/vue-3-cli/src/stories/header.css b/code/examples/vue-3-cli/src/stories/header.css similarity index 100% rename from examples/vue-3-cli/src/stories/header.css rename to code/examples/vue-3-cli/src/stories/header.css diff --git a/examples/vue-3-cli/src/stories/page.css b/code/examples/vue-3-cli/src/stories/page.css similarity index 100% rename from examples/vue-3-cli/src/stories/page.css rename to code/examples/vue-3-cli/src/stories/page.css diff --git a/examples/vue-3-cli/tsconfig.json b/code/examples/vue-3-cli/tsconfig.json similarity index 100% rename from examples/vue-3-cli/tsconfig.json rename to code/examples/vue-3-cli/tsconfig.json diff --git a/examples/vue-3-cli/vuethreeshots.test.js b/code/examples/vue-3-cli/vuethreeshots.test.js similarity index 100% rename from examples/vue-3-cli/vuethreeshots.test.js rename to code/examples/vue-3-cli/vuethreeshots.test.js diff --git a/examples/vue-cli/.storybook/main.ts b/code/examples/vue-cli/.storybook/main.ts similarity index 100% rename from examples/vue-cli/.storybook/main.ts rename to code/examples/vue-cli/.storybook/main.ts diff --git a/examples/vue-cli/.storybook/preview.js b/code/examples/vue-cli/.storybook/preview.js similarity index 100% rename from examples/vue-cli/.storybook/preview.js rename to code/examples/vue-cli/.storybook/preview.js diff --git a/examples/vue-cli/README.md b/code/examples/vue-cli/README.md similarity index 100% rename from examples/vue-cli/README.md rename to code/examples/vue-cli/README.md diff --git a/examples/vue-cli/babel.config.js b/code/examples/vue-cli/babel.config.js similarity index 100% rename from examples/vue-cli/babel.config.js rename to code/examples/vue-cli/babel.config.js diff --git a/examples/vue-cli/package.json b/code/examples/vue-cli/package.json similarity index 100% rename from examples/vue-cli/package.json rename to code/examples/vue-cli/package.json diff --git a/examples/vue-cli/src/App.vue b/code/examples/vue-cli/src/App.vue similarity index 100% rename from examples/vue-cli/src/App.vue rename to code/examples/vue-cli/src/App.vue diff --git a/examples/vue-cli/src/button/Button.stories.ts b/code/examples/vue-cli/src/button/Button.stories.ts similarity index 100% rename from examples/vue-cli/src/button/Button.stories.ts rename to code/examples/vue-cli/src/button/Button.stories.ts diff --git a/examples/vue-cli/src/button/Button.vue b/code/examples/vue-cli/src/button/Button.vue similarity index 100% rename from examples/vue-cli/src/button/Button.vue rename to code/examples/vue-cli/src/button/Button.vue diff --git a/examples/vue-cli/src/button/types.ts b/code/examples/vue-cli/src/button/types.ts similarity index 100% rename from examples/vue-cli/src/button/types.ts rename to code/examples/vue-cli/src/button/types.ts diff --git a/examples/vue-cli/src/main.ts b/code/examples/vue-cli/src/main.ts similarity index 100% rename from examples/vue-cli/src/main.ts rename to code/examples/vue-cli/src/main.ts diff --git a/examples/vue-cli/src/shims-vue.d.ts b/code/examples/vue-cli/src/shims-vue.d.ts similarity index 100% rename from examples/vue-cli/src/shims-vue.d.ts rename to code/examples/vue-cli/src/shims-vue.d.ts diff --git a/examples/vue-cli/tsconfig.json b/code/examples/vue-cli/tsconfig.json similarity index 100% rename from examples/vue-cli/tsconfig.json rename to code/examples/vue-cli/tsconfig.json diff --git a/examples/vue-kitchen-sink/.babelrc b/code/examples/vue-kitchen-sink/.babelrc similarity index 100% rename from examples/vue-kitchen-sink/.babelrc rename to code/examples/vue-kitchen-sink/.babelrc diff --git a/examples/vue-kitchen-sink/.gitignore b/code/examples/vue-kitchen-sink/.gitignore similarity index 100% rename from examples/vue-kitchen-sink/.gitignore rename to code/examples/vue-kitchen-sink/.gitignore diff --git a/examples/vue-kitchen-sink/.storybook/main.ts b/code/examples/vue-kitchen-sink/.storybook/main.ts similarity index 100% rename from examples/vue-kitchen-sink/.storybook/main.ts rename to code/examples/vue-kitchen-sink/.storybook/main.ts diff --git a/examples/vue-kitchen-sink/.storybook/preview.js b/code/examples/vue-kitchen-sink/.storybook/preview.js similarity index 100% rename from examples/vue-kitchen-sink/.storybook/preview.js rename to code/examples/vue-kitchen-sink/.storybook/preview.js diff --git a/examples/vue-kitchen-sink/README.md b/code/examples/vue-kitchen-sink/README.md similarity index 100% rename from examples/vue-kitchen-sink/README.md rename to code/examples/vue-kitchen-sink/README.md diff --git a/examples/vue-kitchen-sink/index.html b/code/examples/vue-kitchen-sink/index.html similarity index 100% rename from examples/vue-kitchen-sink/index.html rename to code/examples/vue-kitchen-sink/index.html diff --git a/examples/vue-kitchen-sink/jest.config.js b/code/examples/vue-kitchen-sink/jest.config.js similarity index 100% rename from examples/vue-kitchen-sink/jest.config.js rename to code/examples/vue-kitchen-sink/jest.config.js diff --git a/examples/vue-kitchen-sink/package.json b/code/examples/vue-kitchen-sink/package.json similarity index 100% rename from examples/vue-kitchen-sink/package.json rename to code/examples/vue-kitchen-sink/package.json diff --git a/examples/vue-kitchen-sink/public/favicon.ico b/code/examples/vue-kitchen-sink/public/favicon.ico similarity index 100% rename from examples/vue-kitchen-sink/public/favicon.ico rename to code/examples/vue-kitchen-sink/public/favicon.ico diff --git a/examples/vue-kitchen-sink/src/App.vue b/code/examples/vue-kitchen-sink/src/App.vue similarity index 100% rename from examples/vue-kitchen-sink/src/App.vue rename to code/examples/vue-kitchen-sink/src/App.vue diff --git a/examples/vue-kitchen-sink/src/index.js b/code/examples/vue-kitchen-sink/src/index.js similarity index 100% rename from examples/vue-kitchen-sink/src/index.js rename to code/examples/vue-kitchen-sink/src/index.js diff --git a/examples/vue-kitchen-sink/src/logo.png b/code/examples/vue-kitchen-sink/src/logo.png similarity index 100% rename from examples/vue-kitchen-sink/src/logo.png rename to code/examples/vue-kitchen-sink/src/logo.png diff --git a/examples/vue-kitchen-sink/src/stories/Button.vue b/code/examples/vue-kitchen-sink/src/stories/Button.vue similarity index 100% rename from examples/vue-kitchen-sink/src/stories/Button.vue rename to code/examples/vue-kitchen-sink/src/stories/Button.vue diff --git a/examples/vue-kitchen-sink/src/stories/Counter.vue b/code/examples/vue-kitchen-sink/src/stories/Counter.vue similarity index 100% rename from examples/vue-kitchen-sink/src/stories/Counter.vue rename to code/examples/vue-kitchen-sink/src/stories/Counter.vue diff --git a/examples/vue-kitchen-sink/src/stories/Welcome.vue b/code/examples/vue-kitchen-sink/src/stories/Welcome.vue similarity index 100% rename from examples/vue-kitchen-sink/src/stories/Welcome.vue rename to code/examples/vue-kitchen-sink/src/stories/Welcome.vue diff --git a/examples/vue-kitchen-sink/src/stories/__snapshots__/addon-actions.stories.storyshot b/code/examples/vue-kitchen-sink/src/stories/__snapshots__/addon-actions.stories.storyshot similarity index 100% rename from examples/vue-kitchen-sink/src/stories/__snapshots__/addon-actions.stories.storyshot rename to code/examples/vue-kitchen-sink/src/stories/__snapshots__/addon-actions.stories.storyshot diff --git a/examples/vue-kitchen-sink/src/stories/__snapshots__/addon-backgrounds.stories.storyshot b/code/examples/vue-kitchen-sink/src/stories/__snapshots__/addon-backgrounds.stories.storyshot similarity index 100% rename from examples/vue-kitchen-sink/src/stories/__snapshots__/addon-backgrounds.stories.storyshot rename to code/examples/vue-kitchen-sink/src/stories/__snapshots__/addon-backgrounds.stories.storyshot diff --git a/examples/vue-kitchen-sink/src/stories/__snapshots__/addon-controls.stories.storyshot b/code/examples/vue-kitchen-sink/src/stories/__snapshots__/addon-controls.stories.storyshot similarity index 100% rename from examples/vue-kitchen-sink/src/stories/__snapshots__/addon-controls.stories.storyshot rename to code/examples/vue-kitchen-sink/src/stories/__snapshots__/addon-controls.stories.storyshot diff --git a/examples/vue-kitchen-sink/src/stories/__snapshots__/addon-links.stories.storyshot b/code/examples/vue-kitchen-sink/src/stories/__snapshots__/addon-links.stories.storyshot similarity index 100% rename from examples/vue-kitchen-sink/src/stories/__snapshots__/addon-links.stories.storyshot rename to code/examples/vue-kitchen-sink/src/stories/__snapshots__/addon-links.stories.storyshot diff --git a/examples/vue-kitchen-sink/src/stories/__snapshots__/core-errors.stories.storyshot b/code/examples/vue-kitchen-sink/src/stories/__snapshots__/core-errors.stories.storyshot similarity index 100% rename from examples/vue-kitchen-sink/src/stories/__snapshots__/core-errors.stories.storyshot rename to code/examples/vue-kitchen-sink/src/stories/__snapshots__/core-errors.stories.storyshot diff --git a/examples/vue-kitchen-sink/src/stories/__snapshots__/core-template.stories.storyshot b/code/examples/vue-kitchen-sink/src/stories/__snapshots__/core-template.stories.storyshot similarity index 100% rename from examples/vue-kitchen-sink/src/stories/__snapshots__/core-template.stories.storyshot rename to code/examples/vue-kitchen-sink/src/stories/__snapshots__/core-template.stories.storyshot diff --git a/examples/vue-kitchen-sink/src/stories/__snapshots__/core.stories.storyshot b/code/examples/vue-kitchen-sink/src/stories/__snapshots__/core.stories.storyshot similarity index 100% rename from examples/vue-kitchen-sink/src/stories/__snapshots__/core.stories.storyshot rename to code/examples/vue-kitchen-sink/src/stories/__snapshots__/core.stories.storyshot diff --git a/examples/vue-kitchen-sink/src/stories/__snapshots__/custom-decorators.stories.storyshot b/code/examples/vue-kitchen-sink/src/stories/__snapshots__/custom-decorators.stories.storyshot similarity index 100% rename from examples/vue-kitchen-sink/src/stories/__snapshots__/custom-decorators.stories.storyshot rename to code/examples/vue-kitchen-sink/src/stories/__snapshots__/custom-decorators.stories.storyshot diff --git a/examples/vue-kitchen-sink/src/stories/__snapshots__/custom-rendering.stories.storyshot b/code/examples/vue-kitchen-sink/src/stories/__snapshots__/custom-rendering.stories.storyshot similarity index 100% rename from examples/vue-kitchen-sink/src/stories/__snapshots__/custom-rendering.stories.storyshot rename to code/examples/vue-kitchen-sink/src/stories/__snapshots__/custom-rendering.stories.storyshot diff --git a/examples/vue-kitchen-sink/src/stories/addon-actions.stories.js b/code/examples/vue-kitchen-sink/src/stories/addon-actions.stories.js similarity index 100% rename from examples/vue-kitchen-sink/src/stories/addon-actions.stories.js rename to code/examples/vue-kitchen-sink/src/stories/addon-actions.stories.js diff --git a/examples/vue-kitchen-sink/src/stories/addon-backgrounds.stories.js b/code/examples/vue-kitchen-sink/src/stories/addon-backgrounds.stories.js similarity index 100% rename from examples/vue-kitchen-sink/src/stories/addon-backgrounds.stories.js rename to code/examples/vue-kitchen-sink/src/stories/addon-backgrounds.stories.js diff --git a/examples/vue-kitchen-sink/src/stories/addon-controls.stories.js b/code/examples/vue-kitchen-sink/src/stories/addon-controls.stories.js similarity index 100% rename from examples/vue-kitchen-sink/src/stories/addon-controls.stories.js rename to code/examples/vue-kitchen-sink/src/stories/addon-controls.stories.js diff --git a/examples/vue-kitchen-sink/src/stories/addon-controls.stories.mdx b/code/examples/vue-kitchen-sink/src/stories/addon-controls.stories.mdx similarity index 100% rename from examples/vue-kitchen-sink/src/stories/addon-controls.stories.mdx rename to code/examples/vue-kitchen-sink/src/stories/addon-controls.stories.mdx diff --git a/examples/vue-kitchen-sink/src/stories/addon-docs.stories.mdx b/code/examples/vue-kitchen-sink/src/stories/addon-docs.stories.mdx similarity index 100% rename from examples/vue-kitchen-sink/src/stories/addon-docs.stories.mdx rename to code/examples/vue-kitchen-sink/src/stories/addon-docs.stories.mdx diff --git a/examples/vue-kitchen-sink/src/stories/addon-links.stories.js b/code/examples/vue-kitchen-sink/src/stories/addon-links.stories.js similarity index 100% rename from examples/vue-kitchen-sink/src/stories/addon-links.stories.js rename to code/examples/vue-kitchen-sink/src/stories/addon-links.stories.js diff --git a/examples/vue-kitchen-sink/src/stories/components/ButtonTs.vue b/code/examples/vue-kitchen-sink/src/stories/components/ButtonTs.vue similarity index 100% rename from examples/vue-kitchen-sink/src/stories/components/ButtonTs.vue rename to code/examples/vue-kitchen-sink/src/stories/components/ButtonTs.vue diff --git a/examples/vue-kitchen-sink/src/stories/components/InfoButton.vue b/code/examples/vue-kitchen-sink/src/stories/components/InfoButton.vue similarity index 100% rename from examples/vue-kitchen-sink/src/stories/components/InfoButton.vue rename to code/examples/vue-kitchen-sink/src/stories/components/InfoButton.vue diff --git a/examples/vue-kitchen-sink/src/stories/components/__snapshots__/app.stories.storyshot b/code/examples/vue-kitchen-sink/src/stories/components/__snapshots__/app.stories.storyshot similarity index 100% rename from examples/vue-kitchen-sink/src/stories/components/__snapshots__/app.stories.storyshot rename to code/examples/vue-kitchen-sink/src/stories/components/__snapshots__/app.stories.storyshot diff --git a/examples/vue-kitchen-sink/src/stories/components/__snapshots__/button-ts.stories.storyshot b/code/examples/vue-kitchen-sink/src/stories/components/__snapshots__/button-ts.stories.storyshot similarity index 100% rename from examples/vue-kitchen-sink/src/stories/components/__snapshots__/button-ts.stories.storyshot rename to code/examples/vue-kitchen-sink/src/stories/components/__snapshots__/button-ts.stories.storyshot diff --git a/examples/vue-kitchen-sink/src/stories/components/__snapshots__/button.stories.storyshot b/code/examples/vue-kitchen-sink/src/stories/components/__snapshots__/button.stories.storyshot similarity index 100% rename from examples/vue-kitchen-sink/src/stories/components/__snapshots__/button.stories.storyshot rename to code/examples/vue-kitchen-sink/src/stories/components/__snapshots__/button.stories.storyshot diff --git a/examples/vue-kitchen-sink/src/stories/components/__snapshots__/info-button.stories.storyshot b/code/examples/vue-kitchen-sink/src/stories/components/__snapshots__/info-button.stories.storyshot similarity index 100% rename from examples/vue-kitchen-sink/src/stories/components/__snapshots__/info-button.stories.storyshot rename to code/examples/vue-kitchen-sink/src/stories/components/__snapshots__/info-button.stories.storyshot diff --git a/examples/vue-kitchen-sink/src/stories/components/__snapshots__/welcome.stories.storyshot b/code/examples/vue-kitchen-sink/src/stories/components/__snapshots__/welcome.stories.storyshot similarity index 100% rename from examples/vue-kitchen-sink/src/stories/components/__snapshots__/welcome.stories.storyshot rename to code/examples/vue-kitchen-sink/src/stories/components/__snapshots__/welcome.stories.storyshot diff --git a/examples/vue-kitchen-sink/src/stories/components/app.stories.js b/code/examples/vue-kitchen-sink/src/stories/components/app.stories.js similarity index 100% rename from examples/vue-kitchen-sink/src/stories/components/app.stories.js rename to code/examples/vue-kitchen-sink/src/stories/components/app.stories.js diff --git a/examples/vue-kitchen-sink/src/stories/components/button-ts.stories.js b/code/examples/vue-kitchen-sink/src/stories/components/button-ts.stories.js similarity index 100% rename from examples/vue-kitchen-sink/src/stories/components/button-ts.stories.js rename to code/examples/vue-kitchen-sink/src/stories/components/button-ts.stories.js diff --git a/examples/vue-kitchen-sink/src/stories/components/button.stories.js b/code/examples/vue-kitchen-sink/src/stories/components/button.stories.js similarity index 100% rename from examples/vue-kitchen-sink/src/stories/components/button.stories.js rename to code/examples/vue-kitchen-sink/src/stories/components/button.stories.js diff --git a/examples/vue-kitchen-sink/src/stories/components/info-button.stories.js b/code/examples/vue-kitchen-sink/src/stories/components/info-button.stories.js similarity index 100% rename from examples/vue-kitchen-sink/src/stories/components/info-button.stories.js rename to code/examples/vue-kitchen-sink/src/stories/components/info-button.stories.js diff --git a/examples/vue-kitchen-sink/src/stories/components/welcome.stories.js b/code/examples/vue-kitchen-sink/src/stories/components/welcome.stories.js similarity index 100% rename from examples/vue-kitchen-sink/src/stories/components/welcome.stories.js rename to code/examples/vue-kitchen-sink/src/stories/components/welcome.stories.js diff --git a/examples/vue-kitchen-sink/src/stories/core-errors.stories.js b/code/examples/vue-kitchen-sink/src/stories/core-errors.stories.js similarity index 100% rename from examples/vue-kitchen-sink/src/stories/core-errors.stories.js rename to code/examples/vue-kitchen-sink/src/stories/core-errors.stories.js diff --git a/examples/vue-kitchen-sink/src/stories/core-template.stories.js b/code/examples/vue-kitchen-sink/src/stories/core-template.stories.js similarity index 100% rename from examples/vue-kitchen-sink/src/stories/core-template.stories.js rename to code/examples/vue-kitchen-sink/src/stories/core-template.stories.js diff --git a/examples/vue-kitchen-sink/src/stories/core.stories.js b/code/examples/vue-kitchen-sink/src/stories/core.stories.js similarity index 100% rename from examples/vue-kitchen-sink/src/stories/core.stories.js rename to code/examples/vue-kitchen-sink/src/stories/core.stories.js diff --git a/examples/vue-kitchen-sink/src/stories/custom-decorators.stories.js b/code/examples/vue-kitchen-sink/src/stories/custom-decorators.stories.js similarity index 100% rename from examples/vue-kitchen-sink/src/stories/custom-decorators.stories.js rename to code/examples/vue-kitchen-sink/src/stories/custom-decorators.stories.js diff --git a/examples/vue-kitchen-sink/src/stories/custom-rendering.stories.js b/code/examples/vue-kitchen-sink/src/stories/custom-rendering.stories.js similarity index 100% rename from examples/vue-kitchen-sink/src/stories/custom-rendering.stories.js rename to code/examples/vue-kitchen-sink/src/stories/custom-rendering.stories.js diff --git a/examples/vue-kitchen-sink/src/stories/issues/11839-undefined-bolean-prop/__snapshots__/index.stories.storyshot b/code/examples/vue-kitchen-sink/src/stories/issues/11839-undefined-bolean-prop/__snapshots__/index.stories.storyshot similarity index 100% rename from examples/vue-kitchen-sink/src/stories/issues/11839-undefined-bolean-prop/__snapshots__/index.stories.storyshot rename to code/examples/vue-kitchen-sink/src/stories/issues/11839-undefined-bolean-prop/__snapshots__/index.stories.storyshot diff --git a/examples/vue-kitchen-sink/src/stories/issues/11839-undefined-bolean-prop/component.vue b/code/examples/vue-kitchen-sink/src/stories/issues/11839-undefined-bolean-prop/component.vue similarity index 100% rename from examples/vue-kitchen-sink/src/stories/issues/11839-undefined-bolean-prop/component.vue rename to code/examples/vue-kitchen-sink/src/stories/issues/11839-undefined-bolean-prop/component.vue diff --git a/examples/vue-kitchen-sink/src/stories/issues/11839-undefined-bolean-prop/index.stories.js b/code/examples/vue-kitchen-sink/src/stories/issues/11839-undefined-bolean-prop/index.stories.js similarity index 100% rename from examples/vue-kitchen-sink/src/stories/issues/11839-undefined-bolean-prop/index.stories.js rename to code/examples/vue-kitchen-sink/src/stories/issues/11839-undefined-bolean-prop/index.stories.js diff --git a/examples/vue-kitchen-sink/vueshots.test.js b/code/examples/vue-kitchen-sink/vueshots.test.js similarity index 100% rename from examples/vue-kitchen-sink/vueshots.test.js rename to code/examples/vue-kitchen-sink/vueshots.test.js diff --git a/examples/vue-kitchen-sink/webpack.config.js b/code/examples/vue-kitchen-sink/webpack.config.js similarity index 100% rename from examples/vue-kitchen-sink/webpack.config.js rename to code/examples/vue-kitchen-sink/webpack.config.js diff --git a/examples/web-components-kitchen-sink/.babelrc b/code/examples/web-components-kitchen-sink/.babelrc similarity index 100% rename from examples/web-components-kitchen-sink/.babelrc rename to code/examples/web-components-kitchen-sink/.babelrc diff --git a/examples/web-components-kitchen-sink/.eslintrc.js b/code/examples/web-components-kitchen-sink/.eslintrc.js similarity index 100% rename from examples/web-components-kitchen-sink/.eslintrc.js rename to code/examples/web-components-kitchen-sink/.eslintrc.js diff --git a/examples/web-components-kitchen-sink/.storybook/main.js b/code/examples/web-components-kitchen-sink/.storybook/main.js similarity index 100% rename from examples/web-components-kitchen-sink/.storybook/main.js rename to code/examples/web-components-kitchen-sink/.storybook/main.js diff --git a/examples/web-components-kitchen-sink/.storybook/preview.js b/code/examples/web-components-kitchen-sink/.storybook/preview.js similarity index 100% rename from examples/web-components-kitchen-sink/.storybook/preview.js rename to code/examples/web-components-kitchen-sink/.storybook/preview.js diff --git a/examples/web-components-kitchen-sink/.yarnrc.yml b/code/examples/web-components-kitchen-sink/.yarnrc.yml similarity index 100% rename from examples/web-components-kitchen-sink/.yarnrc.yml rename to code/examples/web-components-kitchen-sink/.yarnrc.yml diff --git a/examples/web-components-kitchen-sink/README.md b/code/examples/web-components-kitchen-sink/README.md similarity index 100% rename from examples/web-components-kitchen-sink/README.md rename to code/examples/web-components-kitchen-sink/README.md diff --git a/examples/web-components-kitchen-sink/custom-elements-experimental.json b/code/examples/web-components-kitchen-sink/custom-elements-experimental.json similarity index 100% rename from examples/web-components-kitchen-sink/custom-elements-experimental.json rename to code/examples/web-components-kitchen-sink/custom-elements-experimental.json diff --git a/examples/web-components-kitchen-sink/custom-elements.json b/code/examples/web-components-kitchen-sink/custom-elements.json similarity index 100% rename from examples/web-components-kitchen-sink/custom-elements.json rename to code/examples/web-components-kitchen-sink/custom-elements.json diff --git a/examples/web-components-kitchen-sink/demo-wc-card.js b/code/examples/web-components-kitchen-sink/demo-wc-card.js similarity index 100% rename from examples/web-components-kitchen-sink/demo-wc-card.js rename to code/examples/web-components-kitchen-sink/demo-wc-card.js diff --git a/examples/web-components-kitchen-sink/package.json b/code/examples/web-components-kitchen-sink/package.json similarity index 100% rename from examples/web-components-kitchen-sink/package.json rename to code/examples/web-components-kitchen-sink/package.json diff --git a/examples/web-components-kitchen-sink/src/components/sb-button.stories.ts b/code/examples/web-components-kitchen-sink/src/components/sb-button.stories.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/components/sb-button.stories.ts rename to code/examples/web-components-kitchen-sink/src/components/sb-button.stories.ts diff --git a/examples/web-components-kitchen-sink/src/components/sb-button.ts b/code/examples/web-components-kitchen-sink/src/components/sb-button.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/components/sb-button.ts rename to code/examples/web-components-kitchen-sink/src/components/sb-button.ts diff --git a/examples/web-components-kitchen-sink/src/components/sb-header.stories.ts b/code/examples/web-components-kitchen-sink/src/components/sb-header.stories.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/components/sb-header.stories.ts rename to code/examples/web-components-kitchen-sink/src/components/sb-header.stories.ts diff --git a/examples/web-components-kitchen-sink/src/components/sb-header.ts b/code/examples/web-components-kitchen-sink/src/components/sb-header.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/components/sb-header.ts rename to code/examples/web-components-kitchen-sink/src/components/sb-header.ts diff --git a/examples/web-components-kitchen-sink/src/components/sb-page.stories.ts b/code/examples/web-components-kitchen-sink/src/components/sb-page.stories.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/components/sb-page.stories.ts rename to code/examples/web-components-kitchen-sink/src/components/sb-page.stories.ts diff --git a/examples/web-components-kitchen-sink/src/components/sb-page.ts b/code/examples/web-components-kitchen-sink/src/components/sb-page.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/components/sb-page.ts rename to code/examples/web-components-kitchen-sink/src/components/sb-page.ts diff --git a/examples/web-components-kitchen-sink/src/stories/addons/a11y/addon-a11y.stories.ts b/code/examples/web-components-kitchen-sink/src/stories/addons/a11y/addon-a11y.stories.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/stories/addons/a11y/addon-a11y.stories.ts rename to code/examples/web-components-kitchen-sink/src/stories/addons/a11y/addon-a11y.stories.ts diff --git a/examples/web-components-kitchen-sink/src/stories/addons/actions/addon-actions.stories.ts b/code/examples/web-components-kitchen-sink/src/stories/addons/actions/addon-actions.stories.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/stories/addons/actions/addon-actions.stories.ts rename to code/examples/web-components-kitchen-sink/src/stories/addons/actions/addon-actions.stories.ts diff --git a/examples/web-components-kitchen-sink/src/stories/addons/background/addon-background.stories.ts b/code/examples/web-components-kitchen-sink/src/stories/addons/background/addon-background.stories.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/stories/addons/background/addon-background.stories.ts rename to code/examples/web-components-kitchen-sink/src/stories/addons/background/addon-background.stories.ts diff --git a/examples/web-components-kitchen-sink/src/stories/addons/controls/addon-controls.stories.ts b/code/examples/web-components-kitchen-sink/src/stories/addons/controls/addon-controls.stories.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/stories/addons/controls/addon-controls.stories.ts rename to code/examples/web-components-kitchen-sink/src/stories/addons/controls/addon-controls.stories.ts diff --git a/examples/web-components-kitchen-sink/src/stories/addons/docs/addon-docs.stories.mdx b/code/examples/web-components-kitchen-sink/src/stories/addons/docs/addon-docs.stories.mdx similarity index 100% rename from examples/web-components-kitchen-sink/src/stories/addons/docs/addon-docs.stories.mdx rename to code/examples/web-components-kitchen-sink/src/stories/addons/docs/addon-docs.stories.mdx diff --git a/examples/web-components-kitchen-sink/src/stories/addons/docs/addon-docs.stories.ts b/code/examples/web-components-kitchen-sink/src/stories/addons/docs/addon-docs.stories.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/stories/addons/docs/addon-docs.stories.ts rename to code/examples/web-components-kitchen-sink/src/stories/addons/docs/addon-docs.stories.ts diff --git a/examples/web-components-kitchen-sink/src/stories/addons/docs/dynamic-source.stories.mdx b/code/examples/web-components-kitchen-sink/src/stories/addons/docs/dynamic-source.stories.mdx similarity index 100% rename from examples/web-components-kitchen-sink/src/stories/addons/docs/dynamic-source.stories.mdx rename to code/examples/web-components-kitchen-sink/src/stories/addons/docs/dynamic-source.stories.mdx diff --git a/examples/web-components-kitchen-sink/src/stories/addons/docs/notes/notes.mdx b/code/examples/web-components-kitchen-sink/src/stories/addons/docs/notes/notes.mdx similarity index 100% rename from examples/web-components-kitchen-sink/src/stories/addons/docs/notes/notes.mdx rename to code/examples/web-components-kitchen-sink/src/stories/addons/docs/notes/notes.mdx diff --git a/examples/web-components-kitchen-sink/src/stories/addons/interactions/addon-interactions.stories.ts b/code/examples/web-components-kitchen-sink/src/stories/addons/interactions/addon-interactions.stories.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/stories/addons/interactions/addon-interactions.stories.ts rename to code/examples/web-components-kitchen-sink/src/stories/addons/interactions/addon-interactions.stories.ts diff --git a/examples/web-components-kitchen-sink/src/stories/addons/interactions/counter.ts b/code/examples/web-components-kitchen-sink/src/stories/addons/interactions/counter.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/stories/addons/interactions/counter.ts rename to code/examples/web-components-kitchen-sink/src/stories/addons/interactions/counter.ts diff --git a/examples/web-components-kitchen-sink/src/stories/addons/toolbars/addon-toolbars.stories.ts b/code/examples/web-components-kitchen-sink/src/stories/addons/toolbars/addon-toolbars.stories.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/stories/addons/toolbars/addon-toolbars.stories.ts rename to code/examples/web-components-kitchen-sink/src/stories/addons/toolbars/addon-toolbars.stories.ts diff --git a/examples/web-components-kitchen-sink/src/stories/addons/viewport/addon-viewport.stories.ts b/code/examples/web-components-kitchen-sink/src/stories/addons/viewport/addon-viewport.stories.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/stories/addons/viewport/addon-viewport.stories.ts rename to code/examples/web-components-kitchen-sink/src/stories/addons/viewport/addon-viewport.stories.ts diff --git a/examples/web-components-kitchen-sink/src/stories/issues/11831-unknown-component.stories.ts b/code/examples/web-components-kitchen-sink/src/stories/issues/11831-unknown-component.stories.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/stories/issues/11831-unknown-component.stories.ts rename to code/examples/web-components-kitchen-sink/src/stories/issues/11831-unknown-component.stories.ts diff --git a/examples/web-components-kitchen-sink/src/stories/misc/script/script.stories.ts b/code/examples/web-components-kitchen-sink/src/stories/misc/script/script.stories.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/stories/misc/script/script.stories.ts rename to code/examples/web-components-kitchen-sink/src/stories/misc/script/script.stories.ts diff --git a/examples/web-components-kitchen-sink/src/stories/misc/to-update/DemoWcCard.js b/code/examples/web-components-kitchen-sink/src/stories/misc/to-update/DemoWcCard.js similarity index 100% rename from examples/web-components-kitchen-sink/src/stories/misc/to-update/DemoWcCard.js rename to code/examples/web-components-kitchen-sink/src/stories/misc/to-update/DemoWcCard.js diff --git a/examples/web-components-kitchen-sink/src/stories/misc/to-update/addon-docs.stories.mdx b/code/examples/web-components-kitchen-sink/src/stories/misc/to-update/addon-docs.stories.mdx similarity index 100% rename from examples/web-components-kitchen-sink/src/stories/misc/to-update/addon-docs.stories.mdx rename to code/examples/web-components-kitchen-sink/src/stories/misc/to-update/addon-docs.stories.mdx diff --git a/examples/web-components-kitchen-sink/src/stories/misc/to-update/demoWcCardStyle.css.js b/code/examples/web-components-kitchen-sink/src/stories/misc/to-update/demoWcCardStyle.css.js similarity index 100% rename from examples/web-components-kitchen-sink/src/stories/misc/to-update/demoWcCardStyle.css.js rename to code/examples/web-components-kitchen-sink/src/stories/misc/to-update/demoWcCardStyle.css.js diff --git a/examples/web-components-kitchen-sink/src/typings.d.ts b/code/examples/web-components-kitchen-sink/src/typings.d.ts similarity index 100% rename from examples/web-components-kitchen-sink/src/typings.d.ts rename to code/examples/web-components-kitchen-sink/src/typings.d.ts diff --git a/examples/web-components-kitchen-sink/tsconfig.json b/code/examples/web-components-kitchen-sink/tsconfig.json similarity index 100% rename from examples/web-components-kitchen-sink/tsconfig.json rename to code/examples/web-components-kitchen-sink/tsconfig.json diff --git a/examples/web-components-kitchen-sink/web-components-storyshots.test.js b/code/examples/web-components-kitchen-sink/web-components-storyshots.test.js similarity index 100% rename from examples/web-components-kitchen-sink/web-components-storyshots.test.js rename to code/examples/web-components-kitchen-sink/web-components-storyshots.test.js diff --git a/examples/web-components-kitchen-sink/yarn.lock b/code/examples/web-components-kitchen-sink/yarn.lock similarity index 100% rename from examples/web-components-kitchen-sink/yarn.lock rename to code/examples/web-components-kitchen-sink/yarn.lock diff --git a/frameworks/angular/README.md b/code/frameworks/angular/README.md similarity index 100% rename from frameworks/angular/README.md rename to code/frameworks/angular/README.md diff --git a/frameworks/angular/jest.config.js b/code/frameworks/angular/jest.config.js similarity index 100% rename from frameworks/angular/jest.config.js rename to code/frameworks/angular/jest.config.js diff --git a/frameworks/angular/package.json b/code/frameworks/angular/package.json similarity index 98% rename from frameworks/angular/package.json rename to code/frameworks/angular/package.json index e2a52b3026fd..405169ed89d3 100644 --- a/frameworks/angular/package.json +++ b/code/frameworks/angular/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/addons": "7.0.0-alpha.16", diff --git a/frameworks/angular/preset.js b/code/frameworks/angular/preset.js similarity index 100% rename from frameworks/angular/preset.js rename to code/frameworks/angular/preset.js diff --git a/frameworks/angular/renderer.d.ts b/code/frameworks/angular/renderer.d.ts similarity index 100% rename from frameworks/angular/renderer.d.ts rename to code/frameworks/angular/renderer.d.ts diff --git a/frameworks/angular/renderer.js b/code/frameworks/angular/renderer.js similarity index 100% rename from frameworks/angular/renderer.js rename to code/frameworks/angular/renderer.js diff --git a/frameworks/angular/setup-jest.ts b/code/frameworks/angular/setup-jest.ts similarity index 100% rename from frameworks/angular/setup-jest.ts rename to code/frameworks/angular/setup-jest.ts diff --git a/frameworks/angular/src/builders/build-storybook/index.spec.ts b/code/frameworks/angular/src/builders/build-storybook/index.spec.ts similarity index 100% rename from frameworks/angular/src/builders/build-storybook/index.spec.ts rename to code/frameworks/angular/src/builders/build-storybook/index.spec.ts diff --git a/frameworks/angular/src/builders/build-storybook/index.ts b/code/frameworks/angular/src/builders/build-storybook/index.ts similarity index 100% rename from frameworks/angular/src/builders/build-storybook/index.ts rename to code/frameworks/angular/src/builders/build-storybook/index.ts diff --git a/frameworks/angular/src/builders/build-storybook/schema.json b/code/frameworks/angular/src/builders/build-storybook/schema.json similarity index 100% rename from frameworks/angular/src/builders/build-storybook/schema.json rename to code/frameworks/angular/src/builders/build-storybook/schema.json diff --git a/frameworks/angular/src/builders/builders.json b/code/frameworks/angular/src/builders/builders.json similarity index 100% rename from frameworks/angular/src/builders/builders.json rename to code/frameworks/angular/src/builders/builders.json diff --git a/frameworks/angular/src/builders/start-storybook/index.spec.ts b/code/frameworks/angular/src/builders/start-storybook/index.spec.ts similarity index 100% rename from frameworks/angular/src/builders/start-storybook/index.spec.ts rename to code/frameworks/angular/src/builders/start-storybook/index.spec.ts diff --git a/frameworks/angular/src/builders/start-storybook/index.ts b/code/frameworks/angular/src/builders/start-storybook/index.ts similarity index 100% rename from frameworks/angular/src/builders/start-storybook/index.ts rename to code/frameworks/angular/src/builders/start-storybook/index.ts diff --git a/frameworks/angular/src/builders/start-storybook/schema.json b/code/frameworks/angular/src/builders/start-storybook/schema.json similarity index 100% rename from frameworks/angular/src/builders/start-storybook/schema.json rename to code/frameworks/angular/src/builders/start-storybook/schema.json diff --git a/frameworks/angular/src/builders/utils/build-standalone-errors-handler.ts b/code/frameworks/angular/src/builders/utils/build-standalone-errors-handler.ts similarity index 100% rename from frameworks/angular/src/builders/utils/build-standalone-errors-handler.ts rename to code/frameworks/angular/src/builders/utils/build-standalone-errors-handler.ts diff --git a/frameworks/angular/src/builders/utils/run-compodoc.spec.ts b/code/frameworks/angular/src/builders/utils/run-compodoc.spec.ts similarity index 100% rename from frameworks/angular/src/builders/utils/run-compodoc.spec.ts rename to code/frameworks/angular/src/builders/utils/run-compodoc.spec.ts diff --git a/frameworks/angular/src/builders/utils/run-compodoc.ts b/code/frameworks/angular/src/builders/utils/run-compodoc.ts similarity index 100% rename from frameworks/angular/src/builders/utils/run-compodoc.ts rename to code/frameworks/angular/src/builders/utils/run-compodoc.ts diff --git a/frameworks/angular/src/builders/utils/standalone-options.ts b/code/frameworks/angular/src/builders/utils/standalone-options.ts similarity index 100% rename from frameworks/angular/src/builders/utils/standalone-options.ts rename to code/frameworks/angular/src/builders/utils/standalone-options.ts diff --git a/frameworks/angular/src/client/angular-beta/AbstractRenderer.ts b/code/frameworks/angular/src/client/angular-beta/AbstractRenderer.ts similarity index 100% rename from frameworks/angular/src/client/angular-beta/AbstractRenderer.ts rename to code/frameworks/angular/src/client/angular-beta/AbstractRenderer.ts diff --git a/frameworks/angular/src/client/angular-beta/CanvasRenderer.ts b/code/frameworks/angular/src/client/angular-beta/CanvasRenderer.ts similarity index 100% rename from frameworks/angular/src/client/angular-beta/CanvasRenderer.ts rename to code/frameworks/angular/src/client/angular-beta/CanvasRenderer.ts diff --git a/frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.test.ts b/code/frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.test.ts similarity index 100% rename from frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.test.ts rename to code/frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.test.ts diff --git a/frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.ts b/code/frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.ts similarity index 100% rename from frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.ts rename to code/frameworks/angular/src/client/angular-beta/ComputesTemplateFromComponent.ts diff --git a/frameworks/angular/src/client/angular-beta/DocsRenderer.ts b/code/frameworks/angular/src/client/angular-beta/DocsRenderer.ts similarity index 100% rename from frameworks/angular/src/client/angular-beta/DocsRenderer.ts rename to code/frameworks/angular/src/client/angular-beta/DocsRenderer.ts diff --git a/frameworks/angular/src/client/angular-beta/RendererFactory.test.ts b/code/frameworks/angular/src/client/angular-beta/RendererFactory.test.ts similarity index 100% rename from frameworks/angular/src/client/angular-beta/RendererFactory.test.ts rename to code/frameworks/angular/src/client/angular-beta/RendererFactory.test.ts diff --git a/frameworks/angular/src/client/angular-beta/RendererFactory.ts b/code/frameworks/angular/src/client/angular-beta/RendererFactory.ts similarity index 100% rename from frameworks/angular/src/client/angular-beta/RendererFactory.ts rename to code/frameworks/angular/src/client/angular-beta/RendererFactory.ts diff --git a/frameworks/angular/src/client/angular-beta/StorybookModule.test.ts b/code/frameworks/angular/src/client/angular-beta/StorybookModule.test.ts similarity index 100% rename from frameworks/angular/src/client/angular-beta/StorybookModule.test.ts rename to code/frameworks/angular/src/client/angular-beta/StorybookModule.test.ts diff --git a/frameworks/angular/src/client/angular-beta/StorybookModule.ts b/code/frameworks/angular/src/client/angular-beta/StorybookModule.ts similarity index 100% rename from frameworks/angular/src/client/angular-beta/StorybookModule.ts rename to code/frameworks/angular/src/client/angular-beta/StorybookModule.ts diff --git a/frameworks/angular/src/client/angular-beta/StorybookProvider.ts b/code/frameworks/angular/src/client/angular-beta/StorybookProvider.ts similarity index 100% rename from frameworks/angular/src/client/angular-beta/StorybookProvider.ts rename to code/frameworks/angular/src/client/angular-beta/StorybookProvider.ts diff --git a/frameworks/angular/src/client/angular-beta/StorybookWrapperComponent.ts b/code/frameworks/angular/src/client/angular-beta/StorybookWrapperComponent.ts similarity index 100% rename from frameworks/angular/src/client/angular-beta/StorybookWrapperComponent.ts rename to code/frameworks/angular/src/client/angular-beta/StorybookWrapperComponent.ts diff --git a/frameworks/angular/src/client/angular-beta/__testfixtures__/input.component.ts b/code/frameworks/angular/src/client/angular-beta/__testfixtures__/input.component.ts similarity index 100% rename from frameworks/angular/src/client/angular-beta/__testfixtures__/input.component.ts rename to code/frameworks/angular/src/client/angular-beta/__testfixtures__/input.component.ts diff --git a/frameworks/angular/src/client/angular-beta/utils/NgComponentAnalyzer.test.ts b/code/frameworks/angular/src/client/angular-beta/utils/NgComponentAnalyzer.test.ts similarity index 100% rename from frameworks/angular/src/client/angular-beta/utils/NgComponentAnalyzer.test.ts rename to code/frameworks/angular/src/client/angular-beta/utils/NgComponentAnalyzer.test.ts diff --git a/frameworks/angular/src/client/angular-beta/utils/NgComponentAnalyzer.ts b/code/frameworks/angular/src/client/angular-beta/utils/NgComponentAnalyzer.ts similarity index 100% rename from frameworks/angular/src/client/angular-beta/utils/NgComponentAnalyzer.ts rename to code/frameworks/angular/src/client/angular-beta/utils/NgComponentAnalyzer.ts diff --git a/frameworks/angular/src/client/angular-beta/utils/NgModulesAnalyzer.test.ts b/code/frameworks/angular/src/client/angular-beta/utils/NgModulesAnalyzer.test.ts similarity index 100% rename from frameworks/angular/src/client/angular-beta/utils/NgModulesAnalyzer.test.ts rename to code/frameworks/angular/src/client/angular-beta/utils/NgModulesAnalyzer.test.ts diff --git a/frameworks/angular/src/client/angular-beta/utils/NgModulesAnalyzer.ts b/code/frameworks/angular/src/client/angular-beta/utils/NgModulesAnalyzer.ts similarity index 100% rename from frameworks/angular/src/client/angular-beta/utils/NgModulesAnalyzer.ts rename to code/frameworks/angular/src/client/angular-beta/utils/NgModulesAnalyzer.ts diff --git a/frameworks/angular/src/client/angular/app.component.ts b/code/frameworks/angular/src/client/angular/app.component.ts similarity index 100% rename from frameworks/angular/src/client/angular/app.component.ts rename to code/frameworks/angular/src/client/angular/app.component.ts diff --git a/frameworks/angular/src/client/angular/app.token.ts b/code/frameworks/angular/src/client/angular/app.token.ts similarity index 100% rename from frameworks/angular/src/client/angular/app.token.ts rename to code/frameworks/angular/src/client/angular/app.token.ts diff --git a/frameworks/angular/src/client/angular/helpers.ts b/code/frameworks/angular/src/client/angular/helpers.ts similarity index 100% rename from frameworks/angular/src/client/angular/helpers.ts rename to code/frameworks/angular/src/client/angular/helpers.ts diff --git a/frameworks/angular/src/client/config.ts b/code/frameworks/angular/src/client/config.ts similarity index 100% rename from frameworks/angular/src/client/config.ts rename to code/frameworks/angular/src/client/config.ts diff --git a/frameworks/angular/src/client/decorateStory.test.ts b/code/frameworks/angular/src/client/decorateStory.test.ts similarity index 100% rename from frameworks/angular/src/client/decorateStory.test.ts rename to code/frameworks/angular/src/client/decorateStory.test.ts diff --git a/frameworks/angular/src/client/decorateStory.ts b/code/frameworks/angular/src/client/decorateStory.ts similarity index 100% rename from frameworks/angular/src/client/decorateStory.ts rename to code/frameworks/angular/src/client/decorateStory.ts diff --git a/frameworks/angular/src/client/decorators.test.ts b/code/frameworks/angular/src/client/decorators.test.ts similarity index 100% rename from frameworks/angular/src/client/decorators.test.ts rename to code/frameworks/angular/src/client/decorators.test.ts diff --git a/frameworks/angular/src/client/decorators.ts b/code/frameworks/angular/src/client/decorators.ts similarity index 100% rename from frameworks/angular/src/client/decorators.ts rename to code/frameworks/angular/src/client/decorators.ts diff --git a/frameworks/angular/src/client/docs/__testfixtures__/doc-button/argtypes.snapshot b/code/frameworks/angular/src/client/docs/__testfixtures__/doc-button/argtypes.snapshot similarity index 100% rename from frameworks/angular/src/client/docs/__testfixtures__/doc-button/argtypes.snapshot rename to code/frameworks/angular/src/client/docs/__testfixtures__/doc-button/argtypes.snapshot diff --git a/frameworks/angular/src/client/docs/__testfixtures__/doc-button/compodoc-posix.snapshot b/code/frameworks/angular/src/client/docs/__testfixtures__/doc-button/compodoc-posix.snapshot similarity index 100% rename from frameworks/angular/src/client/docs/__testfixtures__/doc-button/compodoc-posix.snapshot rename to code/frameworks/angular/src/client/docs/__testfixtures__/doc-button/compodoc-posix.snapshot diff --git a/frameworks/angular/src/client/docs/__testfixtures__/doc-button/compodoc-undefined.snapshot b/code/frameworks/angular/src/client/docs/__testfixtures__/doc-button/compodoc-undefined.snapshot similarity index 100% rename from frameworks/angular/src/client/docs/__testfixtures__/doc-button/compodoc-undefined.snapshot rename to code/frameworks/angular/src/client/docs/__testfixtures__/doc-button/compodoc-undefined.snapshot diff --git a/frameworks/angular/src/client/docs/__testfixtures__/doc-button/compodoc-windows.snapshot b/code/frameworks/angular/src/client/docs/__testfixtures__/doc-button/compodoc-windows.snapshot similarity index 100% rename from frameworks/angular/src/client/docs/__testfixtures__/doc-button/compodoc-windows.snapshot rename to code/frameworks/angular/src/client/docs/__testfixtures__/doc-button/compodoc-windows.snapshot diff --git a/frameworks/angular/src/client/docs/__testfixtures__/doc-button/input.ts b/code/frameworks/angular/src/client/docs/__testfixtures__/doc-button/input.ts similarity index 100% rename from frameworks/angular/src/client/docs/__testfixtures__/doc-button/input.ts rename to code/frameworks/angular/src/client/docs/__testfixtures__/doc-button/input.ts diff --git a/frameworks/angular/src/client/docs/__testfixtures__/doc-button/properties.snapshot b/code/frameworks/angular/src/client/docs/__testfixtures__/doc-button/properties.snapshot similarity index 100% rename from frameworks/angular/src/client/docs/__testfixtures__/doc-button/properties.snapshot rename to code/frameworks/angular/src/client/docs/__testfixtures__/doc-button/properties.snapshot diff --git a/frameworks/angular/src/client/docs/__testfixtures__/doc-button/tsconfig.json b/code/frameworks/angular/src/client/docs/__testfixtures__/doc-button/tsconfig.json similarity index 100% rename from frameworks/angular/src/client/docs/__testfixtures__/doc-button/tsconfig.json rename to code/frameworks/angular/src/client/docs/__testfixtures__/doc-button/tsconfig.json diff --git a/frameworks/angular/src/client/docs/angular-properties.test.ts b/code/frameworks/angular/src/client/docs/angular-properties.test.ts similarity index 100% rename from frameworks/angular/src/client/docs/angular-properties.test.ts rename to code/frameworks/angular/src/client/docs/angular-properties.test.ts diff --git a/frameworks/angular/src/client/docs/compodoc.test.ts b/code/frameworks/angular/src/client/docs/compodoc.test.ts similarity index 100% rename from frameworks/angular/src/client/docs/compodoc.test.ts rename to code/frameworks/angular/src/client/docs/compodoc.test.ts diff --git a/frameworks/angular/src/client/docs/compodoc.ts b/code/frameworks/angular/src/client/docs/compodoc.ts similarity index 100% rename from frameworks/angular/src/client/docs/compodoc.ts rename to code/frameworks/angular/src/client/docs/compodoc.ts diff --git a/frameworks/angular/src/client/docs/config.ts b/code/frameworks/angular/src/client/docs/config.ts similarity index 100% rename from frameworks/angular/src/client/docs/config.ts rename to code/frameworks/angular/src/client/docs/config.ts diff --git a/frameworks/angular/src/client/docs/index.ts b/code/frameworks/angular/src/client/docs/index.ts similarity index 100% rename from frameworks/angular/src/client/docs/index.ts rename to code/frameworks/angular/src/client/docs/index.ts diff --git a/frameworks/angular/src/client/docs/sourceDecorator.ts b/code/frameworks/angular/src/client/docs/sourceDecorator.ts similarity index 100% rename from frameworks/angular/src/client/docs/sourceDecorator.ts rename to code/frameworks/angular/src/client/docs/sourceDecorator.ts diff --git a/frameworks/angular/src/client/docs/types.ts b/code/frameworks/angular/src/client/docs/types.ts similarity index 100% rename from frameworks/angular/src/client/docs/types.ts rename to code/frameworks/angular/src/client/docs/types.ts diff --git a/frameworks/angular/src/client/globals.ts b/code/frameworks/angular/src/client/globals.ts similarity index 100% rename from frameworks/angular/src/client/globals.ts rename to code/frameworks/angular/src/client/globals.ts diff --git a/frameworks/angular/src/client/index.ts b/code/frameworks/angular/src/client/index.ts similarity index 100% rename from frameworks/angular/src/client/index.ts rename to code/frameworks/angular/src/client/index.ts diff --git a/frameworks/angular/src/client/public-api.ts b/code/frameworks/angular/src/client/public-api.ts similarity index 100% rename from frameworks/angular/src/client/public-api.ts rename to code/frameworks/angular/src/client/public-api.ts diff --git a/frameworks/angular/src/client/public-types.ts b/code/frameworks/angular/src/client/public-types.ts similarity index 100% rename from frameworks/angular/src/client/public-types.ts rename to code/frameworks/angular/src/client/public-types.ts diff --git a/frameworks/angular/src/client/render.ts b/code/frameworks/angular/src/client/render.ts similarity index 100% rename from frameworks/angular/src/client/render.ts rename to code/frameworks/angular/src/client/render.ts diff --git a/frameworks/angular/src/client/types.ts b/code/frameworks/angular/src/client/types.ts similarity index 100% rename from frameworks/angular/src/client/types.ts rename to code/frameworks/angular/src/client/types.ts diff --git a/frameworks/angular/src/index.ts b/code/frameworks/angular/src/index.ts similarity index 100% rename from frameworks/angular/src/index.ts rename to code/frameworks/angular/src/index.ts diff --git a/frameworks/angular/src/preset.ts b/code/frameworks/angular/src/preset.ts similarity index 100% rename from frameworks/angular/src/preset.ts rename to code/frameworks/angular/src/preset.ts diff --git a/frameworks/angular/src/renderer.ts b/code/frameworks/angular/src/renderer.ts similarity index 100% rename from frameworks/angular/src/renderer.ts rename to code/frameworks/angular/src/renderer.ts diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/empty-projects-entry/angular.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/empty-projects-entry/angular.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/empty-projects-entry/angular.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/empty-projects-entry/angular.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/minimal-config/angular.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/minimal-config/angular.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/minimal-config/angular.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/minimal-config/angular.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/minimal-config/src/main.ts b/code/frameworks/angular/src/server/__mocks-ng-workspace__/minimal-config/src/main.ts similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/minimal-config/src/main.ts rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/minimal-config/src/main.ts diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/minimal-config/src/tsconfig.app.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/minimal-config/src/tsconfig.app.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/minimal-config/src/tsconfig.app.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/minimal-config/src/tsconfig.app.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/minimal-config/tsconfig.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/minimal-config/tsconfig.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/minimal-config/tsconfig.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/minimal-config/tsconfig.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/some-config/angular.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/some-config/angular.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/some-config/angular.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/some-config/angular.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/some-config/src/main.ts b/code/frameworks/angular/src/server/__mocks-ng-workspace__/some-config/src/main.ts similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/some-config/src/main.ts rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/some-config/src/main.ts diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/some-config/src/tsconfig.app.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/some-config/src/tsconfig.app.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/some-config/src/tsconfig.app.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/some-config/src/tsconfig.app.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/some-config/tsconfig.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/some-config/tsconfig.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/some-config/tsconfig.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/some-config/tsconfig.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/angular.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/angular.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/angular.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/angular.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/src/main.ts b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/src/main.ts similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/src/main.ts rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/src/main.ts diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/src/styles.css b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/src/styles.css similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/src/styles.css rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/src/styles.css diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/src/tsconfig.app.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/src/tsconfig.app.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/src/tsconfig.app.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/src/tsconfig.app.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/tsconfig.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/tsconfig.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/tsconfig.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-angularBrowserTarget/tsconfig.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-lib/angular.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-lib/angular.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-lib/angular.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-lib/angular.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-lib/projects/pattern-lib/src/main.ts b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-lib/projects/pattern-lib/src/main.ts similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-lib/projects/pattern-lib/src/main.ts rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-lib/projects/pattern-lib/src/main.ts diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-lib/projects/pattern-lib/tsconfig.lib.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-lib/projects/pattern-lib/tsconfig.lib.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-lib/projects/pattern-lib/tsconfig.lib.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-lib/projects/pattern-lib/tsconfig.lib.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-lib/tsconfig.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-lib/tsconfig.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-lib/tsconfig.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-lib/tsconfig.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/nx.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/nx.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/nx.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/nx.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/src/main.ts b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/src/main.ts similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/src/main.ts rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/src/main.ts diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/src/styles.css b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/src/styles.css similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/src/styles.css rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/src/styles.css diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/src/styles.scss b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/src/styles.scss similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/src/styles.scss rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/src/styles.scss diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/src/tsconfig.app.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/src/tsconfig.app.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/src/tsconfig.app.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/src/tsconfig.app.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/tsconfig.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/tsconfig.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/tsconfig.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/tsconfig.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/workspace.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/workspace.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/workspace.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx-workspace/workspace.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/angular.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/angular.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/angular.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/angular.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/nx.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/nx.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/nx.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/nx.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/src/main.ts b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/src/main.ts similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/src/main.ts rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/src/main.ts diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/src/styles.css b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/src/styles.css similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/src/styles.css rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/src/styles.css diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/src/styles.scss b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/src/styles.scss similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/src/styles.scss rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/src/styles.scss diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/src/tsconfig.app.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/src/tsconfig.app.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/src/tsconfig.app.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/src/tsconfig.app.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/tsconfig.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/tsconfig.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/tsconfig.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-nx/tsconfig.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/angular.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/angular.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/angular.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/angular.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/src/main.ts b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/src/main.ts similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/src/main.ts rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/src/main.ts diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/src/styles.css b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/src/styles.css similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/src/styles.css rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/src/styles.css diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/src/styles.scss b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/src/styles.scss similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/src/styles.scss rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/src/styles.scss diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/src/tsconfig.app.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/src/tsconfig.app.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/src/tsconfig.app.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/src/tsconfig.app.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/tsconfig.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/tsconfig.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/tsconfig.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/with-options-styles/tsconfig.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/without-architect-build-options/angular.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/without-architect-build-options/angular.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/without-architect-build-options/angular.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/without-architect-build-options/angular.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/without-architect-build/angular.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/without-architect-build/angular.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/without-architect-build/angular.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/without-architect-build/angular.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/without-compatible-projects/angular.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/without-compatible-projects/angular.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/without-compatible-projects/angular.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/without-compatible-projects/angular.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/without-projects-entry/angular.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/without-projects-entry/angular.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/without-projects-entry/angular.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/without-projects-entry/angular.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/without-projects-entry/projects/pattern-lib/src/main.ts b/code/frameworks/angular/src/server/__mocks-ng-workspace__/without-projects-entry/projects/pattern-lib/src/main.ts similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/without-projects-entry/projects/pattern-lib/src/main.ts rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/without-projects-entry/projects/pattern-lib/src/main.ts diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/without-projects-entry/projects/pattern-lib/tsconfig.lib.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/without-projects-entry/projects/pattern-lib/tsconfig.lib.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/without-projects-entry/projects/pattern-lib/tsconfig.lib.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/without-projects-entry/projects/pattern-lib/tsconfig.lib.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/without-projects-entry/tsconfig.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/without-projects-entry/tsconfig.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/without-projects-entry/tsconfig.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/without-projects-entry/tsconfig.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/without-tsConfig/angular.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/without-tsConfig/angular.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/without-tsConfig/angular.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/without-tsConfig/angular.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/without-tsConfig/src/main.ts b/code/frameworks/angular/src/server/__mocks-ng-workspace__/without-tsConfig/src/main.ts similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/without-tsConfig/src/main.ts rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/without-tsConfig/src/main.ts diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/without-tsConfig/src/tsconfig.app.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/without-tsConfig/src/tsconfig.app.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/without-tsConfig/src/tsconfig.app.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/without-tsConfig/src/tsconfig.app.json diff --git a/frameworks/angular/src/server/__mocks-ng-workspace__/without-tsConfig/tsconfig.json b/code/frameworks/angular/src/server/__mocks-ng-workspace__/without-tsConfig/tsconfig.json similarity index 100% rename from frameworks/angular/src/server/__mocks-ng-workspace__/without-tsConfig/tsconfig.json rename to code/frameworks/angular/src/server/__mocks-ng-workspace__/without-tsConfig/tsconfig.json diff --git a/frameworks/angular/src/server/__tests__/angular.json b/code/frameworks/angular/src/server/__tests__/angular.json similarity index 100% rename from frameworks/angular/src/server/__tests__/angular.json rename to code/frameworks/angular/src/server/__tests__/angular.json diff --git a/frameworks/angular/src/server/__tests__/create-fork-ts-checker-plugin.test.ts b/code/frameworks/angular/src/server/__tests__/create-fork-ts-checker-plugin.test.ts similarity index 100% rename from frameworks/angular/src/server/__tests__/create-fork-ts-checker-plugin.test.ts rename to code/frameworks/angular/src/server/__tests__/create-fork-ts-checker-plugin.test.ts diff --git a/frameworks/angular/src/server/__tests__/ts_config.test.ts b/code/frameworks/angular/src/server/__tests__/ts_config.test.ts similarity index 100% rename from frameworks/angular/src/server/__tests__/ts_config.test.ts rename to code/frameworks/angular/src/server/__tests__/ts_config.test.ts diff --git a/frameworks/angular/src/server/angular-cli-webpack-12.2.x.d.ts b/code/frameworks/angular/src/server/angular-cli-webpack-12.2.x.d.ts similarity index 100% rename from frameworks/angular/src/server/angular-cli-webpack-12.2.x.d.ts rename to code/frameworks/angular/src/server/angular-cli-webpack-12.2.x.d.ts diff --git a/frameworks/angular/src/server/angular-cli-webpack-12.2.x.js b/code/frameworks/angular/src/server/angular-cli-webpack-12.2.x.js similarity index 100% rename from frameworks/angular/src/server/angular-cli-webpack-12.2.x.js rename to code/frameworks/angular/src/server/angular-cli-webpack-12.2.x.js diff --git a/frameworks/angular/src/server/angular-cli-webpack-13.x.x.d.ts b/code/frameworks/angular/src/server/angular-cli-webpack-13.x.x.d.ts similarity index 100% rename from frameworks/angular/src/server/angular-cli-webpack-13.x.x.d.ts rename to code/frameworks/angular/src/server/angular-cli-webpack-13.x.x.d.ts diff --git a/frameworks/angular/src/server/angular-cli-webpack-13.x.x.js b/code/frameworks/angular/src/server/angular-cli-webpack-13.x.x.js similarity index 100% rename from frameworks/angular/src/server/angular-cli-webpack-13.x.x.js rename to code/frameworks/angular/src/server/angular-cli-webpack-13.x.x.js diff --git a/frameworks/angular/src/server/angular-cli-webpack-older.ts b/code/frameworks/angular/src/server/angular-cli-webpack-older.ts similarity index 100% rename from frameworks/angular/src/server/angular-cli-webpack-older.ts rename to code/frameworks/angular/src/server/angular-cli-webpack-older.ts diff --git a/frameworks/angular/src/server/angular-devkit-build-webpack.ts b/code/frameworks/angular/src/server/angular-devkit-build-webpack.ts similarity index 100% rename from frameworks/angular/src/server/angular-devkit-build-webpack.ts rename to code/frameworks/angular/src/server/angular-devkit-build-webpack.ts diff --git a/frameworks/angular/src/server/angular-read-workspace.ts b/code/frameworks/angular/src/server/angular-read-workspace.ts similarity index 100% rename from frameworks/angular/src/server/angular-read-workspace.ts rename to code/frameworks/angular/src/server/angular-read-workspace.ts diff --git a/frameworks/angular/src/server/create-fork-ts-checker-plugin.ts b/code/frameworks/angular/src/server/create-fork-ts-checker-plugin.ts similarity index 100% rename from frameworks/angular/src/server/create-fork-ts-checker-plugin.ts rename to code/frameworks/angular/src/server/create-fork-ts-checker-plugin.ts diff --git a/frameworks/angular/src/server/framework-preset-angular-cli.test.ts b/code/frameworks/angular/src/server/framework-preset-angular-cli.test.ts similarity index 100% rename from frameworks/angular/src/server/framework-preset-angular-cli.test.ts rename to code/frameworks/angular/src/server/framework-preset-angular-cli.test.ts diff --git a/frameworks/angular/src/server/framework-preset-angular-cli.ts b/code/frameworks/angular/src/server/framework-preset-angular-cli.ts similarity index 100% rename from frameworks/angular/src/server/framework-preset-angular-cli.ts rename to code/frameworks/angular/src/server/framework-preset-angular-cli.ts diff --git a/frameworks/angular/src/server/framework-preset-angular-docs.ts b/code/frameworks/angular/src/server/framework-preset-angular-docs.ts similarity index 100% rename from frameworks/angular/src/server/framework-preset-angular-docs.ts rename to code/frameworks/angular/src/server/framework-preset-angular-docs.ts diff --git a/frameworks/angular/src/server/framework-preset-angular-ivy.ts b/code/frameworks/angular/src/server/framework-preset-angular-ivy.ts similarity index 100% rename from frameworks/angular/src/server/framework-preset-angular-ivy.ts rename to code/frameworks/angular/src/server/framework-preset-angular-ivy.ts diff --git a/frameworks/angular/src/server/framework-preset-angular.ts b/code/frameworks/angular/src/server/framework-preset-angular.ts similarity index 100% rename from frameworks/angular/src/server/framework-preset-angular.ts rename to code/frameworks/angular/src/server/framework-preset-angular.ts diff --git a/frameworks/angular/src/server/ngx-template-loader/index.ts b/code/frameworks/angular/src/server/ngx-template-loader/index.ts similarity index 100% rename from frameworks/angular/src/server/ngx-template-loader/index.ts rename to code/frameworks/angular/src/server/ngx-template-loader/index.ts diff --git a/frameworks/angular/src/server/preset-options.ts b/code/frameworks/angular/src/server/preset-options.ts similarity index 100% rename from frameworks/angular/src/server/preset-options.ts rename to code/frameworks/angular/src/server/preset-options.ts diff --git a/frameworks/angular/src/server/ts_config.ts b/code/frameworks/angular/src/server/ts_config.ts similarity index 100% rename from frameworks/angular/src/server/ts_config.ts rename to code/frameworks/angular/src/server/ts_config.ts diff --git a/frameworks/angular/src/server/utils/filter-out-styling-rules.ts b/code/frameworks/angular/src/server/utils/filter-out-styling-rules.ts similarity index 100% rename from frameworks/angular/src/server/utils/filter-out-styling-rules.ts rename to code/frameworks/angular/src/server/utils/filter-out-styling-rules.ts diff --git a/frameworks/angular/src/server/utils/module-is-available.ts b/code/frameworks/angular/src/server/utils/module-is-available.ts similarity index 100% rename from frameworks/angular/src/server/utils/module-is-available.ts rename to code/frameworks/angular/src/server/utils/module-is-available.ts diff --git a/frameworks/angular/src/server/utils/normalize-asset-patterns.ts b/code/frameworks/angular/src/server/utils/normalize-asset-patterns.ts similarity index 100% rename from frameworks/angular/src/server/utils/normalize-asset-patterns.ts rename to code/frameworks/angular/src/server/utils/normalize-asset-patterns.ts diff --git a/frameworks/angular/src/server/utils/normalize-optimization.ts b/code/frameworks/angular/src/server/utils/normalize-optimization.ts similarity index 100% rename from frameworks/angular/src/server/utils/normalize-optimization.ts rename to code/frameworks/angular/src/server/utils/normalize-optimization.ts diff --git a/frameworks/angular/src/types.ts b/code/frameworks/angular/src/types.ts similarity index 100% rename from frameworks/angular/src/types.ts rename to code/frameworks/angular/src/types.ts diff --git a/frameworks/angular/src/typings.d.ts b/code/frameworks/angular/src/typings.d.ts similarity index 100% rename from frameworks/angular/src/typings.d.ts rename to code/frameworks/angular/src/typings.d.ts diff --git a/frameworks/angular/tsconfig.json b/code/frameworks/angular/tsconfig.json similarity index 100% rename from frameworks/angular/tsconfig.json rename to code/frameworks/angular/tsconfig.json diff --git a/frameworks/angular/tsconfig.spec.json b/code/frameworks/angular/tsconfig.spec.json similarity index 100% rename from frameworks/angular/tsconfig.spec.json rename to code/frameworks/angular/tsconfig.spec.json diff --git a/frameworks/ember/README.md b/code/frameworks/ember/README.md similarity index 100% rename from frameworks/ember/README.md rename to code/frameworks/ember/README.md diff --git a/frameworks/ember/package.json b/code/frameworks/ember/package.json similarity index 97% rename from frameworks/ember/package.json rename to code/frameworks/ember/package.json index 77deabecb05c..a047fecea3a3 100644 --- a/frameworks/ember/package.json +++ b/code/frameworks/ember/package.json @@ -27,7 +27,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.16", diff --git a/frameworks/ember/preset.js b/code/frameworks/ember/preset.js similarity index 100% rename from frameworks/ember/preset.js rename to code/frameworks/ember/preset.js diff --git a/frameworks/ember/src/client/docs/config.js b/code/frameworks/ember/src/client/docs/config.js similarity index 100% rename from frameworks/ember/src/client/docs/config.js rename to code/frameworks/ember/src/client/docs/config.js diff --git a/frameworks/ember/src/client/docs/index.js b/code/frameworks/ember/src/client/docs/index.js similarity index 100% rename from frameworks/ember/src/client/docs/index.js rename to code/frameworks/ember/src/client/docs/index.js diff --git a/frameworks/ember/src/client/docs/jsondoc.js b/code/frameworks/ember/src/client/docs/jsondoc.js similarity index 100% rename from frameworks/ember/src/client/docs/jsondoc.js rename to code/frameworks/ember/src/client/docs/jsondoc.js diff --git a/frameworks/ember/src/client/preview/config.ts b/code/frameworks/ember/src/client/preview/config.ts similarity index 100% rename from frameworks/ember/src/client/preview/config.ts rename to code/frameworks/ember/src/client/preview/config.ts diff --git a/frameworks/ember/src/client/preview/docs/config.js b/code/frameworks/ember/src/client/preview/docs/config.js similarity index 100% rename from frameworks/ember/src/client/preview/docs/config.js rename to code/frameworks/ember/src/client/preview/docs/config.js diff --git a/frameworks/ember/src/client/preview/docs/index.js b/code/frameworks/ember/src/client/preview/docs/index.js similarity index 100% rename from frameworks/ember/src/client/preview/docs/index.js rename to code/frameworks/ember/src/client/preview/docs/index.js diff --git a/frameworks/ember/src/client/preview/docs/jsondoc.js b/code/frameworks/ember/src/client/preview/docs/jsondoc.js similarity index 100% rename from frameworks/ember/src/client/preview/docs/jsondoc.js rename to code/frameworks/ember/src/client/preview/docs/jsondoc.js diff --git a/frameworks/ember/src/client/preview/globals.ts b/code/frameworks/ember/src/client/preview/globals.ts similarity index 100% rename from frameworks/ember/src/client/preview/globals.ts rename to code/frameworks/ember/src/client/preview/globals.ts diff --git a/frameworks/ember/src/client/preview/index.ts b/code/frameworks/ember/src/client/preview/index.ts similarity index 100% rename from frameworks/ember/src/client/preview/index.ts rename to code/frameworks/ember/src/client/preview/index.ts diff --git a/frameworks/ember/src/client/preview/render.ts b/code/frameworks/ember/src/client/preview/render.ts similarity index 100% rename from frameworks/ember/src/client/preview/render.ts rename to code/frameworks/ember/src/client/preview/render.ts diff --git a/frameworks/ember/src/client/preview/types.ts b/code/frameworks/ember/src/client/preview/types.ts similarity index 100% rename from frameworks/ember/src/client/preview/types.ts rename to code/frameworks/ember/src/client/preview/types.ts diff --git a/frameworks/ember/src/index.ts b/code/frameworks/ember/src/index.ts similarity index 100% rename from frameworks/ember/src/index.ts rename to code/frameworks/ember/src/index.ts diff --git a/frameworks/ember/src/preset.ts b/code/frameworks/ember/src/preset.ts similarity index 100% rename from frameworks/ember/src/preset.ts rename to code/frameworks/ember/src/preset.ts diff --git a/frameworks/ember/src/server/framework-preset-babel-ember.ts b/code/frameworks/ember/src/server/framework-preset-babel-ember.ts similarity index 100% rename from frameworks/ember/src/server/framework-preset-babel-ember.ts rename to code/frameworks/ember/src/server/framework-preset-babel-ember.ts diff --git a/frameworks/ember/src/server/framework-preset-ember-docs.ts b/code/frameworks/ember/src/server/framework-preset-ember-docs.ts similarity index 100% rename from frameworks/ember/src/server/framework-preset-ember-docs.ts rename to code/frameworks/ember/src/server/framework-preset-ember-docs.ts diff --git a/frameworks/ember/src/types.ts b/code/frameworks/ember/src/types.ts similarity index 100% rename from frameworks/ember/src/types.ts rename to code/frameworks/ember/src/types.ts diff --git a/frameworks/ember/src/typings.d.ts b/code/frameworks/ember/src/typings.d.ts similarity index 100% rename from frameworks/ember/src/typings.d.ts rename to code/frameworks/ember/src/typings.d.ts diff --git a/frameworks/ember/tsconfig.json b/code/frameworks/ember/tsconfig.json similarity index 100% rename from frameworks/ember/tsconfig.json rename to code/frameworks/ember/tsconfig.json diff --git a/frameworks/html-webpack5/README.md b/code/frameworks/html-webpack5/README.md similarity index 100% rename from frameworks/html-webpack5/README.md rename to code/frameworks/html-webpack5/README.md diff --git a/frameworks/html-webpack5/package.json b/code/frameworks/html-webpack5/package.json similarity index 95% rename from frameworks/html-webpack5/package.json rename to code/frameworks/html-webpack5/package.json index aa233706ec4c..f72aeb7eda67 100644 --- a/frameworks/html-webpack5/package.json +++ b/code/frameworks/html-webpack5/package.json @@ -47,7 +47,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "esrun ../../scripts/prepare/bundle.ts" + "prepare": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.16", @@ -61,7 +61,6 @@ "react-dom": "16.14.0" }, "devDependencies": { - "@digitak/esrun": "^3.2.2", "typescript": "~4.6.3" }, "peerDependencies": { diff --git a/frameworks/html-webpack5/preset.js b/code/frameworks/html-webpack5/preset.js similarity index 100% rename from frameworks/html-webpack5/preset.js rename to code/frameworks/html-webpack5/preset.js diff --git a/frameworks/html-webpack5/src/index.ts b/code/frameworks/html-webpack5/src/index.ts similarity index 100% rename from frameworks/html-webpack5/src/index.ts rename to code/frameworks/html-webpack5/src/index.ts diff --git a/frameworks/html-webpack5/src/preset.ts b/code/frameworks/html-webpack5/src/preset.ts similarity index 100% rename from frameworks/html-webpack5/src/preset.ts rename to code/frameworks/html-webpack5/src/preset.ts diff --git a/frameworks/html-webpack5/src/types.ts b/code/frameworks/html-webpack5/src/types.ts similarity index 100% rename from frameworks/html-webpack5/src/types.ts rename to code/frameworks/html-webpack5/src/types.ts diff --git a/frameworks/html-webpack5/src/typings.d.ts b/code/frameworks/html-webpack5/src/typings.d.ts similarity index 100% rename from frameworks/html-webpack5/src/typings.d.ts rename to code/frameworks/html-webpack5/src/typings.d.ts diff --git a/frameworks/html-webpack5/tsconfig.json b/code/frameworks/html-webpack5/tsconfig.json similarity index 100% rename from frameworks/html-webpack5/tsconfig.json rename to code/frameworks/html-webpack5/tsconfig.json diff --git a/frameworks/preact-webpack5/README.md b/code/frameworks/preact-webpack5/README.md similarity index 100% rename from frameworks/preact-webpack5/README.md rename to code/frameworks/preact-webpack5/README.md diff --git a/frameworks/preact-webpack5/package.json b/code/frameworks/preact-webpack5/package.json similarity index 95% rename from frameworks/preact-webpack5/package.json rename to code/frameworks/preact-webpack5/package.json index 93bd87c7d93d..355fde56f243 100644 --- a/frameworks/preact-webpack5/package.json +++ b/code/frameworks/preact-webpack5/package.json @@ -47,7 +47,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "esrun ../../scripts/prepare/bundle.ts" + "prepare": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.16", @@ -60,7 +60,6 @@ "react-dom": "16.14.0" }, "devDependencies": { - "@digitak/esrun": "^3.2.2", "preact": "^10.5.13", "typescript": "~4.6.3" }, diff --git a/frameworks/preact-webpack5/preset.js b/code/frameworks/preact-webpack5/preset.js similarity index 100% rename from frameworks/preact-webpack5/preset.js rename to code/frameworks/preact-webpack5/preset.js diff --git a/frameworks/preact-webpack5/src/index.ts b/code/frameworks/preact-webpack5/src/index.ts similarity index 100% rename from frameworks/preact-webpack5/src/index.ts rename to code/frameworks/preact-webpack5/src/index.ts diff --git a/frameworks/preact-webpack5/src/preset.ts b/code/frameworks/preact-webpack5/src/preset.ts similarity index 100% rename from frameworks/preact-webpack5/src/preset.ts rename to code/frameworks/preact-webpack5/src/preset.ts diff --git a/frameworks/preact-webpack5/src/types.ts b/code/frameworks/preact-webpack5/src/types.ts similarity index 100% rename from frameworks/preact-webpack5/src/types.ts rename to code/frameworks/preact-webpack5/src/types.ts diff --git a/frameworks/preact-webpack5/src/typings.d.ts b/code/frameworks/preact-webpack5/src/typings.d.ts similarity index 100% rename from frameworks/preact-webpack5/src/typings.d.ts rename to code/frameworks/preact-webpack5/src/typings.d.ts diff --git a/frameworks/preact-webpack5/tsconfig.json b/code/frameworks/preact-webpack5/tsconfig.json similarity index 100% rename from frameworks/preact-webpack5/tsconfig.json rename to code/frameworks/preact-webpack5/tsconfig.json diff --git a/frameworks/react-webpack5/README.md b/code/frameworks/react-webpack5/README.md similarity index 100% rename from frameworks/react-webpack5/README.md rename to code/frameworks/react-webpack5/README.md diff --git a/frameworks/react-webpack5/package.json b/code/frameworks/react-webpack5/package.json similarity index 96% rename from frameworks/react-webpack5/package.json rename to code/frameworks/react-webpack5/package.json index 2c8bd60b1bd9..1c69420d012d 100644 --- a/frameworks/react-webpack5/package.json +++ b/code/frameworks/react-webpack5/package.json @@ -48,7 +48,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "esrun ../../scripts/prepare/bundle.ts" + "prepare": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.16", @@ -58,7 +58,6 @@ "core-js": "^3.8.2" }, "devDependencies": { - "@digitak/esrun": "^3.2.2", "jest-specific-snapshot": "^4.0.0", "typescript": "~4.6.3" }, diff --git a/frameworks/react-webpack5/preset.js b/code/frameworks/react-webpack5/preset.js similarity index 100% rename from frameworks/react-webpack5/preset.js rename to code/frameworks/react-webpack5/preset.js diff --git a/frameworks/react-webpack5/src/index.ts b/code/frameworks/react-webpack5/src/index.ts similarity index 100% rename from frameworks/react-webpack5/src/index.ts rename to code/frameworks/react-webpack5/src/index.ts diff --git a/frameworks/react-webpack5/src/preset.ts b/code/frameworks/react-webpack5/src/preset.ts similarity index 100% rename from frameworks/react-webpack5/src/preset.ts rename to code/frameworks/react-webpack5/src/preset.ts diff --git a/frameworks/react-webpack5/src/types.ts b/code/frameworks/react-webpack5/src/types.ts similarity index 100% rename from frameworks/react-webpack5/src/types.ts rename to code/frameworks/react-webpack5/src/types.ts diff --git a/frameworks/react-webpack5/src/typings.d.ts b/code/frameworks/react-webpack5/src/typings.d.ts similarity index 100% rename from frameworks/react-webpack5/src/typings.d.ts rename to code/frameworks/react-webpack5/src/typings.d.ts diff --git a/frameworks/react-webpack5/tsconfig.json b/code/frameworks/react-webpack5/tsconfig.json similarity index 100% rename from frameworks/react-webpack5/tsconfig.json rename to code/frameworks/react-webpack5/tsconfig.json diff --git a/frameworks/server-webpack5/README.md b/code/frameworks/server-webpack5/README.md similarity index 100% rename from frameworks/server-webpack5/README.md rename to code/frameworks/server-webpack5/README.md diff --git a/frameworks/server-webpack5/package.json b/code/frameworks/server-webpack5/package.json similarity index 95% rename from frameworks/server-webpack5/package.json rename to code/frameworks/server-webpack5/package.json index 121e717533e6..b541c05ea119 100644 --- a/frameworks/server-webpack5/package.json +++ b/code/frameworks/server-webpack5/package.json @@ -47,7 +47,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "esrun ../../scripts/prepare/bundle.ts" + "prepare": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.16", @@ -60,7 +60,6 @@ "react-dom": "16.14.0" }, "devDependencies": { - "@digitak/esrun": "^3.2.2", "typescript": "~4.6.3" }, "engines": { diff --git a/frameworks/server-webpack5/preset.js b/code/frameworks/server-webpack5/preset.js similarity index 100% rename from frameworks/server-webpack5/preset.js rename to code/frameworks/server-webpack5/preset.js diff --git a/frameworks/server-webpack5/src/index.ts b/code/frameworks/server-webpack5/src/index.ts similarity index 100% rename from frameworks/server-webpack5/src/index.ts rename to code/frameworks/server-webpack5/src/index.ts diff --git a/frameworks/server-webpack5/src/preset.ts b/code/frameworks/server-webpack5/src/preset.ts similarity index 100% rename from frameworks/server-webpack5/src/preset.ts rename to code/frameworks/server-webpack5/src/preset.ts diff --git a/frameworks/server-webpack5/src/types.ts b/code/frameworks/server-webpack5/src/types.ts similarity index 100% rename from frameworks/server-webpack5/src/types.ts rename to code/frameworks/server-webpack5/src/types.ts diff --git a/frameworks/server-webpack5/tsconfig.json b/code/frameworks/server-webpack5/tsconfig.json similarity index 100% rename from frameworks/server-webpack5/tsconfig.json rename to code/frameworks/server-webpack5/tsconfig.json diff --git a/frameworks/svelte-webpack5/README.md b/code/frameworks/svelte-webpack5/README.md similarity index 100% rename from frameworks/svelte-webpack5/README.md rename to code/frameworks/svelte-webpack5/README.md diff --git a/frameworks/svelte-webpack5/package.json b/code/frameworks/svelte-webpack5/package.json similarity index 95% rename from frameworks/svelte-webpack5/package.json rename to code/frameworks/svelte-webpack5/package.json index 7287c69c81f3..517ec4b5377b 100644 --- a/frameworks/svelte-webpack5/package.json +++ b/code/frameworks/svelte-webpack5/package.json @@ -48,7 +48,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "esrun ../../scripts/prepare/bundle.ts" + "prepare": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.16", @@ -60,7 +60,6 @@ "react-dom": "16.14.0" }, "devDependencies": { - "@digitak/esrun": "^3.2.2", "svelte": "^3.48.0", "svelte-loader": "^3.1.2", "typescript": "~4.6.3" diff --git a/frameworks/svelte-webpack5/preset.js b/code/frameworks/svelte-webpack5/preset.js similarity index 100% rename from frameworks/svelte-webpack5/preset.js rename to code/frameworks/svelte-webpack5/preset.js diff --git a/frameworks/svelte-webpack5/src/index.ts b/code/frameworks/svelte-webpack5/src/index.ts similarity index 100% rename from frameworks/svelte-webpack5/src/index.ts rename to code/frameworks/svelte-webpack5/src/index.ts diff --git a/frameworks/svelte-webpack5/src/preset.ts b/code/frameworks/svelte-webpack5/src/preset.ts similarity index 100% rename from frameworks/svelte-webpack5/src/preset.ts rename to code/frameworks/svelte-webpack5/src/preset.ts diff --git a/frameworks/svelte-webpack5/src/types.ts b/code/frameworks/svelte-webpack5/src/types.ts similarity index 100% rename from frameworks/svelte-webpack5/src/types.ts rename to code/frameworks/svelte-webpack5/src/types.ts diff --git a/frameworks/svelte-webpack5/src/typings.d.ts b/code/frameworks/svelte-webpack5/src/typings.d.ts similarity index 100% rename from frameworks/svelte-webpack5/src/typings.d.ts rename to code/frameworks/svelte-webpack5/src/typings.d.ts diff --git a/frameworks/svelte-webpack5/templates/HOC.svelte b/code/frameworks/svelte-webpack5/templates/HOC.svelte similarity index 100% rename from frameworks/svelte-webpack5/templates/HOC.svelte rename to code/frameworks/svelte-webpack5/templates/HOC.svelte diff --git a/frameworks/svelte-webpack5/templates/PreviewRender.svelte b/code/frameworks/svelte-webpack5/templates/PreviewRender.svelte similarity index 100% rename from frameworks/svelte-webpack5/templates/PreviewRender.svelte rename to code/frameworks/svelte-webpack5/templates/PreviewRender.svelte diff --git a/frameworks/svelte-webpack5/templates/SlotDecorator.svelte b/code/frameworks/svelte-webpack5/templates/SlotDecorator.svelte similarity index 100% rename from frameworks/svelte-webpack5/templates/SlotDecorator.svelte rename to code/frameworks/svelte-webpack5/templates/SlotDecorator.svelte diff --git a/frameworks/svelte-webpack5/tsconfig.json b/code/frameworks/svelte-webpack5/tsconfig.json similarity index 100% rename from frameworks/svelte-webpack5/tsconfig.json rename to code/frameworks/svelte-webpack5/tsconfig.json diff --git a/frameworks/vue-webpack5/README.md b/code/frameworks/vue-webpack5/README.md similarity index 100% rename from frameworks/vue-webpack5/README.md rename to code/frameworks/vue-webpack5/README.md diff --git a/frameworks/vue-webpack5/package.json b/code/frameworks/vue-webpack5/package.json similarity index 96% rename from frameworks/vue-webpack5/package.json rename to code/frameworks/vue-webpack5/package.json index fe9cb74d3db9..90bf811b82d9 100644 --- a/frameworks/vue-webpack5/package.json +++ b/code/frameworks/vue-webpack5/package.json @@ -47,7 +47,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "esrun ../../scripts/prepare/bundle.ts" + "prepare": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.16", @@ -60,7 +60,6 @@ "react-dom": "16.14.0" }, "devDependencies": { - "@digitak/esrun": "^3.2.2", "typescript": "~4.6.3", "vue": "^2.6.12", "vue-loader": "^15.7.0", diff --git a/frameworks/vue-webpack5/preset.js b/code/frameworks/vue-webpack5/preset.js similarity index 100% rename from frameworks/vue-webpack5/preset.js rename to code/frameworks/vue-webpack5/preset.js diff --git a/frameworks/vue-webpack5/src/index.ts b/code/frameworks/vue-webpack5/src/index.ts similarity index 100% rename from frameworks/vue-webpack5/src/index.ts rename to code/frameworks/vue-webpack5/src/index.ts diff --git a/frameworks/vue-webpack5/src/preset.ts b/code/frameworks/vue-webpack5/src/preset.ts similarity index 100% rename from frameworks/vue-webpack5/src/preset.ts rename to code/frameworks/vue-webpack5/src/preset.ts diff --git a/frameworks/vue-webpack5/src/types.ts b/code/frameworks/vue-webpack5/src/types.ts similarity index 100% rename from frameworks/vue-webpack5/src/types.ts rename to code/frameworks/vue-webpack5/src/types.ts diff --git a/frameworks/vue-webpack5/src/typings.d.ts b/code/frameworks/vue-webpack5/src/typings.d.ts similarity index 100% rename from frameworks/vue-webpack5/src/typings.d.ts rename to code/frameworks/vue-webpack5/src/typings.d.ts diff --git a/frameworks/vue-webpack5/tsconfig.json b/code/frameworks/vue-webpack5/tsconfig.json similarity index 100% rename from frameworks/vue-webpack5/tsconfig.json rename to code/frameworks/vue-webpack5/tsconfig.json diff --git a/frameworks/vue3-webpack5/README.md b/code/frameworks/vue3-webpack5/README.md similarity index 100% rename from frameworks/vue3-webpack5/README.md rename to code/frameworks/vue3-webpack5/README.md diff --git a/frameworks/vue3-webpack5/package.json b/code/frameworks/vue3-webpack5/package.json similarity index 96% rename from frameworks/vue3-webpack5/package.json rename to code/frameworks/vue3-webpack5/package.json index 6c42a56d55e1..3868601e938e 100644 --- a/frameworks/vue3-webpack5/package.json +++ b/code/frameworks/vue3-webpack5/package.json @@ -47,7 +47,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "esrun ../../scripts/prepare/bundle.ts" + "prepare": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/builder-webpack5": "7.0.0-alpha.16", @@ -60,7 +60,6 @@ "react-dom": "16.14.0" }, "devDependencies": { - "@digitak/esrun": "^3.2.2", "@vue/compiler-sfc": "3.0.0", "typescript": "~4.6.3", "vue": "3.0.0" diff --git a/frameworks/vue3-webpack5/preset.js b/code/frameworks/vue3-webpack5/preset.js similarity index 100% rename from frameworks/vue3-webpack5/preset.js rename to code/frameworks/vue3-webpack5/preset.js diff --git a/frameworks/vue3-webpack5/src/index.ts b/code/frameworks/vue3-webpack5/src/index.ts similarity index 100% rename from frameworks/vue3-webpack5/src/index.ts rename to code/frameworks/vue3-webpack5/src/index.ts diff --git a/frameworks/vue3-webpack5/src/preset.ts b/code/frameworks/vue3-webpack5/src/preset.ts similarity index 100% rename from frameworks/vue3-webpack5/src/preset.ts rename to code/frameworks/vue3-webpack5/src/preset.ts diff --git a/frameworks/vue3-webpack5/src/types.ts b/code/frameworks/vue3-webpack5/src/types.ts similarity index 100% rename from frameworks/vue3-webpack5/src/types.ts rename to code/frameworks/vue3-webpack5/src/types.ts diff --git a/frameworks/vue3-webpack5/src/typings.d.ts b/code/frameworks/vue3-webpack5/src/typings.d.ts similarity index 100% rename from frameworks/vue3-webpack5/src/typings.d.ts rename to code/frameworks/vue3-webpack5/src/typings.d.ts diff --git a/frameworks/vue3-webpack5/tsconfig.json b/code/frameworks/vue3-webpack5/tsconfig.json similarity index 100% rename from frameworks/vue3-webpack5/tsconfig.json rename to code/frameworks/vue3-webpack5/tsconfig.json diff --git a/frameworks/web-components-webpack5/README.md b/code/frameworks/web-components-webpack5/README.md similarity index 100% rename from frameworks/web-components-webpack5/README.md rename to code/frameworks/web-components-webpack5/README.md diff --git a/frameworks/web-components-webpack5/package.json b/code/frameworks/web-components-webpack5/package.json similarity index 96% rename from frameworks/web-components-webpack5/package.json rename to code/frameworks/web-components-webpack5/package.json index 056fc79ac298..a41691a74ed4 100644 --- a/frameworks/web-components-webpack5/package.json +++ b/code/frameworks/web-components-webpack5/package.json @@ -49,7 +49,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "esrun ../../scripts/prepare/bundle.ts" + "prepare": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@babel/preset-env": "^7.12.11", @@ -63,7 +63,6 @@ "react-dom": "16.14.0" }, "devDependencies": { - "@digitak/esrun": "^3.2.2", "lit-html": "2.0.2", "typescript": "~4.6.3" }, diff --git a/frameworks/web-components-webpack5/preset.js b/code/frameworks/web-components-webpack5/preset.js similarity index 100% rename from frameworks/web-components-webpack5/preset.js rename to code/frameworks/web-components-webpack5/preset.js diff --git a/frameworks/web-components-webpack5/src/index.ts b/code/frameworks/web-components-webpack5/src/index.ts similarity index 100% rename from frameworks/web-components-webpack5/src/index.ts rename to code/frameworks/web-components-webpack5/src/index.ts diff --git a/frameworks/web-components-webpack5/src/preset.ts b/code/frameworks/web-components-webpack5/src/preset.ts similarity index 100% rename from frameworks/web-components-webpack5/src/preset.ts rename to code/frameworks/web-components-webpack5/src/preset.ts diff --git a/frameworks/web-components-webpack5/src/types.ts b/code/frameworks/web-components-webpack5/src/types.ts similarity index 100% rename from frameworks/web-components-webpack5/src/types.ts rename to code/frameworks/web-components-webpack5/src/types.ts diff --git a/frameworks/web-components-webpack5/src/typings.d.ts b/code/frameworks/web-components-webpack5/src/typings.d.ts similarity index 100% rename from frameworks/web-components-webpack5/src/typings.d.ts rename to code/frameworks/web-components-webpack5/src/typings.d.ts diff --git a/frameworks/web-components-webpack5/tsconfig.json b/code/frameworks/web-components-webpack5/tsconfig.json similarity index 100% rename from frameworks/web-components-webpack5/tsconfig.json rename to code/frameworks/web-components-webpack5/tsconfig.json diff --git a/jest.config.js b/code/jest.config.js similarity index 96% rename from jest.config.js rename to code/jest.config.js index d684084971b7..a2ffa022105e 100644 --- a/jest.config.js +++ b/code/jest.config.js @@ -47,7 +47,7 @@ module.exports = { ], transform: { '^.+\\.stories\\.[jt]sx?$': '@storybook/addon-storyshots/injectFileName', - '^.+\\.[jt]sx?$': '/scripts/utils/jest-transform-js.js', + '^.+\\.[jt]sx?$': '/../scripts/utils/jest-transform-js.js', '^.+\\.mdx$': '@storybook/addon-docs/jest-transform-mdx', }, transformIgnorePatterns: ['/node_modules/(?!lit-html).+\\.js'], @@ -93,7 +93,7 @@ module.exports = { 'jest-serializer-html', ], coverageDirectory: 'coverage', - setupFilesAfterEnv: ['./scripts/jest.init.ts'], + setupFilesAfterEnv: ['./jest.init.ts'], coverageReporters: ['lcov'], testEnvironment: 'jest-environment-jsdom-thirteen', setupFiles: ['raf/polyfill'], diff --git a/scripts/jest.init.ts b/code/jest.init.ts similarity index 100% rename from scripts/jest.init.ts rename to code/jest.init.ts diff --git a/lerna.json b/code/lerna.json similarity index 100% rename from lerna.json rename to code/lerna.json diff --git a/lib/addons/README.md b/code/lib/addons/README.md similarity index 100% rename from lib/addons/README.md rename to code/lib/addons/README.md diff --git a/lib/addons/package.json b/code/lib/addons/package.json similarity index 96% rename from lib/addons/package.json rename to code/lib/addons/package.json index 4100058d98e6..f77dd39d40a8 100644 --- a/lib/addons/package.json +++ b/code/lib/addons/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/api": "7.0.0-alpha.16", diff --git a/lib/addons/src/hooks.test.js b/code/lib/addons/src/hooks.test.js similarity index 100% rename from lib/addons/src/hooks.test.js rename to code/lib/addons/src/hooks.test.js diff --git a/lib/addons/src/hooks.ts b/code/lib/addons/src/hooks.ts similarity index 100% rename from lib/addons/src/hooks.ts rename to code/lib/addons/src/hooks.ts diff --git a/lib/addons/src/index.ts b/code/lib/addons/src/index.ts similarity index 100% rename from lib/addons/src/index.ts rename to code/lib/addons/src/index.ts diff --git a/lib/addons/src/main.ts b/code/lib/addons/src/main.ts similarity index 100% rename from lib/addons/src/main.ts rename to code/lib/addons/src/main.ts diff --git a/lib/addons/src/make-decorator.test.ts b/code/lib/addons/src/make-decorator.test.ts similarity index 100% rename from lib/addons/src/make-decorator.test.ts rename to code/lib/addons/src/make-decorator.test.ts diff --git a/lib/addons/src/make-decorator.ts b/code/lib/addons/src/make-decorator.ts similarity index 100% rename from lib/addons/src/make-decorator.ts rename to code/lib/addons/src/make-decorator.ts diff --git a/lib/addons/src/storybook-channel-mock.ts b/code/lib/addons/src/storybook-channel-mock.ts similarity index 100% rename from lib/addons/src/storybook-channel-mock.ts rename to code/lib/addons/src/storybook-channel-mock.ts diff --git a/lib/addons/src/types.ts b/code/lib/addons/src/types.ts similarity index 100% rename from lib/addons/src/types.ts rename to code/lib/addons/src/types.ts diff --git a/lib/addons/src/typings.d.ts b/code/lib/addons/src/typings.d.ts similarity index 100% rename from lib/addons/src/typings.d.ts rename to code/lib/addons/src/typings.d.ts diff --git a/lib/addons/tsconfig.json b/code/lib/addons/tsconfig.json similarity index 100% rename from lib/addons/tsconfig.json rename to code/lib/addons/tsconfig.json diff --git a/lib/api/package.json b/code/lib/api/package.json similarity index 97% rename from lib/api/package.json rename to code/lib/api/package.json index 8fccd1df656b..4d7d56b78325 100644 --- a/lib/api/package.json +++ b/code/lib/api/package.json @@ -29,7 +29,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/channels": "7.0.0-alpha.16", diff --git a/lib/api/shortcut.d.ts b/code/lib/api/shortcut.d.ts similarity index 100% rename from lib/api/shortcut.d.ts rename to code/lib/api/shortcut.d.ts diff --git a/lib/api/shortcut.js b/code/lib/api/shortcut.js similarity index 100% rename from lib/api/shortcut.js rename to code/lib/api/shortcut.js diff --git a/lib/api/src/context.ts b/code/lib/api/src/context.ts similarity index 100% rename from lib/api/src/context.ts rename to code/lib/api/src/context.ts diff --git a/lib/api/src/index.tsx b/code/lib/api/src/index.tsx similarity index 100% rename from lib/api/src/index.tsx rename to code/lib/api/src/index.tsx diff --git a/lib/api/src/initial-state.ts b/code/lib/api/src/initial-state.ts similarity index 100% rename from lib/api/src/initial-state.ts rename to code/lib/api/src/initial-state.ts diff --git a/lib/api/src/lib/events.ts b/code/lib/api/src/lib/events.ts similarity index 100% rename from lib/api/src/lib/events.ts rename to code/lib/api/src/lib/events.ts diff --git a/lib/api/src/lib/merge.ts b/code/lib/api/src/lib/merge.ts similarity index 100% rename from lib/api/src/lib/merge.ts rename to code/lib/api/src/lib/merge.ts diff --git a/lib/api/src/lib/shortcut.ts b/code/lib/api/src/lib/shortcut.ts similarity index 100% rename from lib/api/src/lib/shortcut.ts rename to code/lib/api/src/lib/shortcut.ts diff --git a/lib/api/src/lib/store-setup.ts b/code/lib/api/src/lib/store-setup.ts similarity index 100% rename from lib/api/src/lib/store-setup.ts rename to code/lib/api/src/lib/store-setup.ts diff --git a/lib/api/src/lib/stories.ts b/code/lib/api/src/lib/stories.ts similarity index 100% rename from lib/api/src/lib/stories.ts rename to code/lib/api/src/lib/stories.ts diff --git a/lib/api/src/modules/addons.ts b/code/lib/api/src/modules/addons.ts similarity index 100% rename from lib/api/src/modules/addons.ts rename to code/lib/api/src/modules/addons.ts diff --git a/lib/api/src/modules/channel.ts b/code/lib/api/src/modules/channel.ts similarity index 100% rename from lib/api/src/modules/channel.ts rename to code/lib/api/src/modules/channel.ts diff --git a/lib/api/src/modules/globals.ts b/code/lib/api/src/modules/globals.ts similarity index 100% rename from lib/api/src/modules/globals.ts rename to code/lib/api/src/modules/globals.ts diff --git a/lib/api/src/modules/layout.ts b/code/lib/api/src/modules/layout.ts similarity index 100% rename from lib/api/src/modules/layout.ts rename to code/lib/api/src/modules/layout.ts diff --git a/lib/api/src/modules/notifications.ts b/code/lib/api/src/modules/notifications.ts similarity index 100% rename from lib/api/src/modules/notifications.ts rename to code/lib/api/src/modules/notifications.ts diff --git a/lib/api/src/modules/provider.ts b/code/lib/api/src/modules/provider.ts similarity index 100% rename from lib/api/src/modules/provider.ts rename to code/lib/api/src/modules/provider.ts diff --git a/lib/api/src/modules/refs.ts b/code/lib/api/src/modules/refs.ts similarity index 100% rename from lib/api/src/modules/refs.ts rename to code/lib/api/src/modules/refs.ts diff --git a/lib/api/src/modules/release-notes.ts b/code/lib/api/src/modules/release-notes.ts similarity index 100% rename from lib/api/src/modules/release-notes.ts rename to code/lib/api/src/modules/release-notes.ts diff --git a/lib/api/src/modules/settings.ts b/code/lib/api/src/modules/settings.ts similarity index 100% rename from lib/api/src/modules/settings.ts rename to code/lib/api/src/modules/settings.ts diff --git a/lib/api/src/modules/shortcuts.ts b/code/lib/api/src/modules/shortcuts.ts similarity index 100% rename from lib/api/src/modules/shortcuts.ts rename to code/lib/api/src/modules/shortcuts.ts diff --git a/lib/api/src/modules/stories.ts b/code/lib/api/src/modules/stories.ts similarity index 100% rename from lib/api/src/modules/stories.ts rename to code/lib/api/src/modules/stories.ts diff --git a/lib/api/src/modules/url.ts b/code/lib/api/src/modules/url.ts similarity index 100% rename from lib/api/src/modules/url.ts rename to code/lib/api/src/modules/url.ts diff --git a/lib/api/src/modules/versions.ts b/code/lib/api/src/modules/versions.ts similarity index 100% rename from lib/api/src/modules/versions.ts rename to code/lib/api/src/modules/versions.ts diff --git a/lib/api/src/store.ts b/code/lib/api/src/store.ts similarity index 100% rename from lib/api/src/store.ts rename to code/lib/api/src/store.ts diff --git a/lib/api/src/tests/addons.test.js b/code/lib/api/src/tests/addons.test.js similarity index 100% rename from lib/api/src/tests/addons.test.js rename to code/lib/api/src/tests/addons.test.js diff --git a/lib/api/src/tests/events.test.ts b/code/lib/api/src/tests/events.test.ts similarity index 100% rename from lib/api/src/tests/events.test.ts rename to code/lib/api/src/tests/events.test.ts diff --git a/lib/api/src/tests/globals.test.ts b/code/lib/api/src/tests/globals.test.ts similarity index 100% rename from lib/api/src/tests/globals.test.ts rename to code/lib/api/src/tests/globals.test.ts diff --git a/lib/api/src/tests/layout.test.js b/code/lib/api/src/tests/layout.test.js similarity index 100% rename from lib/api/src/tests/layout.test.js rename to code/lib/api/src/tests/layout.test.js diff --git a/lib/api/src/tests/notifications.test.js b/code/lib/api/src/tests/notifications.test.js similarity index 100% rename from lib/api/src/tests/notifications.test.js rename to code/lib/api/src/tests/notifications.test.js diff --git a/lib/api/src/tests/ref-mockdata.login-required.json b/code/lib/api/src/tests/ref-mockdata.login-required.json similarity index 100% rename from lib/api/src/tests/ref-mockdata.login-required.json rename to code/lib/api/src/tests/ref-mockdata.login-required.json diff --git a/lib/api/src/tests/ref-mockdata.success.json b/code/lib/api/src/tests/ref-mockdata.success.json similarity index 100% rename from lib/api/src/tests/ref-mockdata.success.json rename to code/lib/api/src/tests/ref-mockdata.success.json diff --git a/lib/api/src/tests/refs.test.js b/code/lib/api/src/tests/refs.test.js similarity index 100% rename from lib/api/src/tests/refs.test.js rename to code/lib/api/src/tests/refs.test.js diff --git a/lib/api/src/tests/shortcut.test.js b/code/lib/api/src/tests/shortcut.test.js similarity index 100% rename from lib/api/src/tests/shortcut.test.js rename to code/lib/api/src/tests/shortcut.test.js diff --git a/lib/api/src/tests/shortcuts.test.js b/code/lib/api/src/tests/shortcuts.test.js similarity index 100% rename from lib/api/src/tests/shortcuts.test.js rename to code/lib/api/src/tests/shortcuts.test.js diff --git a/lib/api/src/tests/store.test.js b/code/lib/api/src/tests/store.test.js similarity index 100% rename from lib/api/src/tests/store.test.js rename to code/lib/api/src/tests/store.test.js diff --git a/lib/api/src/tests/stories.test.ts b/code/lib/api/src/tests/stories.test.ts similarity index 100% rename from lib/api/src/tests/stories.test.ts rename to code/lib/api/src/tests/stories.test.ts diff --git a/lib/api/src/tests/url.test.js b/code/lib/api/src/tests/url.test.js similarity index 100% rename from lib/api/src/tests/url.test.js rename to code/lib/api/src/tests/url.test.js diff --git a/lib/api/src/tests/versions.test.js b/code/lib/api/src/tests/versions.test.js similarity index 100% rename from lib/api/src/tests/versions.test.js rename to code/lib/api/src/tests/versions.test.js diff --git a/lib/api/src/typings.d.ts b/code/lib/api/src/typings.d.ts similarity index 100% rename from lib/api/src/typings.d.ts rename to code/lib/api/src/typings.d.ts diff --git a/lib/api/src/version.ts b/code/lib/api/src/version.ts similarity index 100% rename from lib/api/src/version.ts rename to code/lib/api/src/version.ts diff --git a/lib/api/tsconfig.json b/code/lib/api/tsconfig.json similarity index 100% rename from lib/api/tsconfig.json rename to code/lib/api/tsconfig.json diff --git a/lib/blocks/README.md b/code/lib/blocks/README.md similarity index 100% rename from lib/blocks/README.md rename to code/lib/blocks/README.md diff --git a/lib/blocks/package.json b/code/lib/blocks/package.json similarity index 95% rename from lib/blocks/package.json rename to code/lib/blocks/package.json index ee85906b5907..5bc70346574d 100644 --- a/lib/blocks/package.json +++ b/code/lib/blocks/package.json @@ -38,7 +38,7 @@ "*.d.ts" ], "scripts": { - "prepare": "esrun ../../scripts/prepare/bundle.ts" + "prepare": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@storybook/api": "7.0.0-alpha.16", @@ -64,7 +64,6 @@ "util-deprecate": "^1.0.2" }, "devDependencies": { - "@digitak/esrun": "^3.2.2", "@storybook/addons": "7.0.0-alpha.16" }, "peerDependencies": { diff --git a/lib/blocks/src/blocks/Anchor.tsx b/code/lib/blocks/src/blocks/Anchor.tsx similarity index 100% rename from lib/blocks/src/blocks/Anchor.tsx rename to code/lib/blocks/src/blocks/Anchor.tsx diff --git a/lib/blocks/src/blocks/ArgsTable.tsx b/code/lib/blocks/src/blocks/ArgsTable.tsx similarity index 100% rename from lib/blocks/src/blocks/ArgsTable.tsx rename to code/lib/blocks/src/blocks/ArgsTable.tsx diff --git a/lib/blocks/src/blocks/Canvas.tsx b/code/lib/blocks/src/blocks/Canvas.tsx similarity index 100% rename from lib/blocks/src/blocks/Canvas.tsx rename to code/lib/blocks/src/blocks/Canvas.tsx diff --git a/lib/blocks/src/blocks/Description.tsx b/code/lib/blocks/src/blocks/Description.tsx similarity index 100% rename from lib/blocks/src/blocks/Description.tsx rename to code/lib/blocks/src/blocks/Description.tsx diff --git a/lib/blocks/src/blocks/Docs.tsx b/code/lib/blocks/src/blocks/Docs.tsx similarity index 100% rename from lib/blocks/src/blocks/Docs.tsx rename to code/lib/blocks/src/blocks/Docs.tsx diff --git a/lib/blocks/src/blocks/DocsContainer.tsx b/code/lib/blocks/src/blocks/DocsContainer.tsx similarity index 100% rename from lib/blocks/src/blocks/DocsContainer.tsx rename to code/lib/blocks/src/blocks/DocsContainer.tsx diff --git a/lib/blocks/src/blocks/DocsContext.ts b/code/lib/blocks/src/blocks/DocsContext.ts similarity index 100% rename from lib/blocks/src/blocks/DocsContext.ts rename to code/lib/blocks/src/blocks/DocsContext.ts diff --git a/lib/blocks/src/blocks/DocsPage.test.ts b/code/lib/blocks/src/blocks/DocsPage.test.ts similarity index 100% rename from lib/blocks/src/blocks/DocsPage.test.ts rename to code/lib/blocks/src/blocks/DocsPage.test.ts diff --git a/lib/blocks/src/blocks/DocsPage.tsx b/code/lib/blocks/src/blocks/DocsPage.tsx similarity index 100% rename from lib/blocks/src/blocks/DocsPage.tsx rename to code/lib/blocks/src/blocks/DocsPage.tsx diff --git a/lib/blocks/src/blocks/DocsStory.tsx b/code/lib/blocks/src/blocks/DocsStory.tsx similarity index 100% rename from lib/blocks/src/blocks/DocsStory.tsx rename to code/lib/blocks/src/blocks/DocsStory.tsx diff --git a/lib/blocks/src/blocks/Heading.tsx b/code/lib/blocks/src/blocks/Heading.tsx similarity index 100% rename from lib/blocks/src/blocks/Heading.tsx rename to code/lib/blocks/src/blocks/Heading.tsx diff --git a/lib/blocks/src/blocks/Meta.tsx b/code/lib/blocks/src/blocks/Meta.tsx similarity index 100% rename from lib/blocks/src/blocks/Meta.tsx rename to code/lib/blocks/src/blocks/Meta.tsx diff --git a/lib/blocks/src/blocks/Preview.tsx b/code/lib/blocks/src/blocks/Preview.tsx similarity index 100% rename from lib/blocks/src/blocks/Preview.tsx rename to code/lib/blocks/src/blocks/Preview.tsx diff --git a/lib/blocks/src/blocks/Primary.tsx b/code/lib/blocks/src/blocks/Primary.tsx similarity index 100% rename from lib/blocks/src/blocks/Primary.tsx rename to code/lib/blocks/src/blocks/Primary.tsx diff --git a/lib/blocks/src/blocks/Props.tsx b/code/lib/blocks/src/blocks/Props.tsx similarity index 100% rename from lib/blocks/src/blocks/Props.tsx rename to code/lib/blocks/src/blocks/Props.tsx diff --git a/lib/blocks/src/blocks/Source.tsx b/code/lib/blocks/src/blocks/Source.tsx similarity index 100% rename from lib/blocks/src/blocks/Source.tsx rename to code/lib/blocks/src/blocks/Source.tsx diff --git a/lib/blocks/src/blocks/SourceContainer.tsx b/code/lib/blocks/src/blocks/SourceContainer.tsx similarity index 100% rename from lib/blocks/src/blocks/SourceContainer.tsx rename to code/lib/blocks/src/blocks/SourceContainer.tsx diff --git a/lib/blocks/src/blocks/Stories.tsx b/code/lib/blocks/src/blocks/Stories.tsx similarity index 100% rename from lib/blocks/src/blocks/Stories.tsx rename to code/lib/blocks/src/blocks/Stories.tsx diff --git a/lib/blocks/src/blocks/Story.tsx b/code/lib/blocks/src/blocks/Story.tsx similarity index 100% rename from lib/blocks/src/blocks/Story.tsx rename to code/lib/blocks/src/blocks/Story.tsx diff --git a/lib/blocks/src/blocks/Subheading.tsx b/code/lib/blocks/src/blocks/Subheading.tsx similarity index 100% rename from lib/blocks/src/blocks/Subheading.tsx rename to code/lib/blocks/src/blocks/Subheading.tsx diff --git a/lib/blocks/src/blocks/Subtitle.tsx b/code/lib/blocks/src/blocks/Subtitle.tsx similarity index 100% rename from lib/blocks/src/blocks/Subtitle.tsx rename to code/lib/blocks/src/blocks/Subtitle.tsx diff --git a/lib/blocks/src/blocks/Title.tsx b/code/lib/blocks/src/blocks/Title.tsx similarity index 100% rename from lib/blocks/src/blocks/Title.tsx rename to code/lib/blocks/src/blocks/Title.tsx diff --git a/lib/blocks/src/blocks/Wrapper.tsx b/code/lib/blocks/src/blocks/Wrapper.tsx similarity index 100% rename from lib/blocks/src/blocks/Wrapper.tsx rename to code/lib/blocks/src/blocks/Wrapper.tsx diff --git a/lib/blocks/src/blocks/enhanceSource.test.ts b/code/lib/blocks/src/blocks/enhanceSource.test.ts similarity index 100% rename from lib/blocks/src/blocks/enhanceSource.test.ts rename to code/lib/blocks/src/blocks/enhanceSource.test.ts diff --git a/lib/blocks/src/blocks/enhanceSource.ts b/code/lib/blocks/src/blocks/enhanceSource.ts similarity index 100% rename from lib/blocks/src/blocks/enhanceSource.ts rename to code/lib/blocks/src/blocks/enhanceSource.ts diff --git a/lib/blocks/src/blocks/external/ExternalDocs.tsx b/code/lib/blocks/src/blocks/external/ExternalDocs.tsx similarity index 100% rename from lib/blocks/src/blocks/external/ExternalDocs.tsx rename to code/lib/blocks/src/blocks/external/ExternalDocs.tsx diff --git a/lib/blocks/src/blocks/external/ExternalDocsContainer.tsx b/code/lib/blocks/src/blocks/external/ExternalDocsContainer.tsx similarity index 100% rename from lib/blocks/src/blocks/external/ExternalDocsContainer.tsx rename to code/lib/blocks/src/blocks/external/ExternalDocsContainer.tsx diff --git a/lib/blocks/src/blocks/external/ExternalDocsContext.ts b/code/lib/blocks/src/blocks/external/ExternalDocsContext.ts similarity index 100% rename from lib/blocks/src/blocks/external/ExternalDocsContext.ts rename to code/lib/blocks/src/blocks/external/ExternalDocsContext.ts diff --git a/lib/blocks/src/blocks/external/ExternalPreview.ts b/code/lib/blocks/src/blocks/external/ExternalPreview.ts similarity index 100% rename from lib/blocks/src/blocks/external/ExternalPreview.ts rename to code/lib/blocks/src/blocks/external/ExternalPreview.ts diff --git a/lib/blocks/src/blocks/index.ts b/code/lib/blocks/src/blocks/index.ts similarity index 100% rename from lib/blocks/src/blocks/index.ts rename to code/lib/blocks/src/blocks/index.ts diff --git a/lib/blocks/src/blocks/mdx.tsx b/code/lib/blocks/src/blocks/mdx.tsx similarity index 100% rename from lib/blocks/src/blocks/mdx.tsx rename to code/lib/blocks/src/blocks/mdx.tsx diff --git a/lib/blocks/src/blocks/types.ts b/code/lib/blocks/src/blocks/types.ts similarity index 100% rename from lib/blocks/src/blocks/types.ts rename to code/lib/blocks/src/blocks/types.ts diff --git a/lib/blocks/src/blocks/useStory.ts b/code/lib/blocks/src/blocks/useStory.ts similarity index 100% rename from lib/blocks/src/blocks/useStory.ts rename to code/lib/blocks/src/blocks/useStory.ts diff --git a/lib/blocks/src/blocks/utils.ts b/code/lib/blocks/src/blocks/utils.ts similarity index 100% rename from lib/blocks/src/blocks/utils.ts rename to code/lib/blocks/src/blocks/utils.ts diff --git a/lib/blocks/src/components/ArgsTable/ArgControl.tsx b/code/lib/blocks/src/components/ArgsTable/ArgControl.tsx similarity index 100% rename from lib/blocks/src/components/ArgsTable/ArgControl.tsx rename to code/lib/blocks/src/components/ArgsTable/ArgControl.tsx diff --git a/lib/blocks/src/components/ArgsTable/ArgJsDoc.tsx b/code/lib/blocks/src/components/ArgsTable/ArgJsDoc.tsx similarity index 100% rename from lib/blocks/src/components/ArgsTable/ArgJsDoc.tsx rename to code/lib/blocks/src/components/ArgsTable/ArgJsDoc.tsx diff --git a/lib/blocks/src/components/ArgsTable/ArgRow.stories.tsx b/code/lib/blocks/src/components/ArgsTable/ArgRow.stories.tsx similarity index 100% rename from lib/blocks/src/components/ArgsTable/ArgRow.stories.tsx rename to code/lib/blocks/src/components/ArgsTable/ArgRow.stories.tsx diff --git a/lib/blocks/src/components/ArgsTable/ArgRow.tsx b/code/lib/blocks/src/components/ArgsTable/ArgRow.tsx similarity index 100% rename from lib/blocks/src/components/ArgsTable/ArgRow.tsx rename to code/lib/blocks/src/components/ArgsTable/ArgRow.tsx diff --git a/lib/blocks/src/components/ArgsTable/ArgValue.tsx b/code/lib/blocks/src/components/ArgsTable/ArgValue.tsx similarity index 100% rename from lib/blocks/src/components/ArgsTable/ArgValue.tsx rename to code/lib/blocks/src/components/ArgsTable/ArgValue.tsx diff --git a/lib/blocks/src/components/ArgsTable/ArgsTable.stories.tsx b/code/lib/blocks/src/components/ArgsTable/ArgsTable.stories.tsx similarity index 100% rename from lib/blocks/src/components/ArgsTable/ArgsTable.stories.tsx rename to code/lib/blocks/src/components/ArgsTable/ArgsTable.stories.tsx diff --git a/lib/blocks/src/components/ArgsTable/ArgsTable.tsx b/code/lib/blocks/src/components/ArgsTable/ArgsTable.tsx similarity index 100% rename from lib/blocks/src/components/ArgsTable/ArgsTable.tsx rename to code/lib/blocks/src/components/ArgsTable/ArgsTable.tsx diff --git a/lib/blocks/src/components/ArgsTable/NoControlsWarning.tsx b/code/lib/blocks/src/components/ArgsTable/NoControlsWarning.tsx similarity index 100% rename from lib/blocks/src/components/ArgsTable/NoControlsWarning.tsx rename to code/lib/blocks/src/components/ArgsTable/NoControlsWarning.tsx diff --git a/lib/blocks/src/components/ArgsTable/SectionRow.stories.tsx b/code/lib/blocks/src/components/ArgsTable/SectionRow.stories.tsx similarity index 100% rename from lib/blocks/src/components/ArgsTable/SectionRow.stories.tsx rename to code/lib/blocks/src/components/ArgsTable/SectionRow.stories.tsx diff --git a/lib/blocks/src/components/ArgsTable/SectionRow.tsx b/code/lib/blocks/src/components/ArgsTable/SectionRow.tsx similarity index 100% rename from lib/blocks/src/components/ArgsTable/SectionRow.tsx rename to code/lib/blocks/src/components/ArgsTable/SectionRow.tsx diff --git a/lib/blocks/src/components/ArgsTable/TabbedArgsTable.stories.tsx b/code/lib/blocks/src/components/ArgsTable/TabbedArgsTable.stories.tsx similarity index 100% rename from lib/blocks/src/components/ArgsTable/TabbedArgsTable.stories.tsx rename to code/lib/blocks/src/components/ArgsTable/TabbedArgsTable.stories.tsx diff --git a/lib/blocks/src/components/ArgsTable/TabbedArgsTable.tsx b/code/lib/blocks/src/components/ArgsTable/TabbedArgsTable.tsx similarity index 100% rename from lib/blocks/src/components/ArgsTable/TabbedArgsTable.tsx rename to code/lib/blocks/src/components/ArgsTable/TabbedArgsTable.tsx diff --git a/lib/blocks/src/components/ArgsTable/index.ts b/code/lib/blocks/src/components/ArgsTable/index.ts similarity index 100% rename from lib/blocks/src/components/ArgsTable/index.ts rename to code/lib/blocks/src/components/ArgsTable/index.ts diff --git a/lib/blocks/src/components/ArgsTable/types.ts b/code/lib/blocks/src/components/ArgsTable/types.ts similarity index 100% rename from lib/blocks/src/components/ArgsTable/types.ts rename to code/lib/blocks/src/components/ArgsTable/types.ts diff --git a/lib/blocks/src/components/BlockBackgroundStyles.tsx b/code/lib/blocks/src/components/BlockBackgroundStyles.tsx similarity index 100% rename from lib/blocks/src/components/BlockBackgroundStyles.tsx rename to code/lib/blocks/src/components/BlockBackgroundStyles.tsx diff --git a/lib/blocks/src/components/ColorPalette.stories.tsx b/code/lib/blocks/src/components/ColorPalette.stories.tsx similarity index 100% rename from lib/blocks/src/components/ColorPalette.stories.tsx rename to code/lib/blocks/src/components/ColorPalette.stories.tsx diff --git a/lib/blocks/src/components/ColorPalette.tsx b/code/lib/blocks/src/components/ColorPalette.tsx similarity index 100% rename from lib/blocks/src/components/ColorPalette.tsx rename to code/lib/blocks/src/components/ColorPalette.tsx diff --git a/lib/blocks/src/components/Description.stories.tsx b/code/lib/blocks/src/components/Description.stories.tsx similarity index 100% rename from lib/blocks/src/components/Description.stories.tsx rename to code/lib/blocks/src/components/Description.stories.tsx diff --git a/lib/blocks/src/components/Description.tsx b/code/lib/blocks/src/components/Description.tsx similarity index 100% rename from lib/blocks/src/components/Description.tsx rename to code/lib/blocks/src/components/Description.tsx diff --git a/lib/blocks/src/components/DocsPage.stories.tsx b/code/lib/blocks/src/components/DocsPage.stories.tsx similarity index 100% rename from lib/blocks/src/components/DocsPage.stories.tsx rename to code/lib/blocks/src/components/DocsPage.stories.tsx diff --git a/lib/blocks/src/components/DocsPage.tsx b/code/lib/blocks/src/components/DocsPage.tsx similarity index 100% rename from lib/blocks/src/components/DocsPage.tsx rename to code/lib/blocks/src/components/DocsPage.tsx diff --git a/lib/blocks/src/components/DocsPageExampleCaption.md b/code/lib/blocks/src/components/DocsPageExampleCaption.md similarity index 100% rename from lib/blocks/src/components/DocsPageExampleCaption.md rename to code/lib/blocks/src/components/DocsPageExampleCaption.md diff --git a/lib/blocks/src/components/DocsPageExampleCaption.mdx b/code/lib/blocks/src/components/DocsPageExampleCaption.mdx similarity index 100% rename from lib/blocks/src/components/DocsPageExampleCaption.mdx rename to code/lib/blocks/src/components/DocsPageExampleCaption.mdx diff --git a/lib/blocks/src/components/EmptyBlock.stories.tsx b/code/lib/blocks/src/components/EmptyBlock.stories.tsx similarity index 100% rename from lib/blocks/src/components/EmptyBlock.stories.tsx rename to code/lib/blocks/src/components/EmptyBlock.stories.tsx diff --git a/lib/blocks/src/components/EmptyBlock.tsx b/code/lib/blocks/src/components/EmptyBlock.tsx similarity index 100% rename from lib/blocks/src/components/EmptyBlock.tsx rename to code/lib/blocks/src/components/EmptyBlock.tsx diff --git a/lib/blocks/src/components/IFrame.tsx b/code/lib/blocks/src/components/IFrame.tsx similarity index 100% rename from lib/blocks/src/components/IFrame.tsx rename to code/lib/blocks/src/components/IFrame.tsx diff --git a/lib/blocks/src/components/IconGallery.stories.tsx b/code/lib/blocks/src/components/IconGallery.stories.tsx similarity index 100% rename from lib/blocks/src/components/IconGallery.stories.tsx rename to code/lib/blocks/src/components/IconGallery.stories.tsx diff --git a/lib/blocks/src/components/IconGallery.tsx b/code/lib/blocks/src/components/IconGallery.tsx similarity index 100% rename from lib/blocks/src/components/IconGallery.tsx rename to code/lib/blocks/src/components/IconGallery.tsx diff --git a/lib/blocks/src/components/Preview.stories.tsx b/code/lib/blocks/src/components/Preview.stories.tsx similarity index 100% rename from lib/blocks/src/components/Preview.stories.tsx rename to code/lib/blocks/src/components/Preview.stories.tsx diff --git a/lib/blocks/src/components/Preview.tsx b/code/lib/blocks/src/components/Preview.tsx similarity index 100% rename from lib/blocks/src/components/Preview.tsx rename to code/lib/blocks/src/components/Preview.tsx diff --git a/lib/blocks/src/components/Source.stories.tsx b/code/lib/blocks/src/components/Source.stories.tsx similarity index 100% rename from lib/blocks/src/components/Source.stories.tsx rename to code/lib/blocks/src/components/Source.stories.tsx diff --git a/lib/blocks/src/components/Source.tsx b/code/lib/blocks/src/components/Source.tsx similarity index 100% rename from lib/blocks/src/components/Source.tsx rename to code/lib/blocks/src/components/Source.tsx diff --git a/lib/blocks/src/components/Story.stories.tsx b/code/lib/blocks/src/components/Story.stories.tsx similarity index 100% rename from lib/blocks/src/components/Story.stories.tsx rename to code/lib/blocks/src/components/Story.stories.tsx diff --git a/lib/blocks/src/components/Story.tsx b/code/lib/blocks/src/components/Story.tsx similarity index 100% rename from lib/blocks/src/components/Story.tsx rename to code/lib/blocks/src/components/Story.tsx diff --git a/lib/blocks/src/components/Title.stories.ts b/code/lib/blocks/src/components/Title.stories.ts similarity index 100% rename from lib/blocks/src/components/Title.stories.ts rename to code/lib/blocks/src/components/Title.stories.ts diff --git a/lib/blocks/src/components/Title.tsx b/code/lib/blocks/src/components/Title.tsx similarity index 100% rename from lib/blocks/src/components/Title.tsx rename to code/lib/blocks/src/components/Title.tsx diff --git a/lib/blocks/src/components/Toolbar.tsx b/code/lib/blocks/src/components/Toolbar.tsx similarity index 100% rename from lib/blocks/src/components/Toolbar.tsx rename to code/lib/blocks/src/components/Toolbar.tsx diff --git a/lib/blocks/src/components/Typeset.stories.tsx b/code/lib/blocks/src/components/Typeset.stories.tsx similarity index 100% rename from lib/blocks/src/components/Typeset.stories.tsx rename to code/lib/blocks/src/components/Typeset.stories.tsx diff --git a/lib/blocks/src/components/Typeset.tsx b/code/lib/blocks/src/components/Typeset.tsx similarity index 100% rename from lib/blocks/src/components/Typeset.tsx rename to code/lib/blocks/src/components/Typeset.tsx diff --git a/lib/blocks/src/components/ZoomContext.tsx b/code/lib/blocks/src/components/ZoomContext.tsx similarity index 100% rename from lib/blocks/src/components/ZoomContext.tsx rename to code/lib/blocks/src/components/ZoomContext.tsx diff --git a/lib/blocks/src/components/index.ts b/code/lib/blocks/src/components/index.ts similarity index 100% rename from lib/blocks/src/components/index.ts rename to code/lib/blocks/src/components/index.ts diff --git a/lib/blocks/src/controls/Boolean.stories.tsx b/code/lib/blocks/src/controls/Boolean.stories.tsx similarity index 100% rename from lib/blocks/src/controls/Boolean.stories.tsx rename to code/lib/blocks/src/controls/Boolean.stories.tsx diff --git a/lib/blocks/src/controls/Boolean.tsx b/code/lib/blocks/src/controls/Boolean.tsx similarity index 100% rename from lib/blocks/src/controls/Boolean.tsx rename to code/lib/blocks/src/controls/Boolean.tsx diff --git a/lib/blocks/src/controls/Color.stories.tsx b/code/lib/blocks/src/controls/Color.stories.tsx similarity index 100% rename from lib/blocks/src/controls/Color.stories.tsx rename to code/lib/blocks/src/controls/Color.stories.tsx diff --git a/lib/blocks/src/controls/Color.tsx b/code/lib/blocks/src/controls/Color.tsx similarity index 100% rename from lib/blocks/src/controls/Color.tsx rename to code/lib/blocks/src/controls/Color.tsx diff --git a/lib/blocks/src/controls/Date.stories.tsx b/code/lib/blocks/src/controls/Date.stories.tsx similarity index 100% rename from lib/blocks/src/controls/Date.stories.tsx rename to code/lib/blocks/src/controls/Date.stories.tsx diff --git a/lib/blocks/src/controls/Date.test.ts b/code/lib/blocks/src/controls/Date.test.ts similarity index 100% rename from lib/blocks/src/controls/Date.test.ts rename to code/lib/blocks/src/controls/Date.test.ts diff --git a/lib/blocks/src/controls/Date.tsx b/code/lib/blocks/src/controls/Date.tsx similarity index 100% rename from lib/blocks/src/controls/Date.tsx rename to code/lib/blocks/src/controls/Date.tsx diff --git a/lib/blocks/src/controls/Files.tsx b/code/lib/blocks/src/controls/Files.tsx similarity index 100% rename from lib/blocks/src/controls/Files.tsx rename to code/lib/blocks/src/controls/Files.tsx diff --git a/lib/blocks/src/controls/Number.stories.tsx b/code/lib/blocks/src/controls/Number.stories.tsx similarity index 100% rename from lib/blocks/src/controls/Number.stories.tsx rename to code/lib/blocks/src/controls/Number.stories.tsx diff --git a/lib/blocks/src/controls/Number.tsx b/code/lib/blocks/src/controls/Number.tsx similarity index 100% rename from lib/blocks/src/controls/Number.tsx rename to code/lib/blocks/src/controls/Number.tsx diff --git a/lib/blocks/src/controls/Object.stories.tsx b/code/lib/blocks/src/controls/Object.stories.tsx similarity index 100% rename from lib/blocks/src/controls/Object.stories.tsx rename to code/lib/blocks/src/controls/Object.stories.tsx diff --git a/lib/blocks/src/controls/Object.tsx b/code/lib/blocks/src/controls/Object.tsx similarity index 100% rename from lib/blocks/src/controls/Object.tsx rename to code/lib/blocks/src/controls/Object.tsx diff --git a/lib/blocks/src/controls/Range.stories.tsx b/code/lib/blocks/src/controls/Range.stories.tsx similarity index 100% rename from lib/blocks/src/controls/Range.stories.tsx rename to code/lib/blocks/src/controls/Range.stories.tsx diff --git a/lib/blocks/src/controls/Range.tsx b/code/lib/blocks/src/controls/Range.tsx similarity index 100% rename from lib/blocks/src/controls/Range.tsx rename to code/lib/blocks/src/controls/Range.tsx diff --git a/lib/blocks/src/controls/Text.stories.tsx b/code/lib/blocks/src/controls/Text.stories.tsx similarity index 100% rename from lib/blocks/src/controls/Text.stories.tsx rename to code/lib/blocks/src/controls/Text.stories.tsx diff --git a/lib/blocks/src/controls/Text.tsx b/code/lib/blocks/src/controls/Text.tsx similarity index 100% rename from lib/blocks/src/controls/Text.tsx rename to code/lib/blocks/src/controls/Text.tsx diff --git a/lib/blocks/src/controls/helpers.test.ts b/code/lib/blocks/src/controls/helpers.test.ts similarity index 100% rename from lib/blocks/src/controls/helpers.test.ts rename to code/lib/blocks/src/controls/helpers.test.ts diff --git a/lib/blocks/src/controls/helpers.ts b/code/lib/blocks/src/controls/helpers.ts similarity index 100% rename from lib/blocks/src/controls/helpers.ts rename to code/lib/blocks/src/controls/helpers.ts diff --git a/lib/blocks/src/controls/index.tsx b/code/lib/blocks/src/controls/index.tsx similarity index 100% rename from lib/blocks/src/controls/index.tsx rename to code/lib/blocks/src/controls/index.tsx diff --git a/lib/blocks/src/controls/options/Checkbox.tsx b/code/lib/blocks/src/controls/options/Checkbox.tsx similarity index 100% rename from lib/blocks/src/controls/options/Checkbox.tsx rename to code/lib/blocks/src/controls/options/Checkbox.tsx diff --git a/lib/blocks/src/controls/options/Options.stories.tsx b/code/lib/blocks/src/controls/options/Options.stories.tsx similarity index 100% rename from lib/blocks/src/controls/options/Options.stories.tsx rename to code/lib/blocks/src/controls/options/Options.stories.tsx diff --git a/lib/blocks/src/controls/options/Options.tsx b/code/lib/blocks/src/controls/options/Options.tsx similarity index 100% rename from lib/blocks/src/controls/options/Options.tsx rename to code/lib/blocks/src/controls/options/Options.tsx diff --git a/lib/blocks/src/controls/options/Radio.tsx b/code/lib/blocks/src/controls/options/Radio.tsx similarity index 100% rename from lib/blocks/src/controls/options/Radio.tsx rename to code/lib/blocks/src/controls/options/Radio.tsx diff --git a/lib/blocks/src/controls/options/Select.tsx b/code/lib/blocks/src/controls/options/Select.tsx similarity index 100% rename from lib/blocks/src/controls/options/Select.tsx rename to code/lib/blocks/src/controls/options/Select.tsx diff --git a/lib/blocks/src/controls/options/helpers.ts b/code/lib/blocks/src/controls/options/helpers.ts similarity index 100% rename from lib/blocks/src/controls/options/helpers.ts rename to code/lib/blocks/src/controls/options/helpers.ts diff --git a/lib/blocks/src/controls/options/index.ts b/code/lib/blocks/src/controls/options/index.ts similarity index 100% rename from lib/blocks/src/controls/options/index.ts rename to code/lib/blocks/src/controls/options/index.ts diff --git a/lib/blocks/src/controls/react-editable-json-tree/JsonNodes.tsx b/code/lib/blocks/src/controls/react-editable-json-tree/JsonNodes.tsx similarity index 100% rename from lib/blocks/src/controls/react-editable-json-tree/JsonNodes.tsx rename to code/lib/blocks/src/controls/react-editable-json-tree/JsonNodes.tsx diff --git a/lib/blocks/src/controls/react-editable-json-tree/LICENSE.md b/code/lib/blocks/src/controls/react-editable-json-tree/LICENSE.md similarity index 100% rename from lib/blocks/src/controls/react-editable-json-tree/LICENSE.md rename to code/lib/blocks/src/controls/react-editable-json-tree/LICENSE.md diff --git a/lib/blocks/src/controls/react-editable-json-tree/index.tsx b/code/lib/blocks/src/controls/react-editable-json-tree/index.tsx similarity index 100% rename from lib/blocks/src/controls/react-editable-json-tree/index.tsx rename to code/lib/blocks/src/controls/react-editable-json-tree/index.tsx diff --git a/lib/blocks/src/controls/react-editable-json-tree/types/dataTypes.ts b/code/lib/blocks/src/controls/react-editable-json-tree/types/dataTypes.ts similarity index 100% rename from lib/blocks/src/controls/react-editable-json-tree/types/dataTypes.ts rename to code/lib/blocks/src/controls/react-editable-json-tree/types/dataTypes.ts diff --git a/lib/blocks/src/controls/react-editable-json-tree/types/deltaTypes.ts b/code/lib/blocks/src/controls/react-editable-json-tree/types/deltaTypes.ts similarity index 100% rename from lib/blocks/src/controls/react-editable-json-tree/types/deltaTypes.ts rename to code/lib/blocks/src/controls/react-editable-json-tree/types/deltaTypes.ts diff --git a/lib/blocks/src/controls/react-editable-json-tree/types/inputUsageTypes.ts b/code/lib/blocks/src/controls/react-editable-json-tree/types/inputUsageTypes.ts similarity index 100% rename from lib/blocks/src/controls/react-editable-json-tree/types/inputUsageTypes.ts rename to code/lib/blocks/src/controls/react-editable-json-tree/types/inputUsageTypes.ts diff --git a/lib/blocks/src/controls/react-editable-json-tree/utils/objectTypes.ts b/code/lib/blocks/src/controls/react-editable-json-tree/utils/objectTypes.ts similarity index 100% rename from lib/blocks/src/controls/react-editable-json-tree/utils/objectTypes.ts rename to code/lib/blocks/src/controls/react-editable-json-tree/utils/objectTypes.ts diff --git a/lib/blocks/src/controls/react-editable-json-tree/utils/parse.ts b/code/lib/blocks/src/controls/react-editable-json-tree/utils/parse.ts similarity index 100% rename from lib/blocks/src/controls/react-editable-json-tree/utils/parse.ts rename to code/lib/blocks/src/controls/react-editable-json-tree/utils/parse.ts diff --git a/lib/blocks/src/controls/react-editable-json-tree/utils/styles.ts b/code/lib/blocks/src/controls/react-editable-json-tree/utils/styles.ts similarity index 100% rename from lib/blocks/src/controls/react-editable-json-tree/utils/styles.ts rename to code/lib/blocks/src/controls/react-editable-json-tree/utils/styles.ts diff --git a/lib/blocks/src/controls/types.ts b/code/lib/blocks/src/controls/types.ts similarity index 100% rename from lib/blocks/src/controls/types.ts rename to code/lib/blocks/src/controls/types.ts diff --git a/lib/blocks/src/index.ts b/code/lib/blocks/src/index.ts similarity index 100% rename from lib/blocks/src/index.ts rename to code/lib/blocks/src/index.ts diff --git a/lib/blocks/src/typings.d.ts b/code/lib/blocks/src/typings.d.ts similarity index 100% rename from lib/blocks/src/typings.d.ts rename to code/lib/blocks/src/typings.d.ts diff --git a/lib/blocks/tsconfig.json b/code/lib/blocks/tsconfig.json similarity index 100% rename from lib/blocks/tsconfig.json rename to code/lib/blocks/tsconfig.json diff --git a/lib/builder-manager/README.md b/code/lib/builder-manager/README.md similarity index 100% rename from lib/builder-manager/README.md rename to code/lib/builder-manager/README.md diff --git a/lib/builder-manager/package.json b/code/lib/builder-manager/package.json similarity index 95% rename from lib/builder-manager/package.json rename to code/lib/builder-manager/package.json index 6e166fa82cb6..7cbf61caaed2 100644 --- a/lib/builder-manager/package.json +++ b/code/lib/builder-manager/package.json @@ -38,7 +38,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "esrun ../../scripts/prepare/bundle.ts" + "prepare": "../../../scripts/prepare/bundle.ts" }, "dependencies": { "@fal-works/esbuild-plugin-global-externals": "^2.1.2", @@ -58,7 +58,6 @@ "rollup-plugin-node-polyfills": "^0.2.1" }, "devDependencies": { - "@digitak/esrun": "^3.2.2", "typescript": "~4.6.3" }, "publishConfig": { diff --git a/lib/builder-manager/src/index.ts b/code/lib/builder-manager/src/index.ts similarity index 100% rename from lib/builder-manager/src/index.ts rename to code/lib/builder-manager/src/index.ts diff --git a/lib/builder-manager/src/types.ts b/code/lib/builder-manager/src/types.ts similarity index 100% rename from lib/builder-manager/src/types.ts rename to code/lib/builder-manager/src/types.ts diff --git a/lib/builder-manager/src/utils/data.ts b/code/lib/builder-manager/src/utils/data.ts similarity index 100% rename from lib/builder-manager/src/utils/data.ts rename to code/lib/builder-manager/src/utils/data.ts diff --git a/lib/builder-manager/src/utils/directory.ts b/code/lib/builder-manager/src/utils/directory.ts similarity index 100% rename from lib/builder-manager/src/utils/directory.ts rename to code/lib/builder-manager/src/utils/directory.ts diff --git a/lib/builder-manager/src/utils/globals.ts b/code/lib/builder-manager/src/utils/globals.ts similarity index 100% rename from lib/builder-manager/src/utils/globals.ts rename to code/lib/builder-manager/src/utils/globals.ts diff --git a/lib/builder-manager/src/utils/safeResolve.ts b/code/lib/builder-manager/src/utils/safeResolve.ts similarity index 100% rename from lib/builder-manager/src/utils/safeResolve.ts rename to code/lib/builder-manager/src/utils/safeResolve.ts diff --git a/lib/builder-manager/src/utils/template.ts b/code/lib/builder-manager/src/utils/template.ts similarity index 100% rename from lib/builder-manager/src/utils/template.ts rename to code/lib/builder-manager/src/utils/template.ts diff --git a/lib/builder-manager/templates/template.ejs b/code/lib/builder-manager/templates/template.ejs similarity index 100% rename from lib/builder-manager/templates/template.ejs rename to code/lib/builder-manager/templates/template.ejs diff --git a/lib/builder-manager/tsconfig.json b/code/lib/builder-manager/tsconfig.json similarity index 100% rename from lib/builder-manager/tsconfig.json rename to code/lib/builder-manager/tsconfig.json diff --git a/lib/builder-webpack5/README.md b/code/lib/builder-webpack5/README.md similarity index 100% rename from lib/builder-webpack5/README.md rename to code/lib/builder-webpack5/README.md diff --git a/lib/builder-webpack5/package.json b/code/lib/builder-webpack5/package.json similarity index 98% rename from lib/builder-webpack5/package.json rename to code/lib/builder-webpack5/package.json index 030e1cc96b45..f09b2fe8475b 100644 --- a/lib/builder-webpack5/package.json +++ b/code/lib/builder-webpack5/package.json @@ -30,7 +30,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@babel/core": "^7.12.10", diff --git a/lib/builder-webpack5/src/index.ts b/code/lib/builder-webpack5/src/index.ts similarity index 100% rename from lib/builder-webpack5/src/index.ts rename to code/lib/builder-webpack5/src/index.ts diff --git a/lib/builder-webpack5/src/presets/custom-webpack-preset.ts b/code/lib/builder-webpack5/src/presets/custom-webpack-preset.ts similarity index 100% rename from lib/builder-webpack5/src/presets/custom-webpack-preset.ts rename to code/lib/builder-webpack5/src/presets/custom-webpack-preset.ts diff --git a/lib/builder-webpack5/src/presets/preview-preset.ts b/code/lib/builder-webpack5/src/presets/preview-preset.ts similarity index 100% rename from lib/builder-webpack5/src/presets/preview-preset.ts rename to code/lib/builder-webpack5/src/presets/preview-preset.ts diff --git a/lib/builder-webpack5/src/preview/babel-loader-preview.ts b/code/lib/builder-webpack5/src/preview/babel-loader-preview.ts similarity index 100% rename from lib/builder-webpack5/src/preview/babel-loader-preview.ts rename to code/lib/builder-webpack5/src/preview/babel-loader-preview.ts diff --git a/lib/builder-webpack5/src/preview/base-webpack.config.ts b/code/lib/builder-webpack5/src/preview/base-webpack.config.ts similarity index 100% rename from lib/builder-webpack5/src/preview/base-webpack.config.ts rename to code/lib/builder-webpack5/src/preview/base-webpack.config.ts diff --git a/lib/builder-webpack5/src/preview/iframe-webpack.config.ts b/code/lib/builder-webpack5/src/preview/iframe-webpack.config.ts similarity index 100% rename from lib/builder-webpack5/src/preview/iframe-webpack.config.ts rename to code/lib/builder-webpack5/src/preview/iframe-webpack.config.ts diff --git a/lib/builder-webpack5/src/preview/virtualModuleEntry.template.js b/code/lib/builder-webpack5/src/preview/virtualModuleEntry.template.js similarity index 100% rename from lib/builder-webpack5/src/preview/virtualModuleEntry.template.js rename to code/lib/builder-webpack5/src/preview/virtualModuleEntry.template.js diff --git a/lib/builder-webpack5/src/preview/virtualModuleStory.template.js b/code/lib/builder-webpack5/src/preview/virtualModuleStory.template.js similarity index 100% rename from lib/builder-webpack5/src/preview/virtualModuleStory.template.js rename to code/lib/builder-webpack5/src/preview/virtualModuleStory.template.js diff --git a/lib/builder-webpack5/src/types.ts b/code/lib/builder-webpack5/src/types.ts similarity index 100% rename from lib/builder-webpack5/src/types.ts rename to code/lib/builder-webpack5/src/types.ts diff --git a/lib/builder-webpack5/templates/virtualModuleModernEntry.js.handlebars b/code/lib/builder-webpack5/templates/virtualModuleModernEntry.js.handlebars similarity index 100% rename from lib/builder-webpack5/templates/virtualModuleModernEntry.js.handlebars rename to code/lib/builder-webpack5/templates/virtualModuleModernEntry.js.handlebars diff --git a/lib/builder-webpack5/tsconfig.json b/code/lib/builder-webpack5/tsconfig.json similarity index 100% rename from lib/builder-webpack5/tsconfig.json rename to code/lib/builder-webpack5/tsconfig.json diff --git a/lib/builder-webpack5/typings.d.ts b/code/lib/builder-webpack5/typings.d.ts similarity index 100% rename from lib/builder-webpack5/typings.d.ts rename to code/lib/builder-webpack5/typings.d.ts diff --git a/lib/channel-postmessage/README.md b/code/lib/channel-postmessage/README.md similarity index 100% rename from lib/channel-postmessage/README.md rename to code/lib/channel-postmessage/README.md diff --git a/lib/channel-postmessage/package.json b/code/lib/channel-postmessage/package.json similarity index 96% rename from lib/channel-postmessage/package.json rename to code/lib/channel-postmessage/package.json index 5548c207a1e6..5610ccc15867 100644 --- a/lib/channel-postmessage/package.json +++ b/code/lib/channel-postmessage/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/channels": "7.0.0-alpha.16", diff --git a/lib/channel-postmessage/src/index.ts b/code/lib/channel-postmessage/src/index.ts similarity index 100% rename from lib/channel-postmessage/src/index.ts rename to code/lib/channel-postmessage/src/index.ts diff --git a/lib/channel-postmessage/src/typings.d.ts b/code/lib/channel-postmessage/src/typings.d.ts similarity index 100% rename from lib/channel-postmessage/src/typings.d.ts rename to code/lib/channel-postmessage/src/typings.d.ts diff --git a/lib/channel-postmessage/tsconfig.json b/code/lib/channel-postmessage/tsconfig.json similarity index 100% rename from lib/channel-postmessage/tsconfig.json rename to code/lib/channel-postmessage/tsconfig.json diff --git a/lib/channel-websocket/README.md b/code/lib/channel-websocket/README.md similarity index 100% rename from lib/channel-websocket/README.md rename to code/lib/channel-websocket/README.md diff --git a/lib/channel-websocket/package.json b/code/lib/channel-websocket/package.json similarity index 95% rename from lib/channel-websocket/package.json rename to code/lib/channel-websocket/package.json index cf129850c24e..fb701d6c4cc8 100644 --- a/lib/channel-websocket/package.json +++ b/code/lib/channel-websocket/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/channels": "7.0.0-alpha.16", diff --git a/lib/channel-websocket/src/index.ts b/code/lib/channel-websocket/src/index.ts similarity index 100% rename from lib/channel-websocket/src/index.ts rename to code/lib/channel-websocket/src/index.ts diff --git a/lib/channel-websocket/src/typings.d.ts b/code/lib/channel-websocket/src/typings.d.ts similarity index 100% rename from lib/channel-websocket/src/typings.d.ts rename to code/lib/channel-websocket/src/typings.d.ts diff --git a/lib/channel-websocket/tsconfig.json b/code/lib/channel-websocket/tsconfig.json similarity index 100% rename from lib/channel-websocket/tsconfig.json rename to code/lib/channel-websocket/tsconfig.json diff --git a/lib/channels/README.md b/code/lib/channels/README.md similarity index 100% rename from lib/channels/README.md rename to code/lib/channels/README.md diff --git a/lib/channels/package.json b/code/lib/channels/package.json similarity index 95% rename from lib/channels/package.json rename to code/lib/channels/package.json index d4d6bfc80130..3c0ca09ab860 100644 --- a/lib/channels/package.json +++ b/code/lib/channels/package.json @@ -31,7 +31,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "core-js": "^3.8.2", diff --git a/lib/channels/src/index.test.ts b/code/lib/channels/src/index.test.ts similarity index 99% rename from lib/channels/src/index.test.ts rename to code/lib/channels/src/index.test.ts index 0583fb3d5e29..08ae656bb1ca 100644 --- a/lib/channels/src/index.test.ts +++ b/code/lib/channels/src/index.test.ts @@ -1,4 +1,4 @@ -import { Channel, ChannelEvent, ChannelTransport, Listener } from '.'; +import { Channel, ChannelTransport, Listener } from '.'; jest.useFakeTimers(); diff --git a/lib/channels/src/index.ts b/code/lib/channels/src/index.ts similarity index 100% rename from lib/channels/src/index.ts rename to code/lib/channels/src/index.ts diff --git a/lib/channels/tsconfig.json b/code/lib/channels/tsconfig.json similarity index 100% rename from lib/channels/tsconfig.json rename to code/lib/channels/tsconfig.json diff --git a/lib/cli-sb/README.md b/code/lib/cli-sb/README.md similarity index 100% rename from lib/cli-sb/README.md rename to code/lib/cli-sb/README.md diff --git a/lib/cli-sb/index.js b/code/lib/cli-sb/index.js similarity index 100% rename from lib/cli-sb/index.js rename to code/lib/cli-sb/index.js diff --git a/lib/cli-sb/package.json b/code/lib/cli-sb/package.json similarity index 94% rename from lib/cli-sb/package.json rename to code/lib/cli-sb/package.json index c257353426a8..89309694f2a6 100644 --- a/lib/cli-sb/package.json +++ b/code/lib/cli-sb/package.json @@ -22,7 +22,7 @@ "bin": "./index.js", "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/cli": "7.0.0-alpha.16" diff --git a/lib/cli-storybook/README.md b/code/lib/cli-storybook/README.md similarity index 100% rename from lib/cli-storybook/README.md rename to code/lib/cli-storybook/README.md diff --git a/lib/cli-storybook/index.js b/code/lib/cli-storybook/index.js similarity index 100% rename from lib/cli-storybook/index.js rename to code/lib/cli-storybook/index.js diff --git a/lib/cli-storybook/package.json b/code/lib/cli-storybook/package.json similarity index 94% rename from lib/cli-storybook/package.json rename to code/lib/cli-storybook/package.json index 9159f0128ad0..093c1404e8ab 100644 --- a/lib/cli-storybook/package.json +++ b/code/lib/cli-storybook/package.json @@ -25,7 +25,7 @@ }, "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js" + "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { "@storybook/cli": "7.0.0-alpha.16" diff --git a/lib/cli/.babelrc.json b/code/lib/cli/.babelrc.json similarity index 100% rename from lib/cli/.babelrc.json rename to code/lib/cli/.babelrc.json diff --git a/lib/cli/README.md b/code/lib/cli/README.md similarity index 100% rename from lib/cli/README.md rename to code/lib/cli/README.md diff --git a/lib/cli/bin/index.js b/code/lib/cli/bin/index.js similarity index 100% rename from lib/cli/bin/index.js rename to code/lib/cli/bin/index.js diff --git a/lib/cli/docs/getstorybook.png b/code/lib/cli/docs/getstorybook.png similarity index 100% rename from lib/cli/docs/getstorybook.png rename to code/lib/cli/docs/getstorybook.png diff --git a/code/lib/cli/frameworks/.eslintrc.json b/code/lib/cli/frameworks/.eslintrc.json new file mode 100644 index 000000000000..c3c56ea14de9 --- /dev/null +++ b/code/lib/cli/frameworks/.eslintrc.json @@ -0,0 +1,11 @@ +{ + "rules": { + "no-undef": "off", + "@typescript-eslint/ban-types": "off", + "react/prop-types": "off", + "react/react-in-jsx-scope": "off", + "import/extensions": "off", + "import/no-unresolved": "off", + "import/no-extraneous-dependencies": "off" + } +} diff --git a/lib/cli/src/frameworks/angular/Button.stories.ts b/code/lib/cli/frameworks/angular/Button.stories.ts similarity index 100% rename from lib/cli/src/frameworks/angular/Button.stories.ts rename to code/lib/cli/frameworks/angular/Button.stories.ts diff --git a/lib/cli/src/frameworks/angular/Header.stories.ts b/code/lib/cli/frameworks/angular/Header.stories.ts similarity index 100% rename from lib/cli/src/frameworks/angular/Header.stories.ts rename to code/lib/cli/frameworks/angular/Header.stories.ts diff --git a/lib/cli/src/frameworks/angular/Page.stories.ts b/code/lib/cli/frameworks/angular/Page.stories.ts similarity index 100% rename from lib/cli/src/frameworks/angular/Page.stories.ts rename to code/lib/cli/frameworks/angular/Page.stories.ts diff --git a/lib/cli/src/frameworks/angular/User.ts b/code/lib/cli/frameworks/angular/User.ts similarity index 100% rename from lib/cli/src/frameworks/angular/User.ts rename to code/lib/cli/frameworks/angular/User.ts diff --git a/lib/cli/src/frameworks/angular/button.component.ts b/code/lib/cli/frameworks/angular/button.component.ts similarity index 100% rename from lib/cli/src/frameworks/angular/button.component.ts rename to code/lib/cli/frameworks/angular/button.component.ts diff --git a/lib/cli/src/frameworks/angular/header.component.ts b/code/lib/cli/frameworks/angular/header.component.ts similarity index 100% rename from lib/cli/src/frameworks/angular/header.component.ts rename to code/lib/cli/frameworks/angular/header.component.ts diff --git a/lib/cli/src/frameworks/angular/page.component.ts b/code/lib/cli/frameworks/angular/page.component.ts similarity index 100% rename from lib/cli/src/frameworks/angular/page.component.ts rename to code/lib/cli/frameworks/angular/page.component.ts diff --git a/lib/cli/src/frameworks/aurelia/1-Button.stories.ts b/code/lib/cli/frameworks/aurelia/1-Button.stories.ts similarity index 100% rename from lib/cli/src/frameworks/aurelia/1-Button.stories.ts rename to code/lib/cli/frameworks/aurelia/1-Button.stories.ts diff --git a/lib/cli/src/frameworks/aurelia/button.ts b/code/lib/cli/frameworks/aurelia/button.ts similarity index 100% rename from lib/cli/src/frameworks/aurelia/button.ts rename to code/lib/cli/frameworks/aurelia/button.ts diff --git a/lib/cli/src/frameworks/common/Introduction.stories.mdx b/code/lib/cli/frameworks/common/Introduction.stories.mdx similarity index 100% rename from lib/cli/src/frameworks/common/Introduction.stories.mdx rename to code/lib/cli/frameworks/common/Introduction.stories.mdx diff --git a/lib/cli/src/frameworks/common/assets/code-brackets.svg b/code/lib/cli/frameworks/common/assets/code-brackets.svg similarity index 100% rename from lib/cli/src/frameworks/common/assets/code-brackets.svg rename to code/lib/cli/frameworks/common/assets/code-brackets.svg diff --git a/lib/cli/src/frameworks/common/assets/colors.svg b/code/lib/cli/frameworks/common/assets/colors.svg similarity index 100% rename from lib/cli/src/frameworks/common/assets/colors.svg rename to code/lib/cli/frameworks/common/assets/colors.svg diff --git a/lib/cli/src/frameworks/common/assets/comments.svg b/code/lib/cli/frameworks/common/assets/comments.svg similarity index 100% rename from lib/cli/src/frameworks/common/assets/comments.svg rename to code/lib/cli/frameworks/common/assets/comments.svg diff --git a/lib/cli/src/frameworks/common/assets/direction.svg b/code/lib/cli/frameworks/common/assets/direction.svg similarity index 100% rename from lib/cli/src/frameworks/common/assets/direction.svg rename to code/lib/cli/frameworks/common/assets/direction.svg diff --git a/lib/cli/src/frameworks/common/assets/flow.svg b/code/lib/cli/frameworks/common/assets/flow.svg similarity index 100% rename from lib/cli/src/frameworks/common/assets/flow.svg rename to code/lib/cli/frameworks/common/assets/flow.svg diff --git a/lib/cli/src/frameworks/common/assets/plugin.svg b/code/lib/cli/frameworks/common/assets/plugin.svg similarity index 100% rename from lib/cli/src/frameworks/common/assets/plugin.svg rename to code/lib/cli/frameworks/common/assets/plugin.svg diff --git a/lib/cli/src/frameworks/common/assets/repo.svg b/code/lib/cli/frameworks/common/assets/repo.svg similarity index 100% rename from lib/cli/src/frameworks/common/assets/repo.svg rename to code/lib/cli/frameworks/common/assets/repo.svg diff --git a/lib/cli/src/frameworks/common/assets/stackalt.svg b/code/lib/cli/frameworks/common/assets/stackalt.svg similarity index 100% rename from lib/cli/src/frameworks/common/assets/stackalt.svg rename to code/lib/cli/frameworks/common/assets/stackalt.svg diff --git a/lib/cli/src/frameworks/common/button.css b/code/lib/cli/frameworks/common/button.css similarity index 100% rename from lib/cli/src/frameworks/common/button.css rename to code/lib/cli/frameworks/common/button.css diff --git a/lib/cli/src/frameworks/common/header.css b/code/lib/cli/frameworks/common/header.css similarity index 100% rename from lib/cli/src/frameworks/common/header.css rename to code/lib/cli/frameworks/common/header.css diff --git a/lib/cli/src/frameworks/common/page.css b/code/lib/cli/frameworks/common/page.css similarity index 100% rename from lib/cli/src/frameworks/common/page.css rename to code/lib/cli/frameworks/common/page.css diff --git a/lib/cli/src/frameworks/ember/1-Button.stories.js b/code/lib/cli/frameworks/ember/1-Button.stories.js similarity index 100% rename from lib/cli/src/frameworks/ember/1-Button.stories.js rename to code/lib/cli/frameworks/ember/1-Button.stories.js diff --git a/lib/cli/src/frameworks/html/js/Button.js b/code/lib/cli/frameworks/html/js/Button.js similarity index 100% rename from lib/cli/src/frameworks/html/js/Button.js rename to code/lib/cli/frameworks/html/js/Button.js diff --git a/lib/cli/src/frameworks/html/js/Button.stories.js b/code/lib/cli/frameworks/html/js/Button.stories.js similarity index 100% rename from lib/cli/src/frameworks/html/js/Button.stories.js rename to code/lib/cli/frameworks/html/js/Button.stories.js diff --git a/lib/cli/src/frameworks/html/js/Header.js b/code/lib/cli/frameworks/html/js/Header.js similarity index 100% rename from lib/cli/src/frameworks/html/js/Header.js rename to code/lib/cli/frameworks/html/js/Header.js diff --git a/lib/cli/src/frameworks/html/js/Header.stories.js b/code/lib/cli/frameworks/html/js/Header.stories.js similarity index 100% rename from lib/cli/src/frameworks/html/js/Header.stories.js rename to code/lib/cli/frameworks/html/js/Header.stories.js diff --git a/lib/cli/src/frameworks/html/js/Page.js b/code/lib/cli/frameworks/html/js/Page.js similarity index 100% rename from lib/cli/src/frameworks/html/js/Page.js rename to code/lib/cli/frameworks/html/js/Page.js diff --git a/lib/cli/src/frameworks/html/js/Page.stories.js b/code/lib/cli/frameworks/html/js/Page.stories.js similarity index 100% rename from lib/cli/src/frameworks/html/js/Page.stories.js rename to code/lib/cli/frameworks/html/js/Page.stories.js diff --git a/lib/cli/src/frameworks/html/ts/Button.stories.ts b/code/lib/cli/frameworks/html/ts/Button.stories.ts similarity index 100% rename from lib/cli/src/frameworks/html/ts/Button.stories.ts rename to code/lib/cli/frameworks/html/ts/Button.stories.ts diff --git a/lib/cli/src/frameworks/html/ts/Button.ts b/code/lib/cli/frameworks/html/ts/Button.ts similarity index 100% rename from lib/cli/src/frameworks/html/ts/Button.ts rename to code/lib/cli/frameworks/html/ts/Button.ts diff --git a/lib/cli/src/frameworks/html/ts/Header.stories.ts b/code/lib/cli/frameworks/html/ts/Header.stories.ts similarity index 100% rename from lib/cli/src/frameworks/html/ts/Header.stories.ts rename to code/lib/cli/frameworks/html/ts/Header.stories.ts diff --git a/lib/cli/src/frameworks/html/ts/Header.ts b/code/lib/cli/frameworks/html/ts/Header.ts similarity index 100% rename from lib/cli/src/frameworks/html/ts/Header.ts rename to code/lib/cli/frameworks/html/ts/Header.ts diff --git a/lib/cli/src/frameworks/html/ts/Page.stories.ts b/code/lib/cli/frameworks/html/ts/Page.stories.ts similarity index 100% rename from lib/cli/src/frameworks/html/ts/Page.stories.ts rename to code/lib/cli/frameworks/html/ts/Page.stories.ts diff --git a/lib/cli/src/frameworks/html/ts/Page.ts b/code/lib/cli/frameworks/html/ts/Page.ts similarity index 100% rename from lib/cli/src/frameworks/html/ts/Page.ts rename to code/lib/cli/frameworks/html/ts/Page.ts diff --git a/lib/cli/src/frameworks/marionette/index.stories.js b/code/lib/cli/frameworks/marionette/index.stories.js similarity index 100% rename from lib/cli/src/frameworks/marionette/index.stories.js rename to code/lib/cli/frameworks/marionette/index.stories.js diff --git a/lib/cli/src/frameworks/marko/1-Button.stories.js b/code/lib/cli/frameworks/marko/1-Button.stories.js similarity index 100% rename from lib/cli/src/frameworks/marko/1-Button.stories.js rename to code/lib/cli/frameworks/marko/1-Button.stories.js diff --git a/lib/cli/src/frameworks/marko/Button.marko b/code/lib/cli/frameworks/marko/Button.marko similarity index 100% rename from lib/cli/src/frameworks/marko/Button.marko rename to code/lib/cli/frameworks/marko/Button.marko diff --git a/lib/cli/src/frameworks/mithril/Button.js b/code/lib/cli/frameworks/mithril/Button.js similarity index 100% rename from lib/cli/src/frameworks/mithril/Button.js rename to code/lib/cli/frameworks/mithril/Button.js diff --git a/lib/cli/src/frameworks/mithril/Button.stories.js b/code/lib/cli/frameworks/mithril/Button.stories.js similarity index 100% rename from lib/cli/src/frameworks/mithril/Button.stories.js rename to code/lib/cli/frameworks/mithril/Button.stories.js diff --git a/lib/cli/src/frameworks/mithril/Header.js b/code/lib/cli/frameworks/mithril/Header.js similarity index 100% rename from lib/cli/src/frameworks/mithril/Header.js rename to code/lib/cli/frameworks/mithril/Header.js diff --git a/lib/cli/src/frameworks/mithril/Header.stories.js b/code/lib/cli/frameworks/mithril/Header.stories.js similarity index 100% rename from lib/cli/src/frameworks/mithril/Header.stories.js rename to code/lib/cli/frameworks/mithril/Header.stories.js diff --git a/lib/cli/src/frameworks/mithril/Page.js b/code/lib/cli/frameworks/mithril/Page.js similarity index 100% rename from lib/cli/src/frameworks/mithril/Page.js rename to code/lib/cli/frameworks/mithril/Page.js diff --git a/lib/cli/src/frameworks/mithril/Page.stories.js b/code/lib/cli/frameworks/mithril/Page.stories.js similarity index 100% rename from lib/cli/src/frameworks/mithril/Page.stories.js rename to code/lib/cli/frameworks/mithril/Page.stories.js diff --git a/lib/cli/src/frameworks/preact/Button.jsx b/code/lib/cli/frameworks/preact/Button.jsx similarity index 100% rename from lib/cli/src/frameworks/preact/Button.jsx rename to code/lib/cli/frameworks/preact/Button.jsx diff --git a/lib/cli/src/frameworks/preact/Button.stories.jsx b/code/lib/cli/frameworks/preact/Button.stories.jsx similarity index 100% rename from lib/cli/src/frameworks/preact/Button.stories.jsx rename to code/lib/cli/frameworks/preact/Button.stories.jsx diff --git a/lib/cli/src/frameworks/preact/Header.jsx b/code/lib/cli/frameworks/preact/Header.jsx similarity index 100% rename from lib/cli/src/frameworks/preact/Header.jsx rename to code/lib/cli/frameworks/preact/Header.jsx diff --git a/lib/cli/src/frameworks/preact/Header.stories.jsx b/code/lib/cli/frameworks/preact/Header.stories.jsx similarity index 100% rename from lib/cli/src/frameworks/preact/Header.stories.jsx rename to code/lib/cli/frameworks/preact/Header.stories.jsx diff --git a/lib/cli/src/frameworks/preact/Page.jsx b/code/lib/cli/frameworks/preact/Page.jsx similarity index 100% rename from lib/cli/src/frameworks/preact/Page.jsx rename to code/lib/cli/frameworks/preact/Page.jsx diff --git a/lib/cli/src/frameworks/preact/Page.stories.jsx b/code/lib/cli/frameworks/preact/Page.stories.jsx similarity index 100% rename from lib/cli/src/frameworks/preact/Page.stories.jsx rename to code/lib/cli/frameworks/preact/Page.stories.jsx diff --git a/lib/cli/src/frameworks/rax/Button.js b/code/lib/cli/frameworks/rax/Button.js similarity index 100% rename from lib/cli/src/frameworks/rax/Button.js rename to code/lib/cli/frameworks/rax/Button.js diff --git a/lib/cli/src/frameworks/rax/Button.stories.js b/code/lib/cli/frameworks/rax/Button.stories.js similarity index 100% rename from lib/cli/src/frameworks/rax/Button.stories.js rename to code/lib/cli/frameworks/rax/Button.stories.js diff --git a/lib/cli/src/frameworks/rax/Header.js b/code/lib/cli/frameworks/rax/Header.js similarity index 100% rename from lib/cli/src/frameworks/rax/Header.js rename to code/lib/cli/frameworks/rax/Header.js diff --git a/lib/cli/src/frameworks/rax/Header.stories.js b/code/lib/cli/frameworks/rax/Header.stories.js similarity index 100% rename from lib/cli/src/frameworks/rax/Header.stories.js rename to code/lib/cli/frameworks/rax/Header.stories.js diff --git a/lib/cli/src/frameworks/rax/Page.js b/code/lib/cli/frameworks/rax/Page.js similarity index 100% rename from lib/cli/src/frameworks/rax/Page.js rename to code/lib/cli/frameworks/rax/Page.js diff --git a/lib/cli/src/frameworks/rax/Page.stories.js b/code/lib/cli/frameworks/rax/Page.stories.js similarity index 100% rename from lib/cli/src/frameworks/rax/Page.stories.js rename to code/lib/cli/frameworks/rax/Page.stories.js diff --git a/lib/cli/src/frameworks/react/js/Button.jsx b/code/lib/cli/frameworks/react/js/Button.jsx similarity index 100% rename from lib/cli/src/frameworks/react/js/Button.jsx rename to code/lib/cli/frameworks/react/js/Button.jsx diff --git a/lib/cli/src/frameworks/react/js/Button.stories.jsx b/code/lib/cli/frameworks/react/js/Button.stories.jsx similarity index 100% rename from lib/cli/src/frameworks/react/js/Button.stories.jsx rename to code/lib/cli/frameworks/react/js/Button.stories.jsx diff --git a/lib/cli/src/frameworks/react/js/Header.jsx b/code/lib/cli/frameworks/react/js/Header.jsx similarity index 100% rename from lib/cli/src/frameworks/react/js/Header.jsx rename to code/lib/cli/frameworks/react/js/Header.jsx diff --git a/lib/cli/src/frameworks/react/js/Header.stories.jsx b/code/lib/cli/frameworks/react/js/Header.stories.jsx similarity index 100% rename from lib/cli/src/frameworks/react/js/Header.stories.jsx rename to code/lib/cli/frameworks/react/js/Header.stories.jsx diff --git a/lib/cli/src/frameworks/react/js/Page.jsx b/code/lib/cli/frameworks/react/js/Page.jsx similarity index 100% rename from lib/cli/src/frameworks/react/js/Page.jsx rename to code/lib/cli/frameworks/react/js/Page.jsx diff --git a/lib/cli/src/frameworks/react/js/Page.stories.jsx b/code/lib/cli/frameworks/react/js/Page.stories.jsx similarity index 100% rename from lib/cli/src/frameworks/react/js/Page.stories.jsx rename to code/lib/cli/frameworks/react/js/Page.stories.jsx diff --git a/lib/cli/src/frameworks/react/ts/Button.stories.tsx b/code/lib/cli/frameworks/react/ts/Button.stories.tsx similarity index 100% rename from lib/cli/src/frameworks/react/ts/Button.stories.tsx rename to code/lib/cli/frameworks/react/ts/Button.stories.tsx diff --git a/lib/cli/src/frameworks/react/ts/Button.tsx b/code/lib/cli/frameworks/react/ts/Button.tsx similarity index 100% rename from lib/cli/src/frameworks/react/ts/Button.tsx rename to code/lib/cli/frameworks/react/ts/Button.tsx diff --git a/lib/cli/src/frameworks/react/ts/Header.stories.tsx b/code/lib/cli/frameworks/react/ts/Header.stories.tsx similarity index 100% rename from lib/cli/src/frameworks/react/ts/Header.stories.tsx rename to code/lib/cli/frameworks/react/ts/Header.stories.tsx diff --git a/lib/cli/src/frameworks/react/ts/Header.tsx b/code/lib/cli/frameworks/react/ts/Header.tsx similarity index 100% rename from lib/cli/src/frameworks/react/ts/Header.tsx rename to code/lib/cli/frameworks/react/ts/Header.tsx diff --git a/lib/cli/src/frameworks/react/ts/Page.stories.tsx b/code/lib/cli/frameworks/react/ts/Page.stories.tsx similarity index 100% rename from lib/cli/src/frameworks/react/ts/Page.stories.tsx rename to code/lib/cli/frameworks/react/ts/Page.stories.tsx diff --git a/lib/cli/src/frameworks/react/ts/Page.tsx b/code/lib/cli/frameworks/react/ts/Page.tsx similarity index 100% rename from lib/cli/src/frameworks/react/ts/Page.tsx rename to code/lib/cli/frameworks/react/ts/Page.tsx diff --git a/lib/cli/src/frameworks/riot/1-Button.stories.js b/code/lib/cli/frameworks/riot/1-Button.stories.js similarity index 100% rename from lib/cli/src/frameworks/riot/1-Button.stories.js rename to code/lib/cli/frameworks/riot/1-Button.stories.js diff --git a/lib/cli/src/frameworks/riot/MyButton.tag b/code/lib/cli/frameworks/riot/MyButton.tag similarity index 100% rename from lib/cli/src/frameworks/riot/MyButton.tag rename to code/lib/cli/frameworks/riot/MyButton.tag diff --git a/lib/cli/src/frameworks/server/button.stories.json b/code/lib/cli/frameworks/server/button.stories.json similarity index 100% rename from lib/cli/src/frameworks/server/button.stories.json rename to code/lib/cli/frameworks/server/button.stories.json diff --git a/lib/cli/src/frameworks/server/header.stories.json b/code/lib/cli/frameworks/server/header.stories.json similarity index 100% rename from lib/cli/src/frameworks/server/header.stories.json rename to code/lib/cli/frameworks/server/header.stories.json diff --git a/lib/cli/src/frameworks/server/page.stories.json b/code/lib/cli/frameworks/server/page.stories.json similarity index 100% rename from lib/cli/src/frameworks/server/page.stories.json rename to code/lib/cli/frameworks/server/page.stories.json diff --git a/lib/cli/src/frameworks/svelte/Button.stories.js b/code/lib/cli/frameworks/svelte/Button.stories.js similarity index 100% rename from lib/cli/src/frameworks/svelte/Button.stories.js rename to code/lib/cli/frameworks/svelte/Button.stories.js diff --git a/lib/cli/src/frameworks/svelte/Button.svelte b/code/lib/cli/frameworks/svelte/Button.svelte similarity index 100% rename from lib/cli/src/frameworks/svelte/Button.svelte rename to code/lib/cli/frameworks/svelte/Button.svelte diff --git a/lib/cli/src/frameworks/svelte/Header.stories.js b/code/lib/cli/frameworks/svelte/Header.stories.js similarity index 100% rename from lib/cli/src/frameworks/svelte/Header.stories.js rename to code/lib/cli/frameworks/svelte/Header.stories.js diff --git a/lib/cli/src/frameworks/svelte/Header.svelte b/code/lib/cli/frameworks/svelte/Header.svelte similarity index 100% rename from lib/cli/src/frameworks/svelte/Header.svelte rename to code/lib/cli/frameworks/svelte/Header.svelte diff --git a/lib/cli/src/frameworks/svelte/Page.stories.js b/code/lib/cli/frameworks/svelte/Page.stories.js similarity index 100% rename from lib/cli/src/frameworks/svelte/Page.stories.js rename to code/lib/cli/frameworks/svelte/Page.stories.js diff --git a/lib/cli/src/frameworks/svelte/Page.svelte b/code/lib/cli/frameworks/svelte/Page.svelte similarity index 100% rename from lib/cli/src/frameworks/svelte/Page.svelte rename to code/lib/cli/frameworks/svelte/Page.svelte diff --git a/lib/cli/src/frameworks/vue/Button.stories.js b/code/lib/cli/frameworks/vue/Button.stories.js similarity index 100% rename from lib/cli/src/frameworks/vue/Button.stories.js rename to code/lib/cli/frameworks/vue/Button.stories.js diff --git a/lib/cli/src/frameworks/vue/Button.vue b/code/lib/cli/frameworks/vue/Button.vue similarity index 100% rename from lib/cli/src/frameworks/vue/Button.vue rename to code/lib/cli/frameworks/vue/Button.vue diff --git a/lib/cli/src/frameworks/vue/Header.stories.js b/code/lib/cli/frameworks/vue/Header.stories.js similarity index 100% rename from lib/cli/src/frameworks/vue/Header.stories.js rename to code/lib/cli/frameworks/vue/Header.stories.js diff --git a/lib/cli/src/frameworks/vue/Header.vue b/code/lib/cli/frameworks/vue/Header.vue similarity index 100% rename from lib/cli/src/frameworks/vue/Header.vue rename to code/lib/cli/frameworks/vue/Header.vue diff --git a/lib/cli/src/frameworks/vue/Page.stories.js b/code/lib/cli/frameworks/vue/Page.stories.js similarity index 100% rename from lib/cli/src/frameworks/vue/Page.stories.js rename to code/lib/cli/frameworks/vue/Page.stories.js diff --git a/lib/cli/src/frameworks/vue/Page.vue b/code/lib/cli/frameworks/vue/Page.vue similarity index 100% rename from lib/cli/src/frameworks/vue/Page.vue rename to code/lib/cli/frameworks/vue/Page.vue diff --git a/lib/cli/src/frameworks/vue3/Button.stories.js b/code/lib/cli/frameworks/vue3/Button.stories.js similarity index 100% rename from lib/cli/src/frameworks/vue3/Button.stories.js rename to code/lib/cli/frameworks/vue3/Button.stories.js diff --git a/lib/cli/src/frameworks/vue3/Button.vue b/code/lib/cli/frameworks/vue3/Button.vue similarity index 100% rename from lib/cli/src/frameworks/vue3/Button.vue rename to code/lib/cli/frameworks/vue3/Button.vue diff --git a/lib/cli/src/frameworks/vue3/Header.stories.js b/code/lib/cli/frameworks/vue3/Header.stories.js similarity index 100% rename from lib/cli/src/frameworks/vue3/Header.stories.js rename to code/lib/cli/frameworks/vue3/Header.stories.js diff --git a/lib/cli/src/frameworks/vue3/Header.vue b/code/lib/cli/frameworks/vue3/Header.vue similarity index 100% rename from lib/cli/src/frameworks/vue3/Header.vue rename to code/lib/cli/frameworks/vue3/Header.vue diff --git a/lib/cli/src/frameworks/vue3/Page.stories.js b/code/lib/cli/frameworks/vue3/Page.stories.js similarity index 100% rename from lib/cli/src/frameworks/vue3/Page.stories.js rename to code/lib/cli/frameworks/vue3/Page.stories.js diff --git a/lib/cli/src/frameworks/vue3/Page.vue b/code/lib/cli/frameworks/vue3/Page.vue similarity index 100% rename from lib/cli/src/frameworks/vue3/Page.vue rename to code/lib/cli/frameworks/vue3/Page.vue diff --git a/lib/cli/src/frameworks/web-components/js/Button.js b/code/lib/cli/frameworks/web-components/js/Button.js similarity index 100% rename from lib/cli/src/frameworks/web-components/js/Button.js rename to code/lib/cli/frameworks/web-components/js/Button.js diff --git a/lib/cli/src/frameworks/web-components/js/Button.stories.js b/code/lib/cli/frameworks/web-components/js/Button.stories.js similarity index 100% rename from lib/cli/src/frameworks/web-components/js/Button.stories.js rename to code/lib/cli/frameworks/web-components/js/Button.stories.js diff --git a/lib/cli/src/frameworks/web-components/js/Header.js b/code/lib/cli/frameworks/web-components/js/Header.js similarity index 100% rename from lib/cli/src/frameworks/web-components/js/Header.js rename to code/lib/cli/frameworks/web-components/js/Header.js diff --git a/lib/cli/src/frameworks/web-components/js/Header.stories.js b/code/lib/cli/frameworks/web-components/js/Header.stories.js similarity index 100% rename from lib/cli/src/frameworks/web-components/js/Header.stories.js rename to code/lib/cli/frameworks/web-components/js/Header.stories.js diff --git a/lib/cli/src/frameworks/web-components/js/Page.js b/code/lib/cli/frameworks/web-components/js/Page.js similarity index 100% rename from lib/cli/src/frameworks/web-components/js/Page.js rename to code/lib/cli/frameworks/web-components/js/Page.js diff --git a/lib/cli/src/frameworks/web-components/js/Page.stories.js b/code/lib/cli/frameworks/web-components/js/Page.stories.js similarity index 100% rename from lib/cli/src/frameworks/web-components/js/Page.stories.js rename to code/lib/cli/frameworks/web-components/js/Page.stories.js diff --git a/lib/cli/src/frameworks/web-components/ts/Button.stories.ts b/code/lib/cli/frameworks/web-components/ts/Button.stories.ts similarity index 100% rename from lib/cli/src/frameworks/web-components/ts/Button.stories.ts rename to code/lib/cli/frameworks/web-components/ts/Button.stories.ts diff --git a/lib/cli/src/frameworks/web-components/ts/Button.ts b/code/lib/cli/frameworks/web-components/ts/Button.ts similarity index 100% rename from lib/cli/src/frameworks/web-components/ts/Button.ts rename to code/lib/cli/frameworks/web-components/ts/Button.ts diff --git a/lib/cli/src/frameworks/web-components/ts/Header.stories.ts b/code/lib/cli/frameworks/web-components/ts/Header.stories.ts similarity index 100% rename from lib/cli/src/frameworks/web-components/ts/Header.stories.ts rename to code/lib/cli/frameworks/web-components/ts/Header.stories.ts diff --git a/lib/cli/src/frameworks/web-components/ts/Header.ts b/code/lib/cli/frameworks/web-components/ts/Header.ts similarity index 100% rename from lib/cli/src/frameworks/web-components/ts/Header.ts rename to code/lib/cli/frameworks/web-components/ts/Header.ts diff --git a/lib/cli/src/frameworks/web-components/ts/Page.stories.ts b/code/lib/cli/frameworks/web-components/ts/Page.stories.ts similarity index 100% rename from lib/cli/src/frameworks/web-components/ts/Page.stories.ts rename to code/lib/cli/frameworks/web-components/ts/Page.stories.ts diff --git a/lib/cli/src/frameworks/web-components/ts/Page.ts b/code/lib/cli/frameworks/web-components/ts/Page.ts similarity index 100% rename from lib/cli/src/frameworks/web-components/ts/Page.ts rename to code/lib/cli/frameworks/web-components/ts/Page.ts diff --git a/lib/cli/package.json b/code/lib/cli/package.json similarity index 97% rename from lib/cli/package.json rename to code/lib/cli/package.json index 4600ce0ac74e..b40fe0d18092 100644 --- a/lib/cli/package.json +++ b/code/lib/cli/package.json @@ -42,7 +42,7 @@ ], "scripts": { "check": "tsc --noEmit", - "prepare": "node ../../scripts/prepare.js", + "prepare": "node ../../../scripts/prepare.js", "test": "jest test/**/*.test.js" }, "dependencies": { diff --git a/lib/cli/scripts/generate-sb-packages-versions.js b/code/lib/cli/scripts/generate-sb-packages-versions.js similarity index 100% rename from lib/cli/scripts/generate-sb-packages-versions.js rename to code/lib/cli/scripts/generate-sb-packages-versions.js diff --git a/lib/cli/src/.eslintrc.js b/code/lib/cli/src/.eslintrc.js similarity index 100% rename from lib/cli/src/.eslintrc.js rename to code/lib/cli/src/.eslintrc.js diff --git a/lib/cli/src/NpmOptions.ts b/code/lib/cli/src/NpmOptions.ts similarity index 100% rename from lib/cli/src/NpmOptions.ts rename to code/lib/cli/src/NpmOptions.ts diff --git a/lib/cli/src/add.test.ts b/code/lib/cli/src/add.test.ts similarity index 100% rename from lib/cli/src/add.test.ts rename to code/lib/cli/src/add.test.ts diff --git a/lib/cli/src/add.ts b/code/lib/cli/src/add.ts similarity index 100% rename from lib/cli/src/add.ts rename to code/lib/cli/src/add.ts diff --git a/lib/cli/src/automigrate/fixes/angular12.test.ts b/code/lib/cli/src/automigrate/fixes/angular12.test.ts similarity index 100% rename from lib/cli/src/automigrate/fixes/angular12.test.ts rename to code/lib/cli/src/automigrate/fixes/angular12.test.ts diff --git a/lib/cli/src/automigrate/fixes/angular12.ts b/code/lib/cli/src/automigrate/fixes/angular12.ts similarity index 100% rename from lib/cli/src/automigrate/fixes/angular12.ts rename to code/lib/cli/src/automigrate/fixes/angular12.ts diff --git a/lib/cli/src/automigrate/fixes/builder-vite.test.ts b/code/lib/cli/src/automigrate/fixes/builder-vite.test.ts similarity index 100% rename from lib/cli/src/automigrate/fixes/builder-vite.test.ts rename to code/lib/cli/src/automigrate/fixes/builder-vite.test.ts diff --git a/lib/cli/src/automigrate/fixes/builder-vite.ts b/code/lib/cli/src/automigrate/fixes/builder-vite.ts similarity index 100% rename from lib/cli/src/automigrate/fixes/builder-vite.ts rename to code/lib/cli/src/automigrate/fixes/builder-vite.ts diff --git a/lib/cli/src/automigrate/fixes/cra5.test.ts b/code/lib/cli/src/automigrate/fixes/cra5.test.ts similarity index 100% rename from lib/cli/src/automigrate/fixes/cra5.test.ts rename to code/lib/cli/src/automigrate/fixes/cra5.test.ts diff --git a/lib/cli/src/automigrate/fixes/cra5.ts b/code/lib/cli/src/automigrate/fixes/cra5.ts similarity index 100% rename from lib/cli/src/automigrate/fixes/cra5.ts rename to code/lib/cli/src/automigrate/fixes/cra5.ts diff --git a/lib/cli/src/automigrate/fixes/eslint-plugin.test.ts b/code/lib/cli/src/automigrate/fixes/eslint-plugin.test.ts similarity index 100% rename from lib/cli/src/automigrate/fixes/eslint-plugin.test.ts rename to code/lib/cli/src/automigrate/fixes/eslint-plugin.test.ts diff --git a/lib/cli/src/automigrate/fixes/eslint-plugin.ts b/code/lib/cli/src/automigrate/fixes/eslint-plugin.ts similarity index 100% rename from lib/cli/src/automigrate/fixes/eslint-plugin.ts rename to code/lib/cli/src/automigrate/fixes/eslint-plugin.ts diff --git a/lib/cli/src/automigrate/fixes/index.ts b/code/lib/cli/src/automigrate/fixes/index.ts similarity index 100% rename from lib/cli/src/automigrate/fixes/index.ts rename to code/lib/cli/src/automigrate/fixes/index.ts diff --git a/lib/cli/src/automigrate/fixes/mainjsFramework.ts b/code/lib/cli/src/automigrate/fixes/mainjsFramework.ts similarity index 100% rename from lib/cli/src/automigrate/fixes/mainjsFramework.ts rename to code/lib/cli/src/automigrate/fixes/mainjsFramework.ts diff --git a/lib/cli/src/automigrate/fixes/npm7.test.ts b/code/lib/cli/src/automigrate/fixes/npm7.test.ts similarity index 100% rename from lib/cli/src/automigrate/fixes/npm7.test.ts rename to code/lib/cli/src/automigrate/fixes/npm7.test.ts diff --git a/lib/cli/src/automigrate/fixes/npm7.ts b/code/lib/cli/src/automigrate/fixes/npm7.ts similarity index 100% rename from lib/cli/src/automigrate/fixes/npm7.ts rename to code/lib/cli/src/automigrate/fixes/npm7.ts diff --git a/lib/cli/src/automigrate/fixes/vue3.test.ts b/code/lib/cli/src/automigrate/fixes/vue3.test.ts similarity index 100% rename from lib/cli/src/automigrate/fixes/vue3.test.ts rename to code/lib/cli/src/automigrate/fixes/vue3.test.ts diff --git a/lib/cli/src/automigrate/fixes/vue3.ts b/code/lib/cli/src/automigrate/fixes/vue3.ts similarity index 100% rename from lib/cli/src/automigrate/fixes/vue3.ts rename to code/lib/cli/src/automigrate/fixes/vue3.ts diff --git a/lib/cli/src/automigrate/fixes/webpack5.test.ts b/code/lib/cli/src/automigrate/fixes/webpack5.test.ts similarity index 100% rename from lib/cli/src/automigrate/fixes/webpack5.test.ts rename to code/lib/cli/src/automigrate/fixes/webpack5.test.ts diff --git a/lib/cli/src/automigrate/fixes/webpack5.ts b/code/lib/cli/src/automigrate/fixes/webpack5.ts similarity index 100% rename from lib/cli/src/automigrate/fixes/webpack5.ts rename to code/lib/cli/src/automigrate/fixes/webpack5.ts diff --git a/lib/cli/src/automigrate/helpers/getEslintInfo.ts b/code/lib/cli/src/automigrate/helpers/getEslintInfo.ts similarity index 100% rename from lib/cli/src/automigrate/helpers/getEslintInfo.ts rename to code/lib/cli/src/automigrate/helpers/getEslintInfo.ts diff --git a/lib/cli/src/automigrate/index.ts b/code/lib/cli/src/automigrate/index.ts similarity index 100% rename from lib/cli/src/automigrate/index.ts rename to code/lib/cli/src/automigrate/index.ts diff --git a/lib/cli/src/automigrate/types.ts b/code/lib/cli/src/automigrate/types.ts similarity index 100% rename from lib/cli/src/automigrate/types.ts rename to code/lib/cli/src/automigrate/types.ts diff --git a/lib/cli/src/babel-config.ts b/code/lib/cli/src/babel-config.ts similarity index 100% rename from lib/cli/src/babel-config.ts rename to code/lib/cli/src/babel-config.ts diff --git a/lib/cli/src/build.ts b/code/lib/cli/src/build.ts similarity index 100% rename from lib/cli/src/build.ts rename to code/lib/cli/src/build.ts diff --git a/lib/cli/src/detect-nextjs.test.ts b/code/lib/cli/src/detect-nextjs.test.ts similarity index 100% rename from lib/cli/src/detect-nextjs.test.ts rename to code/lib/cli/src/detect-nextjs.test.ts diff --git a/lib/cli/src/detect-nextjs.ts b/code/lib/cli/src/detect-nextjs.ts similarity index 100% rename from lib/cli/src/detect-nextjs.ts rename to code/lib/cli/src/detect-nextjs.ts diff --git a/lib/cli/src/detect-webpack.ts b/code/lib/cli/src/detect-webpack.ts similarity index 100% rename from lib/cli/src/detect-webpack.ts rename to code/lib/cli/src/detect-webpack.ts diff --git a/lib/cli/src/detect.test.ts b/code/lib/cli/src/detect.test.ts similarity index 100% rename from lib/cli/src/detect.test.ts rename to code/lib/cli/src/detect.test.ts diff --git a/lib/cli/src/detect.ts b/code/lib/cli/src/detect.ts similarity index 100% rename from lib/cli/src/detect.ts rename to code/lib/cli/src/detect.ts diff --git a/lib/cli/src/dev.ts b/code/lib/cli/src/dev.ts similarity index 100% rename from lib/cli/src/dev.ts rename to code/lib/cli/src/dev.ts diff --git a/code/lib/cli/src/dirs.ts b/code/lib/cli/src/dirs.ts new file mode 100644 index 000000000000..e95e6bb4852d --- /dev/null +++ b/code/lib/cli/src/dirs.ts @@ -0,0 +1,5 @@ +import { dirname } from 'path'; + +export function getBaseDir() { + return dirname(require.resolve('@storybook/cli/package.json')); +} diff --git a/lib/cli/src/extract.ts b/code/lib/cli/src/extract.ts similarity index 100% rename from lib/cli/src/extract.ts rename to code/lib/cli/src/extract.ts diff --git a/lib/cli/src/generate.ts b/code/lib/cli/src/generate.ts similarity index 99% rename from lib/cli/src/generate.ts rename to code/lib/cli/src/generate.ts index dfdba56b22f6..c55ba863b596 100644 --- a/lib/cli/src/generate.ts +++ b/code/lib/cli/src/generate.ts @@ -130,6 +130,7 @@ program .option('-t --template