@opensaas/stack-tiptap 0.20.1 → 0.21.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.
@@ -1,11 +1,11 @@
1
1
 
2
- > @opensaas/stack-tiptap@0.20.1 build /home/runner/work/stack/stack/packages/tiptap
2
+ > @opensaas/stack-tiptap@0.21.0 build /home/runner/work/stack/stack/packages/tiptap
3
3
  > tsc && npm run copy:css
4
4
 
5
- npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
6
- npm warn Unknown env config "npm-globalconfig". This will stop working in the next major version of npm.
7
- npm warn Unknown env config "_jsr-registry". This will stop working in the next major version of npm.
5
+ npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
6
+ npm warn Unknown env config "npm-globalconfig". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
7
+ npm warn Unknown env config "_jsr-registry". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
8
8
 
9
- > @opensaas/stack-tiptap@0.20.1 copy:css
9
+ > @opensaas/stack-tiptap@0.21.0 copy:css
10
10
  > mkdir -p dist/styles && cp src/styles/tiptap.css dist/styles/
11
11
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @opensaas/stack-tiptap
2
2
 
3
+ ## 0.21.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#415](https://github.com/OpenSaasAU/stack/pull/415) [`8980ff3`](https://github.com/OpenSaasAU/stack/commit/8980ff36ffb0879d8f4409740493dd940572cc9d) Thanks [@borisno2](https://github.com/borisno2)! - Curate the `@opensaas/stack-core` public surface into clearly-scoped entry points
8
+
9
+ The root entry point now exposes only the everyday consumer surface — `config`,
10
+ `list`, `getContext`, the naming helpers (`getDbKey`, `getUrlKey`,
11
+ `getListKeyFromUrl`), `ValidationError`, and the config/access types you annotate
12
+ with. Plugin and field authoring contracts move to a new `/extend` path, and the
13
+ plumbing shared with sibling packages and generated code moves to `/internal`.
14
+
15
+ ```typescript
16
+ // Everyday usage (unchanged)
17
+ import { config, list, getContext } from '@opensaas/stack-core'
18
+
19
+ // Authoring a plugin or a third-party field package
20
+ import type { Plugin, BaseFieldConfig, TypeInfo } from '@opensaas/stack-core/extend'
21
+ ```
22
+
23
+ `@opensaas/stack-core/internal` carries no semver guarantees; application code
24
+ should never import from it. `Session` stays on the root entry point because it is
25
+ the module-augmentation target.
26
+
27
+ Removed from the public surface (zero callers): the nine `*HookArgs` types and the
28
+ callerless typed-query runtime types. The other `@opensaas/*` packages and the CLI
29
+ generator are updated to import from the new paths.
30
+
3
31
  ## 0.20.1
4
32
 
5
33
  ## 0.20.0
@@ -1,4 +1,4 @@
1
- import type { BaseFieldConfig, TypeInfo } from '@opensaas/stack-core';
1
+ import type { BaseFieldConfig, TypeInfo } from '@opensaas/stack-core/extend';
2
2
  /**
3
3
  * Rich text field configuration using Tiptap editor
4
4
  * Stores content as JSON in the database
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/config/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAErE;;;GAGG;AACH,MAAM,MAAM,aAAa,CAAC,SAAS,SAAS,QAAQ,GAAG,QAAQ,IAAI,eAAe,CAAC,SAAS,CAAC,GAAG;IAC9F,IAAI,EAAE,UAAU,CAAA;IAChB,UAAU,CAAC,EAAE;QACX,UAAU,CAAC,EAAE,OAAO,CAAA;KACrB,CAAA;IACD,EAAE,CAAC,EAAE;QACH;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB;;WAEG;QAEH,SAAS,CAAC,EAAE,GAAG,CAAA;QACf;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAA;KACnB,CAAA;CACF,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/config/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAA;AAE5E;;;GAGG;AACH,MAAM,MAAM,aAAa,CAAC,SAAS,SAAS,QAAQ,GAAG,QAAQ,IAAI,eAAe,CAAC,SAAS,CAAC,GAAG;IAC9F,IAAI,EAAE,UAAU,CAAA;IAChB,UAAU,CAAC,EAAE;QACX,UAAU,CAAC,EAAE,OAAO,CAAA;KACrB,CAAA;IACD,EAAE,CAAC,EAAE;QACH;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB;;WAEG;QAEH,SAAS,CAAC,EAAE,GAAG,CAAA;QACf;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAA;KACnB,CAAA;CACF,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensaas/stack-tiptap",
3
- "version": "0.20.1",
3
+ "version": "0.21.0",
4
4
  "description": "Tiptap rich text editor integration for OpenSaas Stack",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -48,15 +48,15 @@
48
48
  "zod": "^4.3.6"
49
49
  },
50
50
  "devDependencies": {
51
- "@types/node": "^24.12.0",
51
+ "@types/node": "^25.9.1",
52
52
  "@types/react": "^19.2.14",
53
53
  "@types/react-dom": "^19.2.3",
54
54
  "next": "^16.1.6",
55
55
  "react": "^19.2.4",
56
56
  "react-dom": "^19.2.4",
57
57
  "typescript": "^5.9.3",
58
- "@opensaas/stack-core": "0.20.1",
59
- "@opensaas/stack-ui": "0.20.1"
58
+ "@opensaas/stack-core": "0.21.0",
59
+ "@opensaas/stack-ui": "0.21.0"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "tsc && npm run copy:css",
@@ -1,4 +1,4 @@
1
- import type { BaseFieldConfig, TypeInfo } from '@opensaas/stack-core'
1
+ import type { BaseFieldConfig, TypeInfo } from '@opensaas/stack-core/extend'
2
2
 
3
3
  /**
4
4
  * Rich text field configuration using Tiptap editor