Skip to content

Commit

Permalink
feat: adapt for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Loxeris committed May 23, 2024
1 parent 42c859d commit fca9fd2
Show file tree
Hide file tree
Showing 16 changed files with 744 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 18 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
node_modules
build
dist
public
.github
jest.config.mjs

packages/*/node_modules
packages/*/build
packages/*/dist
packages/*/public
packages/*/.github
packages/*/jest.config.mjs
packages/*/tsconfig.json
packages/*/tsup.config.ts
packages/*/.next
packages/*/.tsup
packages/*/out
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ npm test
End-to-end tests are launched through `cypress` such as:

```
cd packages/diracx-web
npx cypress open --config baseUrl=$DIRACX_URL
```

Expand Down
12 changes: 12 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { defineConfig } from "cypress";

export default defineConfig({
e2e: {
specPattern: "packages/*/test/e2e/**/*.cy.ts",
supportFile: false,
setupNodeEvents(on, config) {
// implement node event listeners here
},
},
chromeWebSecurity: false,
});
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"scripts": {
"dev": "lerna run dev --parallel",
"test": "lerna run test",
"build": "lerna run build"
"build": "lerna run build",
"lint": "lerna run lint",
"ts-lint": "lerna run ts-lint"
}
}
34 changes: 33 additions & 1 deletion packages/diracx-web-components/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,36 @@ node_modules

# tsup
.tsup
dist
dist

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# eslint
.eslintcache
4 changes: 3 additions & 1 deletion packages/diracx-web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"scripts": {
"build": "tsup --minify",
"dev": "tsup --watch --sourcemap",
"test": "jest --ci"
"test": "jest --ci",
"lint": "eslint src",
"ts-lint": "tsc -noEmit -incremental"
},
"author": "",
"license": "GPL-3.0",
Expand Down

0 comments on commit fca9fd2

Please sign in to comment.