Skip to content

Commit

Permalink
Next (#120)
Browse files Browse the repository at this point in the history
* Upgrade webpack and it's deps, fix and migrate for yarn-workspaces, update .gitignore, add package-scripts

* upgrade with babel-upgrade

* v1.0.0

* Add back yarn.lock, remove .yarnrc

* v0.8.0-0
  • Loading branch information
jaredpalmer authored Aug 28, 2018
1 parent 65da4e3 commit f8c9ce8
Show file tree
Hide file tree
Showing 16 changed files with 1,203 additions and 362 deletions.
1 change: 0 additions & 1 deletion .yarnrc

This file was deleted.

1 change: 0 additions & 1 deletion examples/basic/.yarnrc

This file was deleted.

4 changes: 2 additions & 2 deletions examples/basic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backpack-examples-basic",
"version": "0.7.0",
"version": "0.8.0-0",
"scripts": {
"start": "node ./build/main.js",
"dev": "backpack dev",
Expand All @@ -9,7 +9,7 @@
},
"license": "MIT",
"dependencies": {
"backpack-core": "^0.7.0",
"backpack-core": "^0.8.0-0",
"express": "^4.16.2"
}
}
2 changes: 1 addition & 1 deletion examples/basic/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import express from 'express'
const express = require('express')

const app = express()

Expand Down
4 changes: 2 additions & 2 deletions examples/with-custom-babel-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backpack-examples-with-custom-babel-config",
"version": "0.7.0",
"version": "0.8.0-0",
"scripts": {
"start": "node ./build/main.js",
"dev": "backpack dev",
Expand All @@ -10,7 +10,7 @@
"license": "MIT",
"dependencies": {
"babel-preset-stage-0": "^6.16.0",
"backpack-core": "^0.7.0",
"backpack-core": "^0.8.0-0",
"express": "^4.14.0"
}
}
4 changes: 2 additions & 2 deletions examples/with-custom-webpack-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backpack-examples-with-custom-webpack-config",
"version": "0.7.0",
"version": "0.8.0-0",
"scripts": {
"start": "node ./build/main.js",
"dev": "backpack dev",
Expand All @@ -9,7 +9,7 @@
},
"license": "MIT",
"dependencies": {
"backpack-core": "^0.7.0",
"backpack-core": "^0.8.0-0",
"express": "^4.14.0"
}
}
7 changes: 4 additions & 3 deletions examples/with-flowtype/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backpack-examples-with-flowtype",
"version": "0.7.0",
"version": "0.8.0-0",
"scripts": {
"start": "node ./build/main.js",
"flow": "flow",
Expand All @@ -10,8 +10,9 @@
},
"license": "MIT",
"dependencies": {
"babel-plugin-transform-flow-strip-types": "^6.21.0",
"backpack-core": "^0.7.0",
"@babel/core": "^7.0.0-beta.37",
"@babel/plugin-transform-flow-strip-types": "7.0.0-beta.39",
"backpack-core": "^0.8.0-0",
"express": "^4.14.0",
"flow-bin": "^0.37.4"
}
Expand Down
6 changes: 4 additions & 2 deletions examples/with-jest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backpack-examples-with-jest",
"version": "0.7.0",
"version": "0.8.0-0",
"scripts": {
"start": "node ./build/main.js",
"test": "NODE_ENV=test jest",
Expand All @@ -10,7 +10,9 @@
},
"license": "MIT",
"dependencies": {
"backpack-core": "^0.7.0",
"@babel/core": "7.0.0-beta.39",
"babel-core": "7.0.0-bridge.0",
"backpack-core": "^0.8.0-0",
"express": "^4.14.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions examples/with-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backpack-examples-with-typescript",
"version": "0.7.0",
"version": "0.8.0-0",
"scripts": {
"start": "node ./build/main.js",
"dev": "backpack dev",
Expand All @@ -10,7 +10,7 @@
"dependencies": {
"@types/express": "^4.0.34",
"awesome-typescript-loader": "^3.0.0-beta.18",
"backpack-core": "^0.7.0",
"backpack-core": "^0.8.0-0",
"express": "^4.14.0",
"typescript": "^2.1.5"
}
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"lerna": "2.9.0",
"version": "0.7.0",
"version": "0.8.0-0",
"npmClient": "yarn",
"useWorkspaces": true,
"packages": [
Expand Down
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,23 @@
"lerna": "^2.9.0"
},
"scripts": {
"bootstrap-workaround":
"lerna exec yarn && lerna link && lerna run prepublish && lerna run prepare",
"bootstrap-workaround": "lerna exec yarn && lerna link && lerna run prepublish && lerna run prepare",
"postinstall": "yarn bootstrap-workaround",
"bootstrap": "lerna bootstrap",
"clean": "lerna clean",
"purge-lock-files": "rm -rf ./yarn.lock && rm -rf ./**/**/yarn.lock",
"purge-modules":
"lerna clean --yes && rm -rf ./node_modules & rm -rf ./tools",
"purge-modules": "lerna clean --yes && rm -rf ./node_modules & rm -rf ./tools",
"purge": "yarn purge-modules && yarn purge-lock-files",
"reinstall": "yarn purge && yarn",
"build": "lerna run build --stream --parallel"
},
"dependencies": {
"@babel/core": "7.0.0-beta.39",
"@babel/preset-stage-0": "^7.0.0-beta.37",
"express": "^4.16.2"
},
"workspaces": ["packages/*", "examples/*"]
"workspaces": [
"packages/*",
"examples/*"
]
}
1 change: 0 additions & 1 deletion packages/babel-preset-backpack/.yarnrc

This file was deleted.

20 changes: 11 additions & 9 deletions packages/babel-preset-backpack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "babel-preset-backpack",
"version": "0.7.0",
"version": "0.8.0-0",
"description": "Babel preset for Backpack projects",
"repository": "palmerhq/backpack",
"author": "jaredpalmer",
Expand All @@ -13,14 +13,16 @@
"index.js"
],
"dependencies": {
"babel-plugin-transform-class-properties": "^6.19.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.18.0",
"babel-plugin-transform-es2015-parameters": "^6.21.0",
"babel-plugin-transform-object-rest-spread": "^6.20.2",
"babel-plugin-transform-regenerator": "^6.22.0",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-env": "^1.1.4",
"babel-runtime": "^6.22.0"
"@babel/core": "^7.0.0-beta.37",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.37",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.37",
"@babel/plugin-transform-modules-commonjs": "^7.0.0-beta.37",
"@babel/plugin-transform-parameters": "^7.0.0-beta.37",
"@babel/plugin-transform-regenerator": "^7.0.0-beta.37",
"@babel/plugin-transform-runtime": "^7.0.0-beta.37",
"@babel/preset-env": "^7.0.0-beta.37",
"@babel/runtime": "^7.0.0-beta.37",
"babel-loader": "v8.0.0-beta.0"
},
"keywords": [
"babel",
Expand Down
1 change: 0 additions & 1 deletion packages/backpack-core/.yarnrc

This file was deleted.

9 changes: 5 additions & 4 deletions packages/backpack-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backpack-core",
"version": "0.7.0",
"version": "0.8.0-0",
"description": "Backpack is a minimalistic build system for Node.js",
"repository": "palmerhq/backpack",
"author": "@jaredpalmer",
Expand All @@ -12,9 +12,10 @@
"backpack": "./bin/backpack"
},
"dependencies": {
"babel-core": "^6.25.0",
"babel-loader": "^7.1.0",
"babel-preset-backpack": "^0.7.0",
"@babel/core": "7.0.0-beta.39",
"babel-core": "^7.0.0-bridge.0",
"babel-loader": "v8.0.0-beta.0",
"babel-preset-backpack": "^0.5.0",
"cross-spawn": "^5.0.1",
"friendly-errors-webpack-plugin": "^1.6.1",
"json-loader": "^0.5.7",
Expand Down
Loading

0 comments on commit f8c9ce8

Please sign in to comment.