@walkeros/config 4.1.0-next-1778668930820 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +76 -0
- package/README.md +22 -125
- package/package.json +3 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# @walkeros/config
|
|
2
|
+
|
|
3
|
+
## 4.1.0
|
|
4
|
+
|
|
5
|
+
## 4.0.2
|
|
6
|
+
|
|
7
|
+
## 4.0.1
|
|
8
|
+
|
|
9
|
+
## 4.0.0
|
|
10
|
+
|
|
11
|
+
## 3.4.2
|
|
12
|
+
|
|
13
|
+
## 3.4.1
|
|
14
|
+
|
|
15
|
+
## 3.4.0
|
|
16
|
+
|
|
17
|
+
## 3.3.1
|
|
18
|
+
|
|
19
|
+
## 3.3.0
|
|
20
|
+
|
|
21
|
+
## 3.2.0
|
|
22
|
+
|
|
23
|
+
## 3.1.1
|
|
24
|
+
|
|
25
|
+
## 3.1.0
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- bee8ba7: Replace hardcoded package registry with live npm search. Package
|
|
30
|
+
catalog is now fetched dynamically from npm and enriched with walkerOS.json
|
|
31
|
+
metadata from CDN.
|
|
32
|
+
|
|
33
|
+
Change platform type from string to array. Packages declare platform as
|
|
34
|
+
["web"], ["server"], or ["web", "server"]. Empty array means
|
|
35
|
+
platform-agnostic. The normalizePlatform utility handles backwards
|
|
36
|
+
compatibility with the old string format from already-published packages.
|
|
37
|
+
|
|
38
|
+
Remove outputSchema from package_get to prevent SDK validation crashes on
|
|
39
|
+
unexpected field values.
|
|
40
|
+
|
|
41
|
+
## 3.0.2
|
|
42
|
+
|
|
43
|
+
## 3.0.1
|
|
44
|
+
|
|
45
|
+
## 3.0.0
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- 1fe337a: Add hints field to walkerOS.json for lightweight AI-consumable
|
|
50
|
+
package context.
|
|
51
|
+
|
|
52
|
+
Packages can now export a `hints` record from `src/dev.ts` containing short
|
|
53
|
+
actionable tips with optional code snippets. Hints are serialized into
|
|
54
|
+
`walkerOS.json` by buildDev() and surfaced via the MCP `package_get` tool.
|
|
55
|
+
|
|
56
|
+
Pilot: BigQuery destination includes hints for authentication, table setup,
|
|
57
|
+
and querying.
|
|
58
|
+
|
|
59
|
+
## 2.1.1
|
|
60
|
+
|
|
61
|
+
## 2.1.0
|
|
62
|
+
|
|
63
|
+
## 2.0.1
|
|
64
|
+
|
|
65
|
+
## 1.1.0
|
|
66
|
+
|
|
67
|
+
### Minor Changes
|
|
68
|
+
|
|
69
|
+
- 7b2d750: Add walkerOS.json package convention for CDN-based schema discovery
|
|
70
|
+
|
|
71
|
+
## 1.0.2
|
|
72
|
+
|
|
73
|
+
### Patch Changes
|
|
74
|
+
|
|
75
|
+
- 2f82a2e: Add modulePathIgnorePatterns to Jest config to prevent Haste module
|
|
76
|
+
collisions with cached packages
|
package/README.md
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
|
+
<p align="left">
|
|
2
|
+
<a href="https://www.walkeros.io">
|
|
3
|
+
<img alt="walkerOS" title="walkerOS" src="https://www.walkeros.io/img/walkerOS_logo.svg" width="256px"/>
|
|
4
|
+
</a>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
1
7
|
# @walkeros/config
|
|
2
8
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
9
|
+
Shared development configuration for walkerOS packages, providing common
|
|
10
|
+
TypeScript, ESLint, Jest, and tsup build tooling.
|
|
11
|
+
|
|
12
|
+
[Documentation](https://www.walkeros.io/docs) •
|
|
13
|
+
[NPM Package](https://www.npmjs.com/package/@walkeros/config) •
|
|
14
|
+
[Source Code](https://github.com/elbwalker/walkerOS/tree/main/packages/config)
|
|
6
15
|
|
|
7
16
|
## Installation
|
|
8
17
|
|
|
@@ -10,12 +19,9 @@ tooling.
|
|
|
10
19
|
npm install --save-dev @walkeros/config
|
|
11
20
|
```
|
|
12
21
|
|
|
13
|
-
##
|
|
14
|
-
|
|
15
|
-
### TypeScript Configuration
|
|
22
|
+
## Quick start
|
|
16
23
|
|
|
17
|
-
Extend
|
|
18
|
-
`tsconfig.json`:
|
|
24
|
+
Extend a shared config, for example in your `tsconfig.json`:
|
|
19
25
|
|
|
20
26
|
```json
|
|
21
27
|
{
|
|
@@ -27,127 +33,18 @@ Extend from one of the provided TypeScript configurations in your
|
|
|
27
33
|
}
|
|
28
34
|
```
|
|
29
35
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
- `@walkeros/config/tsconfig/base.json` - Base configuration for all projects
|
|
33
|
-
- `@walkeros/config/tsconfig/web.json` - Browser/web projects (extends base)
|
|
34
|
-
- `@walkeros/config/tsconfig/node.json` - Node.js projects (extends base)
|
|
35
|
-
|
|
36
|
-
### ESLint Configuration
|
|
37
|
-
|
|
38
|
-
Import the configuration in your `eslint.config.mjs`:
|
|
39
|
-
|
|
40
|
-
```javascript
|
|
41
|
-
import baseConfig from '@walkeros/config/eslint';
|
|
42
|
-
|
|
43
|
-
export default [
|
|
44
|
-
...baseConfig,
|
|
45
|
-
{
|
|
46
|
-
// Your custom rules
|
|
47
|
-
},
|
|
48
|
-
];
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
**Available configs:**
|
|
36
|
+
## Documentation
|
|
52
37
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
- `@walkeros/config/eslint/web` - Web projects with browser globals
|
|
56
|
-
- `@walkeros/config/eslint/node` - Node.js projects with Node.js rules
|
|
38
|
+
Full configuration, mapping, and examples live in the docs:
|
|
39
|
+
**https://www.walkeros.io/docs**
|
|
57
40
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
Use the shared Jest configuration in your `jest.config.mjs`:
|
|
61
|
-
|
|
62
|
-
```javascript
|
|
63
|
-
import baseConfig from '@walkeros/config/jest/web.config';
|
|
64
|
-
|
|
65
|
-
export default {
|
|
66
|
-
...baseConfig,
|
|
67
|
-
// Your custom configuration
|
|
68
|
-
};
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
**Available configs:**
|
|
72
|
-
|
|
73
|
-
- `@walkeros/config/jest` - Base Jest configuration with SWC transform
|
|
74
|
-
- `@walkeros/config/jest/web.config` - Web projects with jsdom environment
|
|
75
|
-
- `@walkeros/config/jest/node.config` - Node.js projects
|
|
76
|
-
- `@walkeros/config/jest/web.setup` - Web test setup file
|
|
77
|
-
- `@walkeros/config/jest/node.setup` - Node.js test setup file
|
|
78
|
-
|
|
79
|
-
### tsup Configuration
|
|
80
|
-
|
|
81
|
-
Use the shared build helpers in your `tsup.config.ts`:
|
|
82
|
-
|
|
83
|
-
```typescript
|
|
84
|
-
import { defineConfig, buildModules } from '@walkeros/config/tsup';
|
|
85
|
-
|
|
86
|
-
export default defineConfig([buildModules()]);
|
|
87
|
-
```
|
|
41
|
+
## Contribute
|
|
88
42
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
-
|
|
93
|
-
- `buildExamples()` - Build example files
|
|
94
|
-
- `buildBrowser()` - Build browser IIFE bundles
|
|
95
|
-
- `buildES5()` - Build ES5-compatible bundles
|
|
96
|
-
|
|
97
|
-
## Features
|
|
98
|
-
|
|
99
|
-
- **TypeScript**: Strict type checking with modern ECMAScript targets
|
|
100
|
-
- **ESLint**: TypeScript, React, and Jest linting with sensible defaults
|
|
101
|
-
- **Jest**: Fast testing with SWC transforms and jsdom support
|
|
102
|
-
- **tsup**: Simple, fast bundling with multiple output formats
|
|
103
|
-
|
|
104
|
-
## Migration from Separate Packages
|
|
105
|
-
|
|
106
|
-
If you were previously using the separate config packages (`@walkeros/tsconfig`,
|
|
107
|
-
`@walkeros/eslint`, `@walkeros/jest`, `@walkeros/tsup`), update your imports:
|
|
108
|
-
|
|
109
|
-
**Before:**
|
|
110
|
-
|
|
111
|
-
```json
|
|
112
|
-
// package.json
|
|
113
|
-
"devDependencies": {
|
|
114
|
-
"@walkeros/eslint": "*",
|
|
115
|
-
"@walkeros/jest": "*",
|
|
116
|
-
"@walkeros/tsconfig": "*",
|
|
117
|
-
"@walkeros/tsup": "*"
|
|
118
|
-
}
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
```typescript
|
|
122
|
-
// Config files
|
|
123
|
-
import from '@walkeros/eslint/index.mjs';
|
|
124
|
-
import from '@walkeros/jest/web.config.mjs';
|
|
125
|
-
import from '@walkeros/tsup';
|
|
126
|
-
{ "extends": "@walkeros/tsconfig/base.json" }
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
**After:**
|
|
130
|
-
|
|
131
|
-
```json
|
|
132
|
-
// package.json
|
|
133
|
-
"devDependencies": {
|
|
134
|
-
"@walkeros/config": "^0.1.0"
|
|
135
|
-
}
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
```typescript
|
|
139
|
-
// Config files
|
|
140
|
-
import from '@walkeros/config/eslint';
|
|
141
|
-
import from '@walkeros/config/jest/web.config';
|
|
142
|
-
import from '@walkeros/config/tsup';
|
|
143
|
-
{ "extends": "@walkeros/config/tsconfig/base.json" }
|
|
144
|
-
```
|
|
43
|
+
Feel free to contribute by submitting an
|
|
44
|
+
[issue](https://github.com/elbwalker/walkerOS/issues), starting a
|
|
45
|
+
[discussion](https://github.com/elbwalker/walkerOS/discussions), or getting in
|
|
46
|
+
[contact](https://calendly.com/elb-alexander/30min).
|
|
145
47
|
|
|
146
48
|
## License
|
|
147
49
|
|
|
148
50
|
MIT
|
|
149
|
-
|
|
150
|
-
## Contributing
|
|
151
|
-
|
|
152
|
-
Issues and pull requests are welcome at
|
|
153
|
-
[github.com/elbwalker/walkerOS](https://github.com/elbwalker/walkerOS).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walkeros/config",
|
|
3
|
-
"version": "4.1.0
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Shared development configuration for walkerOS packages (TypeScript, ESLint, Jest, tsup)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"eslint/**/*.mjs",
|
|
10
10
|
"jest/**/*.mjs",
|
|
11
11
|
"tsup/**/*.mjs",
|
|
12
|
-
"tsup/**/*.d.ts"
|
|
12
|
+
"tsup/**/*.d.ts",
|
|
13
|
+
"CHANGELOG.md"
|
|
13
14
|
],
|
|
14
15
|
"exports": {
|
|
15
16
|
"./tsconfig/base.json": "./tsconfig/base.json",
|