Skip to content

Commit ab3d737

Browse files
committed
chore: remove v1 styles, assets and scripts
1 parent a5c3a7b commit ab3d737

49 files changed

Lines changed: 4 additions & 8025 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,18 @@
1010
"style": "dist/css/index.css",
1111
"scripts": {
1212
"prepublishOnly": "yarn generate-docs",
13-
"build": "yarn build-v1 && yarn build-v2 && yarn copy-vendor-styles",
14-
"build-v1": "rm -rf dist && mkdir -p dist && yarn bundle-sass && yarn copy-assets && yarn copy-styles",
15-
"build-v2": "rm -rf dist/v2 && mkdir -p dist/v2/scss && yarn copy && yarn compile-to-css",
13+
"build": "rm -rf dist/v2 && mkdir -p dist/v2/scss && yarn copy && yarn copy-assets && yarn compile-to-css && yarn copy-vendor-styles",
1614
"generate-docs": "ts-node scripts/generate-docs.ts",
1715
"replace-docs": "ts-node scripts/replacer.ts",
1816
"copy": "cp -R src/v2/styles/* dist/v2/scss",
1917
"compile-to-css": "sass src/v2/styles/index.scss dist/v2/css/index.css --style=compressed --no-source-map && sass src/v2/styles/index.layout.scss dist/v2/css/index.layout.css --style=compressed --no-source-map && sass src/vendor/emoji-mart.scss dist/v2/css/emoji-mart.css --style=compressed --no-source-map && sass src/v2/styles/_emoji-replacement.scss dist/v2/css/emoji-replacement.css --style=compressed --no-source-map",
20-
"bundle-sass": "echo '\u001b[34mℹ\u001b[0m Compiling scss files to css bundle' && sass src/v1/index.scss dist/css/index.css --style=compressed --no-source-map && echo '\u001b[32m✓\u001b[0m Finished bundling css'",
18+
"bundle-sass": "echo '\u001b[34mℹ\u001b[0m Compiling scss files to css bundle' && echo '\u001b[32m✓\u001b[0m Finished bundling css'",
2119
"copy-assets": "echo '\u001b[34mℹ\u001b[0m Copying assets to distributed directory' && cp -R src/assets dist/assets && echo '\u001b[32m✓\u001b[0m Finished copying assets'",
22-
"copy-styles": "echo '\u001b[34mℹ\u001b[0m Copying scss files to distributed directory' && cp -R src/v1 dist/scss && echo '\u001b[32m✓\u001b[0m Finished copying styles'",
20+
"copy-styles": "echo '\u001b[34mℹ\u001b[0m Copying scss files to distributed directory' && echo '\u001b[32m✓\u001b[0m Finished copying styles'",
2321
"copy-vendor-styles": "echo '\u001b[34mℹ\u001b[0m Copying vendor scss files to distributed directory' && cp -R src/vendor dist/vendor && echo '\u001b[32m✓\u001b[0m Finished copying vendor styles'",
2422
"lint": "stylelint '**/*.scss' --max-warnings 0",
2523
"build:ci": "yarn && yarn lint && yarn build",
26-
"start": "yarn build-v1 && sass --watch src/v1/index.scss dist/css/index.css",
27-
"start-v2": "yarn build-v2 && yarn copy-assets && yarn copy-vendor-styles && sass --watch src/v2/styles/index.scss dist/v2/css/index.css"
24+
"start": "yarn build && sass --watch src/v2/styles/index.scss dist/v2/css/index.css"
2825
},
2926
"release": {
3027
"branches": [
-1.45 KB
Binary file not shown.
-1.91 KB
Binary file not shown.
-3.91 KB
Binary file not shown.
-7.54 KB
Binary file not shown.

src/v1/ActionsBox.scss

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)