Skip to content

Commit

Permalink
Merge pull request #119 from BipanKishore/removes-build-scripts-from-…
Browse files Browse the repository at this point in the history
…libs

removes build-scripts from libs
  • Loading branch information
BipanKishore authored May 19, 2024
2 parents eb57d0b + f2b3ec2 commit 80762bd
Show file tree
Hide file tree
Showing 26 changed files with 15 additions and 769 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"lint": "lerna run lint",
"demo": "lerna run demo",
"demo:prod": "lerna run demo:prod" ,
"demo:prod": "lerna run demo:prod",
"core": "lerna run core",
"core:prod": "lerna run core:prod",
"start": "lerna run start",
Expand Down Expand Up @@ -47,6 +47,7 @@
"rollup-plugin-dts": "^5.3.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.36.0",
"sass-loader": "^14.2.0",
"ts-loader": "^9.4.4",
Expand Down
8 changes: 5 additions & 3 deletions packages/resizable-core/build.script.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import typescript from 'rollup-plugin-typescript2'
import postcss from 'rollup-plugin-postcss'
import terser from '@rollup/plugin-terser'
import {dts} from 'rollup-plugin-dts'
import sourcemaps from 'rollup-plugin-sourcemaps'
// import copy from 'rollup-plugin-copy'
import path from 'path'
import {fileURLToPath} from 'url'
Expand All @@ -21,7 +22,6 @@ const ESM_EXTENTION = 'esm.js'

const CJS_BUILD_PATH = './lib/cjs/'
const ESM_BUILD_PATH = './lib/esm/'
const IFFE_BUILD_PATH = './lib/iffe/'
const UMD_BUILD_PATH = './lib/umd/'

export const LIB_FILE_NAME_DEVELOPMENT_CJS = `${LIB_NAME}.${DEVELOPMENT}.${CJS_EXTENTION}`
Expand Down Expand Up @@ -88,7 +88,8 @@ export const developmentPlugins = [
resolve(),
commonjs(),
typescript(),
postcss()
postcss(),
sourcemaps()
// copy({
// targets: [{
// src: 'scripts/include-scripts.cjs.js',
Expand All @@ -109,7 +110,8 @@ export const productionPlugins = [
commonjs(),
typescript(),
postcss(),
terser()
terser(),
sourcemaps()
]

export const EXTERNALS = ['react']
Expand Down
2 changes: 1 addition & 1 deletion packages/resizable-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "resizable-core",
"version": "6.0.10",
"version": "6.0.11",
"description": "A straightforward library that enables dynamic resizing of layouts and saves the layout configurations.",
"module": "./lib/esm/index.esm.js",
"main": "./lib/cjs/index.cjs.js",
Expand Down
7 changes: 0 additions & 7 deletions packages/resizable-core/tasks.md

This file was deleted.

96 changes: 0 additions & 96 deletions packages/resizable-panes-js/build.script.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/resizable-panes-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "resizable-panes-js",
"version": "6.0.22",
"version": "6.0.23",
"description": "A straightforward library that enables dynamic resizing of layouts and saves the layout configurations.",
"module": "./lib/esm/index.esm.js",
"main": "./lib/cjs/index.cjs.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/resizable-panes-js/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {config} from 'dotenv'
import {developmentConfig, productionConfig, typesRollupConfig} from './build.script'
import {typesRollupConfig, productionConfig, developmentConfig} from '../resizable-core/build.script'

let isProduction = false

Expand Down
7 changes: 0 additions & 7 deletions packages/resizable-panes-js/tasks.md

This file was deleted.

60 changes: 0 additions & 60 deletions packages/resizable-panes-next/.github/workflows/beta.yml

This file was deleted.

58 changes: 0 additions & 58 deletions packages/resizable-panes-next/.github/workflows/build.yml

This file was deleted.

42 changes: 0 additions & 42 deletions packages/resizable-panes-next/.github/workflows/cypress.yml

This file was deleted.

Loading

0 comments on commit 80762bd

Please sign in to comment.