Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
3e3ecd8
chore(@americanexpress/one-app-bundler) version 6.13.0
JAdshead Oct 6, 2021
e394373
chore(release): switch to manual action (#399)
JAdshead Oct 7, 2021
3d7b2fc
fix(holocorn-dev-server): filepath regex to work for windows (#400)
bishnubista Oct 12, 2021
6f77dce
chore(deps-dev): bump mock-fs from 4.14.0 to 5.0.0
dependabot[bot] Oct 22, 2021
3d3b6e1
docs(readme): update module-map-url usage
msanfilippof Oct 27, 2021
63b54a3
feat(bundler): add disable legacy asset flag
Harrison-Lara Oct 27, 2021
02c00c3
refactor(hmr): simplify implementation #406
JAdshead Oct 30, 2021
fe8db76
feat(one-app-bundler): add node 16 support (#412)
10xLaCroixDrinker Nov 2, 2021
975901b
chore(release): v6.14.0 & v0.1.0 (#411)
Harrison-Lara Nov 3, 2021
cd84b99
fix(holocron-dev-server): removed dll to fix externals
JAdshead Nov 15, 2021
d207e99
chore(contributing): update release process
JAdshead Nov 17, 2021
f4a0c66
chore(release): publish packages (#419)
JAdshead Nov 17, 2021
9778b28
chore(deps): bump tar from 4.4.13 to 4.4.19 (#418)
dependabot[bot] Nov 17, 2021
ea2d943
chore(deps): bump semver-regex from 3.1.2 to 3.1.3 (#415)
dependabot[bot] Nov 17, 2021
c4cb124
chore(deps): bump tmpl from 1.0.4 to 1.0.5 (#416)
dependabot[bot] Nov 17, 2021
b0d5064
chore(deps): bump axios from 0.21.1 to 0.21.4 (#417)
dependabot[bot] Nov 17, 2021
143eb61
chore(deps): bump set-getter from 0.1.0 to 0.1.1 (#421)
dependabot[bot] Nov 17, 2021
5b42140
chore(deps): bump path-parse from 1.0.6 to 1.0.7 (#422)
dependabot[bot] Nov 17, 2021
6cb707b
chore(deps): bump ws from 7.4.4 to 7.5.5 (#424)
dependabot[bot] Nov 17, 2021
724d0c4
chore(deps): bump trim-newlines from 3.0.0 to 3.0.1 (#423)
dependabot[bot] Nov 17, 2021
23d967c
chore(deps): bump browserslist from 4.16.3 to 4.18.1 (#425)
dependabot[bot] Nov 17, 2021
d93de78
chore(deps): bump ssri from 7.1.0 to 7.1.1 (#426)
dependabot[bot] Nov 17, 2021
b4bcef0
chore(deps): bump handlebars from 4.7.6 to 4.7.7 (#427)
dependabot[bot] Nov 19, 2021
d8ac2e4
chore(deps): bump shelljs from 0.8.4 to 0.8.5 (#429)
dependabot[bot] Jan 17, 2022
34b5b21
chore(deps): bump follow-redirects from 1.14.5 to 1.14.7 (#430)
dependabot[bot] Jan 17, 2022
7019ce3
fix(eslint-loader): update to 4.x (#432)
JAdshead Jan 17, 2022
71e5d12
chore(rimraf): update to 3.x
JAdshead Jan 17, 2022
01ee55e
chore(release): publish packages
JAdshead Jan 18, 2022
c0a8d81
chore(workflow-publish): enable full publish (#434)
JAdshead Jan 19, 2022
1d2741f
chore(labeler): always add one-app-review-requested (#435)
JAdshead Jan 20, 2022
430dcc0
chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 (#438)
dependabot[bot] Feb 15, 2022
cf6cec8
feat(bundler-parser): @babel/eslint-parser (#439)
JAdshead Feb 18, 2022
e072603
chore(publish): remove gihub user details (#440)
JAdshead Feb 18, 2022
0a1bd76
chore(workflows): publish use token (#442)
JAdshead Feb 21, 2022
f6a7f78
chore(labeler): adding updated workflows (#444)
dogpatch626 Mar 9, 2022
beac1a8
chore(publish): revert to manual version step (#443)
JAdshead Mar 14, 2022
67371a9
fix(lang-pack): path sep Issue-436 (#445)
JAdshead Mar 14, 2022
9474387
chore(deps): bump minimist from 1.2.5 to 1.2.6 (#447)
dependabot[bot] Mar 31, 2022
300e6aa
chore(labeler): fix globing (#448)
dogpatch626 Apr 6, 2022
8e15cfc
chore(deps): bump moment from 2.29.1 to 2.29.2 (#449)
dependabot[bot] Apr 11, 2022
240a648
fix(lazy-loading): fixed webpack filename clashing issue (#446)
bishnubista Apr 12, 2022
553065b
fix(update-holocron): updated holocron to 1.2.3 (#450)
bishnubista Apr 13, 2022
d028b78
chore(release): v0.1.3 and v6.15.0 (#452)
bishnubista Apr 20, 2022
34e1c0d
fix(lerna-publish): fixed lerna publish script (#453)
bishnubista Apr 21, 2022
eee96f4
chore(release): revert v0.1.3 and v6.15.0 (#454)
bishnubista Apr 27, 2022
b6c5b5d
chore(release): v0.15.0 and v0.1.3 (#455)
bishnubista Apr 27, 2022
158f761
chore(deps): bump cross-fetch from 3.1.4 to 3.1.5 (#457)
dependabot[bot] Apr 29, 2022
3a65af6
chore(deps): bump semver-regex from 3.1.3 to 3.1.4 (#458)
dependabot[bot] Jun 6, 2022
13057b3
feat(one-app-runner): add use-debug flag and function (#460)
drewcur Jun 10, 2022
2e76937
chore(eslint): update eslint to latest standard
code-forger Jun 30, 2022
6a865d6
chore(deps): bump parse-url from 6.0.0 to 6.0.2 (#462)
dependabot[bot] Jul 14, 2022
9364c17
chore(deps): bump moment from 2.29.2 to 2.29.4 (#463)
dependabot[bot] Jul 20, 2022
591eee7
chore(deps): bump terser from 4.8.0 to 4.8.1 (#464)
dependabot[bot] Jul 20, 2022
9441a18
fix(bundler): default hashing method doesnt work in node 18 (#465)
10xLaCroixDrinker Aug 11, 2022
5888486
chore(release): publish packages
10xLaCroixDrinker Aug 11, 2022
ea79f9e
Merge pull request #466 from americanexpress/release/v6.15.1
10xLaCroixDrinker Aug 11, 2022
e16b444
chore(lerna): publish with from-package (#467)
10xLaCroixDrinker Aug 12, 2022
35a3297
Revert "fix(bundler): default hashing method doesnt work in node 18 (…
10xLaCroixDrinker Aug 12, 2022
6df941f
chore(release): publish packages
10xLaCroixDrinker Aug 12, 2022
be5779d
Merge pull request #469 from americanexpress/release/v6.15.2
10xLaCroixDrinker Aug 12, 2022
50b94da
chore(package): remove deadname (#470)
10xLaCroixDrinker Aug 17, 2022
964c6c1
docs(fix-links): one-app broken links fixed within documentation (#473)
ShivangiRai1310 Nov 2, 2022
418113b
chore(deps): bump loader-utils from 1.4.0 to 1.4.1 (#476)
dependabot[bot] Nov 13, 2022
87935b7
chore(deps): bump minimatch from 3.0.4 to 3.0.8 (#477)
dependabot[bot] Nov 13, 2022
e5ebd36
fix(race-issue): docker race issue (#474)
bishnubista Nov 15, 2022
de95443
chore(release): publish packages (#478)
bishnubista Nov 15, 2022
56cc127
fix(module): module not found waitForOk (#479)
bishnubista Nov 16, 2022
582365f
chore(release): publish packages (#480)
bishnubista Nov 16, 2022
f0accf2
chore(deps): bump loader-utils from 1.4.1 to 1.4.2 (#481)
dependabot[bot] Nov 30, 2022
ff0b49d
feat(devBundler): add dev bundler
code-forger Dec 6, 2022
44cfcce
chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 (#483)
dependabot[bot] Dec 7, 2022
12c98fd
chore(deps): bump loader-utils from 1.4.0 to 1.4.2 (#484)
dependabot[bot] Dec 7, 2022
d688d27
chore(deps): bump express from 4.17.2 to 4.17.3 (#485)
dependabot[bot] Dec 7, 2022
a9a3c12
chore(package): update publish config for public package
code-forger Dec 12, 2022
7c6660a
fix(hash): use OpenSSL supported hash for webpack (#488)
Matthew-Mallimo Jan 4, 2023
1cc171b
feat(bundler): enable dev bundler through flag
code-forger Jan 5, 2023
a8c42bc
chore(release): publish packages
code-forger Jan 5, 2023
aca6ebb
chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#493)
dependabot[bot] Feb 8, 2023
aadd37f
fix(indexloader): regex was failing on windows machines (#494)
Matthew-Mallimo Feb 16, 2023
b43fd44
chore(release): publish packages (#495)
Matthew-Mallimo Feb 16, 2023
56bb14a
fix(devBundler): add node polyfill (#497)
Matthew-Mallimo Mar 8, 2023
dd729f3
fix(devBundler): add node polyfill (#499)
Matthew-Mallimo Mar 8, 2023
dac7489
chore(release): publish packages
Matthew-Mallimo Mar 8, 2023
d1ceff1
Merge pull request #500 from americanexpress/chore/releaseDevBundler
Matthew-Mallimo Mar 9, 2023
947fc16
chore(deps): bump @sideway/formula from 3.0.0 to 3.0.1 (#498)
dependabot[bot] Mar 9, 2023
4394f32
docs(readme): correct spelling error (#501)
smackfu Mar 9, 2023
0db64a1
fix(devBundler): support named exports from style files (#502)
PixnBits Mar 10, 2023
7cdd973
refactor(one-app-locale-bundler): add mock-fs as devDep
PixnBits Mar 10, 2023
1181a00
chore(release): publish packages
Matthew-Mallimo Mar 16, 2023
0ded558
Merge pull request #506 from americanexpress/chore/release
Matthew-Mallimo Mar 16, 2023
b7ae462
Merge branch 'main' into refactor/one-app-locale-bundler_add-fs-mock-…
Matthew-Mallimo Mar 28, 2023
e949ecd
chore(lint): remove lint ignore
Matthew-Mallimo Mar 28, 2023
a6b66e9
fix(one-app-dev-bundler): index loader filter for Windows paths (#507)
PixnBits Mar 30, 2023
490f74b
fix(one-app-dev-bundler): match a period, rather than wildcard (#508)
PixnBits Apr 5, 2023
f0fd6f8
fix(locale-bundler): do not exit on errors during watch (#511)
smackfu Apr 5, 2023
76b5566
fix(dev-bundler): skip plugins when no results metadata (#513)
smackfu Apr 7, 2023
8c0493a
chore(release): publish packages (#515)
PixnBits Apr 7, 2023
b3d6961
fix(cyptoHash): patch crypto hash to support md4 hash (#516)
bishnubista Apr 17, 2023
77cb796
feat(typeScript): allow bundlers to consume ts files (#520)
code-forger May 3, 2023
5abc78b
fix(devBundler): upgrade to cssnano@5 (#518)
smackfu May 3, 2023
a92262c
chore(release): publish packages (#521)
bishnubista May 3, 2023
41bf268
chore(deps): upgrade peer dep html-webpack-plugin (#522)
smackfu May 9, 2023
e1babee
fix(dev-bundler): improve error when NODE_ENV not development (#528)
smackfu May 11, 2023
900add5
fix(one-app-runner-test): improve console messaging (#526)
smackfu May 12, 2023
63a05a2
chore(deps): bump json5 from 1.0.1 to 1.0.2 (#523)
dependabot[bot] May 12, 2023
ae9cb8e
chore(release): publish packages
Matthew-Mallimo May 15, 2023
fd76f4b
docs(RELEASE): move from README, pull tags (#534)
Matthew-Mallimo May 15, 2023
3ab7d58
feat(purgecss): allow for backwards compatibility of purgecss 2 and 3…
dogpatch626 Jun 1, 2023
3a32ff5
Chore/deprecate generator one app module (#540)
dogpatch626 Jun 5, 2023
fce315b
chore(workflows): add Node.js 18.x to the matrix (#541)
dogpatch626 Jun 8, 2023
5a8c415
chore(node): add node 18 to publish workflow (#542)
dogpatch626 Jun 12, 2023
0d9b5b4
fix(one-app-dev-bundler): avoid default export of sass
PixnBits Jun 12, 2023
548e954
fix(one-app-runner): one-app-runner print startup error messages (#538)
PixnBits Jun 13, 2023
4283fda
chore(readme): fix up purgecss section (#545)
smackfu Jun 13, 2023
bed5c3a
chore(release): publish packages
Jun 13, 2023
23a9925
chore(release): publish packages (#547)
PixnBits Jun 13, 2023
991ea3b
fix(dev-bundler): use semver ranges for all deps (#550)
smackfu Jun 26, 2023
d1c6420
chore: abort with error message (#551)
giulianok Jul 4, 2023
1a2da4a
chore(deps): bump word-wrap from 1.2.3 to 1.2.4 (#553)
dependabot[bot] Jul 24, 2023
a682aca
chore(deps): bump semver from 5.7.1 to 5.7.2 (#552)
dependabot[bot] Jul 24, 2023
ab9e6de
docs(readme): soften language around disabling purgecss (#554)
smackfu Jul 25, 2023
d3e734e
docs(contributing): install and use yarn 1 (#504)
PixnBits Aug 14, 2023
902395c
fix: argument escaping (#555)
PixnBits Aug 16, 2023
3370f3e
fix(one-app-runner): move placement of --inspect flag (#556)
drewcur Aug 30, 2023
0eeee49
feat(devBundler): aggregate styles into dependencies and local (#557)
eddhurst Sep 5, 2023
c64b3ee
docs(typescript): add section on typescript (#558)
dogpatch626 Sep 6, 2023
8443acc
fix(one-app-runner): apply anonymous ip to debugger (#559)
drewcur Sep 7, 2023
523898d
feat: external fallbacks (#536)
giulianok Sep 13, 2023
ae3c065
chore(dep): fix webpack version to 4.46.0 (#560)
Matthew-Mallimo Sep 13, 2023
6476fb3
chore(release): publish packages
Matthew-Mallimo Sep 14, 2023
cd83ead
chore(release): publish packages (#561)
Matthew-Mallimo Sep 14, 2023
4be6f3b
fix(externals): sanatize external name (#563)
dogpatch626 Sep 15, 2023
b00af2b
fix(externals): issue when no one-amex key (#562)
JAdshead Sep 15, 2023
5117e09
chore(release): publish packages
Sep 15, 2023
c19eaf1
chore(release): publish packages
dogpatch626 Sep 15, 2023
93ea82b
fix(devBundler): check for Holocron.getExternal (#565)
Matthew-Mallimo Sep 18, 2023
9fb7975
chore(release): publish packages
Matthew-Mallimo Sep 18, 2023
4d9bf2f
chore(release): publish packages (#566)
Matthew-Mallimo Sep 18, 2023
a47231e
chore(workflow): add new set tag workflow (#570)
JAdshead Sep 27, 2023
c928874
fix(dev-bundler): styles loader (#571)
JAdshead Sep 28, 2023
0fdb110
chore(release): publish packages
JAdshead Sep 28, 2023
6f239ab
chore(release): publish dev bundler sass import fix
JAdshead Sep 28, 2023
c2bdd0b
fix(one-app-runner): avoid shell usage (#569)
PixnBits Oct 2, 2023
43b204f
feat(one-app-runner): mount ~/.one-app to enable module cache persist…
PixnBits Oct 2, 2023
dd4ed0c
chore(release): publish packages
JAdshead Oct 3, 2023
5c4397e
chore(release): publish one app runner (#575)
JAdshead Oct 3, 2023
48e18cc
chore(workflows): use GITHUB_OUTPUT instead of ::set-output (#573)
PixnBits Oct 4, 2023
6559915
fix(one-app-dev-bundler): sass style loader (#577)
JAdshead Oct 4, 2023
b902ec7
chore(release): publish packages (#578)
JAdshead Oct 4, 2023
dfdf8df
chore(deps): bump @babel/traverse from 7.16.8 to 7.23.2 (#581)
dependabot[bot] Oct 17, 2023
844e05b
chore(holocronDevServer): deprecate package
code-forger Oct 17, 2023
2f7fa3c
fix(one-app-dev-bundler): replace depreacted node polyfill plugin (#582)
JAdshead Oct 24, 2023
e5c2571
chore(deps): bump browserify-sign from 4.2.1 to 4.2.2 (#583)
dependabot[bot] Oct 30, 2023
e14fc4f
fix(fallback-integrity): ensure node & browser integrity in module co…
JAdshead Nov 13, 2023
636fd30
chore(release): publish packages
JAdshead Nov 13, 2023
7995a38
chore(release): publish bundler packages (#585)
JAdshead Nov 13, 2023
4938125
fix: disable native fetch in node (#586)
Matthew-Mallimo Nov 17, 2023
4c1f99e
chore(release): publish packages (#587)
Matthew-Mallimo Nov 20, 2023
e769426
fix(one-app-runner): suppress npm update notifications (#589)
smackfu Nov 30, 2023
de7760d
chore(changelog): reference package changelogs
JAdshead Dec 8, 2023
fcf1567
fix(one-app-bundler): packages don't include package.json in exports …
JAdshead Dec 11, 2023
13dd381
Merge branch 'main' into chore/update-top-level-changelog
JAdshead Dec 12, 2023
1ed8877
chore(changelog): reference package changelogs (#596)
JAdshead Dec 12, 2023
0a65c2f
fix: runner failed to start with node 12 images (#597)
Matthew-Mallimo Dec 15, 2023
8c3f402
chore(release): publish packages
Matthew-Mallimo Jan 2, 2024
5b9701b
fix(build-stats): esbuild and webpack stats under build-stats dir (#595)
JAdshead Jan 5, 2024
a078627
fix(webpack): include typescript files in purgecss loader (#601)
smackfu Jan 18, 2024
1c7f4a6
feat(devBundler): expose css loading system for reuse (#604)
code-forger Jan 29, 2024
a1bb975
chore(release): publish packages
code-forger Jan 29, 2024
53c6932
chore(release): publish packages
code-forger Jan 29, 2024
90eef46
chore(deps): upgrade to babel-preset-amex@4 (#602)
smackfu Jan 29, 2024
ccca758
chore(release): publish packages (#607)
smackfu Feb 2, 2024
c9ab840
feat(oneAppBundler): Migrate to Webpack v5
code-forger Feb 9, 2024
79c8cf2
chore(release): publish packages
code-forger Feb 9, 2024
a8a5937
chore(release): publish packages
code-forger Feb 9, 2024
084d6a4
chore(deps): bump ip from 2.0.0 to 2.0.1 (#612)
dependabot[bot] Feb 20, 2024
6eda6b5
feat(one-app-runner): added logging options for level & format (#609)
10xLaCroixDrinker Feb 21, 2024
ba59a59
refactor(one-app-runner): use semver for app version comparison (#608)
10xLaCroixDrinker Feb 21, 2024
1080885
fix(webpack): add missing webpack 4 polyfills
dogpatch626 Mar 6, 2024
42c2858
fix(webpack): support jsx-runtime for react<18 with esm (#615)
zacowan Mar 7, 2024
4c24846
fix(one-app-bundler): hash css module classes from files in node_modu…
zacowan Mar 7, 2024
0955cf3
fix(styles-loader): disable purgecss by default
zacowan Mar 11, 2024
bd0b480
chore(release): publish packages
code-forger Mar 12, 2024
d3b036d
chore(release): publish packages
code-forger Mar 12, 2024
fe11092
fix(one-app-server-bundler): remove excess (#619)
10xLaCroixDrinker Mar 15, 2024
32e1f09
chore(release): publish packages
10xLaCroixDrinker Mar 15, 2024
62854c6
chore(release): publish packages (#620)
10xLaCroixDrinker Mar 15, 2024
6c208cd
fix(one-app-runner): single serve-module invocation (#622)
PixnBits Mar 18, 2024
08f62d2
fix(appConfig): restore check to app config
code-forger Mar 20, 2024
c63cef9
fix(appConfig): restore check to app config
code-forger Mar 20, 2024
687c7df
chore(release): publish packages
code-forger Mar 20, 2024
05c80cd
chore(release): publish packages
code-forger Mar 20, 2024
f48ef4f
fix(one-app-runner): include legacy bundle on serve-module even if it…
10xLaCroixDrinker Mar 26, 2024
82d33e0
fix(one-app-runner) allow :latest and versions >=6.6.0 when specifyin…
agorskiy12 Mar 26, 2024
3d4fb34
chore(release): publish packages
10xLaCroixDrinker Mar 26, 2024
96b61e9
docs: correct changelog errors
10xLaCroixDrinker Mar 26, 2024
03dcfc9
chore(release): publish packages (#630)
10xLaCroixDrinker Mar 26, 2024
3aba75e
feat(one-app-runner): use new entry command in 6.11.0 (#631)
10xLaCroixDrinker Mar 26, 2024
81bebfe
chore(release): publish packages
10xLaCroixDrinker Mar 26, 2024
1b715b6
chore(release): publish packages (#632)
10xLaCroixDrinker Mar 26, 2024
391a390
perf(one-app-server-bundler): serve-module read and write the module …
PixnBits Mar 27, 2024
c5e3968
fix: transpile cjs files (#633)
Matthew-Mallimo Mar 29, 2024
c412970
feat(one-app-runner): add option to load jaeger all-in-one
10xLaCroixDrinker Mar 30, 2024
692599d
test: resolve inconsistent snaps
10xLaCroixDrinker Mar 30, 2024
3db3a67
chore(release): publish packages (#634)
Matthew-Mallimo Apr 1, 2024
e6503ca
Merge branch 'main' into feature/jaeger
10xLaCroixDrinker Apr 1, 2024
bb5a6be
feat(one-app-runner): add option to load jaeger all-in-one (#635)
10xLaCroixDrinker Apr 1, 2024
c172f82
chore(release): publish packages
10xLaCroixDrinker Apr 2, 2024
b411c8b
docs: corrected changelogs
10xLaCroixDrinker Apr 2, 2024
a8f94c4
Chore/release (#636)
10xLaCroixDrinker Apr 2, 2024
c71d825
fix(load-styles): export css module classes as-is (#638)
zacowan May 3, 2024
8f6fd22
chore(release): publish packages (#639)
bishnubista May 7, 2024
65b240e
docs(readme): innersource notice
10xLaCroixDrinker May 15, 2024
c9f52fc
docs(readme): innersource notice (#640)
10xLaCroixDrinker May 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@ build
test-results
public
**/templates
jest.cjs.setup.js
jest.esm.setup.js

# This directory contains input and output test fixtures, which contain generated code. It is not expected it to be well formatted.
**/one-app-index-loader/*
18 changes: 17 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
{
"extends": "amex"
"extends": "amex",
"rules": {
"no-console": 0, // CLI's are allowed to use console
"unicorn/no-process-exit": 0, // CLI's are allowed to exit
"unicorn/prefer-spread": 0 // Spread is not always semantically identical
},
"overrides": [
{
"files": ["**/__tests__/**", "**/__mocks__/**", "**/__fixtures__/**", "**/*.spec.js"],
"extends": "amex/test",
"rules": {
"no-console": 0, // CLI's are allowed to use console
"unicorn/no-process-exit": 0, // CLI's are allowed to exit
"unicorn/prefer-spread": 0 // Spread is not always semantically identical
}
}
]
}
13 changes: 3 additions & 10 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
one-app-team-review-requested:
- '**/*'

# Add 'eslint-plugin-one-app' label to any file changes
# in the eslint-plugin-one-app package
eslint-plugin-one-app:
- packages/eslint-plugin-one-app/*

# Add 'generator-one-app-module' label to any file changes
# in the generator-one-app-module package
generator-one-app-module:
- packages/generator-one-app-module/*

# Add 'holocron-dev-server' label to any file changes
# in the holocron-dev-server package
holocron-dev-server:
- packages/holocron-dev-server/*

# Add 'one-app-bundler' label to any file changes
# in the one-app-bundler package
one-app-bundler:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/health-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '12.x', '14.x' ]
node: [ '18.x' ]
name: Node ${{ matrix.node }}
steps:
- name: Checkout
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: "Pull Request Labeler"
on:
- pull_request_target
pull_request_target:
types: [opened, reopened]

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
repo-token: "${{ secrets.GITHUB_TOKEN }}"
15 changes: 6 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- id: commit
run: echo "::set-output name=message::${{ github.event.head_commit.message }}"
run: echo "message=${{ github.event.head_commit.message }}" >> $GITHUB_OUTPUT
outputs:
commitMsg: ${{ steps.commit.outputs.message }}
publish:
Expand All @@ -20,12 +20,11 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
persist-credentials: false
ref: main
token: ${{ secrets.PA_TOKEN }}
- name: Node Install
uses: actions/setup-node@v1
with:
node-version: '12'
node-version: '18'
- name: Installing Packages
env:
NODE_ENV: development
Expand All @@ -37,10 +36,8 @@ jobs:
NODE_ENV: production
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PA_TOKEN }}
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}
GIT_COMMITTER_NAME: ${{ secrets.GIT_COMMITTER_NAME }}
run: |-
git config user.name "${{ secrets.GIT_AUTHOR_NAME }}"
git config user.email "${{ secrets.GIT_AUTHOR_EMAIL }}"
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
yarn lerna:publish --yes
yarn lerna:publish
44 changes: 0 additions & 44 deletions .github/workflows/release.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/set-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Set npm Registry Latest Tag

on:
workflow_dispatch:
inputs:
name:
description: 'Name of package'
default: 'holocron'
required: true
type: choice
options:
- '@americanexpress/one-app-runner'
- '@americanexpress/one-app-locale-bundler'
- '@americanexpress/one-app-dev-bundler'
- '@americanexpress/one-app-bundler'
- '@americanexpress/eslint-plugin-one-app'
version:
description: 'version to tag'
required: true
type: string
tag:
description: 'tag'
default: 'latest'
required: true
type: choice
options:
- latest
- alpha
- beta
jobs:
set-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm dist-tag add ${{ github.event.inputs.name }}@${{ github.event.inputs.version}} ${{ github.event.inputs.tag }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '12.x', '14.x' ]
node: [ '18.x' ]
name: Node ${{ matrix.node }}
steps:
- name: Checkout
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ bundle.integrity.manifest.json
# yarn
yarn-debug.log*
yarn-error.log*

# OS
.DS_Store

2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
registry=https://registry.npmjs.org
registry=https://registry.yarnpkg.com
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# This repo has switched to independent versioning

Each package now contains their own CHANGELOG:

* [one-app-bundler](https://github.com/americanexpress/one-app-cli/blob/main/packages/one-app-bundler/CHANGELOG.md)
* [eslint-plugin-one-app](https://github.com/americanexpress/one-app-cli/blob/main/packages/eslint-plugin-one-app/CHANGELOG.md)
* [one-app-dev-bundler](https://github.com/americanexpress/one-app-cli/blob/main/packages/one-app-dev-bundler/CHANGELOG.md)
* [one-app-locale-bundler](https://github.com/americanexpress/one-app-cli/blob/main/packages/one-app-locale-bundler/CHANGELOG.md)
* [one-app-runner](https://github.com/americanexpress/one-app-cli/blob/main/packages/one-app-runner/CHANGELOG.md)
* holocron-dev-server - Deprecated
* generator-one-app-module - Deprecated

# [](https://github.com/americanexpress/one-app-cli/compare/v6.9.0...v) (2020-08-28)


Expand Down
15 changes: 3 additions & 12 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This project adheres to the American Express [Code of Conduct](./CODE_OF_CONDUCT
1. Fork the repository `one-app-cli` to your GitHub account.
2. Afterwards run the following commands in your terminal
Please review this tutorial to learn how to clone a repository https://help.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository

```bash
$ git clone https://github.com/<your-github-username>/one-app-cli
$ cd one-app-cli
Expand All @@ -33,20 +33,11 @@ This project adheres to the American Express [Code of Conduct](./CODE_OF_CONDUCT
3. Install the dependencies by running

```bash
$ yarn
$ npx yarn@^1
```

4. You can now run the scripts within the different [packages](./packages).

### Creating a `one-app-cli` new release

1. Run `yarn lerna:version` locally from your release branch. This would push your release changes(changelog and tags) to the branch on github.
2. Create a pull request from your branch to the `main` branch with your changes.
3. Once the changes are approved ensure you merge the changes and provide the commit message for the merge as
`chore(release) : 1.9.7`
ensure you follow this convention otherwise the deployment will not be executed.
4. Once this is merged to main a deployment would be initiated on the main branch and all packages that changed would be released to npm.

## Submitting a new feature

When submitting a new feature request or enhancement of an existing features please review the following:
Expand Down Expand Up @@ -109,4 +100,4 @@ Please review our [Security Policy](./SECURITY.md). Please follow the instructio

### Git Commit Guidelines

We follow [conventional commits](https://www.conventionalcommits.org/) for git commit message formatting. These rules make it easier to review commit logs and improve contextual understanding of code changes. This also allows us to auto-generate the CHANGELOG from commit messages.
We follow [conventional commits](https://www.conventionalcommits.org/) for git commit message formatting. These rules make it easier to review commit logs and improve contextual understanding of code changes. This also allows us to auto-generate the CHANGELOG from commit messages.
26 changes: 12 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
<h1 align="center">

[One App is now InnerSource](https://github.com/americanexpress/one-app/issues/1393)

<hr/>

<img src='https://github.com/americanexpress/one-app-cli/raw/main/one-app-cli.png' alt="One App CLI - One Amex" width='50%'/>
</h1>

![Tests](https://github.com/americanexpress/one-app-cli/workflows/Tests/badge.svg)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)

> A set of command line interface (CLI) tools for bundling **[One App](https://github.com/americanexpress/one-app)**, its modules, and property files(locale and environment specific files).

## 👩‍💻 Hiring 👨‍💻

Want to get paid for your contributions to `one-app-cli`?
> Send your resume to oneamex.careers@aexp.com

## 📖 Table of Contents

* [Packages](#-packages)
Expand All @@ -21,14 +20,13 @@ Want to get paid for your contributions to `one-app-cli`?

This codebase has the following packages:

| Name | Description |
| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| **[eslint-plugin-one-app](./packages/eslint-plugin-one-app)** |[eslint](https://eslint.org/) plugin that exports rules related to One App usage
| **[generator-one-app-module](./packages/generator-one-app-module)** | [Yeoman](https://yeoman.io/) generator for a [One App](https://github.com/americanexpress/one-app#modules) `holocron` Module |
| **[holocron-dev-server](./packages/holocron-dev-server/README.md)** | development server for Holocron modules |
| **[one-app-bundler](./packages/one-app-bundler)** | CLI to bundle one-app modules |
| **[one-app-locale-bundler](./packages/one-app-locale-bundler)** | CLI to bundle locale and environment JSON files |
| **[one-app-runner](./packages/one-app-runner)** | CLI tool for running [One App](https://github.com/americanexpress/one-app) locally |
| Name | Description |
|---------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
| **[eslint-plugin-one-app](./packages/eslint-plugin-one-app)** | [eslint](https://eslint.org/) plugin that exports rules related to One App usage
| **[one-app-bundler](./packages/one-app-bundler)** | CLI to bundle one-app modules |
| **[one-app-dev-bundler](./packages/one-app-dev-bundler)** | An alternate ESBuild bundler for development environments. This is a sub-package of the one-app-bundler. |
| **[one-app-locale-bundler](./packages/one-app-locale-bundler)** | CLI to bundle locale and environment JSON files |
| **[one-app-runner](./packages/one-app-runner)** | CLI tool for running [One App](https://github.com/americanexpress/one-app) locally |


## 🏆 Contributing
Expand Down
12 changes: 12 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Creating a `one-app-cli` new release

1. Create, checkout and push a new release branch
2. Fetch tags `git fetch --tags`
3. Run `yarn lerna:version` locally from your release branch. This will push your release changes(changelog and tags) to the branch on github.
4. Ensure that correctly formatted tags have been created for each package being versioned. Tag needs to be in the format of `@americanexpress/[package-name]@x.x.x` for example`@americanexpress/one-app-bundler@6.0.0`. This can impact future releases.
5. Create a pull request from your branch to the `main` branch with your changes.
6. When merging try to ensure that commit does not get squashed as this will cause the tags be against missing commits.
7. Once merged run the [manually publish](https://github.com/americanexpress/one-app-cli/actions/workflows/publish.yml) github action workflow.

One App CLI is currently not setup for pre-releases.
In theory, if one is required, using [--conventional-prerelease](https://github.com/lerna/lerna/tree/main/commands/version#--conventional-prerelease) in step two should work. For example: `yarn lerna:version --conventional-prerelease`
16 changes: 9 additions & 7 deletions jest.config.js → jest.cjs.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,32 @@
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,either express
* or implied. See the License for the specific language governing permissions and limitations
* under the License.
*/

*/
module.exports = {
preset: 'amex-jest-preset',
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
setupFilesAfterEnv: ['<rootDir>/jest.cjs.setup.js'],
collectCoverageFrom: [
'packages/**/*.{js,jsx}',
'!**/node_modules/**',
'!**/build/**',
'packages/*/lib/**',
'!packages/*/bin/**',
'!packages/*/__fixtures__/**',
'!packages/*/test-utils.js',
'!packages/*/test-results/**',
'!packages/generator-one-app-module/generators/app/templates/**',
],
coverageThreshold: {
global: {
statements: 99.72,
branches: 99.80,
branches: 99.8,
functions: 99.15,
lines: 99.9,
},
},
testPathIgnorePatterns: [
'packages/generator-one-app-module/generators/app/templates',
roots: [
'packages/eslint-plugin-one-app',
'packages/one-app-locale-bundler',
'packages/one-app-server-bundler',
'packages/one-app-runner',
],
};
File renamed without changes.
Loading