Skip to content

Commit

Permalink
chore: Bumped web configs packages version and now use the shared Rsl…
Browse files Browse the repository at this point in the history
…ib configs (#231)
  • Loading branch information
patricklafrance authored Jan 16, 2025
1 parent e7de377 commit 3c6bce0
Show file tree
Hide file tree
Showing 59 changed files with 3,670 additions and 3,433 deletions.
15 changes: 15 additions & 0 deletions .changeset/tiny-lamps-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"@squide/firefly-rsbuild-configs": patch
"@squide/firefly-webpack-configs": patch
"@squide/firefly-honeycomb": patch
"@squide/module-federation": patch
"@squide/react-router": patch
"@squide/env-vars": patch
"@squide/firefly": patch
"@squide/i18next": patch
"@squide/fakes": patch
"@squide/core": patch
"@squide/msw": patch
---

Packages now includes source code and sourcemap.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@
},
"devDependencies": {
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.10",
"@types/node": "22.10.2",
"@typescript-eslint/parser": "8.18.0",
"@workleap/eslint-plugin": "3.2.5",
"@changesets/cli": "2.27.11",
"@types/node": "22.10.7",
"@typescript-eslint/parser": "8.20.0",
"@workleap/eslint-plugin": "3.2.6",
"@workleap/typescript-configs": "3.0.2",
"cross-env": "7.0.3",
"eslint": "8.57.0",
"installed-check": "9.3.0",
"knip": "5.40.0",
"pkg-pr-new": "0.0.37",
"knip": "5.42.1",
"pkg-pr-new": "0.0.39",
"retypeapp": "3.6.0",
"syncpack": "13.0.0",
"turbo": "2.3.3",
Expand Down
18 changes: 10 additions & 8 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
},
"exports": "./src/index.ts",
"files": [
"/dist",
"src",
"dist",
"CHANGELOG.md",
"README.md"
],
Expand All @@ -37,18 +38,19 @@
"react": "*"
},
"dependencies": {
"@types/react": "19.0.1",
"@types/react": "19.0.7",
"eventemitter3": "5.0.1"
},
"devDependencies": {
"@rsbuild/plugin-react": "1.1.0",
"@rslib/core": "0.1.4",
"@swc/core": "1.10.1",
"@rsbuild/core": "1.1.13",
"@rslib/core": "0.3.1",
"@swc/core": "1.10.7",
"@swc/jest": "0.2.37",
"@types/jest": "29.5.14",
"@typescript-eslint/parser": "8.18.0",
"@workleap/eslint-plugin": "3.2.5",
"@workleap/swc-configs": "2.2.3",
"@typescript-eslint/parser": "8.20.0",
"@workleap/eslint-plugin": "3.2.6",
"@workleap/rslib-configs": "1.0.2",
"@workleap/swc-configs": "2.2.4",
"@workleap/typescript-configs": "3.0.2",
"eslint": "8.57.0",
"jest": "29.7.0",
Expand Down
29 changes: 5 additions & 24 deletions packages/core/rslib.build.ts
Original file line number Diff line number Diff line change
@@ -1,26 +1,7 @@
import { pluginReact } from "@rsbuild/plugin-react";
import { defineConfig } from "@rslib/core";
import { defineBuildConfig } from "@workleap/rslib-configs";
import path from "node:path";

export default defineConfig({
lib: [{
format: "esm",
syntax: "esnext",
bundle: false,
dts: true
}],
source: {
entry: {
index: "./src/**"
},
tsconfigPath: "./tsconfig.build.json"
},
output: {
target: "web",
distPath: {
root: "./dist"
},
cleanDistPath: true,
minify: false
},
plugins: [pluginReact()]
export default defineBuildConfig({
react: true,
tsconfigPath: path.resolve("./tsconfig.build.json")
});
17 changes: 10 additions & 7 deletions packages/env-vars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
},
"exports": "./src/index.ts",
"files": [
"/dist",
"src",
"dist",
"CHANGELOG.md",
"README.md"
],
Expand All @@ -38,17 +39,19 @@
},
"dependencies": {
"@squide/core": "workspace:*",
"@types/react": "19.0.1",
"@types/react": "19.0.7",
"memoize": "10.0.0"
},
"devDependencies": {
"@rslib/core": "0.1.4",
"@swc/core": "1.10.1",
"@rsbuild/core": "1.1.13",
"@rslib/core": "0.3.1",
"@swc/core": "1.10.7",
"@swc/jest": "0.2.37",
"@types/jest": "29.5.14",
"@typescript-eslint/parser": "8.18.0",
"@workleap/eslint-plugin": "3.2.5",
"@workleap/swc-configs": "2.2.3",
"@typescript-eslint/parser": "8.20.0",
"@workleap/eslint-plugin": "3.2.6",
"@workleap/rslib-configs": "1.0.2",
"@workleap/swc-configs": "2.2.4",
"@workleap/typescript-configs": "3.0.2",
"eslint": "8.57.0",
"jest": "29.7.0",
Expand Down
26 changes: 4 additions & 22 deletions packages/env-vars/rslib.build.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
import { defineConfig } from "@rslib/core";
import { defineBuildConfig } from "@workleap/rslib-configs";
import path from "node:path";

export default defineConfig({
lib: [{
format: "esm",
syntax: "esnext",
bundle: false,
dts: true
}],
source: {
entry: {
index: "./src/**"
},
tsconfigPath: "./tsconfig.build.json"
},
output: {
target: "web",
distPath: {
root: "./dist"
},
cleanDistPath: true,
minify: false
}
export default defineBuildConfig({
tsconfigPath: path.resolve("./tsconfig.build.json")
});
11 changes: 7 additions & 4 deletions packages/fakes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
},
"exports": "./src/index.ts",
"files": [
"/dist",
"src",
"dist",
"CHANGELOG.md",
"README.md"
],
Expand All @@ -36,9 +37,11 @@
"@squide/core": "workspace:*"
},
"devDependencies": {
"@rslib/core": "0.1.4",
"@typescript-eslint/parser": "8.18.0",
"@workleap/eslint-plugin": "3.2.5",
"@rsbuild/core": "1.1.13",
"@rslib/core": "0.3.1",
"@typescript-eslint/parser": "8.20.0",
"@workleap/eslint-plugin": "3.2.6",
"@workleap/rslib-configs": "1.0.2",
"@workleap/typescript-configs": "3.0.2",
"eslint": "8.57.0",
"typescript": "5.5.4"
Expand Down
27 changes: 5 additions & 22 deletions packages/fakes/rslib.build.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
import { defineConfig } from "@rslib/core";
import { defineBuildConfig } from "@workleap/rslib-configs";
import path from "node:path";

export default defineBuildConfig({
tsconfigPath: path.resolve("./tsconfig.build.json")

export default defineConfig({
lib: [{
format: "esm",
syntax: "esnext",
bundle: false,
dts: true
}],
source: {
entry: {
index: "./src/**"
},
tsconfigPath: "./tsconfig.build.json"
},
output: {
target: "web",
distPath: {
root: "./dist"
},
cleanDistPath: true,
minify: false
}
});
17 changes: 10 additions & 7 deletions packages/firefly-honeycomb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
},
"exports": "./src/index.ts",
"files": [
"/dist",
"src",
"dist",
"CHANGELOG.md",
"README.md"
],
Expand All @@ -44,16 +45,18 @@
"@squide/firefly": "workspace:*",
"@types/uuid": "10.0.0",
"@workleap/honeycomb": "1.0.0",
"uuid": "11.0.3"
"uuid": "11.0.5"
},
"devDependencies": {
"@rslib/core": "0.1.4",
"@swc/core": "1.10.1",
"@rsbuild/core": "1.1.13",
"@rslib/core": "0.3.1",
"@swc/core": "1.10.7",
"@swc/jest": "0.2.37",
"@types/jest": "29.5.14",
"@typescript-eslint/parser": "8.18.0",
"@workleap/eslint-plugin": "3.2.5",
"@workleap/swc-configs": "2.2.3",
"@typescript-eslint/parser": "8.20.0",
"@workleap/eslint-plugin": "3.2.6",
"@workleap/rslib-configs": "1.0.2",
"@workleap/swc-configs": "2.2.4",
"@workleap/typescript-configs": "3.0.2",
"eslint": "8.57.0",
"jest": "29.7.0",
Expand Down
26 changes: 4 additions & 22 deletions packages/firefly-honeycomb/rslib.build.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
import { defineConfig } from "@rslib/core";
import { defineBuildConfig } from "@workleap/rslib-configs";
import path from "node:path";

export default defineConfig({
lib: [{
format: "esm",
syntax: "esnext",
bundle: false,
dts: true
}],
source: {
entry: {
index: "./src/**"
},
tsconfigPath: "./tsconfig.build.json"
},
output: {
target: "web",
distPath: {
root: "./dist"
},
cleanDistPath: true,
minify: false
}
export default defineBuildConfig({
tsconfigPath: path.resolve("./tsconfig.build.json")
});
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ function registerTrackingListeners(runtime: FireflyRuntime) {

export function registerHoneycombInstrumentation(runtime: FireflyRuntime, serviceName: NonNullable<HoneycombSdkOptions["serviceName"]>, apiServiceUrls: PropagateTraceHeaderCorsUrls, options?: RegisterHoneycombInstrumentationOptions) {
const augmentedOptions = getInstrumentationOptions(runtime, options);

workleapRegisterHoneycombInstrumentation(serviceName, apiServiceUrls, augmentedOptions);

registerTrackingListeners(runtime);
Expand Down
26 changes: 14 additions & 12 deletions packages/firefly-rsbuild-configs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
}
},
"files": [
"/dist",
"src",
"dist",
"CHANGELOG.md",
"README.md"
],
Expand All @@ -38,24 +39,25 @@
"@rspack/core": "*"
},
"dependencies": {
"@module-federation/enhanced": "^0.8.4",
"@module-federation/rsbuild-plugin": "^0.8.4",
"@types/node": "^22.10.2",
"@module-federation/enhanced": "^0.8.9",
"@module-federation/rsbuild-plugin": "^0.8.9",
"@types/node": "^22.10.7",
"@types/semver": "^7.5.8",
"@workleap/rsbuild-configs": "^1.0.1",
"@workleap/rsbuild-configs": "^1.0.2",
"deepmerge": "^4.3.1",
"semver": "^7.6.3"
},
"devDependencies": {
"@rsbuild/core": "1.1.10",
"@rslib/core": "0.1.4",
"@rspack/core": "1.1.6",
"@swc/core": "1.10.1",
"@rsbuild/core": "1.1.13",
"@rslib/core": "0.3.1",
"@rspack/core": "1.1.8",
"@swc/core": "1.10.7",
"@swc/jest": "0.2.37",
"@types/jest": "29.5.14",
"@typescript-eslint/parser": "8.18.0",
"@workleap/eslint-plugin": "3.2.5",
"@workleap/swc-configs": "2.2.3",
"@typescript-eslint/parser": "8.20.0",
"@workleap/eslint-plugin": "3.2.6",
"@workleap/rslib-configs": "1.0.2",
"@workleap/swc-configs": "2.2.4",
"@workleap/typescript-configs": "3.0.2",
"eslint": "8.57.0",
"jest": "29.7.0",
Expand Down
26 changes: 4 additions & 22 deletions packages/firefly-rsbuild-configs/rslib.build.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
import { defineConfig } from "@rslib/core";
import { defineBuildConfig } from "@workleap/rslib-configs";
import path from "node:path";

export default defineConfig({
lib: [{
format: "esm",
syntax: "esnext",
bundle: false,
dts: true
}],
source: {
entry: {
index: "./src/**"
},
tsconfigPath: "./tsconfig.build.json"
},
output: {
target: "node",
distPath: {
root: "./dist"
},
cleanDistPath: true,
minify: false
}
export default defineBuildConfig({
tsconfigPath: path.resolve("./tsconfig.build.json")
});
Loading

0 comments on commit 3c6bce0

Please sign in to comment.