Skip to content

Commit

Permalink
Merge pull request #352 from Sage/multiMode-multiPlatform
Browse files Browse the repository at this point in the history
Multi mode multi platform
  • Loading branch information
druhill authored Jan 4, 2024
2 parents 08c8ce8 + cff0906 commit 62bd49b
Show file tree
Hide file tree
Showing 77 changed files with 8,860 additions and 30,821 deletions.
18 changes: 18 additions & 0 deletions .babelrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"sourceType": "unambiguous",
"presets": [
[
"@babel/preset-env",
{
"targets": {
"chrome": 100,
"safari": 15,
"firefox": 91
}
}
],
"@babel/preset-typescript",
"@babel/preset-react"
],
"plugins": []
}
8 changes: 3 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright © 2021 The Sage Group plc or its licensors. All Rights reserved
Copyright © 2024 The Sage Group plc or its licensors. All Rights reserved
*/
module.exports = {
env: {
Expand All @@ -9,9 +9,7 @@ module.exports = {
plugins: [
'header'
],
extends: [
'standard'
],
extends: ['standard'],
parserOptions: {
ecmaVersion: 12,
sourceType: 'module'
Expand All @@ -20,7 +18,7 @@ module.exports = {
'header/header': [
2,
'block',
'\nCopyright © 2021 The Sage Group plc or its licensors. All Rights reserved\n '
'\nCopyright © 2024 The Sage Group plc or its licensors. All Rights reserved\n '
]
}
}
2 changes: 1 addition & 1 deletion .github/workflows/copy-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'

- name: Copy released package to private GitHub NPM registry
run: npx npm-copy --from https://registry.npmjs.org --from-username any --from-password any --to=https://npm.pkg.github.com --to-email="${GIT_COMMITTER_EMAIL}" --to-token="${NODE_AUTH_TOKEN}" %40sage%2Fdesign-tokens
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'

- name: Install
run: yarn install --frozen-lockfile
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/semantic-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'

- run: yarn install --frozen-lockfile

Expand All @@ -44,12 +44,3 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_COMMITTER_NAME: Sage Carbon
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}

- name: Upload documentation via ftp
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_HOST }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: "./dist/docs/"
server-dir: "./sage/docs/"
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ 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.

Copyright (c) 2021 Sage Group Plc. All rights reserved.
Copyright (c) 2024 Sage Group Plc. All rights reserved.
Loading

0 comments on commit 62bd49b

Please sign in to comment.