Skip to content

Commit bfe134e

Browse files
committed
deployed notion packages
1 parent e500d21 commit bfe134e

File tree

6 files changed

+33
-18
lines changed

6 files changed

+33
-18
lines changed

libs/notion/html-to-notion-blocks/project.json

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,39 +6,35 @@
66
"targets": {
77
"build": {
88
"executor": "@nrwl/js:swc",
9-
"outputs": [
10-
"{options.outputPath}"
11-
],
9+
"outputs": ["{options.outputPath}"],
1210
"options": {
1311
"outputPath": "dist/libs/notion/html-to-notion-blocks",
1412
"tsConfig": "libs/notion/html-to-notion-blocks/tsconfig.lib.json",
1513
"packageJson": "libs/notion/html-to-notion-blocks/package.json",
1614
"main": "libs/notion/html-to-notion-blocks/src/index.ts",
17-
"assets": [
18-
"libs/notion/html-to-notion-blocks/*.md"
19-
]
15+
"assets": ["libs/notion/html-to-notion-blocks/*.md"]
2016
}
2117
},
2218
"lint": {
2319
"executor": "@nrwl/linter:eslint",
24-
"outputs": [
25-
"{options.outputFile}"
26-
],
20+
"outputs": ["{options.outputFile}"],
2721
"options": {
28-
"lintFilePatterns": [
29-
"libs/notion/html-to-notion-blocks/**/*.ts"
30-
]
22+
"lintFilePatterns": ["libs/notion/html-to-notion-blocks/**/*.ts"]
3123
}
3224
},
3325
"test": {
3426
"executor": "@nrwl/jest:jest",
35-
"outputs": [
36-
"{workspaceRoot}/coverage/{projectRoot}"
37-
],
27+
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
3828
"options": {
3929
"jestConfig": "libs/notion/html-to-notion-blocks/jest.config.ts",
4030
"passWithNoTests": true
4131
}
32+
},
33+
"deploy": {
34+
"executor": "ngx-deploy-npm:deploy",
35+
"options": {
36+
"access": "public"
37+
}
4238
}
4339
},
4440
"tags": []

libs/notion/rehype-notion/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@jote/notion/rehype-notion",
2+
"name": "rehype-notion",
33
"version": "0.0.1",
44
"license": "GPL-3.0-or-later",
55
"repository": "https://github.com/TrialAndErrorOrg/parsers",

libs/notion/rehype-notion/project.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929
"jestConfig": "libs/notion/rehype-notion/jest.config.js",
3030
"passWithNoTests": true
3131
}
32+
},
33+
"deploy": {
34+
"executor": "ngx-deploy-npm:deploy",
35+
"options": {
36+
"access": "public"
37+
}
3238
}
3339
},
3440
"tags": []

libs/ooxast/ooxast-util-properties/project.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929
"options": {
3030
"lintFilePatterns": ["libs/ooxast/ooxast-util-properties/**/*.ts"]
3131
}
32+
},
33+
"deploy": {
34+
"executor": "ngx-deploy-npm:deploy",
35+
"options": {
36+
"access": "public"
37+
}
3238
}
3339
},
3440
"tags": []

tools/generators/node-lib/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,13 @@ const addProject = (tree: Tree, options: NormalizedSchema) => {
212212
...projectConfiguration.targets.build.options,
213213
packageJson: `${options.projectRoot}/package.json`,
214214
}
215+
216+
projectConfiguration.targets.deploy = {
217+
executor: 'ngx-deploy-npm:deploy',
218+
options: {
219+
access: 'public'
220+
}
221+
}
215222
}
216223
}
217224

workspace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"jast-util-to-csl": "libs/jast/jast-util-to-csl",
1616
"jast-util-to-texast": "libs/jast/jast-util-to-texast",
1717
"jote": "apps/jote",
18-
"notion-html-to-notion-blocks": "libs/notion/html-to-notion-blocks",
19-
"notion-rehype-notion": "libs/notion/rehype-notion",
18+
"html-to-notion-blocks": "libs/notion/html-to-notion-blocks",
19+
"rehype-notion": "libs/notion/rehype-notion",
2020
"ojs-client": "libs/ojs/ojs-client",
2121
"ojs-relatex": "libs/ojs/ojs-relatex",
2222
"ooxast": "libs/ooxast/ooxast",

0 commit comments

Comments
 (0)