Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
(*): 0.7.5, fix corejs and updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Cretezy committed Aug 7, 2018
1 parent a26abdf commit 5235254
Show file tree
Hide file tree
Showing 7 changed files with 1,257 additions and 563 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"packages": [
"packages/*"
],
"version": "0.7.3",
"version": "0.7.4",
"npmClient": "yarn",
"useWorkspaces": true
}
6 changes: 3 additions & 3 deletions packages/create/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "git",
"url": "https://github.com/Cretezy/Noderize.git"
},
"version": "0.7.3",
"version": "0.7.5",
"license": "MIT",
"bin": "dist/index.js",
"files": [
Expand All @@ -26,13 +26,13 @@
"prepare": "npm run clean && npm run build -- --env production"
},
"dependencies": {
"@noderize/runtime": "^0.7.3",
"@noderize/runtime": "^0.7.5",
"consola": "^1.3.0",
"fs-extra": "^7.0.0",
"minimist": "^1.2.0"
},
"devDependencies": {
"@noderize/scripts": "^0.7.3",
"@noderize/scripts": "^0.7.5",
"source-map-support": "^0.5.5"
}
}
4 changes: 2 additions & 2 deletions packages/runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"type": "git",
"url": "https://github.com/Cretezy/Noderize.git"
},
"version": "0.7.3",
"version": "0.7.5",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.0.0-beta.46"
"@babel/runtime-corejs2": "^7.0.0-beta.56"
}
}
58 changes: 29 additions & 29 deletions packages/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "git",
"url": "https://github.com/Cretezy/Noderize.git"
},
"version": "0.7.3",
"version": "0.7.5",
"license": "MIT",
"bin": {
"noderize-scripts": "dist/index.js"
Expand All @@ -27,48 +27,48 @@
"prepare": "noderize-scripts build && npm run build && mv dist/ dist-temp/ && node dist-temp build -- --env production && chmod +x -R dist && rm -r dist-temp"
},
"dependencies": {
"@babel/core": "^7.0.0-beta.46",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.55",
"@babel/plugin-proposal-decorators": "^7.0.0-beta.55",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0-beta.55",
"@babel/plugin-proposal-function-sent": "^7.0.0-beta.55",
"@babel/plugin-proposal-json-strings": "^7.0.0-beta.55",
"@babel/plugin-proposal-numeric-separator": "^7.0.0-beta.55",
"@babel/plugin-proposal-throw-expressions": "^7.0.0-beta.55",
"@babel/plugin-syntax-dynamic-import": "^7.0.0-beta.55",
"@babel/plugin-syntax-import-meta": "^7.0.0-beta.55",
"@babel/plugin-transform-runtime": "^7.0.0-beta.46",
"@babel/polyfill": "^7.0.0-beta.46",
"@babel/preset-env": "^7.0.0-beta.46",
"@babel/preset-flow": "^7.0.0-beta.46",
"@noderize/runtime": "^0.7.3",
"@babel/core": "^7.0.0-beta.56",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.56",
"@babel/plugin-proposal-decorators": "^7.0.0-beta.56",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0-beta.56",
"@babel/plugin-proposal-function-sent": "^7.0.0-beta.56",
"@babel/plugin-proposal-json-strings": "^7.0.0-beta.56",
"@babel/plugin-proposal-numeric-separator": "^7.0.0-beta.56",
"@babel/plugin-proposal-throw-expressions": "^7.0.0-beta.56",
"@babel/plugin-syntax-dynamic-import": "^7.0.0-beta.56",
"@babel/plugin-syntax-import-meta": "^7.0.0-beta.56",
"@babel/plugin-transform-runtime": "^7.0.0-beta.56",
"@babel/polyfill": "^7.0.0-beta.56",
"@babel/preset-env": "^7.0.0-beta.56",
"@babel/preset-flow": "^7.0.0-beta.56",
"@noderize/runtime": "^0.7.5",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.0.1",
"babel-jest": "^23.4.2",
"babel-loader": "^8.0.0-beta.0",
"chokidar": "^2.0.3",
"consola": "^1.3.0",
"chokidar": "^2.0.4",
"consola": "^1.4.1",
"cosmiconfig": "^5.0.5",
"cross-spawn": "^6.0.5",
"eslint": "^5.2.0",
"fork-ts-checker-webpack-plugin": "^0.4.1",
"eslint": "^5.3.0",
"fork-ts-checker-webpack-plugin": "^0.4.4",
"fs-extra": "^7.0.0",
"happypack": "^5.0.0",
"jest": "^23.1.0",
"jest": "^23.4.2",
"lodash.merge": "^4.6.1",
"minimist": "^1.2.0",
"path-is-inside": "^1.0.2",
"prettier": "^1.12.1",
"source-map-support": "^0.5.5",
"prettier": "^1.14.0",
"source-map-support": "^0.5.6",
"supports-color": "^5.4.0",
"ts-loader": "^4.2.0",
"typescript": "^2.8.3",
"uglifyjs-webpack-plugin": "^1.2.5",
"webpack": "^4.6.0",
"ts-loader": "^4.4.2",
"typescript": "^3.0.1",
"uglifyjs-webpack-plugin": "^1.2.7",
"webpack": "^4.16.5",
"webpack-bypass-require": "^0.1.0",
"webpack-node-externals": "^1.7.2"
},
"devDependencies": {
"@noderize/scripts": "0.7.2"
"@noderize/scripts": "0.7.3"
},
"noderize": {
"bundles": [
Expand Down
25 changes: 14 additions & 11 deletions packages/scripts/src/createBabelConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,23 @@ export default ({
}
],

"@babel/preset-flow",
"@babel/preset-flow",
...presets
],
plugins: [ ["@babel/plugin-proposal-decorators", { "legacy": true }],
"@babel/plugin-proposal-function-sent",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-throw-expressions",
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta",
["@babel/plugin-proposal-class-properties", { "loose": false }],
"@babel/plugin-proposal-json-strings",
(runtime === "noderize" || runtime === "include") &&
plugins: [
["@babel/plugin-proposal-decorators", { legacy: true }],
"@babel/plugin-proposal-function-sent",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-throw-expressions",
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta",
["@babel/plugin-proposal-class-properties", { loose: false }],
"@babel/plugin-proposal-json-strings",
(runtime === "noderize" || runtime === "include") && [
"@babel/plugin-transform-runtime",
{ corejs: 2 }
],
...plugins
].filter(Boolean)
});
8 changes: 3 additions & 5 deletions packages/scripts/src/scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@ export async function start(options, nodePath = process.argv[0]) {
}
// Enable Chrome DevTools debugger
if (options.inspectChrome) {
execArgv.push(
`--inspect=${options.inspectChrome}`
);
execArgv.push(`--inspect=${options.inspectChrome}`);
}
const child = spawn(nodePath,[...execArgv,...args], {

const child = spawn(nodePath, [...execArgv, ...args], {
cwd: appDirectory,
stdio: "inherit"
});
Expand Down
Loading

0 comments on commit 5235254

Please sign in to comment.