-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: move CJS package creation scripts to top-level scripts/ folder
- Loading branch information
1 parent
0db6845
commit 5e3c52c
Showing
17 changed files
with
302 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
.../alternative_builds/cjs/THESE_PACKAGES_ARE_AUTOGENERATED_DO_NOT_EDIT_BY_HAND.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The CJS Packages here are dynamically generated. Manula edits to them will be destroyed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "dnd-core-cjs", | ||
"version": "8.0.3", | ||
"license": "MIT", | ||
"description": "Drag and drop sans the GUI", | ||
"main": "./lib/index.js", | ||
"scripts": { | ||
"build": "tsc", | ||
"clean": "rimraf lib" | ||
}, | ||
"dependencies": { | ||
"@types/asap": "^2.0.0", | ||
"@types/invariant": "^2.2.29", | ||
"asap": "^2.0.6", | ||
"invariant": "^2.2.4", | ||
"redux": "^4.0.1" | ||
}, | ||
"devDependencies": { | ||
"npm-run-all": "^4.1.5", | ||
"rimraf": "^2.6.3", | ||
"typescript": "^3.5.2", | ||
"dnd-core": "8.0.3" | ||
}, | ||
"peerDependencies": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"extends": "../../../../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "commonjs", | ||
"outDir": "lib", | ||
"esModuleInterop": true, | ||
"baseUrl": "/Users/christrevino/Workspace/oss/react-dnd/packages/core/dnd-core/", | ||
"paths": { | ||
"dnd-core": [ | ||
"../../core/dnd-core/lib/index.d.ts" | ||
], | ||
"react-dnd": [ | ||
"../../core/react-dnd/lib/index.d.ts" | ||
], | ||
"react-dnd-html5-backend": [ | ||
"../../core/html5-backend/lib/index.d.ts" | ||
], | ||
"react-dnd-test-backend": [ | ||
"../../testing/test-backend/lib/index.d.ts" | ||
], | ||
"react-dnd-test-utils": [ | ||
"../../testing/test-utils/lib/index.d.ts" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
"/Users/christrevino/Workspace/oss/react-dnd/packages/core/dnd-core/src/index.ts" | ||
] | ||
} |
26 changes: 26 additions & 0 deletions
26
packages/alternative_builds/cjs/html5-backend/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"name": "react-dnd-html5-backend-cjs", | ||
"version": "8.0.3", | ||
"license": "MIT", | ||
"description": "HTML5 backend for React DnD", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"build": "tsc", | ||
"clean": "rimraf lib" | ||
}, | ||
"dependencies": { | ||
"dnd-core-cjs": "^8.0.3" | ||
}, | ||
"devDependencies": { | ||
"@types/react": "^16.8.19", | ||
"npm-run-all": "^4.1.5", | ||
"react": "^16.8.6", | ||
"react-dnd-test-backend": "^8.0.3", | ||
"react-dom": "^16.8.6", | ||
"rimraf": "^2.6.3", | ||
"ts-loader": "^6.0.2", | ||
"typescript": "^3.5.2", | ||
"react-dnd-html5-backend": "8.0.3" | ||
}, | ||
"peerDependencies": {} | ||
} |
30 changes: 30 additions & 0 deletions
30
packages/alternative_builds/cjs/html5-backend/tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"extends": "../../../../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "commonjs", | ||
"outDir": "lib", | ||
"esModuleInterop": true, | ||
"baseUrl": "/Users/christrevino/Workspace/oss/react-dnd/packages/core/html5-backend/", | ||
"paths": { | ||
"dnd-core": [ | ||
"../../core/dnd-core/lib/index.d.ts" | ||
], | ||
"react-dnd": [ | ||
"../../core/react-dnd/lib/index.d.ts" | ||
], | ||
"react-dnd-html5-backend": [ | ||
"../../core/html5-backend/lib/index.d.ts" | ||
], | ||
"react-dnd-test-backend": [ | ||
"../../testing/test-backend/lib/index.d.ts" | ||
], | ||
"react-dnd-test-utils": [ | ||
"../../testing/test-utils/lib/index.d.ts" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
"/Users/christrevino/Workspace/oss/react-dnd/packages/core/html5-backend/src/index.ts" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"name": "react-dnd-cjs", | ||
"version": "8.0.3", | ||
"license": "MIT", | ||
"description": "Drag and Drop for React", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"build": "tsc", | ||
"clean": "rimraf lib" | ||
}, | ||
"dependencies": { | ||
"@types/hoist-non-react-statics": "^3.3.1", | ||
"@types/shallowequal": "^1.1.1", | ||
"hoist-non-react-statics": "^3.3.0", | ||
"shallowequal": "^1.1.0", | ||
"dnd-core-cjs": "^8.0.3" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.4.4", | ||
"@babel/core": "^7.4.5", | ||
"@babel/preset-env": "^7.4.5", | ||
"@types/react": "^16.8.19", | ||
"@types/react-dom": "^16.8.4", | ||
"babel-jest": "^24.8.0", | ||
"babel-loader": "^8.0.6", | ||
"npm-run-all": "^4.1.5", | ||
"react": "^16.8.6", | ||
"react-dom": "^16.8.6", | ||
"rimraf": "^2.6.3", | ||
"ts-loader": "^6.0.2", | ||
"typescript": "^3.5.2", | ||
"react-dnd": "8.0.3" | ||
}, | ||
"peerDependencies": { | ||
"react": ">= 16.8", | ||
"react-dom": ">= 16.8" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"extends": "../../../../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "commonjs", | ||
"outDir": "lib", | ||
"esModuleInterop": true, | ||
"baseUrl": "/Users/christrevino/Workspace/oss/react-dnd/packages/core/react-dnd/", | ||
"paths": { | ||
"dnd-core": [ | ||
"../../core/dnd-core/lib/index.d.ts" | ||
], | ||
"react-dnd": [ | ||
"../../core/react-dnd/lib/index.d.ts" | ||
], | ||
"react-dnd-html5-backend": [ | ||
"../../core/html5-backend/lib/index.d.ts" | ||
], | ||
"react-dnd-test-backend": [ | ||
"../../testing/test-backend/lib/index.d.ts" | ||
], | ||
"react-dnd-test-utils": [ | ||
"../../testing/test-utils/lib/index.d.ts" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
"/Users/christrevino/Workspace/oss/react-dnd/packages/core/react-dnd/src/index.ts" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "react-dnd-test-backend-cjs", | ||
"version": "8.0.3", | ||
"license": "MIT", | ||
"description": "A mock backend for testing React DnD apps", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"build": "tsc", | ||
"clean": "rimraf lib" | ||
}, | ||
"dependencies": { | ||
"dnd-core-cjs": "^8.0.3" | ||
}, | ||
"devDependencies": { | ||
"npm-run-all": "^4.1.5", | ||
"rimraf": "^2.6.3", | ||
"typescript": "^3.5.2", | ||
"react-dnd-test-backend": "8.0.3" | ||
}, | ||
"peerDependencies": {} | ||
} |
30 changes: 30 additions & 0 deletions
30
packages/alternative_builds/cjs/test-backend/tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"extends": "../../../../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "commonjs", | ||
"outDir": "lib", | ||
"esModuleInterop": true, | ||
"baseUrl": "/Users/christrevino/Workspace/oss/react-dnd/packages/testing/test-backend/", | ||
"paths": { | ||
"dnd-core": [ | ||
"../../core/dnd-core/lib/index.d.ts" | ||
], | ||
"react-dnd": [ | ||
"../../core/react-dnd/lib/index.d.ts" | ||
], | ||
"react-dnd-html5-backend": [ | ||
"../../core/html5-backend/lib/index.d.ts" | ||
], | ||
"react-dnd-test-backend": [ | ||
"../../testing/test-backend/lib/index.d.ts" | ||
], | ||
"react-dnd-test-utils": [ | ||
"../../testing/test-utils/lib/index.d.ts" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
"/Users/christrevino/Workspace/oss/react-dnd/packages/testing/test-backend/src/index.ts" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "react-dnd-test-utils-cjs", | ||
"version": "8.0.3", | ||
"license": "MIT", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"build": "tsc", | ||
"clean": "rimraf lib" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"npm-run-all": "^4.1.5", | ||
"react": "^16.8.6", | ||
"react-dnd": "^8.0.3", | ||
"react-dnd-test-backend": "^8.0.3", | ||
"react-dom": "^16.8.6", | ||
"rimraf": "^2.6.3", | ||
"typescript": "^3.5.2", | ||
"react-dnd-test-utils": "8.0.3" | ||
}, | ||
"peerDependencies": { | ||
"react": ">= 16.8.5", | ||
"react-dom": ">= 16.8.5", | ||
"react-dnd-cjs": "^7.3.2", | ||
"react-dnd-test-backend-cjs": "^7.2.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"extends": "../../../../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "commonjs", | ||
"outDir": "lib", | ||
"esModuleInterop": true, | ||
"baseUrl": "/Users/christrevino/Workspace/oss/react-dnd/packages/testing/test-utils/", | ||
"paths": { | ||
"dnd-core": [ | ||
"../../core/dnd-core/lib/index.d.ts" | ||
], | ||
"react-dnd": [ | ||
"../../core/react-dnd/lib/index.d.ts" | ||
], | ||
"react-dnd-html5-backend": [ | ||
"../../core/html5-backend/lib/index.d.ts" | ||
], | ||
"react-dnd-test-backend": [ | ||
"../../testing/test-backend/lib/index.d.ts" | ||
], | ||
"react-dnd-test-utils": [ | ||
"../../testing/test-utils/lib/index.d.ts" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
"/Users/christrevino/Workspace/oss/react-dnd/packages/testing/test-utils/src/index.ts" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters