Skip to content

Commit

Permalink
Merge branch 'master' into SFINT-5552
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonMilord authored May 29, 2024
2 parents ad43047 + 5374847 commit fa02962
Show file tree
Hide file tree
Showing 206 changed files with 20,092 additions and 21,185 deletions.
22 changes: 22 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
{
"name": "Node.js & TypeScript",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bookworm",

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'updateContentCommand ' to run commands when the prebuild is created or updated https://docs.github.com/en/codespaces/prebuilding-your-codespaces/configuring-prebuilds#configuring-time-consuming-tasks-to-be-included-in-the-prebuild
"updateContentCommand": "CI=true bash -c 'npm ci && npm run build'"

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
2 changes: 1 addition & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ runs:
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
id: nx-cache
with:
path: node_modules/.cache/nx
path: .nx/cache
key: nx-${{ github.sha }}
- if: steps.nx-cache.outputs.cache-hit != 'true'
run: npm run build
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:
with:
path: |
**/node_modules/
!node_modules/.cache/nx/
!.nx/cache/
key: npm-${{ hashFiles('package-lock.json') }}-${{ hashFiles('utils/atomic-storybook/package-lock.json') }}
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
with:
Expand All @@ -41,7 +41,7 @@ runs:
uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
id: nx-cache
with:
path: node_modules/.cache/nx
path: .nx/cache
key: nx-${{ github.sha }}
fail-on-cache-miss: ${{ inputs.fail-on-cache-miss == 'true' }}
- if: steps.npm-cache.outputs.cache-hit != 'true'
Expand Down
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: 'devcontainers'
directory: '/'
schedule:
interval: weekly
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ sarifs
**.cy.ts.mp4
.cspellcache
scripts/translation-gpt/temporary.json
.nx/cache

# CI Release
topology.json
.git-message
.git-message
.nx/cache
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ LICENSE.md
**/.next/**
**/www/**
scripts/deploy/execute-deployment-pipeline.mjs
**/staticresources/**
**/staticresources/**
/.nx/cache
23 changes: 11 additions & 12 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
{
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": ["cached:build", "cached:build:stencil"]
}
}
},
"plugins": ["@coveo/nx-plugin"],
"namedInputs": {
"sharedGlobals": [
{
Expand Down Expand Up @@ -38,7 +29,10 @@
"!{projectRoot}/*.md",
"!{projectRoot}/*.tsbuildinfo",
"!{projectRoot}/LICENSE",
"!{projectRoot}/**/?(*.)+({{spec.{ts,tsx},spec.{ts,tsx}.snap},{?(*([^.]).)stories.{tsx,css},mdx}})"
"!{projectRoot}/**/?(*.)spec.{ts,tsx}",
"!{projectRoot}/**/?(*.)spec.{ts,tsx}.snap}",
"!{projectRoot}/**/?(*.)stories.{tsx,css}",
"!{projectRoot}/**/?(*.)mdx"
],
"negativeBuildOutputs": [
"!{projectRoot}/dist",
Expand Down Expand Up @@ -77,7 +71,8 @@
"{projectRoot}/.next",
"{projectRoot}/next-env.d.ts"
],
"dependsOn": ["^build"]
"dependsOn": ["^build"],
"cache": true
},
"dev": {
"dependsOn": ["^build"]
Expand Down Expand Up @@ -110,8 +105,12 @@
},
"release:phase5": {
"dependsOn": ["^release:phase5"]
},
"cached:build:stencil": {
"cache": true
}
},
"defaultBase": "master",
"$schema": "./node_modules/nx/schemas/nx-schema.json"
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"useInferencePlugins": false
}
Loading

0 comments on commit fa02962

Please sign in to comment.