Skip to content

Commit 44d4ba4

Browse files
authored
fix: issues with react-components and unused next output (#255)
1 parent 89ea550 commit 44d4ba4

File tree

4 files changed

+2
-24
lines changed

4 files changed

+2
-24
lines changed

output/react/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
"sideEffects": false,
1111
"scripts": {
1212
"tsc": "tsc -p . --sourceMap false",
13-
"copy:sass": "cpr src dist -o -f \"(.ts|.tsx)$\"",
14-
"build": "npm-run-all tsc copy:sass",
13+
"build": "npm-run-all tsc",
1514
"mv:dist": "cpr dist ../../build-outputs/react/dist -o",
1615
"mv:package.json": "cpr package.json ../../build-outputs/react/package.json -o",
1716
"mv:readme": "cpr README.md ../../build-outputs/react/README.md -o",

packages/components/scripts/post-build/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
const Vue = require('./vue');
22
const WebComponents = require('./wc');
33
const Angular = require('./angular');
4-
const Next = require('./next');
54
const React = require('./react');
65
const PowerApps = require('./power-apps');
76
const Svelte = require('./svelte');
@@ -11,7 +10,6 @@ const CopyFiles = require('./copy-files');
1110
Vue();
1211
Svelte();
1312
Angular();
14-
Next();
1513
React();
1614
WebComponents();
1715

packages/components/scripts/post-build/next.js

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

showcases/next-showcase/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {
6-
"copy:components": "cpr ../../packages/components/output/next/src/components ./components -o",
6+
"copy:components": "cpr ../../packages/components/output/react/src/components ./components -o",
77
"prebuild": "npm run copy:components",
88
"predev": "npm run copy:components",
99
"prestart": "npm run copy:components",

0 commit comments

Comments
 (0)