Skip to content

Commit

Permalink
Version Packages (#2460)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
connor-baer and github-actions[bot] authored Mar 4, 2024
1 parent 455e5ed commit 9058334
Show file tree
Hide file tree
Showing 16 changed files with 2,420 additions and 14,007 deletions.
5 changes: 0 additions & 5 deletions .changeset/empty-camels-explode.md

This file was deleted.

2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"packages": ["packages/*"],
"packages": ["packages/*", "packages/cna-template/template"],
"version": "independent"
}
3,274 changes: 2,374 additions & 900 deletions package-lock.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"description": "The web implementation of Circuit UI, SumUp's design system",
"private": true,
"workspaces": [
"packages/*"
"packages/*",
"packages/cna-template/template"
],
"repository": {
"type": "git",
Expand All @@ -24,7 +25,7 @@
"test:ci": "vitest run --coverage",
"lint": "foundry run eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "npm run lint -- --fix",
"lint:css": "stylelint \"**/*.css\"",
"lint:css": "foundry run stylelint \"**/*.css\"",
"docs": "npm run docs:start",
"docs:start": "storybook dev -p 6006",
"docs:build": "storybook build -c .storybook -o public && cp -R ./packages/icons/web ./public/icons",
Expand Down
12 changes: 1 addition & 11 deletions packages/astro-template/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,11 +1 @@
module.exports = require('@sumup/foundry/eslint')({
plugins: ['@sumup/circuit-ui'],
rules: {
'@sumup/circuit-ui/component-lifecycle-imports': 'error',
'@sumup/circuit-ui/no-invalid-custom-properties': 'error',
'@sumup/circuit-ui/no-deprecated-components': 'error',
'@sumup/circuit-ui/no-deprecated-props': 'error',
'@sumup/circuit-ui/no-renamed-props': 'error',
'@sumup/circuit-ui/prefer-custom-properties': 'error',
},
});
module.exports = require('@sumup/foundry/eslint')();
10 changes: 10 additions & 0 deletions packages/astro-template/.stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
node_modules/
build/
dist/
.next/
.out/
static/
public/
coverage/
__coverage__/
__reports__/
2 changes: 1 addition & 1 deletion packages/astro-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"devDependencies": {
"@sumup/eslint-plugin-circuit-ui": "^4.0.0",
"@sumup/foundry": "^7.0.0",
"@sumup/stylelint-plugin-circuit-ui": "^1.0.0",
"@sumup/stylelint-plugin-circuit-ui": "^2.0.0",
"prettier-plugin-astro": "^0.13.0"
}
}
4 changes: 3 additions & 1 deletion packages/circuit-ui/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"**/*/__tests__/*",
"**/*/__testfixtures__/*",
"**/*.spec.*",
"**/*.stories.*"
"**/*.stories.*",
"util/test-utils.tsx",
"setupTests.ts"
]
}
12 changes: 1 addition & 11 deletions packages/cna-template/template/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1 @@
module.exports = require('@sumup/foundry/eslint')({
plugins: ['@sumup/circuit-ui'],
rules: {
'@sumup/circuit-ui/component-lifecycle-imports': 'error',
'@sumup/circuit-ui/no-invalid-custom-properties': 'error',
'@sumup/circuit-ui/no-deprecated-components': 'error',
'@sumup/circuit-ui/no-deprecated-props': 'error',
'@sumup/circuit-ui/no-renamed-props': 'error',
'@sumup/circuit-ui/prefer-custom-properties': 'error',
},
});
module.exports = require('@sumup/foundry/eslint')();
Loading

0 comments on commit 9058334

Please sign in to comment.