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

Commit

Permalink
infra: lume cli update: update tests to run in @web/test-runner (repl…
Browse files Browse the repository at this point in the history
…aced Karma in lume cli), update GitHub Actions yml to run clean/build/test separately as they are no longer coupled in lume cli, update build output with changes from the updated target:esnext option in lume cli tsconfig. Note, the dev process in the repo, when standalone and not a git submodule in the lume repo, will not work for now and needs to be developed as part of the lume supermodule repo using the link script for bootstrapping and linking of packages. Once we finish the stage-3-decorators and classy-solid migration in Lume (soon) we will get the lume cli working in standalone repos again.
  • Loading branch information
trusktr committed Oct 30, 2023
1 parent c211474 commit 05b0e6b
Show file tree
Hide file tree
Showing 10 changed files with 64 additions and 46 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
- name: npm install, build, and test
run: |
npm i
npm run clean
npm run build
npm test
- name: ensure no modifications
run: git add . && git diff --quiet && git diff --cached --quiet
env:
CI: true
34 changes: 15 additions & 19 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions dist/index.test.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
declare global {
function expect(...args: any[]): any;
}
export {};
//# sourceMappingURL=index.test.d.ts.map
2 changes: 1 addition & 1 deletion dist/index.test.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions dist/index.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.test.js.map

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions lume.config.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
module.exports = {
testWithAllTSAndBabelDecoratorBuildConfigurations: true,

importMap: {
imports: {
lowclass: '/node_modules/lowclass/dist/index.js',
'solid-js': '/node_modules/solid-js/dist/solid.js',
'solid-js/web': '/node_modules/solid-js/web/dist/web.js',
'solid-js/html': '/node_modules/solid-js/html/dist/html.js',
'solid-js/store': '/node_modules/solid-js/store/dist/store.js',
},
},
}
Loading

0 comments on commit 05b0e6b

Please sign in to comment.