Skip to content

Commit

Permalink
move rollup configs to configs/rollup (#1462)
Browse files Browse the repository at this point in the history
  • Loading branch information
sndrs authored May 20, 2024
1 parent 022a233 commit ff58a2a
Show file tree
Hide file tree
Showing 30 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion configs/package.json → configs/rollup/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "configs",
"name": "@configs/rollup",
"version": "0.1.0",
"private": true,
"type": "module",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion libs/@guardian/ab-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"build": {
"command": "rollup -c",
"files": [
"../../../configs/rollup.config.js",
"../../../configs/rollup/rollup.config.js",
"./rollup.config.js",
"src/**",
"package.json",
Expand Down
2 changes: 1 addition & 1 deletion libs/@guardian/ab-core/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * as default from '../../../configs/rollup.config.js';
export * as default from '../../../configs/rollup/rollup.config.js';
2 changes: 1 addition & 1 deletion libs/@guardian/ab-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"build": {
"command": "rollup -c",
"files": [
"../../../configs/rollup.config.js",
"../../../configs/rollup/rollup.config.js",
"./rollup.config.js",
"src/**",
"package.json",
Expand Down
2 changes: 1 addition & 1 deletion libs/@guardian/ab-react/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * as default from '../../../configs/rollup.config.js';
export * as default from '../../../configs/rollup/rollup.config.js';
2 changes: 1 addition & 1 deletion libs/@guardian/core-web-vitals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"build": {
"command": "rollup -c",
"files": [
"../../../configs/rollup.config.js",
"../../../configs/rollup/rollup.config.js",
"./rollup.config.js",
"src/**",
"package.json",
Expand Down
2 changes: 1 addition & 1 deletion libs/@guardian/core-web-vitals/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * as default from '../../../configs/rollup.config.js';
export * as default from '../../../configs/rollup/rollup.config.js';
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"build": {
"command": "rollup -c",
"files": [
"../../../configs/rollup.config.js",
"../../../configs/rollup/rollup.config.js",
"./rollup.config.js",
"src/**",
"package.json",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * as default from '../../../configs/rollup.config.js';
export * as default from '../../../configs/rollup/rollup.config.js';
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"build": {
"command": "rollup -c",
"files": [
"../../../configs/rollup.config.js",
"../../../configs/rollup/rollup.config.js",
"./rollup.config.js",
"src/**",
"package.json",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * as default from '../../../configs/rollup.config.js';
export * as default from '../../../configs/rollup/rollup.config.js';
2 changes: 1 addition & 1 deletion libs/@guardian/identity-auth-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"../identity-auth:build"
],
"files": [
"../../../configs/rollup.config.js",
"../../../configs/rollup/rollup.config.js",
"./rollup.config.js",
"src/**",
"package.json",
Expand Down
2 changes: 1 addition & 1 deletion libs/@guardian/identity-auth-frontend/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * as default from '../../../configs/rollup.config.js';
export * as default from '../../../configs/rollup/rollup.config.js';
2 changes: 1 addition & 1 deletion libs/@guardian/identity-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"build": {
"command": "rollup -c",
"files": [
"../../../configs/rollup.config.js",
"../../../configs/rollup/rollup.config.js",
"./rollup.config.js",
"src/**",
"package.json",
Expand Down
2 changes: 1 addition & 1 deletion libs/@guardian/identity-auth/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * as default from '../../../configs/rollup.config.js';
export * as default from '../../../configs/rollup/rollup.config.js';
2 changes: 1 addition & 1 deletion libs/@guardian/libs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"build": {
"command": "rollup -c",
"files": [
"../../../configs/rollup.config.js",
"../../../configs/rollup/rollup.config.js",
"./rollup.config.js",
"src/**",
"package.json",
Expand Down
2 changes: 1 addition & 1 deletion libs/@guardian/libs/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * as default from '../../../configs/rollup.config.js';
export * as default from '../../../configs/rollup/rollup.config.js';
2 changes: 1 addition & 1 deletion libs/@guardian/newsletter-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"build": {
"command": "rollup -c",
"files": [
"../../../configs/rollup.config.js",
"../../../configs/rollup/rollup.config.js",
"./rollup.config.js",
"src/**",
"package.json",
Expand Down
2 changes: 1 addition & 1 deletion libs/@guardian/newsletter-types/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import baseConfigs from '../../../configs/rollup.config.js';
import baseConfigs from '../../../configs/rollup/rollup.config.js';

export default baseConfigs()[2];
2 changes: 1 addition & 1 deletion libs/@guardian/source-foundations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"_deps"
],
"files": [
"../../../configs/rollup.config.js",
"../../../configs/rollup/rollup.config.js",
"./rollup.config.js",
"src/**",
"package.json",
Expand Down
2 changes: 1 addition & 1 deletion libs/@guardian/source-foundations/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * as default from '../../../configs/rollup.config.js';
export * as default from '../../../configs/rollup/rollup.config.js';
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"_deps"
],
"files": [
"../../../configs/rollup.config.js",
"../../../configs/rollup/rollup.config.js",
"./rollup.config.js",
"src/**",
"package.json",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * as default from '../../../configs/rollup.config.js';
export * as default from '../../../configs/rollup/rollup.config.js';
2 changes: 1 addition & 1 deletion libs/@guardian/source-react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"_deps"
],
"files": [
"../../../configs/rollup.config.js",
"../../../configs/rollup/rollup.config.js",
"./rollup.config.js",
"src/**",
"package.json",
Expand Down
2 changes: 1 addition & 1 deletion libs/@guardian/source-react-components/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * as default from '../../../configs/rollup.config.js';
export * as default from '../../../configs/rollup/rollup.config.js';
2 changes: 1 addition & 1 deletion libs/@guardian/source/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"_deps"
],
"files": [
"../../../configs/rollup.config.js",
"../../../configs/rollup/rollup.config.js",
"./rollup.config.js",
"src/**",
"package.json",
Expand Down
2 changes: 1 addition & 1 deletion libs/@guardian/source/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { resolve } from 'node:path';
import alias from '@rollup/plugin-alias';
import config from '../../../configs/rollup.config.js';
import config from '../../../configs/rollup/rollup.config.js';

export default config({
input: {
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ packages:
- 'libs/**'
- '!**/libs/@guardian/source/*/**'
- 'tools/**'
- 'configs'
- 'configs/**'

0 comments on commit ff58a2a

Please sign in to comment.