Commit Graph

85 Commits

Author SHA1 Message Date
James M. Greene
af5f3c3f72 Merge branch 'main' into eslint-roller 2022-09-21 16:18:10 -05:00
James M. Greene
c4feb8d01e Ignore ESLint rule about condition looping condition for now 2022-09-16 21:56:47 -05:00
James M. Greene
1f9ca39237 Fix bad reference in string interpolation
Regression from https://github.com/actions/configure-pages/pull/21
2022-09-16 21:54:58 -05:00
James M. Greene
1cefe6fc7c Remove unnecessary try/catch 2022-09-16 21:50:49 -05:00
James M. Greene
069c984c5e Let Prettier reformat all of the things 2022-09-16 20:37:18 -05:00
James M. Greene
45efe60937 Apply consistent spacing and use of single quotes 2022-09-11 10:23:22 -05:00
James M. Greene
35c001ded6 Dereference as 'path'
This minimizes the changes to the codebase, as well as slightly clarifying that its value may not remain the same as the 'pathname'
2022-09-11 10:23:22 -05:00
AndrewLester
d48340abcd Use GitHub Pages site origin for setting up SSG configs 2022-08-19 14:33:39 -05:00
James M. Greene
3a90973fd3 Use local module for removing trailing slash to reduce duplication 2022-08-18 18:08:30 -05:00
James M. Greene
dc5b850bfd breaking: Remove trailing slash from base_url and base_path outputs 2022-08-18 18:08:30 -05:00
James M. Greene
9b7553ef7f Change environment variable data type to explicit string 2022-08-17 14:34:23 -05:00
AndrewLester
adc528a6d8 Export GITHUB_PAGES env variable 2022-08-10 16:28:32 -04:00
AndrewLester
789c331a21 Support new features from #15 2022-08-10 16:28:32 -04:00
AndrewLester
c872edcdfb Update config parser to support export default with identifier and add SvelteKit code
Co-authored-by: NatoBoram <natoboram@users.noreply.github.com>
2022-08-10 16:28:31 -04:00
James M. Greene
fad78054b6 Fix typo in src 2022-08-10 08:56:12 -05:00
James M. Greene
891eba7f6e Update src/config-parser.js
Co-authored-by: Yoann Chaudet <yoannchaudet@github.com>
2022-08-09 11:22:14 -05:00
James M. Greene
4f27d51853 Add support for indirect default export declarations 2022-08-05 17:44:40 -05:00
James M. Greene
1395534a78 Hoist important arrays to top-level constants 2022-08-05 17:37:00 -05:00
James M. Greene
7c3932ff89 Add support for specifying the target generator config file 2022-08-05 17:35:23 -05:00
James M. Greene
da85ca493f Update fixtures with Prettier formatting 2022-08-05 15:40:25 -05:00
James M. Greene
c69bbc2c2c Fix one expected test fixture given Prettier configuration 2022-08-05 15:35:48 -05:00
James M. Greene
5c1535b807 Update all source files to match expected Prettier formatting 2022-08-05 15:26:05 -05:00
James M. Greene
b619d6bb2a Make certain the env var isn't present during testing 2022-08-05 12:59:28 -05:00
James M. Greene
bce63914b1 Incorporate the spirit of changes from https://github.com/actions/configure-pages/pull/10 2022-08-05 12:13:23 -05:00
James M. Greene
17536ca11a Update organization name in tests 2022-08-03 18:19:57 -05:00
James M. Greene
fc0fb71264 Delete old modules 2022-08-03 18:10:04 -05:00
James M. Greene
af945d6133 Update index.js to utilize new modules 2022-08-03 18:09:46 -05:00
James M. Greene
b2561d383d Add dedicated Actions-outputs module 2022-08-03 18:09:04 -05:00
James M. Greene
bb42d7b1cb Add new API client to consolidate REST API calls 2022-08-03 18:08:29 -05:00
James M. Greene
0455a16aca Allow a user to manually opt-out of Pages site enablement 2022-08-02 20:45:01 -05:00
James M. Greene
86288138eb Fix spacing 2022-07-22 18:04:52 -05:00
James M. Greene
98aa330a29 Update Espree configuration to allow for latest supported ECMA version 2022-07-22 18:03:26 -05:00
James M. Greene
1fb9ba6653 Add tests that will fail with ECMA 6 parsing 2022-07-22 18:01:42 -05:00
James M. Greene
1457a09e2b Revert to using ECMA 6 2022-07-22 18:01:23 -05:00
James M. Greene
3480141499 Update Espree configuration to allow for latest supported ECMA version 2022-07-22 14:10:25 -05:00
Yoann Chaudet
7875e4af8a target not server 2022-07-20 15:28:26 -07:00
Yoann Chaudet
844ceaff5a Do a bit more configuration for nuxt, set server = 'static' 2022-07-20 13:14:25 -07:00
Yoann Chaudet
dddd39c6b9 Documentation 2022-07-19 17:16:40 -07:00
Yoann Chaudet
084dc5123d experimental 2022-07-19 17:15:09 -07:00
Yoann Chaudet
3d51fe705a false true 2022-07-19 17:05:37 -07:00
Yoann Chaudet
3d2f0e5994 Refactor to inject multiple properties 2022-07-19 17:03:44 -07:00
Yoann Chaudet
ad121920a0 Add blank fixtures for nuxt 2022-07-19 16:31:11 -07:00
Yoann Chaudet
53eec1a8cc fix next 2022-07-19 16:27:57 -07:00
Yoann Chaudet
69fea3d62e typo 2022-07-19 16:21:56 -07:00
Yoann Chaudet
33fad13833 Fix context: 2022-07-19 16:16:35 -07:00
Yoann Chaudet
931e155079 Add tests for config-parser 2022-07-19 16:15:25 -07:00
Yoann Chaudet
5941f86157 Fix tests 2022-07-19 11:52:20 -07:00
Yoann Chaudet
8f29fe2748 Update dist 2022-07-19 11:50:09 -07:00
Yoann Chaudet
ba4576e776 Add set-pages-path tests 2022-07-19 11:48:11 -07:00
Yoann Chaudet
f830cbcb66 Cleanup the whole config-parser class 2022-07-18 19:13:56 -07:00