Skip to content

Commit

Permalink
Merge branch 'alpha'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandg7 committed Feb 24, 2021
2 parents d905037 + 9d261c3 commit a28bc8c
Show file tree
Hide file tree
Showing 7 changed files with 2,749 additions and 87 deletions.
67 changes: 67 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# 1.0.0-alpha.1 (2021-02-24)

### Bug Fixes

- **build:** add proper logging depending on build result ([ca03513](https://github.com/trafilea/nx-shopify/commit/ca03513b61ee45aaf266e9723bd41f3979ceaadf))
- **build:** add root path to environment files ([01cbf3a](https://github.com/trafilea/nx-shopify/commit/01cbf3a8a96e39d4827ad2b9db66171514f6ebe2))
- **build:** add support for multiple theme layouts ([3bf2786](https://github.com/trafilea/nx-shopify/commit/3bf27866480fb68da6e8b6da1b9741f13094ab59))
- **build:** build shared assets ([6eedf23](https://github.com/trafilea/nx-shopify/commit/6eedf23133dbf5cc561acc6f45666bc0e75fcf38))
- **build:** copy process of templates & templates/customers liquid files ([44681fe](https://github.com/trafilea/nx-shopify/commit/44681fec4ee4bf970fb4aef32b43c108955a4dc4))
- **build:** fix deps conflict with all-contributors-cli ([9dac4b1](https://github.com/trafilea/nx-shopify/commit/9dac4b1dcdc3d73356e26fb2c046f036bb022b5b))
- **build:** fix scripts chunks injection for layouts ([db2599f](https://github.com/trafilea/nx-shopify/commit/db2599f43eecf94e2f241c8055edfb29def4181f))
- **build:** fix sections and snippets exports ([f3bfc71](https://github.com/trafilea/nx-shopify/commit/f3bfc71f53ddaff25f8d38114fd38f948772cf20))
- **build:** flatten assets into assets folder ([de16b3f](https://github.com/trafilea/nx-shopify/commit/de16b3f6f8ab0a5480003ce30a0c972bdc15b447))
- **build:** ignore the customers folder on copying templates ([2bf98b1](https://github.com/trafilea/nx-shopify/commit/2bf98b168c17e7492b73fc7fa4d579498ed6d8c8))
- **build:** include media queries config only if valid ([67113d0](https://github.com/trafilea/nx-shopify/commit/67113d0f336dd4fce0a0d57cb022cf21fd43bad3))
- **build:** include split chunks from layout/templates dependencies ([8dc9bc9](https://github.com/trafilea/nx-shopify/commit/8dc9bc9d1342545e542e470d179c70d5d03b5bfd))
- **build:** inject entrypoints according new naming structure ([22f83c4](https://github.com/trafilea/nx-shopify/commit/22f83c41aefcd067f43b8b33ff6098c3e6f14235))
- **build:** process templates & customers entrypoints separately ([bee8bbc](https://github.com/trafilea/nx-shopify/commit/bee8bbcfb233f0b3938abd7e9863af8f43e66d95))
- **build:** remove missing import ([628132a](https://github.com/trafilea/nx-shopify/commit/628132a1e12fdca933a68fe8e93485b663ae1ac0))
- **build:** uRI decode slipt chunks characters ([f7026b2](https://github.com/trafilea/nx-shopify/commit/f7026b2ec5f43788dfb2f5710160f6eb3bdcdb8f))
- **deploy:** set allowLive option schema as boolean ([a15bcaa](https://github.com/trafilea/nx-shopify/commit/a15bcaad18fda4e3ae16ebab27c8b3108c6b9dec))
- **e2e:** set jest timeout to 250s ([24730b9](https://github.com/trafilea/nx-shopify/commit/24730b95d6ecf9e28515ead8153d9db9e8a57e06))
- **e2e:** use right schematic name in e2e tests ([6164da2](https://github.com/trafilea/nx-shopify/commit/6164da202768ca5cc4b7d4518bf9e1234fedeff6))
- **repo:** include commitizen init scope ([e9f6240](https://github.com/trafilea/nx-shopify/commit/e9f6240bc01b1d6d0f26734c3f4be2d300d45e12))
- **repo:** update yarn.lock with npmjs as registry ([d9c2e9b](https://github.com/trafilea/nx-shopify/commit/d9c2e9b58b830d1ae6a43192b8d5dc0ab98e42be))
- **serve:** enalbe allow-live for serve target ([5645b0e](https://github.com/trafilea/nx-shopify/commit/5645b0ed826899ff038dd6d6e39f35fcf4753fdc))
- **serve:** fix templates building failing on webpack watch mode ([9cbe4e5](https://github.com/trafilea/nx-shopify/commit/9cbe4e5b5a71cd33d28993dd1613bccfec8847a1))
- **theme:** import styles files in the templates ts entrypoints ([09fd490](https://github.com/trafilea/nx-shopify/commit/09fd490f064455f87a61a654e92286c0c0abf531))
- **theme:** remove old entrypoints injection strategy ([0a2409d](https://github.com/trafilea/nx-shopify/commit/0a2409d364e63a8ed71e7670a38c8b3402e4913c))
- **theme:** rename gift card template file to match themekit name ([c56f4ef](https://github.com/trafilea/nx-shopify/commit/c56f4ef4855270b78c873348746fb942d601f1eb))
- **theme:** rename snippets and section files to match naming structure ([a92afc1](https://github.com/trafilea/nx-shopify/commit/a92afc1f3ab0c4099b92be7580390dfc591a7158))
- **theme:** templates/customers structure ([bd3750a](https://github.com/trafilea/nx-shopify/commit/bd3750a96812f46a0a79242a1f9e1c1790b8609a))

### Features

- **build:** add basic build impl with minimum config ([9324551](https://github.com/trafilea/nx-shopify/commit/93245518e966b94e15ebdffccbeb13820b9e4409))
- **build:** add basic webpack build configuration ([13baa2c](https://github.com/trafilea/nx-shopify/commit/13baa2cb2097c0c794381251c4f687e24cb1b7b7))
- **build:** add bundle analyzer option ([6cf4b97](https://github.com/trafilea/nx-shopify/commit/6cf4b977f0a4250a3b219508131c463973c55a27))
- **build:** add postcss for styles processing ([be93e6d](https://github.com/trafilea/nx-shopify/commit/be93e6db3a85f77f930aa80c097b63d88c2e19b7))
- **build:** configure stats json generation ([3dca38e](https://github.com/trafilea/nx-shopify/commit/3dca38e76be77c37b11acf77edad74170c9161c4))
- **build:** enable webpack tree-shaking ([cf5caf4](https://github.com/trafilea/nx-shopify/commit/cf5caf49b45f6c1ff34c6fd2e716c98b7c2f0caf))
- **build:** extract media queries styles as separate bundles ([0064c9f](https://github.com/trafilea/nx-shopify/commit/0064c9f74428fdfc533b4992337878ad2b5a09f8))
- **build:** inject extracted media queries styles ([e7e31f5](https://github.com/trafilea/nx-shopify/commit/e7e31f5a765d1d87bd6638811d8e6d7c50ca8a87))
- **build:** inject generated css chunks into theme style tags ([c7b49d6](https://github.com/trafilea/nx-shopify/commit/c7b49d68cd3b4c6a03a7d09d139fd077a0b73bd1))
- **build:** inject generated js chunks into theme script tags ([aa1bdab](https://github.com/trafilea/nx-shopify/commit/aa1bdabe6e9a70f3ddad83b3a64774ee27a43c0b))
- **build:** minify css bundles in prod mode ([4abb79c](https://github.com/trafilea/nx-shopify/commit/4abb79ce142df9ff43611f97b36bd9a27ed1e8ba))
- **core:** update themekit ([4fd284e](https://github.com/trafilea/nx-shopify/commit/4fd284e9cf6fabd1c8475156fae1feea5c8bea3c))
- **deploy:** add deploy implementation ([5aa3b3f](https://github.com/trafilea/nx-shopify/commit/5aa3b3fee3b280162d6eb986a2e93193d5d4377b))
- **deploy:** enable --allow-live option ([fd7c93a](https://github.com/trafilea/nx-shopify/commit/fd7c93ab3353458852346031a2efb160ec5d00bf))
- **deploy:** standarize deploy options schema ([db3349d](https://github.com/trafilea/nx-shopify/commit/db3349de7de7903adb119aa5adf9900b68d31b2a))
- **docs:** setup docosaurus docs site ([9c170a3](https://github.com/trafilea/nx-shopify/commit/9c170a373f62932d6b1ea8bfac29b4bf32d41211))
- **init:** add plugin init schematic ([9203cfd](https://github.com/trafilea/nx-shopify/commit/9203cfd6145cb5f6f49acb4f6c3158ea1a1e9649))
- **repo:** add 'e2e' commit type to commitizen config ([879faeb](https://github.com/trafilea/nx-shopify/commit/879faebd27746b57fbe1446e0eb9b33adbc7655d))
- **repo:** add code of conduct ([9e5a231](https://github.com/trafilea/nx-shopify/commit/9e5a23140f1e183dfcb5a4a5cba9ac8d5ae3bff4))
- **repo:** add commit message check hook ([590414d](https://github.com/trafilea/nx-shopify/commit/590414d23455cb3612b4004fc897e4f34a43e03f))
- **repo:** add commitizen ([1b07e84](https://github.com/trafilea/nx-shopify/commit/1b07e841d1604eef2f57f7fc29728778cae65938))
- **repo:** add e2e workflow ([dd77079](https://github.com/trafilea/nx-shopify/commit/dd7707993fb19535cac73ce4573331865b129753))
- **repo:** add issue templates ([fdf06dc](https://github.com/trafilea/nx-shopify/commit/fdf06dc14bcb7150321557f75b572a8ebab67834))
- **repo:** add license ([85c4591](https://github.com/trafilea/nx-shopify/commit/85c45914a8d9bd51e00d56f2b37e447d20bca3f1))
- **repo:** add lint staged hook ([6b379a9](https://github.com/trafilea/nx-shopify/commit/6b379a98ed78d7ffccbc92059d31624a2314e80f))
- **repo:** add pull request template ([c834ae2](https://github.com/trafilea/nx-shopify/commit/c834ae2ea0b5d10fe52dea5e745d4e51e0e1bbc5))
- **repo:** add rebuild.sh script ([eed46f3](https://github.com/trafilea/nx-shopify/commit/eed46f3b3998a0a3a10c992c10b17ec7a710941e))
- **repo:** run e2e tests on master branch ([8e27b15](https://github.com/trafilea/nx-shopify/commit/8e27b159683807e2ccbd675cad8dbcc02abdece5))
- **serve:** add basic serve impl ([f78df9a](https://github.com/trafilea/nx-shopify/commit/f78df9a067f5401932b46f05c173450d8f1a54e6))
- **serve:** implement local development server ([01192a1](https://github.com/trafilea/nx-shopify/commit/01192a18ecfb7aa94a340cf57ac0800bfe4a5c17))
- **theme:** add combine-media-query plugin ([1ed8214](https://github.com/trafilea/nx-shopify/commit/1ed82142027144a039a146bca26f0c245bd22d95))
- **theme:** specify image sizes for performance testing ([cb10e79](https://github.com/trafilea/nx-shopify/commit/cb10e79dc784cdbdf62a5ef34e95915bfde44e20))
3 changes: 3 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
"nx-shopify-e2e": {
"tags": [],
"implicitDependencies": ["nx-shopify"]
},
"nx-shopify-docs": {
"tags": []
}
},
"workspaceLayout": {
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@
"@nrwl/jest": "11.2.12",
"@nrwl/nx-plugin": "11.2.12",
"@nrwl/tao": "11.2.12",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@types/browser-sync": "^2.26.1",
"@types/camelcase-keys": "^5.1.1",
"@types/express": "^4.17.11",
Expand All @@ -98,6 +100,7 @@
"lint-staged": "^10.5.3",
"prettier": "2.2.1",
"pretty-quick": "^3.1.0",
"semantic-release": "^17.3.9",
"ts-jest": "26.4.0",
"ts-node": "~9.1.1",
"tslib": "^2.0.0",
Expand Down
5 changes: 4 additions & 1 deletion packages/nx-shopify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@
"builders": "./builders.json",
"generators": "./generators.json",
"executors": "./executors.json",
"dependencies": {}
"dependencies": {},
"publishConfig": {
"access": "public"
}
}
39 changes: 39 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/* eslint-disable no-undef */
// npx semantic-release --no-ci --branch=semantic-release-plus --extends=./packages/nx-shopify/release.config.js --debug
const name = 'nx-shopify';
const srcRoot = `packages/${name}`;

module.exports = {
branches: [
'+([0-9])?(.{+([0-9]),x}).x',
'latest',
'next',
'next-major',
{ name: 'rc', prerelease: true },
{ name: 'beta', prerelease: true },
{ name: 'alpha', prerelease: true },
],
pkgRoot: `dist/${srcRoot}`,
tagFormat: 'v${version}',
assets: [`CHANGELOG.md`],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/github',
[
'@semantic-release/changelog',
{
changelogFile: `CHANGELOG.md`,
},
],
'@semantic-release/npm',
[
'@semantic-release/git',
{
message:
`chore(release): ${name}` +
'-v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
},
],
],
};
35 changes: 35 additions & 0 deletions workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@
]
},
"outputs": ["{options.outputPath}"]
},
"release": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": ["nx build nx-shopify", "npx semantic-release"],
"parallel": false
}
}
}
},
Expand All @@ -76,6 +83,34 @@
}
}
}
},
"nx-shopify-docs": {
"projectType": "application",
"root": "e2e/nx-shopify-e2e",
"targets": {
"setup": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": ["yarn"],
"cwd": "docs"
}
},
"serve": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": ["yarn start"],
"cwd": "docs"
}
},
"release": {
"executor": "@nrwl/workspace:run-commands",
"options": {
"commands": ["nx setup nx-shopify-docs", "yarn deploy"],
"cwd": "docs",
"parallel": false
}
}
}
}
},
"cli": {
Expand Down
Loading

0 comments on commit a28bc8c

Please sign in to comment.