This repository has been archived by the owner on Oct 2, 2021. It is now read-only.
forked from adazzle/react-data-grid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed examples publish * Fixed editable example * Can't use node on script delegator * Fixed HMR * Updated lerna version * Fixed get next version * Fix get current version * Fixed major version on main entry * Deleted sorry * Change getnext version script * Update npmrc.enc and secure variable * Updated npmrc enc * Reverted getNextVersion changes * Updated lerna to last release * Updated npmrc.enc * Updated npmrc * New secret key
- Loading branch information
1 parent
7166161
commit dc3e3a8
Showing
11 changed files
with
45 additions
and
28 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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
var semver = require('semver'); | ||
fs = require('fs') | ||
json = JSON.parse(fs.readFileSync('./package.json', 'utf8')) | ||
json = JSON.parse(fs.readFileSync('./packages/react-data-grid/package.json', 'utf8')) | ||
process.stdout.write(json.version); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,30 @@ | ||
const ghpages = require('gh-pages'); | ||
const path = require('path'); | ||
const copydir = require('copy-dir'); | ||
const fs = require('fs'); | ||
|
||
const copyDistFolder = () => { | ||
const srcDistPath = path.join(__dirname, '../../packages/react-data-grid-examples/src/dist'); | ||
|
||
try { | ||
fs.mkdirSync(srcDistPath); | ||
} catch (e) { | ||
if ( e.code !== 'EEXIST' ) throw e; | ||
} | ||
|
||
copydir.sync( | ||
path.join(__dirname, '../../packages/react-data-grid-examples/dist'), | ||
srcDistPath); | ||
}; | ||
|
||
const publishToGhPages = () => { | ||
ghpages.publish( | ||
path.join(__dirname, '../../packages/react-data-grid-examples'), | ||
path.join(__dirname, '../../packages/react-data-grid-examples/src'), | ||
(err) => { | ||
if (err) throw new Error(err); | ||
} | ||
); | ||
}; | ||
|
||
copyDistFolder(); | ||
publishToGhPages(); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"lerna": "2.0.0-beta.32", | ||
"lerna": "2.0.0-beta.34", | ||
"version": "2.0.1" | ||
} |
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
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